1 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4 <asm/sfp-machine.h> instead of <sfp-machine.h>.
6 2015-03-06 Roland McGrath <roland@hack.frob.com>
8 * manual/install.texi (Configuring and compiling):
9 Document test-wrapper-env-only.
10 * INSTALL: Regenerated.
12 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15 * posix/wordexp.c (parse_param): Fix buffer overflow.
16 * posix/wordexp-test.c (do_bz18043): Add test case.
18 2015-03-06 Vincent Bernat <vincent@bernat.im>
20 * time/tst-strptime2.c (do_test): Ensure failing tests are
22 * time/tst-strptime3.c (do_test): Likewise.
24 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
26 Fix aio_error thread-safety.
27 * sysdeps/pthread/aio_error.c: New file
28 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31 2015-03-06 Florian Weimer <fweimer@redhat.com>
33 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
34 (group_number, vfprintf): Use it.
35 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37 (WORK_BUFFER_SIZE): New enum constant.
38 (process_arg, vfprintf): Use it.
40 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
42 * manual/errno.texi (Error Messages): Complete example function
43 by adding missing #define.
44 (program_invocation_name): Add statement indicating GNU
45 extension and reference which header file declares the variable.
46 (program_invocation_short_name): Likewise.
48 2015-03-06 Mike Frysinger <vapier@gentoo.org>
50 * manual/errno.texi (Error Messages): Delete strerror ISO C89
53 2015-03-05 Roland McGrath <roland@hack.frob.com>
55 * Makeconfig (test-wrapper-env-only): New variable.
56 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
57 then use that with $(test-wrapper-env-only) rather than using
58 $(test-wrapper-env) $(run-program-env) $($*-ENV).
60 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
63 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
64 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
65 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
66 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
67 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
68 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
69 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
70 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
72 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
73 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
75 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
77 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
79 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
81 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
82 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
84 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
86 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
87 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
89 2015-03-04 Roland McGrath <roland@hack.frob.com>
91 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
92 (ETH_ALEN): New macro.
93 (struct ether_addr): Use it for length of ether_addr_octet.
95 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
96 (setdb): Don't call __nss_configure_lookup for "rpc".
97 (do_test): Don't call test_rpc.
98 (output_rpcent, test_rpc): Functions moved ...
99 * sunrpc/test-rpcent.c: ... to this new file.
100 * sunrpc/Makefile (tests): Add it.
102 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
104 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
105 * nptl/tst-signal6.c: Likewise.
106 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
107 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
109 * configure.ac (libc_cv_cxx_link_ok): New check.
110 Reset CXX to empty if it fails to link.
111 * configure: Regenerated.
112 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
113 bug-atexit3-lib only if $(CXX) is nonempty.
114 * nptl/Makefile (tests): Likewise for tst-cancel24.
115 (tests, tests-static): Likewise for tst-cancel24-static.
116 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
117 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
118 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
119 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
121 2015-03-04 Andreas Schwab <schwab@suse.de>
124 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
125 for non-GCC compilers.
126 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
129 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
132 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
133 integer before bitwise and assembly operations.
134 (feclearexcept): Likewise.
135 * math/test-fenvinline.c: New file.
136 * math/Makefile: Add test-fenvinline test.
138 2015-03-03 Alan Modra <amodra@gmail.com>
141 * scripts/localplt.awk: Strip off symbol version.
142 * NEWS: Mention bug fix.
144 2015-03-02 Roland McGrath <roland@hack.frob.com>
146 * sysdeps/pthread/timer_routines.c
147 (timer_free_list, thread_free_list, thread_active_list): Make static.
149 2015-03-02 Joseph Myers <joseph@codesourcery.com>
152 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
153 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
156 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
158 * sysdeps/unix/sysv/linux/sh/kernel-features.h
159 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
162 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
165 * posix/fnmatch_loop.c (END): Detect invalid pattern.
166 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
168 2015-03-02 Andreas Schwab <schwab@suse.de>
170 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
173 2015-03-02 Florian Weimer <fweimer@redhat.com>
175 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
178 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
181 * locale/findlocale.c (_nl_find_locale): Introduce const
182 version of loc_name and drop unsafe type casts.
184 2015-02-27 Roland McGrath <roland@hack.frob.com>
186 * dlfcn/tststatic2.c (main): Converted to ...
188 (TEST_FUNCTION): New macro.
189 Include test-skeleton.c.
191 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
194 * elf/Makefile (tests): Add vismain only if PIE is enabled.
195 (tests-pie): Add vismain.
196 (CFLAGS-vismain.c): New.
197 * elf/vismain.c: Add comments for PIE requirement.
199 2015-02-27 Joseph Myers <joseph@codesourcery.com>
203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
204 0x1p-56L as threshold for just returning the argument.
205 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
206 0x1p-32L as threshold for just returning the argument.
207 * math/auto-libm-test-in: Add more tests of atanh.
208 * math/auto-libm-test-out: Regenerated.
209 * sysdeps/i386/fpu/libm-test-ulps: Update.
210 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
212 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
214 * string/bcopy.c (bcopy): Call memmove for performance.
216 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
218 * string/bzero.c (__bzero): Call memset for performance.
220 2015-02-27 John David Anglin <dave.anglin@bell.net>
222 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
225 2015-02-27 Joseph Myers <joseph@codesourcery.com>
227 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
229 2015-02-26 Joseph Myers <joseph@codesourcery.com>
231 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
232 (__kernel_standard): Use CSTR macro when setting exc.name.
233 * sysdeps/ieee754/Makefile [$(subdir) = math]
234 (CFLAGS-k_standard.c): Remove variable.
236 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
237 setting p and q from "else if" to "else".
239 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
241 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
243 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
245 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
247 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
252 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
253 return pi/2 for arguments below 0x1p-113L.
254 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
255 return pi/2 for arguments below 0x1p-106L.
256 * math/auto-libm-test-in: Add more tests of acos.
257 * math/auto-libm-test-out: Regenerated.
260 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
262 (__ieee754_asin): Force underflow exception for results with small
264 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
266 (__ieee754_asinf): Force underflow exception for results with
267 small absolute value.
268 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
269 (__ieee754_asin): Force underflow exception for results with small
271 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
272 (__ieee754_asinf): Force underflow exception for results with
273 small absolute value.
274 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
275 (__ieee754_asinl): Force underflow exception for results with
276 small absolute value.
277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
278 (__ieee754_asinl): Force underflow exception for results with
279 small absolute value.
280 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
281 (__ieee754_asinl): Force underflow exception for results with
282 small absolute value.
283 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
285 * math/auto-libm-test-in: Do not mark underflow exceptions as
286 possibly missing for bug 16351.
287 * math/auto-libm-test-out: Regenerated.
290 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
291 of power of 2 down when low part has opposite sign.
292 * math/libm-test.inc (logb_test_data): Add more tests.
294 2015-02-26 Andreas Schwab <schwab@suse.de>
297 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
298 over collating symbol inside a bracket expression. Minor cleanup.
299 * posix/tst-fnmatch3.c (do_test): Add test case.
301 2015-02-26 Joseph Myers <joseph@codesourcery.com>
304 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
305 Adjust exponent of power of 2 down when low part has opposite
307 * math/libm-test.inc (ilogb_test_data): Add more tests.
309 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
312 * locale/findlocale.c (_nl_find_locale): Fix constness error in
316 * locale/findlocale.c (_nl_find_locale): Retry archive search
317 after alias expansion.
319 2015-02-25 Roland McGrath <roland@hack.frob.com>
321 * iconv/tst-iconv3.c (main): Converted to ...
323 (TEST_FUNCTION): New macro.
324 Include test-skeleton.c.
326 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
327 (convert): Make function static.
328 (test_unalign): Likewise. Add const to argument pointee types.
329 (main): Replace with static function do_test.
330 Print "Succeeded." only if RET is zero.
331 (TEST_FUNCTION): New macro.
332 Include test-skeleton.c.
334 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
335 returns a null pointer.
337 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
339 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
340 to __memcpy_ppc only for static builds.
342 2015-02-25 Joseph Myers <joseph@codesourcery.com>
345 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
346 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
347 * math/auto-libm-test-in: Add more tests of asinh.
348 * math/auto-libm-test-out: Regenerated.
349 * sysdeps/i386/fpu/libm-test-ulps: Update.
350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
352 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
355 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
356 and ip6_mtuinfo definitions here.
357 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
358 in this define too. Update comment.
360 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
362 * elf/sprof.c (load_shobj): Tweak error message to match others.
364 2015-02-24 Kevin Easton <kevin@guarana.org>
366 [BZ #16145] (partial fix)
367 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
368 to reduce lock contention.
370 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
372 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
373 (struct timex): Update time comment.
374 (ADJ_SETOFFSET): Define.
376 2015-02-24 Joseph Myers <joseph@codesourcery.com>
379 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
380 2**56 not 2**28 as threshold for log (2x) formula.
381 * math/auto-libm-test-in: Add more tests of acosh.
382 * math/auto-libm-test-out: Regenerated.
383 * sysdeps/i386/fpu/libm-test-ulps: Update.
384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
386 2015-02-24 Mike Frysinger <vapier@gentoo.org>
388 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
389 parenthesis around the buf assignment.
390 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
392 2015-02-24 Joseph Myers <joseph@codesourcery.com>
395 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
396 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
397 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
398 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
399 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
400 * math/libm-test.inc (scalb_test_data): Add more tests.
402 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
405 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
406 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
408 2015-02-24 Eric Rannaud <e@nanocritical.com>
411 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
412 * io/bits/fcntl2.h (open): Use it.
414 * io/open.c (__libc_open): Likewise.
415 * io/open64.c (__libc_open64): Likewise.
416 * io/open64_2.c (__open64_2): Likewise.
417 * io/open_2.c (__open_2): Likewise.
418 * io/openat.c (__openat): Likewise.
419 * io/openat64.c (__openat64): Likewise.
420 * io/openat64_2.c (__openat64_2): Likewise.
421 * io/openat_2.c (__openat_2): Likewise.
422 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
423 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
424 * sysdeps/posix/open64.c (__libc_open64): Likewise.
425 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
426 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
427 (__open_nocancel): Likewise.
428 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
429 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
430 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
432 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
435 * resolv/gethnamaddr.c (getanswer): Skip logging if
436 RES_USE_DNSSEC is set.
437 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
439 2015-02-24 Mike Frysinger <vapier@gentoo.org>
441 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
443 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
445 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
446 201304L, for Unicode 7.
448 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
451 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
452 shared library. Add gmon-start.os otherwise.
453 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
454 $(objpfx)gmon-start.os if builing shared library.
455 ($(objpfx)g$(static-start-installed-name)): Likewise.
457 2015-02-23 Andreas Schwab <schwab@suse.de>
459 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
461 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
464 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
465 (enlarge_userbuf): Likewise.
467 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
469 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
470 * math/atest-exp.c (TIMEOUT): Adjust to 200.
471 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
472 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
474 2015-02-20 Joseph Myers <joseph@codesourcery.com>
476 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
477 expression inside statement expression.
479 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
481 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
482 <sysdeps/nptl/lowlevellock.h> and remove macros and
483 functions that are now defined there.
485 (lll_compare_and_swap): Remove.
486 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
488 2015-02-19 Joseph Myers <joseph@codesourcery.com>
491 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
492 instead of scandirat.
493 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
494 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
495 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
497 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
498 (__scandirat): Declare. Use libc_hidden_proto.
499 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
501 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
503 2015-02-18 Joseph Myers <joseph@codesourcery.com>
506 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
508 (__ieee754_atan2): For results with small absolute value, force
509 underflow exception and remove excess range and precision from
511 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
513 (__ieee754_atan2f): For results with small absolute value, force
514 underflow exception and remove excess range and precision from
516 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
518 (__atan): For results with small absolute value, force underflow
519 exception and remove excess range and precision from return value.
520 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
522 (__atanf): For results with small absolute value, force underflow
523 exception and remove excess range and precision from return value.
524 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
526 (__ieee754_atan2): Force underflow exception for results with
527 small absolute value.
528 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
530 (atan): Force underflow exception for results with small absolute
532 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
533 (__atanf): Force underflow exception for results with small
535 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
537 (__atanl): Force underflow exception for results with small
539 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
540 (__atanl): Force underflow exception for results with small
542 * sysdeps/x86/fpu/bits/mathinline.h
543 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
544 (__ieee754_atan2): Only define inline for long double.
545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
546 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
547 * math/auto-libm-test-in: Do not mark underflow exceptions as
548 possibly missing for bug 15319. Add more tests of atan2.
549 * math/auto-libm-test-out: Regenerated.
550 * math/libm-test.inc (casin_test_data): Do not mark underflow
551 exceptions as possibly missing for bug 15319.
552 (casinh_test_data): Likewise.
553 * sysdeps/i386/fpu/libm-test-ulps: Update.
555 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
557 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
558 * sysdeps/mips/bits/endian.h: Fix comments.
560 2015-02-18 Joseph Myers <joseph@codesourcery.com>
563 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
564 (hdestroy_r): Likewise.
565 (hsearch_r): Likewise.
566 (__hcreate_r): Declare and use libc_hidden_proto.
567 (__hdestroy_r): Likewise.
568 (__hsearch_r): Likewise.
569 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
570 (hcreate): Call __hcreate_r instead of hcreate_r.
571 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
572 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
573 as weak alias of __hcreate_r.
574 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
576 (hsearch_r): Rename to __hsearch_r and define as weak alias of
578 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
580 (test-xfail-XPG4/search.h/linknamespace): Likewise.
581 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
582 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
583 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
585 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
587 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
588 arena_lock into a single arena_get.
590 2015-02-17 Carlos O'Donell <carlos@redhat.com>
592 * dl-reloc.c: Inlucde libc-internal.h.
593 (_dl_try_allocate_static_tls): Call ALIGN_UP.
594 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
595 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
596 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
597 (grow_heap): Likewise.
598 * malloc/malloc.c: Include libc-internal.h.
599 (do_check_malloc): Call powerof2.
600 (sysmalloc): Use pagesize. Call ALIGN_UP.
601 (systrim): Use pagesize.
602 (mremap_chunk): Use pagesize. Call ALIGN_UP.
603 (__libc_valloc): Use pagesize.
604 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
606 2015-02-17 Joseph Myers <joseph@codesourcery.com>
609 * include/sys/resource.h (__getrlimit64): Declare. Use
611 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
612 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
613 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
615 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
617 [!getrlimit64] (getrlimit64): Define as weak alias of
618 __getrlimit64. Use libc_hidden_weak.
619 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
620 using __getrlimit64 not __new_getrlimit64.
621 (__GI_getrlimit64): Likewise.
622 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
624 (__GI_getrlimit64): Likewise.
625 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
627 (getrlimit): Add __getrlimit64 alias.
628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
630 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
632 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
633 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
635 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
637 * libio/fileops.c: Add missing sys/mman.h
638 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
640 2015-02-17 Joseph Myers <joseph@codesourcery.com>
642 * manual/math.texi (Errors in Math Functions): Clarify goals
643 regarding inexact and underflow exceptions.
645 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
647 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
648 * sysdeps/mips/memset.S: Ditto.
650 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
652 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
654 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
656 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
657 (__v1longjmp): Remove versioned symbol.
658 (__v1siglongjmp): Remove alias and versioned symbol.
659 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
660 (__v2siglongjmp): Likewise.
662 2015-02-16 Torvald Riegel <triegel@redhat.com>
664 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
666 2015-02-16 Mike Frysinger <vapier@gentoo.org>
668 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
670 2015-02-16 Joseph Myers <joseph@codesourcery.com>
673 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
674 zero result does not depend on the sign resulting from
676 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
678 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
679 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
680 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
681 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
682 * math/libm-test.inc (remquo_test_data): Add more tests.
684 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
686 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
687 Problem reported by J William Piggott.
689 2015-02-16 Joseph Myers <joseph@codesourcery.com>
692 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
693 products 4 * y and 2 * y where those would overflow.
694 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
696 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
697 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
698 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
699 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
700 * math/libm-test.inc (remquo_test_data): Add more tests.
702 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
704 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
705 [defined _COMPILING_NEWLIB].
706 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
707 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
709 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
710 [!defined __mips_isa_rev || __mips_isa_rev < 6].
712 2015-02-16 Torvald Riegel <triegel@redhat.com>
714 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
717 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
720 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
721 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
722 HOST_STACK_END_ADDR): Likewise.
724 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
726 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
727 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
728 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
730 2015-02-13 Roland McGrath <roland@hack.frob.com>
732 * sysdeps/generic/c++-types.data: New file.
733 * sysdeps/generic/ld.abilist: New file.
734 * sysdeps/generic/libBrokenLocale.abilist: New file.
735 * sysdeps/generic/libanl.abilist: New file.
736 * sysdeps/generic/libc.abilist: New file.
737 * sysdeps/generic/libcrypt.abilist: New file.
738 * sysdeps/generic/libdl.abilist: New file.
739 * sysdeps/generic/libm.abilist: New file.
740 * sysdeps/generic/libpthread.abilist: New file.
741 * sysdeps/generic/libresolv.abilist: New file.
742 * sysdeps/generic/librt.abilist: New file.
744 2015-02-13 Joseph Myers <joseph@codesourcery.com>
747 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
748 Compute absolute value of x as modified by fmod, not original
750 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
751 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
752 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
753 RUN_TEST_ffI_f1_mod8.
754 (remquo_test_data): Add more tests.
756 2015-02-13 Roland McGrath <roland@hack.frob.com>
758 * sysdeps/init_array/pt-crti.S: New file.
760 2015-02-13 Joseph Myers <joseph@codesourcery.com>
763 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
764 __builtin_fmaf instead of relying on contraction of a * b + c.
766 2015-02-12 J William Piggott <elseifthen@gmx.com>
769 * manual/time.texi: correct the zoneinfo path in the TZ Variable
772 2015-02-12 Joseph Myers <joseph@codesourcery.com>
775 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
776 __builtin_fma instead of relying on contraction of a * b + c.
778 2015-02-12 Roland McGrath <roland@hack.frob.com>
780 * Makeconfig (ASFLAGS): Add -Werror=undef.
781 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
782 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
783 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
785 * Makeconfig (after-link): New variable.
786 (+link-pie, +link-pie-tests): Use it.
787 (+link-static, +link-static-tests): Likewise.
788 (+link, +link-tests): Likewise.
789 * Makerules (build-module, build-module-asneeded): Likewise.
790 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
792 * elf/Makefile ($(objpfx)ld.so): Likewise.
794 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
797 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
798 both struct timeval and struct timespec.
800 2015-02-12 Joseph Myers <joseph@codesourcery.com>
803 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
805 (__ieee754_exp2l): Do not multiply small fractional parts by
807 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
810 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
811 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
812 * math/auto-libm-test-in: Add more tests of exp2.
813 * math/auto-libm-test-out: Regenerated.
815 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
817 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
820 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
822 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
825 2015-02-12 Andreas Schwab <schwab@suse.de>
828 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
829 Filter out elision flags from value returned in kind.
830 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
831 * nptl/tst-pthread-mutexattr.c: New file.
833 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
835 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
836 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
837 into gnu-gnu, and update comment to refer to abi-tags.
839 2015-02-11 Joseph Myers <joseph@codesourcery.com>
842 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
843 (__sincos): Set errno to EDOM for infinite argument.
844 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
845 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
846 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
847 (__sincosl): Set errno to EDOM for infinite argument.
848 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
849 (__sincosl): Set errno to EDOM for infinite argument.
850 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
851 (__sincosl): Set errno to EDOM for infinite argument.
852 * math/libm-test.inc (sincos_test_data): Test errno setting.
854 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
856 * string/strxfrm_l.c: Remove #define STRCMP.
857 * string/strcoll_l.c: Remove #define STRLEN.
858 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
859 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
861 2015-02-10 Joseph Myers <joseph@codesourcery.com>
863 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
864 * sysdeps/mips/mips32/sfp-machine.h: ... here.
865 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
866 * sysdeps/mips/mips64/Makefile: ... here.
867 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
868 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
869 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
870 * sysdeps/mips/mips64/sfp-machine.h: ... here.
871 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
872 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
873 * sysdeps/mips/mips64/n64/Implies: Likewise.
875 2015-02-10 Roland McGrath <roland@hack.frob.com>
877 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
878 <sys/time.h>, <string.h>, and <errno.h>.
879 (dest_offset, dest_address, value, zero): Remove unused variables.
880 (ldouble): Remove typedef.
881 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
882 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
884 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
885 (check): Function removed.
887 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
888 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
889 Don't call set_sigaction_FP and remove_sigaction_FP here.
890 (ldouble_test): Just use 'long double' as macro argument, no need for
891 the 'ldouble' typedef.
892 (do_test): Set up SIGFPE handler at start, using plain signal rather
893 than sigaction. Fix code style.
895 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
898 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
901 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
903 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
904 * sysdeps/powerpc/powerpc32/configure: Regenerated.
906 * sysdeps/powerpc/configure.ac: Remove file.
907 * sysdeps/powerpc/configure: Likewise.
909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
910 [sysdep_routines]: Remove wordcopy-power6 object.
911 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
912 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
913 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
914 (__memmove_ppc32): Likewise.
915 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
917 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
918 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
922 [sysdep_routines]: Remove wide chars objects.
923 [wcsmbs]: New rule for wide char objects.
925 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
926 Remove wordcopy-power6 obejct.
927 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
928 Use local call for wordcopy and memcpy symbols.
929 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
930 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
931 implementation for loader.
932 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
934 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
935 Remove wordcopy-power7 object.
936 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
937 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
938 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
939 (_wordcopy_fwd_dest_aligned): Likewise.
940 (_wordcopy_bwd_aligned): Likewise.
941 (_wordcopy_bwd_dest_aligned): Likewise.
943 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
944 Rewrite to call __memmove_ppc instead of include default
947 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
948 Remove wide chars objects.
949 [wcsmbs]: New rule for wide char objects.
951 2015-02-09 Andreas Schwab <schwab@suse.de>
954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
955 in terms of __O_DIRECTORY.
957 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
959 * time/getdate.c: Include <stdbool.h>.
960 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
962 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
965 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
967 Add ersatz _Static_assert on older C hosts
968 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
969 pre-C11 C platform that is not known to support _Static_assert.
971 2015-02-07 Richard Braun <rbraun@sceen.net>
973 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
975 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
977 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
979 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
980 priority against unexistent AIO_PRIO_DELTA_MAX.
981 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
983 * misc/fchflags.c (fchflags): Likewise.
984 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
985 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
986 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
987 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
988 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
990 [__USE_MISC] (chflags, fchflags): Declare functions.
991 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
992 EINVAL when nfds is greater than FD_SETSIZE.
993 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
994 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
996 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
997 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
998 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1000 * hurd/hurd/signal.h (_hurd_self_sigstate,
1001 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1002 Explicit casts from void *.
1003 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1004 * abi-tags: Rename gnu-gnu os into gnu.
1007 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1008 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1009 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1010 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1011 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1012 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1015 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1016 duplicates ADDR->sun_path with sockaddr LEN limitation.
1017 * sysdeps/mach/hurd/connect.c: Include <string.h>
1018 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1019 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1020 * sysdeps/mach/hurd/sendto.c: Likewise.
1021 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1022 implementing it by hand.
1024 2015-02-06 Roland McGrath <roland@hack.frob.com>
1026 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1027 Use sfi_breg on ldr.
1028 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1031 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1033 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1034 Test SIGSETXID only if it's defined.
1036 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1038 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1039 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1041 * nptl/tst-align2.c: Moved ...
1042 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1043 * nptl/Makefile (tests): Remove tst-align2.
1044 * sysdeps/unix/sysv/linux/Makefile
1045 [$(subdir) = nptl] (tests): Add tst-align-clone.
1046 * nptl/tst-getpid1.c: Moved ...
1047 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1048 * nptl/tst-getpid2.c: Moved ...
1049 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1050 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1051 * sysdeps/unix/sysv/linux/Makefile
1052 [$(subdir) = nptl] (tests): ... here.
1053 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1054 * sysdeps/unix/sysv/linux/Makefile
1055 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1057 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1058 Drop trailing \n from perror argument. Use return rather than exit.
1060 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1062 * nptl/tst-cancel21.c (do_test): Likewise.
1063 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1064 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1065 [!SA_SIGINFO]: Make it a stub test.
1067 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1068 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1070 * posix/tst-getlogin.c: Move to ...
1071 * login/tst-getlogin.c: ... here.
1072 * posix/Makefile (tests): Move tst-getlogin to ...
1073 * login/Makefile (tests): ... here.
1075 * libio/tst-atime.c (do_test): Move local variables SV and E
1076 inside [ST_NOATIME] conditional.
1078 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1080 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1082 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1083 (wait_code): New function replaces macro.
1084 Call nanosleep rather than syscall.
1086 * nptl/pt-system.c: Rewritten. Put everything under
1087 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1088 Use IFUNC to redirect when possible.
1090 * nptl/pt-longjmp.c: Rewritten. Put everything under
1091 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1092 Use IFUNC to redirect when possible.
1094 * nptl/pt-fork.c: Rewritten. Put everything under
1095 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1096 Use IFUNC to redirect when possible.
1097 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1099 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1100 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1101 unconditionally nowadays. This included the only reference to
1102 __vdso_clock_gettime that appears outside libc proper.
1103 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1104 Remove version set (containing only __vdso_clock_gettime).
1105 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1106 Add attribute_hidden.
1107 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1108 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1109 libc_hidden_data_def.
1110 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1111 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1113 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1114 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1115 setrpcent, and getrpcport to ...
1116 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1117 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1118 getrpcbynumber_r, and getrpcent_r to ...
1119 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1120 * inet/getrpcbyname.c: Moved ...
1121 * sunrpc/getrpcbyname.c: ... here.
1122 * inet/getrpcbyname_r.c: Moved ...
1123 * sunrpc/getrpcbyname_r.c: ... here.
1124 * inet/getrpcbynumber.c: Moved ...
1125 * sunrpc/getrpcbynumber.c: ... here.
1126 * inet/getrpcbynumber_r.c: Moved ...
1127 * sunrpc/getrpcbynumber_r.c: ... here.
1128 * inet/getrpcent.c: Moved ...
1129 * sunrpc/getrpcent.c: ... here.
1130 * inet/getrpcent_r.c: Moved ...
1131 * sunrpc/getrpcent_r.c: ... here.
1132 * inet/Makefile (routines): Move those to ...
1133 * sunrpc/Makefile (routines): ... here.
1134 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1135 the $(subdirs) list.
1136 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1137 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1138 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1139 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1141 * elf/Makefile (routines): Include $(all-dl-routines), not just
1143 (rtld-routines): Likewise. Use = rather than :=.
1144 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1145 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1146 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1147 * sysdeps/arm/Makefile: Likewise.
1148 * sysdeps/i386/Makefile: Likewise.
1149 * sysdeps/x86_64/Makefile: Likewise.
1150 * sysdeps/hppa/Makefile [$(subdir) = elf]
1151 (sysdep_routines, sysdep-rtld-routines): Don't add
1152 $(sysdep-dl-routines) to these.
1153 * sysdeps/ia64/Makefile: Likewise.
1154 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1155 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1156 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1157 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1158 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1159 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1160 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1161 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1162 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1163 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1164 these; sysdep-dl-routines alone is enough.
1166 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1169 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1170 where multiplication results in zero and third argument is finite
1172 * math/auto-libm-test-in: Add more tests of fma.
1173 * math/auto-libm-test-out: Regenerated.
1175 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1176 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1177 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1178 (_FP_CMP_EQ): Likewise.
1179 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1181 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1182 extra argument CHECK_NAN. Redefine as wrapper around
1185 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1187 * version.h (RELEASE): Set to "stable".
1188 (VERSION): Set to "2.21"
1189 * include/features.h (__GLIBC_MINOR__): Set to 21.
1191 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1193 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1194 Paul Eggert <eggert@cs.ucla.edu>
1197 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1198 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1199 size in bytes. Store needed elements in wpmax. Use needed size
1200 in bytes for extend_alloca.
1202 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1204 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1205 binutls 2.25, and texinfo 5.2.
1206 * INSTALL: Regenerate.
1207 * sysdeps/nios2/configure: Regenerate.
1208 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1209 * manual/contrib.texi: Update.
1233 * po/pt_BR.po: Update.
1242 * po/zh_CN.po: Update.
1243 * po/zh_TW.po: Update.
1245 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1246 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1247 * sysdeps/hppa/dl-irel.h: Remove #warning.
1248 * sysdeps/hppa/entry.h: Provide prototype for
1249 __canonicalize_funcptr_for_compare and cast argument.
1250 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1251 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1252 * sysdeps/hppa/sotruss-lib.c: New file.
1253 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1254 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1255 (atomic_compare_and_exchange_bool_acq): Likewise.
1256 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1257 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1259 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1260 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1261 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1263 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1265 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1266 called function in non-PIC case.
1268 2015-01-31 David S. Miller <davem@davemloft.net>
1270 * sysdeps/sparc/sparc32/bits/atomic.h
1271 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1272 unlock not after it.
1273 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1274 volatile register usage warnings from the compiler.
1276 * sysdeps/sparc/nptl/sem_init.c: Delete.
1277 * sysdeps/sparc/nptl/sem_post.c: Delete.
1278 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1279 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1280 * sysdeps/sparc/sparc32/sem_init.c: New file.
1281 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1282 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1283 padding explicitly initialized.
1284 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1285 padding for in-semaphore spinlock.
1286 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1287 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1288 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1289 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1290 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1291 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1292 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1293 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1295 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1296 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1298 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1302 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1303 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1305 (index_AVX_Fast_Unaligned_Load): Likewise.
1306 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1307 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1308 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1309 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1310 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1311 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1312 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1313 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1314 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1316 2015-01-29 Andreas Schwab <schwab@suse.de>
1318 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1320 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1323 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1325 2015-01-28 Martin Sebor <msebor@redhat.com>
1327 * math/README.libm-test: Clarify. Add "How to read the test output."
1329 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1331 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1334 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1336 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1337 (__HAVE_64B_ATOMICS): Define to 0.
1339 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1342 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1343 value to set as new flag.
1346 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1347 and use _ARCH_PPCSQ instead.
1348 (__ieee754_sqrt): Likewise.
1349 (__ieee754_sqrtf): Likewise.
1350 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1351 _ARCH_PPCSQ is defined.
1352 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1354 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1355 _ARCH_PPCSQ is defined.
1356 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1358 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1360 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1362 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1363 bug (GCC BZ #64739).
1365 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1367 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1368 Mark _retval as used.
1369 (lll_futex_wake_unlock): Likewise.
1370 (lll_futex_timed_wait_requeue_pi): Likewise.
1372 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1373 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1376 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1379 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1380 (__bswap_64): Mark as __always_inline.
1382 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1385 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1386 when none of the search directories exist.
1388 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1391 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1392 power8 in .machine directive.
1395 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1396 set dependency from opd value.
1398 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1401 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1404 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1407 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1409 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1411 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1412 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1413 Replace 1UL with (uint64_t) 1.
1414 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1417 2015-01-23 Roland McGrath <roland@hack.frob.com>
1419 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1420 (if_freenameindex): Likewise.
1422 * resource/getrlimit64.c: Add missing libc_hidden_def.
1424 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1426 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1428 (_FP_FMA): Likewise.
1429 (_FP_TO_INT_ROUND): Likewise.
1430 (_FP_FROM_INT): Likewise.
1432 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1436 Make code racy and cancel safe.
1438 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1440 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1441 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1444 * pwd/tst-getpw.c: Rewrite.
1447 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1448 (modules-names): Add moddummy1 and moddummy2.
1449 ($(objpfx)tst-rec-dlopen): Define.
1450 * dlfcn/moddummy1.c: New file.
1451 * dlfcn/moddummy2.c: New file.
1452 * dlfcn/tst-rec-dlopen.c: New file.
1453 * elf/dl-cache.c (_dl_load_cache_lookup):
1454 Return char*. Copy result with alloca/strcpy/strdup.
1455 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1456 returns char*. Free cached. If not saving realname
1458 * elf/dl-open.c (dl_open_worker): Do not assert that
1459 _r_debug->r_state is RT_CONSISTENT.
1460 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1463 2015-01-21 Torvald Riegel <triegel@redhat.com>
1464 Carlos O'Donell <carlos@redhat.com>
1467 * nptl/sem_waitcommon.c: New file.
1468 * nptl/sem_wait.c: Include sem_waitcommon.c.
1469 (__sem_wait_cleanup, do_futex_wait): Remove.
1470 (__new_sem_wait): Adapt.
1471 (__new_sem_trywait): New function.
1472 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1473 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1474 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1475 (sem_timedwait): Adapt.
1476 * nptl/sem_post.c (__new_sem_post): Adapt.
1477 (futex_wake): New function.
1478 (__old_sem_post): Add release MO fence.
1479 * nptl/sem_open.c (sem_open): Adapt.
1480 * nptl/sem_init.c (__new_sem_init): Adapt.
1481 (futex_private_if_supported): New function.
1482 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1483 (__old_sem_getvalue): Add using previous code.
1484 * sysdeps/nptl/internaltypes.h: Adapt.
1485 * nptl/tst-sem13.c (do_test): Adapt.
1486 * nptl/tst-sem11.c (main): Adapt.
1487 * nptl/sem_trywait.c: Remove.
1488 * nptl/DESIGN-sem.txt: Remove.
1489 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1490 (gen-as-const-headers): Remove structsem.sym.
1491 * nptl/structsem.sym: Remove.
1492 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1493 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1494 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1495 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1496 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1497 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1498 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1499 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1500 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1501 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1502 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1503 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1504 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1505 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1506 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1507 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1508 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1509 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1510 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1511 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1512 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1513 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1515 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1517 * INSTALL: Regenerated.
1519 * po/libc.pot: Regenerated.
1521 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1522 Sandra Loosemore <sandra@codesourcery.com>
1523 Andrew Jenner <andrew@codesourcery.com>
1524 Joseph Myers <joseph@codesourcery.com>
1525 Nathan Sidwell <nathan@codesourcery.com>
1527 * NEWS: Mention new Nios II port.
1528 * sysdeps/nios2/Implies: New file.
1529 * sysdeps/nios2/Makefile: New file.
1530 * sysdeps/nios2/Subdirs: New file.
1531 * sysdeps/nios2/Versions: New file.
1532 * sysdeps/nios2/__longjmp.S: New file.
1533 * sysdeps/nios2/abort-instr.h: New file.
1534 * sysdeps/nios2/backtrace.c: New file.
1535 * sysdeps/nios2/bits/endian.h: New file.
1536 * sysdeps/nios2/bits/fenv.h: New file.
1537 * sysdeps/nios2/bits/link.h: New file.
1538 * sysdeps/nios2/bits/setjmp.h: New file.
1539 * sysdeps/nios2/bsd-_setjmp.S: New file.
1540 * sysdeps/nios2/bsd-setjmp.S: New file.
1541 * sysdeps/nios2/configure: New generated file.
1542 * sysdeps/nios2/configure.ac: New file.
1543 * sysdeps/nios2/crti.S: New file.
1544 * sysdeps/nios2/crtn.S: New file.
1545 * sysdeps/nios2/dl-init.c: New file.
1546 * sysdeps/nios2/dl-machine.h: New file.
1547 * sysdeps/nios2/dl-sysdep.h: New file.
1548 * sysdeps/nios2/dl-tls.h: New file.
1549 * sysdeps/nios2/dl-trampoline.S: New file.
1550 * sysdeps/nios2/gccframe.h: New file.
1551 * sysdeps/nios2/gmp-mparam.h: New file.
1552 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1553 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1554 * sysdeps/nios2/ldsodefs.h: New file.
1555 * sysdeps/nios2/libc-tls.c: New file.
1556 * sysdeps/nios2/libm-test-ulps: New file.
1557 * sysdeps/nios2/machine-gmon.h: New file.
1558 * sysdeps/nios2/math-tests.h: New file.
1559 * sysdeps/nios2/math_private.h: New file.
1560 * sysdeps/nios2/memusage.h: New file.
1561 * sysdeps/nios2/nptl/Makefile: New file.
1562 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1563 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1564 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1565 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1566 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1567 * sysdeps/nios2/nptl/tls.h: New file.
1568 * sysdeps/nios2/preconfigure: New file.
1569 * sysdeps/nios2/s_fma.c: New file.
1570 * sysdeps/nios2/s_fmaf.c: New file.
1571 * sysdeps/nios2/setjmp.S: New file.
1572 * sysdeps/nios2/sfp-machine.h: New file.
1573 * sysdeps/nios2/sotruss-lib.c: New file.
1574 * sysdeps/nios2/stackguard-macros.h: New file.
1575 * sysdeps/nios2/stackinfo.h: New file.
1576 * sysdeps/nios2/start.S: New file.
1577 * sysdeps/nios2/sysdep.h: New file.
1578 * sysdeps/nios2/tls-macros.h: New file.
1579 * sysdeps/nios2/tst-audit.h: New file.
1580 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1581 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1582 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1583 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1584 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1585 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1586 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1587 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1588 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1589 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1590 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1591 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1592 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1593 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1594 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1595 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1596 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1597 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1598 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1599 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1600 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1601 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1602 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1603 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1604 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1605 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1606 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1607 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1608 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1609 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1610 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1611 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1612 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1613 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1614 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1615 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1616 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1617 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1618 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1619 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1620 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1621 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1622 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1623 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1625 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1628 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1629 (getutent): Use weak_alias in non SHARED case
1630 and default_symbol_version in SHARED case.
1631 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1632 (getutent_r, pututline): Likewise.
1633 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1634 (getutid): Likewise.
1635 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1636 (getutid_r): Likewise.
1637 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1638 (getutline): Likewise.
1639 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1640 (getutline_r): Likewise.
1641 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1642 (updwtmp): Likewise.
1644 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1647 * sysdeps/s390/s390-32/memcmp.S
1648 (memcmp_g5): Rename to __memcmp_g5.
1649 * sysdeps/s390/s390-32/memcpy.S
1650 (memcpy_g5): Rename to __memcpy_g5.
1651 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1652 (memcpy_mvcle) Rename to __memcpy_mvcle.
1653 * sysdeps/s390/s390-32/memset.S
1654 (memset_g5): Rename to __memset_g5.
1655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1656 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1657 and use prefixed functions.
1658 * sysdeps/s390/s390-32/multiarch/memcmp.S
1659 (memcmp_z196): Rename to __memcmp_z196.
1660 (memcmp_z10): Rename to __memcmp_z10.
1661 (memcmp): Set alias to __memcmp_g5.
1662 (bcmp): Set alias to __memcmp_g5.
1663 * sysdeps/s390/s390-32/multiarch/memcpy.S
1664 (memcpy_z196): Rename to __memcpy_z196.
1665 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1666 (memcpy_z10): Rename to __memcpy_z10.
1667 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1668 (memcpy): Set alias to __memcpy_g5.
1669 * sysdeps/s390/s390-32/multiarch/memset.S
1670 (memset_z196): Rename to __memset_z196.
1671 Jump to __memset_mvcle instead of memset_mvcle.
1672 (memset_z10): Rename to __memset_z10.
1673 Jump to __memset_mvcle instead of memset_mvcle.
1674 (memset_mvcle) Rename to __memset_mvcle.
1675 (memset): Set alias to __memset_g5.
1676 * sysdeps/s390/s390-64/memcmp.S
1677 (memcmp_z900): Rename to __memcmp_z900.
1678 * sysdeps/s390/s390-64/memcpy.S
1679 (memcpy_z900): Rename to __memcpy_z900.
1680 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1681 (memcpy_mvcle) Rename to __memcpy_mvcle.
1682 * sysdeps/s390/s390-64/memset.S
1683 (memset_z900): Rename to __memset_z900.
1684 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1685 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1686 and use prefixed functions.
1687 * sysdeps/s390/s390-64/multiarch/memcmp.S
1688 (memcmp_z196): Rename to __memcmp_z196.
1689 (memcmp_z10): Rename to __memcmp_z10.
1690 (memcmp): Set alias to __memcmp_z900.
1691 (bcmp): Set alias to __memcmp_z900.
1692 * sysdeps/s390/s390-64/multiarch/memcpy.S
1693 (memcpy_z196): Rename to __memcpy_z196.
1694 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1695 (memcpy_z10): Rename to __memcpy_z10.
1696 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1697 (memcpy): Set alias to __memcpy_z900.
1698 * sysdeps/s390/s390-64/multiarch/memset.S
1699 (memset_z196): Rename to __memset_z196.
1700 Jump to __memset_mvcle instead of memset_mvcle.
1701 (memset_z10): Rename to __memset_z10.
1702 Jump to __memset_mvcle instead of memset_mvcle.
1703 (memset_mvcle) Rename to __memset_mvcle.
1704 (memset): Set alias to __memset_z900.
1706 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1709 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1710 __fesetenv instead of fesetenv.
1712 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1714 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1717 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1719 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1722 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1723 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1724 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1725 strncmp-power8 object.
1726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1727 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1728 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1731 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1732 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1735 trailing byte check.
1737 2015-01-13 David S. Miller <davem@davemloft.net>
1739 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1741 2015-01-13 Roland McGrath <roland@hack.frob.com>
1743 * login/logout.c (logout): Use memset rather than bzero.
1744 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1745 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1746 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1747 (_gethtbyaddr): Likewise.
1748 * locale/programs/simple-hash.c (bcopy): Macro removed.
1750 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1753 Add strcmp-power8 object.
1754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1755 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1756 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1757 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1758 __strcmp_power8 implementation.
1759 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1762 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1763 Add strncpy-power8 and stpncpy-power8 objects.
1764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1765 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1767 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1768 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1769 __stpncpy_power8 implementation.
1770 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1771 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1772 __strncpy_power8 implementation.
1773 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1774 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1777 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1778 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1779 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1781 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1782 strncat-power8 object.
1783 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1784 __strcat_power8 implementation.
1785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1786 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1787 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1788 optimized strcat for power8.
1790 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1791 strcpy-power8 and stpcpy-power8 objects.
1792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1793 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1795 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1796 multiarch stpcpy implementation for POWER8.
1797 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1798 multiarch strcpy implementation for POWER8.
1799 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1800 __strcpy_power8 function.
1801 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1803 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1807 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1810 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1811 weights and rules. Use do_xfrm_cached if data fits in cache,
1812 do_xfrm otherwise. Moved former main loop to...
1813 * (do_xfrm_cached): New function.
1814 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1815 find_idx, find_position and stack_push.
1816 * (find_idx): New function.
1817 * (find_position): Likewise.
1818 * localedata/sort-test.sh: Added test run for do_xfrm.
1819 * localedata/xfrm-test.c (main): Added command line option
1820 -nocache to run the test with strings that are too large for
1823 2015-01-13 Torvald Riegel <triegel@redhat.com>
1825 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1826 variable to lll_futex_wake call, not the value itself.
1828 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1831 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1832 twom64. Adjust value to 0x1p-64L.
1833 (__scalblnl): Only return standard underflowing result for K <=
1834 -64 not K <= -63; adjust exponent for underflowing result by 64
1836 * math/libm-test.inc (scalbn_test_data): Add more tests.
1837 (scalbln_test_data): Likewise.
1840 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1842 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1844 * math/libm-test.inc (scalbn_test_data): Add more tests.
1845 (scalbln_test_data): Likewise.
1847 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1848 Stefani Seibold <stefani@seibold.net>
1850 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1851 (sysdep_routines): Add dl-vdso here, ...
1852 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1853 (sysdep_routines): ... not here.
1854 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1855 fallback when vDSO is not presented.
1856 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1857 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1858 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1859 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1860 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1861 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1862 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1863 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1864 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1865 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1866 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1867 fallback configurable symbol when vDSO is not available.
1868 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1869 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1870 be able to redefine fallback symbol when vDSO is not available.
1871 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1872 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1874 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1877 (TLS_INIT_TP): Add tm_capable initialization.
1878 (TLS_DEFINE_INIT_TP): Likewise.
1879 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1881 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1882 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1884 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1885 transactoion is lock elision is built and TCB tm_capable is set.
1886 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1888 (INTERNAL_SYSCALL_NCS): Likewise.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1890 (INTERNAL_SYSCALL_NCS): Likewise.
1891 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1893 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1895 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1896 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1897 and remove it for 32 bits case.
1898 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1899 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1901 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1902 Disable lock elision with rdlocks if elision is not available.
1904 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1905 (sysdep_routines): Add lock elision objects.
1906 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1907 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1908 [pthread_mutex_t] (__elision): Add field.
1909 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1910 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1911 elision definitions for powerpc.
1912 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1913 implementation of lock elision for powerpc.
1914 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1915 implementation of timed lock elision for powerpc.
1916 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1917 implementation of trylock with lock elision for powerpc.
1918 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1919 implementaion of unlock for lock elision for powerpc.
1920 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1921 automatic enable lock elision for mutexes.
1922 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1923 transaction execution definitions for powerpc.
1924 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1926 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1927 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1929 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1932 2015-01-09 Roland McGrath <roland@hack.frob.com>
1934 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1935 for #include of <shm-directory.h>.
1937 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1940 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1942 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1945 * NEWS: Mention bug fix.
1946 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1947 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1948 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1950 2015-01-09 Torvald Riegel <triegel@redhat.com>
1952 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1954 2015-01-09 Torvald Riegel <triegel@redhat.com>
1956 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1958 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1960 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1961 pointer and cast to uintptr_t.
1963 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1965 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1967 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1969 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1971 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1974 2015-01-08 Roland McGrath <roland@hack.frob.com>
1976 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1977 <nptl/pthreadP.h> instead.
1978 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1980 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1982 [__SIGRTMIN] (init): Function removed.
1983 [__SIGRTMIN] (initialized): Variable removed.
1984 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1985 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1986 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1987 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1988 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1989 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1990 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1991 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1992 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1993 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1994 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1995 * sysdeps/nptl/allocrtsig.c: New file.
1996 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1997 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1998 * sysdeps/generic/testrtsig.h: File removed.
2000 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2001 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2003 * nptl/nptl-init.c (pthread_functions): Conditionalize
2004 .ptr__nptl_setxid initialization on [SIGSETXID].
2006 * sysdeps/nptl/sys/procfs.h: New file.
2007 * nptl_db/Makefile (headers): Add it.
2008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2010 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2011 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2012 * nptl/pthread_attr_setaffinity.c: Include it.
2013 * nptl/pthread_setattr_default_np.c: Likewise.
2014 * nptl/check-cpuset.h: New file.
2016 2015-01-08 Richard Henderson <rth@redhat.com>
2018 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2019 (CFLAGS-tst-execstack-prog.c): Likewise.
2020 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2022 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2023 Sandra Loosemore <sandra@codesourcery.com>
2024 Andrew Jenner <andrew@codesourcery.com>
2025 Joseph Myers <joseph@codesourcery.com>
2026 Nathan Sidwell <nathan@codesourcery.com>
2028 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2029 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2030 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2031 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2032 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2033 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2034 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2035 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2036 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2037 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2038 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2039 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2040 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2041 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2042 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2043 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2044 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2046 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2048 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2049 timespec struct member in syscall macro.
2050 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2051 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2052 first timeval struct member in syscall macro.
2053 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2055 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2058 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2059 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2060 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2061 __feupdateenv and define as weak alias of __feupdateenv. Use
2063 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2065 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2066 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2067 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2068 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2070 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2071 __feupdateenv and define as weak alias of __feupdateenv. Use
2073 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2075 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2076 __feupdateenv and define as weak alias of __feupdateenv. Use
2078 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2080 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2081 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2082 (__feupdateenv): Likewise.
2083 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2084 __feupdateenv and define as weak alias of __feupdateenv. Use
2086 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2087 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2089 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2091 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2093 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2094 __feupdateenv instead of feupdateenv.
2095 (default_libc_feupdateenv_test): Likewise.
2096 (libc_feresetround_ctx): Likewise.
2098 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2103 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2105 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2106 COLL_SYM in a couple of places to avoid uninitialized variable
2107 wanings on tilegx gcc 4.8.2.
2109 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2111 * sysdeps/aarch64/strcpy.S: New file.
2112 * sysdeps/aarch64/stpcpy.S: New file.
2115 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2117 * sysdeps/aarch64/strrchr.S: New file.
2120 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2123 * stdlib/setenv.c: Fix memory leak when setting large,
2126 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2129 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2130 and tabs from buffer before parsing fstab entry.
2131 * misc/tst-mntent.c (main): Add test for mount entry with
2132 trailing spaces and tabs.
2134 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2137 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2138 * math/fesetround.c (fesetround): Rename to __fesetround and
2139 define as weak alias of __fesetround. Use libm_hidden_weak.
2140 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2141 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2142 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2143 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2144 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2145 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2146 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2147 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2148 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2149 __fesetround_inline.
2150 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2151 __fesetround_inline instead of __fesetround.
2152 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2153 __fesetround and define as weak alias of __fesetround. Use
2154 libm_hidden_weak. Call __fesetround_inline instead of
2156 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2157 __fesetround and define as weak alias of __fesetround. Use
2159 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2161 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2162 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2163 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2164 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2165 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2166 __fesetround and define as weak alias of __fesetround. Use
2168 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2169 __fesetround instead of fesetround.
2170 (default_libc_feholdexcept_setround): Likewise.
2171 (libc_feholdsetround_ctx): Likewise.
2172 (libc_feholdsetround_noex_ctx): Likewise.
2175 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2176 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2177 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2178 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2179 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2180 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2181 define as weak alias of __fesetenv. Use libm_hidden_weak.
2182 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2183 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2184 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2185 define as weak alias of __fesetenv. Use libm_hidden_weak.
2186 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2187 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2188 define as weak alias of __fesetenv. Use libm_hidden_weak.
2189 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2191 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2192 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2194 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2195 define as weak alias of __fesetenv. Use libm_hidden_weak.
2196 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2197 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2198 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2199 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2200 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2201 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2202 __fesetenv instead of fesetenv.
2203 (libc_feresetround_noex_ctx): Likewise.
2204 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2205 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2206 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2207 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2208 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2209 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2210 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2211 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2212 (__feupdateenv): Likewise.
2213 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2214 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2215 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2216 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2218 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2221 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2222 addresses have been freed.
2224 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2226 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2229 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2231 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2232 Clean up check_pf allocation pattern. addresses
2234 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2236 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2237 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2238 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2239 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2240 * nptl/pthread_join.c (pthread_join): Likewise.
2241 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2242 * sysdeps/posix/waitid.c (__waitid): Likewise.
2243 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2244 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2245 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2246 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2247 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2249 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2250 (__libc_pread64): Likewise.
2251 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2252 (__libc_pwrite): Likewise.
2253 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2254 (__libc_pwrite64): Likewsie.
2255 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2256 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2257 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2258 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2259 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2260 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2261 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2265 (__libc_pread64): Likewise.
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2269 (__libc_pwrite64): Likewise.
2270 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2271 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2272 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2273 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2274 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2275 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2276 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2277 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2278 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2279 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2280 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2281 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2282 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2283 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2284 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2285 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2288 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2290 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2291 (CFLAGS-test-double.c): Likewise.
2292 (CFLAGS-test-ldouble.c): Likewise.
2293 (CPPFLAGS-test-ifloat.c): Likewise.
2294 (CPPFLAGS-test-idouble.c): Likewise.
2295 (CPPFLAGS-test-ildoubl.c): Likewise.
2296 (CFLAGS-test-test-fenv.c): Remove variable.
2297 (CFLAGS-test-misc.c): Likewise.
2299 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2302 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2303 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2304 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2305 CLOCKS_PER_SEC == 1000000.
2306 * time/clocktest.c (main): Replace %ld with %jd and cast to
2309 2015-01-05 Roland McGrath <roland@hack.frob.com>
2311 * sysdeps/generic/unwind-resume.h: New file.
2312 * sysdeps/gnu/unwind-resume.c: Include it.
2313 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2314 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2316 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2317 global rather than static.
2318 (_Unwind_Resume): Update user.
2319 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2320 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2321 rather than static. Add __attribute__ ((cold)).
2322 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2323 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2324 * sysdeps/arm/arm-unwind-resume.S: New file.
2325 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2326 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2327 * sysdeps/arm/Makefile [$(subdir) = csu]
2328 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2329 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2330 Add rt-arm-unwind-resume.
2332 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2333 Add pt-arm-unwind-resume.
2334 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2335 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2337 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2340 * include/fenv.h (__feholdexcept): Declare. Use
2342 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2343 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2344 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2345 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2346 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2347 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2348 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2349 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2350 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2351 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2352 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2353 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2354 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2355 (feholdexcept): Likewise.
2356 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2357 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2358 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2359 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2360 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2361 __feholdexcept instead of feholdexcept.
2362 (default_libc_feholdexcept_setround): Likewise.
2364 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2366 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2367 to avoid using stl/str to align destination.
2369 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2371 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2373 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2376 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2377 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2378 Define as weak alias not strong alias.
2380 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2382 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2383 bltzal with addiupc.
2384 (RTLD_START): Ditto.
2386 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2388 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2389 for __vdso_* functions in declarations.
2390 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2392 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2393 INTERNAL_VSYSCALL): Use struct return types to check for error.
2395 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2396 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2397 function with cast from llround().
2398 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2399 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2402 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2405 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2406 Define as weak alias not strong alias.
2409 * ctype/ctype-c99.c: New file. isblank implementation moved from
2411 * ctype/ctype-extn.c: ... here.
2412 (__isblank_l): Move to ...
2413 * ctype/ctype-c99_l.c: ... here. New file.
2414 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2415 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2417 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2418 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2419 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2420 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2421 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2424 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2425 (posix_fadvise64): Define as weak alias not strong alias.
2426 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2427 (posix_fallocate64): Likewise.
2428 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2430 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2431 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2432 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2433 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2434 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2436 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2439 * NEWS: Mention bug fix.
2440 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2441 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2442 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2443 (HOST_STACK_END_ADDR): Likewise.
2445 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2448 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2449 * math/fegetround.c (fegetround): Rename to __fegetround and
2450 define as weak alias of __fegetround. Use libm_hidden_weak.
2451 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2452 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2453 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2454 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2455 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2456 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2457 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2458 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2459 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2460 Undefine after rather than before function definition; use
2461 parentheses around function name in definition.
2462 (__fegetround): Also undefine macro after function definition.
2463 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2464 __fegetround and define as weak alias of __fegetround. Use
2465 libm_hidden_weak. Do not undefine as macro.
2466 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2468 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2469 __fegetround and define as weak alias of __fegetround. Use
2471 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2472 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2473 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2474 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2475 __fegetround and define as weak alias of __fegetround. Use
2477 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2478 __fegetround instead of fegetround.
2481 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2482 Condition macro definition on [__USE_MISC].
2485 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2486 (struct sigaction): Change type of sa_flags field to int.
2489 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2490 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2493 * nptl/version.c (banner): Use single year in copyright notice.
2495 * NEWS: Update copyright dates.
2496 * catgets/gencat.c (print_version): Likewise.
2497 * csu/version.c (banner): Likewise.
2498 * debug/catchsegv.sh: Likewise.
2499 * debug/pcprofiledump.c (print_version): Likewise.
2500 * debug/xtrace.sh (do_version): Likewise.
2501 * elf/ldconfig.c (print_version): Likewise.
2502 * elf/ldd.bash.in: Likewise.
2503 * elf/pldd.c (print_version): Likewise.
2504 * elf/sotruss.sh: Likewise.
2505 * elf/sprof.c (print_version): Likewise.
2506 * iconv/iconv_prog.c (print_version): Likewise.
2507 * iconv/iconvconfig.c (print_version): Likewise.
2508 * locale/programs/locale.c (print_version): Likewise.
2509 * locale/programs/localedef.c (print_version): Likewise.
2510 * login/programs/pt_chown.c (print_version): Likewise.
2511 * malloc/memusage.sh (do_version): Likewise.
2512 * malloc/memusagestat.c (print_version): Likewise.
2513 * malloc/mtrace.pl: Likewise.
2514 * manual/libc.texinfo: Likewise.
2515 * nptl/version.c (banner): Likewise.
2516 * nscd/nscd.c (print_version): Likewise.
2517 * nss/getent.c (print_version): Likewise.
2518 * nss/makedb.c (print_version): Likewise.
2519 * posix/getconf.c (main): Likewise.
2520 * scripts/test-installation.pl: Likewise.
2521 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2523 2015-01-02 Will Newton <will.newton@linaro.org>
2525 * sysdeps/arm/armv7/configure: Removed.
2526 * sysdeps/arm/armv7/configure.ac: Likewise.
2528 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2530 * All files with FSF copyright notices: Update copyright dates
2531 using scripts/update-copyrights.
2532 * intl/plural.c: Regenerated.
2533 * locale/programs/charmap-kw.h: Likewise.
2534 * locale/programs/locfile-kw.h: Likewise.
2536 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2538 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2540 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2543 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2544 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2545 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2546 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2547 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2548 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2549 define as weak alias of __fegetenv. Use libm_hidden_weak.
2550 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2551 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2552 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2553 define as weak alias of __fegetenv. Use libm_hidden_weak.
2554 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2555 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2556 define as weak alias of __fegetenv. Use libm_hidden_weak.
2557 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2559 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2560 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2562 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2563 define as weak alias of __fegetenv. Use libm_hidden_weak.
2564 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2565 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2566 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2567 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2568 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2569 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2570 __fegetenv instead of fegetenv.
2571 (libc_feholdsetround_noex_ctx): Likewise.
2573 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2575 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2576 (Elf_MIPS_ABIFlags_v0): New structure.
2577 (EF_MIPS_FP64): Define.
2578 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2579 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2580 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2581 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2582 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2583 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2584 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2585 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2586 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2587 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2588 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2589 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2590 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2591 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2592 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2593 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2594 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2595 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2596 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2597 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2598 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2599 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2601 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2603 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2604 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2605 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2606 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2607 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2608 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2609 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2610 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2611 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2612 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2613 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2614 record the current FP ABI extension.
2615 (mips-mode-switch): Define to show if kernel headers support mode
2617 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2618 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2619 supported SYSV ABI version to 3.
2620 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2623 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2624 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2628 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2630 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2632 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2633 __fegetround and redefine to call __fegetround. Remove condition
2634 on [!__NO_MATH_INLINES].
2635 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2637 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2638 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2641 instead of <fenv_libc.h>.
2642 (__llrintl): Call fegetround instead of __fegetround.
2643 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2644 instead of <fenv_libc.h>.
2645 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2646 (__lrintl): Call fegetround instead of __fegetround.
2647 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2648 instead of <fenv_libc.h>.
2649 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2650 (__rintl): Call fegetround instead of __fegetround.
2652 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2654 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2657 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2660 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2661 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2662 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2664 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2666 * sysdeps/i386/tls-macros.h: Include <features.h>.
2667 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2671 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2672 define for GCC >= 5.0.
2674 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2676 * math/test-fenv.c (test_single_exception, set_single_exc,
2677 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2678 feexcp_mask_test, feenable_test, fe_single_test): Add
2679 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2680 case where they are not used.
2681 * math/libm-test.inc: Likewise.
2682 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2683 unused in the absence of FP rounding/exception support.
2684 * stdio-common/tst-printf-round.c: Likewise.
2685 * stdlib/tst-strtod-round.c: Likewise.
2686 * stdlib/tst-strtod-underflow.c: Likewise.
2688 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2691 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2692 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2693 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2694 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2696 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2697 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2698 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2700 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2701 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2703 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2705 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2706 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2707 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2709 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2711 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2712 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2713 (__feraiseexcept): Likewise.
2714 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2715 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2717 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2718 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2720 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2721 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2722 Use libm_hidden_def.
2723 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2725 (feraiseexcept): Define as weak not strong alias. Use
2727 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2728 New inline function. Factored out of ...
2729 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2730 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2731 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2733 * math/w_acos.c (__acos): Likewise.
2734 * math/w_asin.c (__asin): Likewise.
2735 * math/w_ilogb.c (__ilogb): Likewise.
2736 * math/w_j0.c (y0): Likewise.
2737 * math/w_j1.c (y1): Likewise.
2738 * math/w_jn.c (yn): Likewise.
2739 * math/w_log.c (__log): Likewise.
2740 * math/w_log10.c (__log10): Likewise.
2741 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2742 * sysdeps/aarch64/fpu/math_private.h
2743 (libc_feupdateenv_test_aarch64): Likewise.
2744 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2745 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2746 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2747 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2748 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2749 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2750 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2751 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2752 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2753 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2755 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2758 * io/test-utime.c (main): Replace %ld with %jd and cast to
2760 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2761 * nptl/tst-mutex5.c: Include <stdint.h>.
2762 (do_test): Replace %ld with %jd and cast to intmax_t.
2763 * posix/tst-regex.c (run_test): Likewise.
2764 (run_test_backwards): Likewise.
2765 * rt/tst-clock.c: Include <stdint.h>.
2766 (clock_test): Replace %ld with %jd and cast to intmax_t.
2767 * rt/tst-cpuclock1.c: Include <stdint.h>.
2768 (do_test): Replace %lu with %ju and cast to uintmax_t.
2769 * rt/tst-cpuclock2.c: Include <stdint.h>.
2770 (do_test): Replace %lu with %ju and cast to uintmax_t.
2771 * rt/tst-mqueue1.c: Include <stdint.h>.
2772 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2773 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2775 * rt/tst-mqueue4.c (do_test): Likewise.
2776 * rt/tst-timer4.c: Include <stdint.h>.
2777 (check_ts): Replace %ld with %jd and cast to intmax_t.
2778 (do_test): Likewise.
2779 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2780 and cast to intmax_t.
2781 * sysdeps/pthread/tst-timer.c (main): Likewise.
2782 * time/clocktest.c (main): Likewise.
2783 * time/tst-posixtz.c (do_test): Likewise.
2784 * timezone/tst-timezone.c (main): Likewise.
2786 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2787 H.J. Lu <hongjiu.lu@intel.com>
2789 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2790 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2791 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2792 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2793 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2794 version if bit_Fast_Unaligned_Load is set.
2795 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2796 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2797 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2798 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2799 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2800 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2802 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2803 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2804 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2806 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2807 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2808 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2809 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2811 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2813 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2814 instead of #if to avoid a Wundef warning.
2815 * stdlib/tst-limits.c (do_test): Likewise.
2817 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2818 parallel other exception macros.
2819 (fegetenv): Convert from macro to extern inline so that it applies
2820 retroactively to inline functions already seen by the compiler.
2821 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2823 * posix/Makefile (before-compile): Use $(objpfx) for
2824 posix-conf-vars-def.h.
2826 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2828 * posix/getconf.c (main): Use size_t for type of I.
2829 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2832 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2833 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2834 * posix/posix-envs.def: Likewise.
2835 * sysdeps/posix/sysconf.c: Likewise.
2836 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2837 (specs): Remove array.
2838 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2841 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2842 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2843 (__sysconf): Use CONF_IS_* macros.
2845 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2846 ($(objpfx)posix-conf-vars-def.h): New target.
2847 * posix/posix-conf-vars.list: New file.
2848 * posix/posix-conf-vars.h: New file.
2849 * posix/confstr.c: Include posix-conf-vars.h.
2850 (confstr): Use CONF_IS_* macros.
2851 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2853 * scripts/gen-posix-conf-vars.awk: New file.
2855 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2857 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2858 fegetround): Add no-op macros to avoid linknamespace issues.
2860 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2861 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2863 * sysdeps/unix/sysv/linux/tile/sysdep.h
2864 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2865 assembly-specific section to avoid a redefinition warning.
2867 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2868 long before casting to pointer to avoid a cast warning.
2870 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2872 * sysdeps/tile/tilegx/Implies: New file.
2874 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2876 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2878 2014-12-23 Florian Weimer <fweimer@redhat.com>
2880 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2882 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2886 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2887 <kernel-features.h>.
2888 (__utimes) [__NR_utimes]: Make code unconditional.
2889 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2890 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2891 (__ASSUME_UTIMES): Do not undefine.
2892 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2893 (__ASSUME_UTIMES): Likewise.
2894 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2895 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2896 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2897 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2899 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2901 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2903 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2906 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2907 alias to weak alias for j0l, y0l.
2908 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2909 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2912 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2915 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2917 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2918 to zero if not already defined.
2920 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2923 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2924 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2925 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2926 (char *) casts added.
2927 * sysdeps/ieee754/k_standardf.c: New file.
2928 * sysdeps/ieee754/k_standardl.c: Likewise.
2929 * math/Makefile (libm-support): Remove k_standard.
2930 (libm-calls): Add k_standard.
2932 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2934 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2935 Optimize to avoid an unnecessary FPCR read.
2937 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2939 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2940 Optimize to reduce FPCR/FPSR accesses.
2942 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2944 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2945 Call libc_fetestexcept_aarch64.
2947 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2949 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2950 Call libc_fesetround_aarch64.
2952 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2955 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2956 (__bind): Do not define as weak alias.
2957 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2959 (__getsockname): Do not define as weak alias.
2961 2014-12-22 Will Newton <will.newton@linaro.org>
2963 * manual/install.texi: Document that we require bison 2.7
2965 * INSTALL: Regenerate.
2966 * configure.ac: Use AC_CHECK_PROG_VER instead of
2967 AC_PATH_PROG when checking for bison and check for
2968 version 2.7 or above.
2969 * configure: Regenerate.
2971 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2974 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2975 * sysdeps/tile/ffsll.c (ffsll): To here.
2977 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2979 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2981 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2983 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2985 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2986 hidden ___tls_get_addr.
2987 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2988 hidden __tls_get_addr.
2989 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2990 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2993 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2995 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2998 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3000 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3001 from "call _dl_init@PLT".
3002 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3004 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3006 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3009 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3011 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3013 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3016 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3019 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3021 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3023 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3024 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3025 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3026 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3027 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3029 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3031 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3032 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3033 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3034 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3035 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3037 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3039 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3041 * string/strncat.c (STRNCAT): Simplify implementation.
3043 2014-12-19 David S. Miller <davem@davemloft.net>
3045 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3046 access the quad as both a long double and as a series of 4 words.
3048 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3049 link_map->l_info array access.
3051 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3053 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3055 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3056 * math/atest-exp2.c (TIMEOUT): Likewise.
3057 * math/atest-sincos.c (TIMEOUT): Likewise.
3059 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3061 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3062 -Wno-error with -fno-builtin-lround.
3064 2014-12-19 Torvald Riegel <triegel@redhat.com>
3066 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3067 Contains futex constants and functions moved over from ...
3068 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3069 <lowlevellock-futex.h>.
3070 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3071 (lll_timedwait_tid): Add comments and parentheses around macro
3074 2014-12-19 Torvald Riegel <triegel@redhat.com>
3076 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3077 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3078 (__lll_private_flag): Remove.
3079 (lll_futex_wait): Likewise.
3080 (lll_futex_timed_wait): Likewise.
3081 (lll_futex_wake): Likewise.
3082 (lll_futex_requeue): Likewise.
3083 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3084 (__lll_timedwait_tid): Spell out argument names.
3085 (lll_timedwait_tid): Add comments and parentheses around macro
3087 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3088 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3090 2014-12-19 Torvald Riegel <triegel@redhat.com>
3092 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3093 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3094 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3095 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3096 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3097 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3098 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3099 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3100 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3101 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3102 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3103 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3104 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3105 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3106 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3107 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3108 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3109 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3110 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3112 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3114 * sysdeps/x86_64/x32/Makefile: New file.
3116 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3118 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3119 1L with (mp_limb_t) 1.
3121 2014-12-17 Roland McGrath <roland@hack.frob.com>
3123 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3124 * nptl/libc_pthread_init.c: ... here.
3125 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3126 * nptl/register-atfork.c: ... here.
3128 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3129 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3130 Use assert_perror to check its return value.
3131 (__gai_create_helper_thread): Likewise.
3133 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3135 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3137 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3140 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3142 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3144 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3146 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3148 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3149 (profil_counter): Likewise.
3150 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3151 (profil_counter): Likewise.
3152 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3154 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3156 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3157 (profil_counter): Likewise.
3158 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3160 [!__profil_counter] (profil_counter): Define as weak alias of
3162 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3163 (profil_counter): Rename to __profil_counter.
3164 [!__profil_counter] (profil_counter): Define as weak alias of
3166 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3167 (profil_counter): Rename to __profil_counter.
3168 [!__profil_counter] (profil_counter): Define as weak alias of
3170 * sysdeps/posix/profil.c: Update comment referring to
3172 (__profil): Use __profil_counter instead of profil_counter.
3173 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3174 __profil_counter. Use __profil_counter_ushort and
3175 __profil_counter_uint in definitions.
3176 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3177 instead of profil_counter_uint and profil_counter_ushort.
3180 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3181 define as weak alias of __inet_makeaddr.
3182 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3183 as weak alias of __inet_addr.
3184 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3185 as weak alias of __inet_pton. Use libc_hidden_weak.
3186 * include/arpa/inet.h (__inet_pton): Declare. Use
3188 (inet_makeaddr): Don't use libc_hidden_proto.
3189 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3190 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3191 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3192 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3194 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3195 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3197 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3199 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3201 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3203 * stdio-common/bug-vfprintf-nargs.c (do_test):
3204 Cast value to intptr_t to avoid format warning
3205 for usage with PRIdPTR printing macro.
3207 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3209 * libio/tst-widetext.c (do_test):
3210 Use format type %td instead of %Zd for ptrdiff_t
3211 in order to avoid format warning.
3213 2014-12-17 Andreas Schwab <schwab@suse.de>
3215 * nscd/mem.c (gc): Add size_t cast to match printf format.
3217 2014-12-16 Roland McGrath <roland@hack.frob.com>
3219 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3220 (init): Apply PTR_MANGLE to pointers before storing them.
3221 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3224 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3227 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3228 define as weak alias of __memrchr.
3229 (__memrchr): Do not define as strong alias of memrchr.
3230 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3232 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3233 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3234 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3237 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3238 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3239 (if_indextoname): Rename to __if_indextoname and define as weak
3240 alias of __if_indextoname. Use libc_hidden_weak.
3241 (if_freenameindex): Rename to __if_freenameindex and define as
3242 weak alias of __if_freenameindex.
3243 (if_nameindex): Rename to __if_nameindex and define as weak alias
3245 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3246 __if_nametoindex and define as weak alias of __if_nametoindex.
3247 Use libc_hidden_weak.
3248 (if_freenameindex): Rename to __if_freenameindex and define as
3249 weak alias of __if_freenameindex.
3250 (if_nameindex): Rename to __if_nameindex and define as weak alias
3252 (if_indextoname): Rename to __if_indextoname and define as weak
3253 alias of __if_indextoname. Use libc_hidden_weak.
3254 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3255 __if_nametoindex and define as weak alias of __if_nametoindex.
3256 Use libc_hidden_weak.
3257 (if_freenameindex): Rename to __if_freenameindex and define as
3258 weak alias of __if_freenameindex. Use libc_hidden_weak.
3259 (if_nameindex_netlink): Use __if_freenameindex instead of
3261 (if_nameindex): Rename to __if_nameindex and define as weak alias
3262 of __if_nameindex. Use libc_hidden_weak.
3263 (if_indextoname): Rename to __if_indextoname and define as weak
3264 alias of __if_indextoname. Use libc_hidden_weak.
3265 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3267 [!_ISOMAC] (__if_freenameindex): Likewise.
3268 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3270 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3272 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3273 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3274 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3275 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3276 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3277 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3278 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3280 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3282 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3283 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3285 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3287 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3288 subscript above bounds'
3290 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3293 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3295 * libio/tst-fopenloc.c: Use test-skeleton.c.
3297 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3298 (entry): Rename to ITEM.
3299 (do_test, comp): Adjust.
3301 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3303 2014-12-16 Torvald Riegel <triegel@redhat.com>
3305 * string/tester.c: Include <libc-internal.h>.
3306 (test_memset): Ignore -Wmemset-transposed-args.
3308 2014-12-16 Torvald Riegel <triegel@redhat.com>
3310 * misc/tst-mntent2.c (do_test): Fix warning.
3312 2014-12-16 Torvald Riegel <triegel@redhat.com>
3314 * elf/tst-unique4lib.cc(a): Mark as used.
3316 2014-12-16 Florian Weimer <fweimer@redhat.com>
3319 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3322 2014-12-16 Allan McRae <allan@archlinux.org>
3324 * stdio-common/Makefile (tests): Re-add bug26.
3326 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3329 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3332 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3334 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3335 (__lll_lock_wait): Likewise.
3336 (__lll_timedlock_wait): Likewise.
3337 (__lll_timedwait_tid): Likewise.
3338 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3339 (__lll_robust_timedlock_wait): Likewise.
3340 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3341 (lll_cond_trylock): Likewise.
3342 (__lll_lock): Likewise.
3343 (__lll_robust_lock): Likewise.
3344 (__lll_cond_lock): Likewise.
3345 (lll_robust_cond_lock): Likewise.
3346 (__lll_timedlock): Likewise.
3347 (__lll_robust_timedlock): Likewise.
3348 (__lll_unlock): Likewise.
3349 (__lll_robust_unlock): Likewise.
3350 (lll_wait_tid): Likewise.
3351 (lll_timedwait_tid): Likewise.
3353 2014-12-15 Torvald Riegel <triegel@redhat.com>
3355 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3357 2014-12-15 Torvald Riegel <triegel@redhat.com>
3359 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3361 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3363 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3364 * stdio-common/tst-sprintf.c: Likewise.
3366 2014-12-15 Torvald Riegel <triegel@redhat.com>
3368 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3370 2014-12-15 Jeff Law <law@redhat.com>
3373 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3374 on the heap. (CVE-2012-3406)
3375 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3376 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3377 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3379 2014-12-15 Will Newton <will.newton@linaro.org>
3381 * manual/install.texi: Bump required version of texinfo
3383 * INSTALL: Regenerated.
3384 * configure.ac: Check for makeinfo version 4.7 and above.
3385 * configure: Regenerated.
3387 2014-12-12 Roland McGrath <roland@hack.frob.com>
3389 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3390 PREFIX, string constant to insert between directory and name.
3391 * sysdeps/posix/shm_open.c: Update caller.
3392 * sysdeps/posix/shm_unlink.c: Likewise.
3393 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3394 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3395 (SEM_SHM_PREFIX): New macro.
3396 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3397 [$(have-thread-library) = no].
3398 * nptl/Makefile (libpthread-routines): Add shm-directory.
3399 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3400 * sysdeps/nptl/shm-directory.h: New file.
3401 * sysdeps/posix/shm-directory.c
3402 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3403 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3404 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3406 (__where_is_shmfs): Function removed.
3407 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3409 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3411 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3413 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3414 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3415 unconditional for use inside libpthread.
3416 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3418 2014-12-12 Roland McGrath <roland@hack.frob.com>
3420 * nptl/pthread_getaffinity.c: New file.
3421 * nptl/pthread_setaffinity.c: New file.
3422 * nptl/pthread_getname.c: New file.
3423 * nptl/pthread_setname.c: New file.
3425 * nptl/pthread_create.c (START_THREAD_DEFN)
3426 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3428 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3429 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3431 * resolv/res_send.c (send_vc): Disable warning resplen may
3432 be used uninitialized.
3434 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3437 (ATTR_NULL): New define checks ATTR against NULL.
3438 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3439 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3441 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3445 (mem2mem_check): Revert my previous change.
3446 (malloc_check_get_size): Revert my previous change.
3447 (mem2chunk_check): Revert my previous change.
3449 2014-12-11 Roland McGrath <roland@hack.frob.com>
3451 * sysdeps/posix/shm-directory.c: New file.
3452 * sysdeps/posix/shm-directory.h: New file.
3453 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3454 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3455 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3456 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3457 Transmute EPERM to EACCES.
3458 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3460 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3461 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3463 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3465 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3466 pointer and cast to uintptr_t.
3467 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3468 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3469 Add cast to avoid warning.
3470 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3472 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3474 * nptl/semaphore.h: Move to ...
3475 * sysdeps/pthread/semaphore.h: ... here.
3476 * Makefile (installed-headers): Change nptl/semaphore.h to
3477 sysdeps/pthread/semaphore.h.
3479 2014-12-11 Roland McGrath <roland@hack.frob.com>
3481 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3482 generated error format strings.
3484 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3485 -Wformat-extra-args warnings for scanf formats.
3486 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3487 test of zero-length format (duh).
3488 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3489 corner-case scanf format test.
3490 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3491 generated fprintf format string.
3492 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3493 corner-case sprintf format tests.
3494 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3495 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3496 -Wformat-extra-args warnings throughout.
3497 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3498 (CFLAGS-scanf4.c): Likewise.
3499 (CFLAGS-scanf7.c): Likewise.
3500 (CFLAGS-tst-sprintf.c): Likewise.
3501 (CFLAGS-tst-printf.c): Likewise.
3502 (CFLAGS-tst-printfsz.c): Likewise.
3504 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3506 * include/cpio.h: New file.
3507 * include/fmtmsg.h: Likewise.
3509 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3510 corresponding format argument to size_t.
3511 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3513 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3514 corresponding format argument to size_t.
3515 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3517 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3518 corresponding format argument to size_t.
3519 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3520 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3521 (CFLAGS-tst-mbswcs2.c): Likewise.
3522 (CFLAGS-tst-mbswcs3.c): Likewise.
3523 (CFLAGS-tst-mbswcs4.c): Likewise.
3524 (CFLAGS-tst-mbswcs5.c): Likewise.
3525 (CFLAGS-tst-trans.c): Likewise
3527 2014-12-11 Roland McGrath <roland@hack.frob.com>
3529 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3530 rather than assuming they won't contain any '%'s.
3532 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3534 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3535 inhibit_loop_to_libcall to avoid recursive calls.
3536 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3537 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3539 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3541 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3544 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3546 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3547 integer value instead of boolean.
3549 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3551 * malloc/malloc.c: Fix powerof2 check.
3553 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3555 * locale/programs/locfile.h (maybe_swap_uint32):
3556 Remove inline and add unused attribute.
3558 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3560 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3561 Truncating assembler expression to a .long expression.
3563 2014-12-11 Andreas Schwab <schwab@suse.de>
3565 * elf/rtld.c (struct map_args): Constify str member.
3566 (do_preload): Constify fname argument.
3568 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3570 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3571 constants definition.
3573 2014-12-11 Andreas Schwab <schwab@suse.de>
3576 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3577 FORCE_ELISION instead of DO_ELISION.
3578 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3580 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3583 * iconvdata/gconv-modules: Remove duplicate entry.
3585 2014-12-11 Will Newton <will.newton@linaro.org>
3587 Merge gettext 0.19.3 into intl/.
3589 This involves a number of cosmetic changes to comments
3590 and ANSI function definitions and prototypes throughout
3591 all the files. The gettext copyright header is used but
3592 with the date ranges taken from the glibc copy.
3594 * NEWS: Add gettext merge to 2.21.
3595 * intl/bindtextdom.c: Switch to gettext copyright.
3596 Use ANSI definitions and prototypes.
3597 Use gl_* locking primitives rather than __libc_* ones.
3598 Use __builtin_expect rather than __glibc_likely/unlikely.
3599 * intl/dcgettext.c: Switch to gettext copyright.
3600 Use ANSI definitions and prototypes.
3601 * intl/dcigettext.c: Switch to gettext copyright.
3602 Use ANSI definitions and prototypes.
3603 (INTDIV0_RAISES_SIGFPE): New define.
3604 Use gl_* locking primitives rather than __libc_* ones.
3605 Include eval-plural.h instead of plural-eval.c.
3606 Use __builtin_expect rather than __glibc_likely/unlikely.
3607 * intl/dcngettext.c: Switch to gettext copyright.
3608 Use ANSI definitions and prototypes.
3609 * intl/dgettext.c: Likewise.
3610 * intl/dngettext.c: Likewise.
3611 * intl/plural-eval.c: Renamed to...
3612 * intl/eval-plural.h: ...this.
3613 * intl/explodename.c: Switch to gettext copyright.
3614 Use ANSI definitions and prototypes.
3615 (_nl_explode_name): Use strchr instead of __rawmemchr.
3616 * intl/finddomain.c: Switch to gettext copyright.
3617 Use ANSI definitions and prototypes.
3618 Use gl_* locking primitives rather than __libc_* ones.
3619 (_nl_find_domain): Use malloc rather than alloca for
3620 allocation of temporary locale name.
3621 * intl/gettext.c: Switch to gettext copyright.
3622 Use ANSI definitions and prototypes.
3623 * intl/gettextP.h: Switch to gettext copyright.
3624 Use ANSI definitions and prototypes.
3625 Use gl_* locking primitives rather than __libc_* ones.
3626 * intl/gmo.h: Switch to gettext copyright.
3627 (struct sysdep_string): Move struct segment_pair outside of
3629 * intl/hash-string.c: Use ANSI definitions and prototypes.
3630 * intl/hash-string.h: Switch to gettext copyright.
3631 Use ANSI definitions and prototypes.
3632 * intl/l10nflist.c: Switch to gettext copyright.
3633 Use ANSI definitions and prototypes.
3634 (_nl_normalize_codeset): Avoid integer overflow.
3635 * intl/loadinfo.h: Switch to gettext copyright.
3636 Use ANSI definitions and prototypes.
3637 (LIBINTL_DLL_EXPORTED): New define.
3638 (PATH_SEPARATOR): New define.
3639 * intl/loadmsgcat.c: Switch to gettext copyright.
3640 * intl/localealias.c: Switch to gettext copyright.
3641 Use ANSI definitions and prototypes.
3642 (_nl_expand_alias): Use PATH_SEPARATOR.
3643 * intl/ngettext.c: Switch to gettext copyright.
3644 Use ANSI definitions and prototypes.
3645 * intl/plural-exp.c: Likewise.
3646 * intl/plural-exp.h: Switch to gettext copyright.
3647 Use ANSI definitions and prototypes.
3648 (struct expression): Move definition of enum operator outside
3649 of struct definition.
3650 * intl/plural.c: Regenerate.
3651 * intl/plural.y: Switch to gettext copyright.
3652 Use ANSI definitions and prototypes.
3654 * intl/textdomain.c: Switch to gettext copyright.
3655 Use ANSI definitions and prototypes.
3656 Use gl_* locking primitives rather than __libc_* ones.
3658 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3660 * debug/warning-nop.c: Add used atrribute.
3662 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3664 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3666 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3667 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3668 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3670 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3671 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3674 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3675 Undefine after defining function. Define as weak alias of
3676 __wcschr. Use libc_hidden_weak.
3677 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3678 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3679 (libc_hidden_def): Also define __GI___wcschr alias.
3680 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3681 __wcschr and define as weak alias of __wcschr.
3682 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3684 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3685 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3686 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3687 libc_hidden_weak. Do not use libc_hidden_def.
3688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3689 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3690 __GI___wcschr alias.
3691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3692 [IS_IN (libc)] (wcschr): Define as macro expanding to
3694 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3695 [IS_IN (libc)] (__wcschr_power6): Likewise.
3696 [IS_IN (libc)] (__wcschr_power7): Likewise.
3697 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3699 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3701 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3702 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3703 __wcschr and define as weak alias of __wcschr. Use
3704 libc_hidden_builtin_def.
3705 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3706 as weak alias of __wcschr. Use libc_hidden_weak.
3707 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3709 * time/era.c (_nl_init_era_entries): Likewise.
3710 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3712 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3713 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3715 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3717 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3718 format for long int variable.
3720 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3723 * manual/search.texi: (Array Sort Function): Remove claim how to make
3726 2014-12-10 Andreas Schwab <schwab@suse.de>
3729 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3730 user-controlled locks.
3732 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3734 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3737 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3739 * configure.ac (--disable-werror): New configure option.
3740 (enable_werror): New AC_SUBST.
3741 * configure: Regenerated.
3742 * config.make.in (enable-werror): New variable.
3743 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3745 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3746 * manual/install.texi (Configuring and compiling): Document
3748 * INSTALL: Regenerated.
3749 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3750 (CFLAGS-tst-chk2.c): Likewise.
3751 (CFLAGS-tst-chk3.c): Likewise.
3752 (CFLAGS-tst-chk4.cc): Likewise.
3753 (CFLAGS-tst-chk5.cc): Likewise.
3754 (CFLAGS-tst-chk6.cc): Likewise.
3755 (CFLAGS-tst-lfschk1.c): Likewise.
3756 (CFLAGS-tst-lfschk2.c): Likewise.
3757 (CFLAGS-tst-lfschk3.c): Likewise.
3758 (CFLAGS-tst-lfschk4.cc): Likewise.
3759 (CFLAGS-tst-lfschk5.cc): Likewise.
3760 (CFLAGS-tst-lfschk6.cc): Likewise.
3762 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3763 (main): Disable -Wdeprecated-declarations around calls to
3764 register_printf_function.
3766 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3767 (do_test): Disable -Wdiv-by-zero around some calls to
3768 fwrite_unlocked and fread_unlocked.
3770 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3771 (DIAG_POP_NEEDS_COMMENT): Likewise.
3772 (_DIAG_STR1): Likewise.
3773 (_DIAG_STR): Likewise.
3774 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3775 * stdio-common/bug21.c: Include <libc-internal.h>.
3776 (do_test): Disable -Wformat around call to sscanf.
3777 * stdio-common/scanf14.c: Include <libc-internal.h>.
3778 (main): Disable -Wformat around some calls to scanf functions.
3780 2014-12-09 Torvald Riegel <triegel@redhat.com>
3782 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3784 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3786 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3787 stack variable alignment.
3789 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3792 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3793 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3794 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3795 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3796 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3797 __getrlimit instead of getrlimit.
3798 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3799 __gettimeofday instead of gettimeofday.
3800 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3802 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3804 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3805 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3807 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3808 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3810 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3812 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3813 for wide-character tests.
3815 2014-12-04 Roland McGrath <roland@hack.frob.com>
3817 * io/openat64.c: #include <libc-internal.h>
3818 (__openat64): Prototypify. Use ignore_value on MODE.
3819 * io/openat.c: Likewise.
3820 * misc/reboot.c: #include <libc-internal.h>
3821 (reboot): Prototypify. Use ignore_value on HOWTO.
3822 * misc/ptrace.c: #include <libc-internal.h>
3823 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3825 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3827 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3828 XPG4, UNIX98 and XOPEN2K.
3829 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3831 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3833 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3835 * libio/fileops.c: Use ISO C style for function definitions.
3836 * libio/iofopen.c: Likewise.
3837 * libio/wfileops.c: Likewise.
3840 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3842 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3843 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3844 (fgets_func): Function pointer to fgets and fgetws.
3845 (do_ftell_test): Add test to verify ftell value after read
3847 (do_test): Set fgets_func.
3849 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3850 O_TRUNC flag for w and w+ modes.
3851 (do_rewind_test): Likewise.
3852 (do_ftell_test): Likewise.
3853 (do_write_test): Likewise.
3856 * libio/fileops.c (do_ftell): Seek only when there are
3858 * libio/wfileops.c (do_ftell_wide): Likewise.
3859 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3861 (do_one_test): Call it.
3863 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3865 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3866 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3867 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3869 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3870 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3871 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3873 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3875 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3877 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3880 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3881 as weak alias of __getifaddrs. Use libc_hidden_weak.
3882 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3883 __freeifaddrs. Use libc_hidden_weak.
3884 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3885 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3886 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3887 __freeifaddrs. Use libc_hidden_weak.
3888 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3889 __getifaddrs and define as weak alias of __getifaddrs. Use
3891 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3892 __freeifaddrs. Use libc_hidden_weak.
3893 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3895 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3896 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3898 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3901 * sysdeps/mips/start.S (__start): Use indirect jump to call
3904 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3906 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3908 * nptl/tst-mutex1.c: Include <stdbool.h>.
3909 [!ATTR] (ATTR_NULL): New macro.
3910 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3911 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3912 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3914 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3918 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3919 Change conditional to [__USE_MISC].
3922 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3924 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3926 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3928 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3930 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3931 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3932 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3933 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3934 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3935 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3936 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3937 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3938 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3940 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3942 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3944 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3945 Remove strpbrk objects.
3946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3947 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3948 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3949 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3950 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3951 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3953 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3954 Remove strcspn objects.
3955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3956 (__libc_ifunc_impl_list): Remove strcspn implementation.
3957 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3958 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3959 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3960 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3962 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3963 Remove strspn objetcs.
3964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3965 (__libc_ifunc_impl_list): Remove strspn implementation.
3966 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3967 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3968 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3969 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3971 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3975 (mem2mem_check): Add a terminator to the chain of checking blocks.
3976 (malloc_check_get_size): Use it here.
3977 (mem2chunk_check): Ditto.
3979 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3981 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3982 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3984 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3986 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3988 * nptl/nptl-init.c: Include libc-internal.h.
3989 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3991 * elf/ldconfig.c (search_dir): Expand comment.
3993 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3995 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3997 (linknamespace-symlist-stdlibs-tests): Likewise.
3998 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3999 instead of $(objpfx)symlist-stdlibs.
4000 (linknamespace-libs-isoc): New variable.
4001 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4002 (linknamespace-libs-ISO): New variable.
4003 (linknamespace-libs-ISO99): Likewise.
4004 (linknamespace-libs-ISO11): Likewise.
4005 (linknamespace-libs-XPG3): Likewise.
4006 (linknamespace-libs-XPG4): Likewise.
4007 (linknamespace-libs-POSIX): Likewise.
4008 (linknamespace-libs-UNIX98): Likewise.
4009 (linknamespace-libs-XOPEN2K): Likewise.
4010 (linknamespace-libs-POSIX2008): Likewise.
4011 (linknamespace-libs-XOPEN2K8): Likewise.
4012 ($(objpfx)symlist-stdlibs): Replace by
4013 $(linknamespace-symlist-stdlibs-tests). Use
4014 $(linknamespace-libs-$*) as set of libraries.
4015 ($(linknamespace-header-tests)): Update dependencies. Use
4016 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4017 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4018 * conform/linknamespace.pl: Remove comment about considering
4019 definitions of symbols from irrelevant libraries.
4021 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4024 * elf/dl-tls.c: Include <atomic.h>.
4025 (oom): Remove #ifdef SHARED/#endif.
4026 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4027 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4028 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4030 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4031 * nptl/Makefile (tests): Add tst-stack4.
4032 (modules-names): Add tst-stack4mod.
4033 ($(objpfx)tst-stack4): New.
4034 (tst-stack4mod.sos): Likewise.
4035 ($(objpfx)tst-stack4.out): Likewise.
4036 ($(tst-stack4mod.sos)): Likewise.
4038 * nptl/tst-stack4.c: New file.
4039 * nptl/tst-stack4mod.c: Likewise.
4041 2014-11-27 J. Brown <jb999@gmx.de>
4043 * sysdeps/x86/bits/string.h: Add recent CPUs.
4045 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4047 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4050 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4053 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4056 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4058 * nscd/connections.c: Include libc-internal.h because of macro
4061 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4063 * string/bits/string3.h (__warn_memset_zero_len): Don't
4064 declare for gcc newer than 5.0.
4065 (memset): Don't test for zero-length __LEN for gcc newer than
4068 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4070 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4071 size_t for %zu format.
4073 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4074 difference, not %ju.
4076 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4078 * include/libc-internal.h (ignore_value): New macro.
4079 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4082 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4085 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4086 pthread_cleanup_push to void *.
4088 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4093 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4094 instead of 1L << 52.
4096 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4097 * libio/bug-rewind2.c (do_test): Likewise.
4099 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4100 * debug/test-strcpy_chk-ifunc.c: Likewise.
4101 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4102 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4103 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4104 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4105 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4106 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4107 * Rules [$(multi-arch) = no] (tests): Do not filter out
4109 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4110 * debug/Makefile (tests-ifunc): Remove variable.
4111 (tests): Do not add $(tests-ifunc).
4112 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4113 (tests): Do not add $(tests-ifunc).
4114 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4115 [TEST_IFUNC]: Remove conditionals.
4116 * string/test-string.h (TEST_IFUNC): Remove macro.
4117 [TEST_IFUNC]: Remove conditionals.
4119 * string/test-strchr.c [!WIDE] (L): New macro.
4120 [WIDE] (L): Likewise.
4121 (check1): Use CHAR instead of char. Use L on string and character
4124 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4126 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4128 * sysdeps/powerpc/bits/atomic.h
4129 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4130 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4131 (atomic_exchange_and_add_acq): Likewise.
4132 (atomic_exchange_and_add_rel): Likewise.
4133 * sysdeps/powerpc/powerpc32/bits/atomic.h
4134 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4135 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4136 * sysdeps/powerpc/powerpc64/bits/atomic.h
4137 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4138 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4140 2014-11-26 Torvald Riegel <triegel@redhat.com>
4142 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4143 Change synchronization of __sched_fifo_min_prio and
4144 __sched_fifo_max_prio.
4145 * nptl/pthread_mutexattr_getprioceiling.c
4146 (pthread_mutexattr_getprioceiling): Likewise.
4147 * nptl/pthread_mutexattr_setprioceiling.c
4148 (pthread_mutexattr_setprioceiling): Likewise.
4149 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4150 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4153 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4155 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4158 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4160 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4161 third argument const.
4163 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4165 fnmatch: work around GCC compiler warning bug with uninit var
4166 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4167 This works around a bug with x86-64 GCC 4.9.2 and earlier
4168 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4169 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4170 used uninitialized in this function [-Wmaybe-uninitialized]".
4172 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4174 * posix/bug-regex31.c (main): Return RES not 0.
4176 2014-11-25 Anton Blanchard <anton@samba.org>
4178 * sysdeps/powerpc/bits/atomic.h
4179 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4181 2014-11-24 Sterling Augustine <saugustine@google.com>
4183 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4185 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4188 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4190 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4193 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4194 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4196 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4197 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4199 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4201 * string/strncpy.c (strncpy): Improve performance by using memset.
4203 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4205 * string/strcpy.c (strcpy):
4206 Improve performance by using strlen and memcpy.
4208 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4210 * string/strcoll_l.c (get_next_seq): __always_inline.
4211 * string/strcoll_l.c (do_compare): __always_inline.
4213 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4215 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4217 * include/mqueue.h: Likewise.
4218 * include/stdlib.h: Likewise.
4220 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4221 (get_null_defines): Adjust.
4222 * sunrpc/Makefile: Adjust comment.
4223 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4224 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4225 (CFLAGS-interp.c): Likewise.
4226 (CFLAGS-ldconfig.c): Likewise.
4227 (CPPFLAGS-.os): Likewise.
4228 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4229 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4230 * extra-modules.mk (extra-modules.mk): Likewise.
4231 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4232 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4233 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4234 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4235 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4236 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4237 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4238 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4239 * iconvdata/Makefile (CPPFLAGS): Likewise.
4240 (cpp-srcs-left): Add libof for all iconvdata routines.
4241 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4242 * include/assert.h: Likewise.
4243 * include/ctype.h: Likewise.
4244 * include/errno.h: Likewise.
4245 * include/libc-symbols.h: Likewise.
4246 * include/math.h: Likewise.
4247 * include/netdb.h: Likewise.
4248 * include/resolv.h: Likewise.
4249 * include/stdio.h: Likewise.
4250 * include/stdlib.h: Likewise.
4251 * include/string.h: Likewise.
4252 * include/sys/stat.h: Likewise.
4253 * include/wctype.h: Likewise.
4254 * intl/l10nflist.c: Likewise.
4255 * libidn/idn-stub.c: Likewise.
4256 * libio/libioP.h: Likewise.
4257 * nptl/libc_multiple_threads.c: Likewise.
4258 * nptl/pthreadP.h: Likewise.
4259 * posix/regex_internal.h: Likewise.
4260 * resolv/res_hconf.c: Likewise.
4261 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4262 * sysdeps/arm/memmove.S: Likewise.
4263 * sysdeps/arm/sysdep.h: Likewise.
4264 * sysdeps/generic/_itoa.h: Likewise.
4265 * sysdeps/generic/symbol-hacks.h: Likewise.
4266 * sysdeps/gnu/errlist.awk: Likewise.
4267 * sysdeps/gnu/errlist.c: Likewise.
4268 * sysdeps/i386/i586/memcpy.S: Likewise.
4269 * sysdeps/i386/i586/memset.S: Likewise.
4270 * sysdeps/i386/i686/memcpy.S: Likewise.
4271 * sysdeps/i386/i686/memmove.S: Likewise.
4272 * sysdeps/i386/i686/mempcpy.S: Likewise.
4273 * sysdeps/i386/i686/memset.S: Likewise.
4274 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4275 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4276 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4277 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4278 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4279 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4280 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4281 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4282 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4283 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4284 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4285 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4286 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4287 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4288 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4289 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4290 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4291 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4292 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4293 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4294 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4295 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4296 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4297 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4298 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4299 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4300 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4301 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4302 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4303 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4304 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4307 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4309 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4310 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4311 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4313 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4314 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4315 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4316 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4317 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4318 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4319 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4320 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4321 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4323 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4324 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4325 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4326 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4327 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4328 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4329 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4331 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4332 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4333 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4334 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4335 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4336 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4337 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4338 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4339 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4340 * sysdeps/posix/closedir.c: Likewise.
4341 * sysdeps/posix/opendir.c: Likewise.
4342 * sysdeps/posix/readdir.c: Likewise.
4343 * sysdeps/posix/rewinddir.c: Likewise.
4344 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4345 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4346 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4347 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4348 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4349 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4350 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4351 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4353 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4355 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4356 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4357 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4358 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4359 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4360 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4361 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4362 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4364 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4365 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4366 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4367 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4369 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4370 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4371 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4372 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4379 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4380 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4381 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4382 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4383 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4384 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4385 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4386 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4388 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4389 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4390 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4391 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4392 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4393 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4394 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4395 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4396 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4397 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4398 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4400 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4401 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4402 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4403 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4404 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4405 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4406 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4407 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4408 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4409 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4410 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4411 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4412 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4413 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4414 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4415 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4416 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4417 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4418 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4419 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4420 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4421 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4422 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4423 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4424 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4425 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4426 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4427 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4428 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4430 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4431 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4432 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4433 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4434 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4435 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4436 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4440 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4442 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4443 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4444 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4445 * sysdeps/unix/alpha/sysdep.S: Likewise.
4446 * sysdeps/unix/alpha/sysdep.h: Likewise.
4447 * sysdeps/unix/make-syscalls.sh: Likewise.
4448 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4450 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4451 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4452 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4453 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4454 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4455 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4456 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4457 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4458 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4459 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4460 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4461 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4462 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4463 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4464 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4465 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4466 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4467 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4468 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4469 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4470 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4471 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4472 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4473 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4474 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4477 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4478 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4482 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4485 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4486 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4487 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4488 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4489 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4490 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4491 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4492 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4494 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4495 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4496 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4498 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4499 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4500 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4501 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4502 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4503 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4504 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4506 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4507 * sysdeps/x86_64/memcpy.S: Likewise.
4508 * sysdeps/x86_64/memmove.c: Likewise.
4509 * sysdeps/x86_64/memset.S: Likewise.
4510 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4511 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4512 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4513 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4514 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4517 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4518 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4519 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4520 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4522 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4523 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4524 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4525 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4527 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4528 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4529 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4530 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4531 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4534 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4535 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4536 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4537 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4538 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4539 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4540 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4541 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4542 * sysdeps/x86_64/strcmp.S: Likewise.
4544 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4546 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4547 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4548 * elf/rtld-Rules: Likewise.
4549 * elf/setup-vdso.h: Likewise.
4550 * include/assert.h: Likewise.
4551 * include/bits/stdlib-float.h: Likewise.
4552 * include/errno.h: Likewise.
4553 * include/sys/stat.h: Likewise.
4554 * include/unistd.h: Likewise.
4555 * sysdeps/aarch64/setjmp.S: Likewise.
4556 * sysdeps/alpha/setjmp.S: Likewise.
4557 * sysdeps/arm/__longjmp.S: Likewise.
4558 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4559 * sysdeps/arm/setjmp.S: Likewise.
4560 * sysdeps/arm/sysdep.h: Likewise.
4561 * sysdeps/generic/_itoa.h: Likewise.
4562 * sysdeps/generic/dl-sysdep.h: Likewise.
4563 * sysdeps/generic/ldsodefs.h: Likewise.
4564 * sysdeps/i386/dl-tls.h: Likewise.
4565 * sysdeps/i386/setjmp.S: Likewise.
4566 * sysdeps/m68k/setjmp.c: Likewise.
4567 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4568 * sysdeps/mach/hurd/opendir.c: Likewise.
4569 * sysdeps/posix/getcwd.c: Likewise.
4570 * sysdeps/posix/opendir.c: Likewise.
4571 * sysdeps/posix/profil.c: Likewise.
4572 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4573 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4574 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4575 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4576 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4577 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4578 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4579 * sysdeps/s390/dl-tls.h: Likewise.
4580 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4581 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4582 * sysdeps/sh/sh3/setjmp.S: Likewise.
4583 * sysdeps/sh/sh4/setjmp.S: Likewise.
4584 * sysdeps/unix/alpha/sysdep.h: Likewise.
4585 * sysdeps/unix/arm/sysdep.S: Likewise.
4586 * sysdeps/unix/i386/sysdep.S: Likewise.
4587 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4588 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4589 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4590 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4592 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4593 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4594 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4595 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4596 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4597 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4602 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4603 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4604 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4605 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4606 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4607 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4610 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4611 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4612 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4613 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4614 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4615 * sysdeps/x86_64/setjmp.S: Likewise.
4617 * include/math.h: Use IS_IN instead of IS_IN_libm.
4618 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4621 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4622 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4623 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4624 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4630 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4631 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4632 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4634 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4638 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4639 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4640 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4641 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4642 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4643 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4645 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4646 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4647 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4648 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4649 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4650 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4661 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4663 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4664 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4665 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4666 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4672 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4673 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4674 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4675 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4676 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4677 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4679 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4680 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4681 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4682 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4683 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4684 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4685 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4687 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4689 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4690 * nptl/pthreadP.h: Likewise.
4691 * nptl_db/structs.def: Likewise.
4692 * sysdeps/arm/sysdep.h: Likewise.
4693 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4694 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4695 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4696 * sysdeps/unix/alpha/sysdep.h: Likewise.
4697 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4698 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4699 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4700 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4701 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4702 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4703 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4704 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4705 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4706 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4707 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4708 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4709 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4710 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4715 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4718 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4719 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4720 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4721 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4722 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4724 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4725 * nptl/pthreadP.h: Likewise.
4726 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4727 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4728 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4729 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4730 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4731 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4732 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4733 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4734 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4735 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4736 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4737 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4744 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4747 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4748 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4749 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4751 * dlfcn/dladdr.c: Use IS_IN.
4752 * dlfcn/dladdr1.c: Likewise.
4753 * dlfcn/dlclose.c: Likewise.
4754 * dlfcn/dlerror.c: Likewise.
4755 * dlfcn/dlinfo.c: Likewise.
4756 * dlfcn/dlmopen.c: Likewise.
4757 * dlfcn/dlopen.c: Likewise.
4758 * dlfcn/dlsym.c: Likewise.
4759 * dlfcn/dlvsym.c: Likewise.
4761 * include/ifaddrs.h: Use IS_IN.
4762 * inet/check_pf.c: Likewise.
4763 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4764 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4766 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4768 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4769 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4771 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4772 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4775 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4777 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4778 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4779 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4780 * include/libc-symbols.h (IS_IN_LIB): New macro.
4781 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4782 * include/netdb.h: Likewise.
4783 * include/stap-probe.h: Remove all uses of IN_LIB.
4785 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4786 instead of IN_MODULE.
4787 * include/libc-symbols.h (IN_MODULE): Define using
4789 (PASTE_NAME, PASTE_NAME1): New macros.
4790 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4792 (STAP_PROBE_ASM): Likewise.
4794 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4796 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4797 __mach_init in dlopened libc.
4799 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4801 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4802 * sysdeps/arm/preconfigure: Regenerate.
4804 2014-11-21 Roland McGrath <roland@hack.frob.com>
4806 * nptl/pthread_create.c (__pthread_create_2_1): Set
4807 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4808 when copying values from IATTR into PD.
4810 2014-11-21 Will Newton <will.newton@linaro.org>
4811 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4813 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4814 Refactor inline-asm. Also add comment.
4816 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4817 ElfW macro instead of hardcoded Elf64 types.
4818 (la_aarch64_gnu_pltenter): Likewise.
4819 * sysdeps/aarch64/dl-machine.h
4820 (elf_machine_runtime_setup): Use ElfW(Addr).
4822 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4823 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4824 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4825 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4826 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4827 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4828 (R_AARCH64_TLS_DTPMOD): This.
4829 (R_AARCH64_TLS_DTPREL64): Rename to ...
4830 (R_AARCH64_TLS_DTPREL): This.
4831 (R_AARCH64_TLS_TPREL64): Rename to ...
4832 (R_AARCH64_TLS_TPREL): This.
4833 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4834 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4835 R_AARCH64_TLS_TPREL64.
4836 (elf_machine_rela): Likewise.
4838 2014-11-21 Torvald Riegel <triegel@redhat.com>
4840 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4841 by setting it to 0. 64b atomics are not supported currently.
4843 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4846 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4847 search domain names.
4849 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4853 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4855 * posix/tst-getaddrinfo5.c: New.
4856 * posix/Makefile (tests): Add it.
4858 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4862 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4863 after parsing line but before break_if_match.
4864 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4865 if there is a protocol mismatch.
4867 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4869 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4870 because the potential race is on the user-supplied stream.
4872 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4874 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4875 string literal if not passed a buffer.
4876 * manual/job.texi (ctermid): Update reasoning, note deviation
4877 from posix, suggest mtasurace when not passed a buffer, for
4878 future non-preliminary safety notes.
4880 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4882 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4883 of not passing it a buffer.
4884 Reported by Peng Haitao.
4886 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4888 * manual/Makefile ($(objpfx)stamp-summary): Require
4889 check-safety.sh to pass.
4890 * manual/check-safety.sh: Wish for verification that every
4891 @deftypefn and @deftypefun is followed by a @safety remark.
4893 2014-11-20 Roland McGrath <roland@hack.frob.com>
4895 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4897 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4898 PTHREAD_CANCEL_ASYNCHRONOUS.
4899 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4902 * nptl/default-sched.h: New file.
4903 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4904 * nptl/pthread_create.c: Include it.
4905 (__pthread_create_2_1): Use collect_default_sched instead of making
4906 Linux syscalls here directly.
4908 2014-11-20 Torvald Riegel <triegel@redhat.com>
4910 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4911 __pthread_once): Use C11 atomics.
4913 2014-11-20 Torvald Riegel <triegel@redhat.com>
4915 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4917 2014-11-20 Torvald Riegel <triegel@redhat.com>
4919 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4920 atomic_thread_fence_acquire, atomic_thread_fence_release,
4921 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4922 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4923 atomic_compare_exchange_weak_relaxed,
4924 atomic_compare_exchange_weak_acquire,
4925 atomic_compare_exchange_weak_release,
4926 atomic_exchange_acquire, atomic_exchange_release,
4927 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4928 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4929 atomic_fetch_and_acquire,
4930 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4932 2014-11-20 Torvald Riegel <triegel@redhat.com>
4934 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4935 USE_ATOMIC_COMPILER_BUILTINS): Define.
4936 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4937 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4938 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4939 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4940 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4941 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4942 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4943 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4944 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4945 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4946 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4947 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4948 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4949 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4950 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4951 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4952 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4953 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4954 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4955 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4956 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4957 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4958 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4959 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4960 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4961 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4962 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4963 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4964 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4965 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4966 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4967 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4968 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4969 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4970 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4971 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4972 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4973 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4974 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4975 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4977 2014-11-19 Roland McGrath <roland@hack.frob.com>
4979 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4980 the sched_priority value here. It was already checked when the user
4981 called pthread_attr_setschedparam.
4983 * nptl/tst-bad-schedattr.c: New file.
4984 * nptl/Makefile (tests): Add it.
4986 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4987 Florian Weimer <fweimer@redhat.com>
4988 Joseph Myers <joseph@codesourcery.com>
4989 Adam Conrad <adconrad@0c3.net>
4990 Andreas Schwab <schwab@suse.de>
4991 Brooks <bmoses@google.com>
4994 * wordexp-test.c (__dso_handle): Add prototype.
4995 (__register_atfork): Likewise.
4996 (__app_register_atfork): New function.
4997 (registered_forks): New global.
4998 (register_fork): New function.
4999 (test_case): Add 3 new tests for WRDE_CMDSUB.
5000 (main): Call __app_register_atfork.
5001 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5002 fork count is non-zero fail the test.
5003 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5005 (parse_dollars): Remove check for WRDE_NOCMD.
5006 (parse_dquote): Likewise.
5008 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5010 * Makeconfig (built-modules): List non-library modules to be
5012 (module-cppflags): Include libc-modules.h for
5013 everything except shlib-versions.v.i.
5015 (before-compile): Add libc-modules.h.
5016 ($(common-objpfx)libc-modules.h,
5017 $(common-objpfx)libc-modules.stmp): New targets.
5018 (common-generated): Add libc-modules.h and libc-modules.stmp.
5019 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5020 * include/libc-symbols.h: Don't include libc-modules.h.
5021 * include/libc-modules.h: Remove file.
5022 * scripts/gen-libc-modules.awk: New script to generate
5024 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5025 Depend on libc-modules.stmp.
5027 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5029 * Makeconfig (in-module): Get value of libof set for the
5031 (CPPFLAGS): Use $(in-module).
5032 * Makerules: Don't suffix routine names for nonlib.
5033 * include/libc-modules.h: New file.
5034 * include/libc-symbols.h: Include libc-modules.h
5035 (IS_IN): New macro to replace IS_IN_* macros.
5036 * elf/Makefile: Set libof-* for each routine.
5037 * elf/rtld-Rules: Likewise.
5038 * extra-modules.mk: Likewise.
5039 * iconv/Makefile: Likewise.
5040 * iconvdata/Makefile: Likewise.
5041 * locale/Makefile: Likewise.
5042 * malloc/Makefile: Likewise.
5043 * nss/Makefile: Likewise.
5044 * sysdeps/gnu/Makefile: Likewise.
5045 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5046 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5047 * sysdeps/s390/s390-64/Makefile: Likewise.
5048 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5049 CPPFLAGS for nscd instead of nonlib.
5051 2014-11-18 Roland McGrath <roland@hack.frob.com>
5053 * nptl/createthread.c: New file.
5055 * nptl/createthread.c: Moved ...
5056 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5058 * nptl/createthread.c: Add proper top-line comment.
5059 (do_clone): Folded into ...
5060 (create_thread): ... here. Take new arguments STOPPED_START and
5061 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5062 increment __nptl_threads, do event-reporting logic, do
5063 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5064 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5065 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5066 just send SIGCANCEL.
5067 * nptl/pthread_create.c: Forward-declare create_thread before
5068 including createthread.c.
5069 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5070 declaration, and new macro START_THREAD_SELF to replace argument.
5071 Remove return statement.
5072 (report_thread_creation): New function.
5073 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5074 synchronization logic, and __nptl_nthreads increment here, around
5075 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5076 PD->parent_cancelhandling here, before create_thread. When
5077 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5078 __deallocate_stack, and ENOMEM translation here.
5080 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5083 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5084 (mptwo): Rename to __mptwo.
5085 (__inv): Use __mptwo instead of mptwo.
5086 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5087 (mptwo): Rename to __mptwo.
5088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5089 of mpone and __mptwo instead of mptwo.
5090 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5093 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5094 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5095 of mpone and __mptwo instead of mptwo.
5096 (__mpranred): Use __mpone instead of mpone.
5097 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5099 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5100 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5101 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5102 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5103 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5104 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5105 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5106 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5107 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5108 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5109 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5110 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5111 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5112 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5113 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5114 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5115 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5116 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5117 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5119 2014-11-18 Tom de Vries <tom@codesoucery.com>
5121 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5122 replace BSD Handler xref with BSD Signal Handling.
5124 2014-11-17 Richard Henderson <rth@redhat.com>
5126 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5127 (_FP_PACK_RAW_2): Remove.
5128 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5129 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5130 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5131 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5132 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5133 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5134 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5135 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5136 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5137 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5138 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5139 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5140 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5141 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5142 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5143 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5145 2014-11-14 Roland McGrath <roland@hack.frob.com>
5147 * signal/signal.h [__USE_MISC]
5148 (struct sigvec): Remove type.
5149 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5150 (sigvec): Remove declaration.
5151 * sysdeps/posix/sigvec.c: Moved ...
5152 * signal/sigvec.c: ... here, replacing old file.
5153 (struct sigvec): New type, copied from old signal.h definition.
5154 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5155 (__sigvec): Convert definition to prototype.
5156 (sigvec): Replace weak_alias with compat_symbol.
5157 * signal/Versions (libc: GLIBC_2.21): New version set.
5158 * include/signal.h: Remove __sigvec declaration.
5159 * sysdeps/unix/bsd/sigvec.c: Remove file.
5160 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5161 * manual/signal.texi (BSD Handler): Remove subsection.
5162 Move siginterrupt up to ...
5163 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5164 (Blocking in BSD): Fold subsection into its parent.
5165 * NEWS: Mention sigvec removal.
5167 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5169 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5170 (DLA_FMS): Make definition conditional only on [__FMA4__].
5171 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5174 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5175 Make definition conditional only on [PROF].
5176 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5178 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5179 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5181 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5183 * include/signal.h (__sigpause): Move declaration above call to
5185 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5187 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5188 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5190 2014-11-14 David S. Miller <davem@davemloft.net>
5192 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5193 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5195 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5197 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5198 * configure: Regenerated.
5199 * manual/install.texi (Tools for Compilation): Document a
5200 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5201 compiler verified to work.
5202 * INSTALL: Regenerated.
5204 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5205 redeclare with asm name.
5206 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5207 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5208 including <string.h>.
5209 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5210 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5211 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5212 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5213 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5214 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5215 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5217 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5219 * stdlib/strtol.c (__strtol): Use prototype definition.
5222 * stdlib/strtol.c (SYM__): New macro.
5224 (__strtol): Likewise.
5225 (strtol): Rename to __strtol and define as weak alias of
5226 __strtol. Use libc_hidden_weak.
5228 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5230 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5231 Use numbered labels in inline assembly.
5233 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5235 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5236 Add setjmp LIBC_PROBE.
5237 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5239 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5240 Add longjmp, longjmp_target LIBC_PROBE.
5241 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5244 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5247 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5248 to get rid of unused variable warning.
5250 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5252 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5253 Check for unwind_backtrace == NULL only in SHARED case.
5254 (__backchain_backtrace): Compile only in SHARED case.
5255 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5257 (__backchain_backtrace): Declare as static.
5259 2014-11-12 Roland McGrath <roland@hack.frob.com>
5261 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5262 (__libc_multiple_threads_ptr): Variable moved ...
5263 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5265 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5267 * conform/GlibcConform.pm: New file.
5268 * conform/conformtest.pl: Use GlibcConform module.
5269 * conform/linknamespace.pl: New file.
5270 * conform/list-header-symbols.pl: Likewise.
5271 * conform/Makefile (linknamespace-symlists-base): New variable.
5272 (linknamespace-symlists-tests): Likewise.
5273 (linknamespace-header-base): Likewise.
5274 (linknamespace-header-tests): Likewise.
5275 (tests-special): Add new tests.
5276 ($(linknamespace-symlists-tests)): New rule.
5277 (linknamespace-libs): New variable.
5278 ($(objpfx)symlist-stdlibs): New rule.
5279 ($(linknamespace-header-tests)): Likewise.
5280 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5281 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5282 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5283 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5284 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5285 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5286 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5287 (test-xfail-ISO/math.h/linknamespace): Likewise.
5288 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5289 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5290 (test-xfail-ISO/time.h/linknamespace): Likewise.
5291 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5292 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5293 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5294 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5295 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5296 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5297 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5298 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5299 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5300 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5301 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5302 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5303 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5304 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5305 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5306 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5307 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5308 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5309 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5310 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5311 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5312 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5313 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5314 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5315 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5316 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5317 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5318 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5319 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5320 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5321 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5322 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5323 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5324 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5325 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5326 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5327 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5328 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5329 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5330 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5331 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5332 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5333 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5334 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5335 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5336 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5337 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5338 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5339 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5340 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5341 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5342 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5343 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5344 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5345 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5346 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5347 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5348 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5349 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5350 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5351 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5352 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5353 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5354 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5355 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5356 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5357 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5358 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5359 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5360 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5361 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5362 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5363 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5364 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5365 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5366 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5367 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5368 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5369 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5370 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5371 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5372 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5373 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5374 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5375 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5376 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5377 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5378 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5379 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5380 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5381 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5382 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5383 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5384 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5385 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5386 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5387 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5388 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5389 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5390 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5391 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5392 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5393 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5394 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5395 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5396 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5397 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5398 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5399 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5400 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5401 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5402 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5403 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5404 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5405 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5406 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5407 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5408 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5409 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5410 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5411 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5412 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5413 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5414 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5415 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5416 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5417 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5418 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5419 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5420 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5421 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5422 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5423 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5424 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5425 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5426 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5427 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5428 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5429 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5430 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5431 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5432 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5433 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5434 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5435 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5436 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5437 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5438 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5439 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5440 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5443 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5447 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5448 (memmem): Rename to __memmem and define as weak alias of
5449 __memmem. Use libc_hidden_weak.
5450 (__memmem): Use libc_hidden_def.
5451 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5452 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5456 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5457 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5458 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5459 and define as weak alias of __fgets_unlocked. Use
5461 (__fgets_unlocked): Use libc_hidden_def.
5462 * include/stdio.h (__fgets_unlocked): Declare. Use
5464 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5465 __fgets_unlocked instead of fgets_unlocked.
5466 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5467 (GET_NPROCS_CONF_PARSER): Likewise.
5468 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5469 (GET_NPROCS_CONF_PARSER): Likewise.
5472 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5473 weak alias of __wmemset. Use libc_hidden_weak.
5474 (__wmemset): Use libc_hidden_def.
5475 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5476 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5480 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5481 with asm name __mempcpy.
5482 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5485 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5486 and define as weak alias of __rawmemchr.
5487 (__rawmemchr): Do not define as strong alias of rawmemchr.
5490 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5492 (qsort): Call __qsort_r instead of qsort_r.
5493 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5494 (__qsort_r): Declare. Call libc_hidden_proto.
5495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5497 * nscd/gai.c (__qsort_r): Define to qsort_r.
5498 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5499 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5500 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5503 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5504 define as weak alias of __malloc_info.
5507 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5508 as weak alias of __rewinddir. Don't use libc_hidden_def.
5509 (__rewinddir): Use libc_hidden_def.
5510 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5511 as weak alias of __rewinddir. Don't use libc_hidden_def.
5512 (__rewinddir): Use libc_hidden_def.
5513 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5514 weak alias of __rewinddir. Don't use libc_hidden_def.
5515 (__rewinddir): Use libc_hidden_def.
5516 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5517 (__rewinddir): Use libc_hidden_proto.
5518 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5520 (__getcwd): Use __rewinddir instead of rewinddir.
5523 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5524 alias of __fileno. Use libc_hidden_weak.
5525 (__fileno): Use libc_hidden_def.
5526 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5527 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5529 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5531 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5532 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5534 (fread_unlocked): Don't use libc_hidden_ver.
5535 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5536 and define as weak alias of __fread_unlocked. Don't use
5538 (__fread_unlocked): Use libc_hidden_def.
5539 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5540 (ftello): Don't use libc_hidden_proto.
5541 (__ftello): Declare. Use libc_hidden_proto.
5542 (fread_unlocked): Don't use libc_hidden_proto.
5543 (__fread_unlocked): Declare. Use libc_hidden_proto.
5544 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5545 and __ftello instead of fileno, fread_unlocked and ftello.
5547 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5549 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5551 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5553 (_dl_start_user): Likewise.
5554 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5556 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5557 Siddhesh Poyarekar <siddhesh@redhat.com>
5559 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5560 Move argv and envp down instead of moving argc up.
5561 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5563 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5566 * test-skeleton.c (main): Return successful if one of
5567 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5568 * string/tst-strcoll-overflow.c: Define expected status.
5570 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5573 * locale/iso-639.def: Define Bhili and Tulu language codes.
5575 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5577 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5579 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5582 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5584 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5586 * configure.ac: Updated check of minimal required version to
5588 * manual/install.texi (Tools for Compilation): Updated version
5590 * configure: Regenerated.
5591 * INSTALL: Likewise.
5593 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5595 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5598 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5600 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5601 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5602 (__waitpid): Don't define as alias. Use libc_hidden_def not
5604 (waitpid): Define as alias of __waitpid.
5605 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5607 (__waitpid): Don't define as alias. Use libc_hidden_def not
5609 (waitpid): Define as alias of __waitpid.
5610 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5611 __libc_waitpid alias.
5612 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5613 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5615 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5616 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5617 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5619 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5621 (__waitpid): Don't define as alias. Use libc_hidden_def not
5623 (waitpid): Define as alias of __waitpid.
5625 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5627 * manual/llio.texi: Add comment that write safety has been
5630 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5631 (localplt-build-dso): Add elf/ld.so.
5632 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5633 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5636 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5641 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5642 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5643 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5644 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5645 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5646 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5647 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5648 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5649 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5650 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5651 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5653 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5656 * include/libc-symbols.h (INTUSE): Remove macro.
5658 (INTVARDEF): Likewise.
5659 (_INTVARDEF): Likewise.
5660 (INTDEF2): Likewise.
5661 (INTVARDEF2): Likewise.
5662 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5663 rtld_hidden_def instead of INTVARDEF.
5664 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5665 (_dl_starting_up_internal): Remove declaration.
5666 (_dl_starting_up): Use rtld_hidden_proto.
5667 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5669 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5670 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5672 * elf/dl-writev.h (_dl_writev): Likewise.
5673 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5674 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5675 _dl_starting_up_internal.
5677 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5682 2014-11-05 Will Newton <will.newton@linaro.org>
5684 * benchtests/Makefile: (bench-malloc): Add malloc thread
5685 scalability benchmark.
5686 * benchtests/bench-malloc-threads.c: New file.
5688 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5690 * sysdeps/aarch64/strchrnul.S: New file.
5692 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5694 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5696 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5698 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5702 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5707 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5709 * catgets/test-gencat.c: Use test-skeleton.c.
5710 * catgets/tst-catgets.c: Likewise.
5711 * csu/tst-empty.c: Likewise.
5712 * elf/tst-audit2.c: Likewise.
5713 * elf/tst-global1.c: Likewise.
5714 * elf/tst-pathopt.c: Likewise.
5715 * elf/tst-piemod1.c: Likewise.
5716 * elf/tst-tls10.c: Likewise.
5717 * elf/tst-tls11.c: Likewise.
5718 * elf/tst-tls12.c: Likewise.
5719 * gnulib/tst-gcc.c: Likewise.
5720 * iconvdata/tst-e2big.c: Likewise.
5721 * iconvdata/tst-loading.c: Likewise.
5722 * iconv/tst-iconv1.c: Likewise.
5723 * iconv/tst-iconv2.c: Likewise.
5724 * inet/test-inet6_opt.c: Likewise.
5725 * inet/tst-gethnm.c: Likewise.
5726 * inet/tst-network.c: Likewise.
5727 * inet/tst-ntoa.c: Likewise.
5728 * intl/tst-codeset.c: Likewise.
5729 * intl/tst-gettext2.c: Likewise.
5730 * intl/tst-gettext3.c: Likewise.
5731 * intl/tst-ngettext.c: Likewise.
5732 * intl/tst-translit.c: Likewise.
5733 * io/test-stat.c: Likewise.
5734 * libio/test-fmemopen.c: Likewise.
5735 * libio/tst-freopen.c: Likewise.
5736 * libio/tst-sscanf.c: Likewise.
5737 * libio/tst-ungetwc1.c: Likewise.
5738 * libio/tst-ungetwc2.c: Likewise.
5739 * libio/tst-widetext.c: Likewise.
5740 * localedata/tst-ctype.c: Likewise.
5741 * localedata/tst-digits.c: Likewise.
5742 * localedata/tst-leaks.c: Likewise.
5743 * localedata/tst-mbswcs1.c: Likewise.
5744 * localedata/tst-mbswcs2.c: Likewise.
5745 * localedata/tst-mbswcs3.c: Likewise.
5746 * localedata/tst-mbswcs4.c: Likewise.
5747 * localedata/tst-mbswcs5.c: Likewise.
5748 * localedata/tst-setlocale.c: Likewise.
5749 * localedata/tst-trans.c: Likewise.
5750 * localedata/tst-wctype.c: Likewise.
5751 * localedata/tst-xlocale1.c: Likewise.
5752 * login/tst-grantpt.c: Likewise.
5753 * malloc/tst-calloc.c: Likewise.
5754 * malloc/tst-malloc.c: Likewise.
5755 * malloc/tst-mallocstate.c: Likewise.
5756 * malloc/tst-mcheck.c: Likewise.
5757 * malloc/tst-mtrace.c: Likewise.
5758 * malloc/tst-obstack.c: Likewise.
5759 * math/atest-exp2.c: Likewise.
5760 * math/atest-exp.c: Likewise.
5761 * math/atest-sincos.c: Likewise.
5762 * math/test-matherr.c: Likewise.
5763 * math/test-misc.c: Likewise.
5764 * math/test-powl.c: Likewise.
5765 * math/tst-definitions.c: Likewise.
5766 * misc/tst-dirname.c: Likewise.
5767 * misc/tst-efgcvt.c: Likewise.
5768 * misc/tst-fdset.c: Likewise.
5769 * misc/tst-hsearch.c: Likewise.
5770 * misc/tst-mntent2.c: Likewise.
5771 * nptl/tst-sem7.c: Likewise.
5772 * nptl/tst-sem8.c: Likewise.
5773 * nptl/tst-sem9.c: Likewise.
5774 * nss/test-netdb.c: Likewise.
5775 * posix/tst-fnmatch.c: Likewise.
5776 * posix/tst-getlogin.c: Likewise.
5777 * posix/tst-gnuglob.c: Likewise.
5778 * posix/tst-mmap.c: Likewise.
5779 * pwd/tst-getpw.c: Likewise.
5780 * resolv/tst-inet_ntop.c: Likewise.
5781 * rt/tst-timer.c: Likewise.
5782 * stdio-common/test-fseek.c: Likewise.
5783 * stdio-common/test-popen.c: Likewise.
5784 * stdio-common/test-vfprintf.c: Likewise.
5785 * stdio-common/tst-cookie.c: Likewise.
5786 * stdio-common/tst-fileno.c: Likewise.
5787 * stdio-common/tst-gets.c: Likewise.
5788 * stdio-common/tst-obprintf.c: Likewise.
5789 * stdio-common/tst-perror.c: Likewise.
5790 * stdio-common/tst-sprintf2.c: Likewise.
5791 * stdio-common/tst-sprintf3.c: Likewise.
5792 * stdio-common/tst-sprintf.c: Likewise.
5793 * stdio-common/tst-swprintf.c: Likewise.
5794 * stdio-common/tst-tmpnam.c: Likewise.
5795 * stdio-common/tst-unbputc.c: Likewise.
5796 * stdio-common/tst-wc-printf.c: Likewise.
5797 * stdlib/tst-environ.c: Likewise.
5798 * stdlib/tst-fmtmsg.c: Likewise.
5799 * stdlib/tst-limits.c: Likewise.
5800 * stdlib/tst-rand48-2.c: Likewise.
5801 * stdlib/tst-rand48.c: Likewise.
5802 * stdlib/tst-random2.c: Likewise.
5803 * stdlib/tst-random.c: Likewise.
5804 * stdlib/tst-strtol.c: Likewise.
5805 * stdlib/tst-strtoll.c: Likewise.
5806 * stdlib/tst-tls-atexit.c: Likewise.
5807 * stdlib/tst-xpg-basename.c: Likewise.
5808 * string/test-ffs.c: Likewise.
5809 * string/tst-bswap.c: Likewise.
5810 * string/tst-inlcall.c: Likewise.
5811 * string/tst-strtok.c: Likewise.
5812 * string/tst-strxfrm.c: Likewise.
5813 * sysdeps/x86_64/tst-audit10.c: Likewise.
5814 * sysdeps/x86_64/tst-audit3.c: Likewise.
5815 * sysdeps/x86_64/tst-audit4.c: Likewise.
5816 * sysdeps/x86_64/tst-audit5.c: Likewise.
5817 * time/tst-ftime_l.c: Likewise.
5818 * time/tst-getdate.c: Likewise.
5819 * time/tst-mktime3.c: Likewise.
5820 * time/tst-mktime.c: Likewise.
5821 * time/tst-posixtz.c: Likewise.
5822 * time/tst-strptime2.c: Likewise.
5823 * time/tst-strptime3.c: Likewise.
5824 * wcsmbs/tst-btowc.c: Likewise.
5825 * wcsmbs/tst-mbrtowc.c: Likewise.
5826 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5827 * wcsmbs/tst-wchar-h.c: Likewise.
5828 * wcsmbs/tst-wcpncpy.c: Likewise.
5829 * wcsmbs/tst-wcrtomb.c: Likewise.
5830 * wcsmbs/tst-wcsnlen.c: Likewise.
5831 * wcsmbs/tst-wcstof.c: Likewise.
5833 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5836 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5838 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5840 (_dl_mcount): Use rtld_hidden_proto.
5841 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5843 * elf/rtld.c (_rtld_global_ro): Likewise.
5846 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5847 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5848 of _dl_init_internal.
5849 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5850 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5851 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5852 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5853 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5854 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5855 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5856 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5857 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5858 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5859 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5860 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5861 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5862 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5863 * sysdeps/tile/dl-start.S (_start): Likewise.
5864 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5865 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5868 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5869 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5870 (rtld_progname): Make macro definition unconditional.
5871 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5873 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5874 (dl_main): Likewise.
5875 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5876 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5877 instead of _dl_argv_internal.
5878 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5879 __GI__dl_argv instead of INTUSE(_dl_argv).
5880 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5881 __GI__dl_argv instead of _dl_argv_internal.
5883 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5884 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5886 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5887 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5889 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5890 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5892 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5893 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5895 2014-11-04 Andreas Schwab <schwab@suse.de>
5897 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5899 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5901 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5902 mtvsrd instruction in binary form.
5904 2014-11-03 Andreas Schwab <schwab@suse.de>
5907 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5908 for less than MB_LEN_MAX use a local buffer of that size.
5909 * libio/tst-fputws.c: New file.
5910 * libio/Makefile (tests): Add tst-fputws.
5912 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5914 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5915 the size of the fpu_fr.fpu_dregs[] array.
5917 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5919 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5920 (__nanosleep): Do not define as alias.
5921 (nanosleep): Define as alias of __nanosleep.
5922 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5923 __libc_nanosleep name.
5925 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5927 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5928 install.texi in comment.
5930 2014-10-31 Torvald Riegel <triegel@redhat.com>
5932 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5933 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5934 ... add here and use lwsync or sync ...
5935 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5936 ... and add here using lwsync.
5938 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5940 * elf/dl-machine-reject-phdr.h: New file.
5941 * elf/dl-load.c: #include that.
5942 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5943 if that returned true.
5945 2014-10-31 Roland McGrath <roland@hack.frob.com>
5948 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5949 gen-as-const-headers chunk. Add a big scare comment after the last
5950 safe place to touch before-compile.
5952 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5954 * manual/install.texi (Tools for Compilation): Update autoconf
5955 version requirements.
5956 * INSTALL: Regenerated.
5958 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5959 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5960 (__libc_pselect): Likewise.
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5968 2014-10-31 Torvald Riegel <triegel@redhat.com>
5970 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5971 correct barrier instruction.
5972 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5974 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5977 2014-10-30 Roland McGrath <roland@hack.frob.com>
5979 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5980 after defining inlines. Instead, just use parens to defeat macro
5981 expansion of __isctype in its declaration.
5983 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5985 * include/sys/uio.h (__libc_readv): Remove declaration.
5986 (__libc_writev): Likewise.
5987 * misc/readv.c (__libc_readv): Rename to __readv.
5988 (__readv): Do not define as alias.
5989 (readv): Define as alias of __readv.
5990 * misc/writev.c (__libc_writev): Rename to __writev.
5991 (__writev): Do not define as alias.
5992 (writev): Define as alias of __writev.
5993 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5994 (__readv): Do not define as alias.
5995 (readv): Define unconditionally as alias of __readv.
5996 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5997 (__writev): Do not define as alias.
5998 (writev): Define unconditionally as alias of __writev.
5999 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6001 (writev): Do not define __libc_writev name.
6003 2014-10-30 Roland McGrath <roland@hack.frob.com>
6005 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6006 (convert_charseq): New function, broken out of ...
6007 (use_from_charmap): ... here. Call it.
6008 (use_to_charmap): Use convert_charseq and free instead of duplicating
6009 its code with a variable-length stack struct.
6011 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6013 * include/fcntl.h (__libc_creat): Remove declaration.
6014 * io/creat.c (__libc_creat): Rename to creat.
6015 (creat): Do not define as alias.
6016 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6017 of creat instead of __libc_creat.
6018 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6020 (creat): Do not define as alias.
6021 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6023 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6028 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6030 * manual/llio.texi: Add comments discussing why write() may be
6031 considered MT-unsafe on Linux.
6033 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6035 * dl-load.c (local_strdup): Remove.
6036 (expand_dynamic_string_token): Use __strdup.
6037 (decompose_rpath): Likewise.
6038 (_dl_map_object): Likewise.
6040 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6043 * sysdeps/generic/unwind-dw2-fde.c
6044 (__register_frame_info_bases_internal): Do not declare.
6045 (__register_frame_info_table_bases_internal): Likewise.
6046 (__deregister_frame_info_bases_internal): Likewise.
6047 (__register_frame_info_bases): Declare and use hidden_proto before
6048 definition. Use hidden_def instead of INTDEF.
6049 (__register_frame_info_table_bases): Likewise.
6050 (__deregister_frame_info_bases): Likewise.
6051 (__register_frame_info): Do not use INTUSE.
6052 (__register_frame): Likewise.
6053 (__register_frame_info_table): Likewise.
6054 (__register_frame_table): Likewise.
6055 (__deregister_frame_info): Likewise.
6056 (__deregister_frame): Likewise.
6058 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6060 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6061 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6063 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6065 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6068 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6071 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6072 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6073 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6074 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6075 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6076 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6077 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6078 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6079 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6080 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6081 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6082 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6083 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6085 (setfsuid): Likewise.
6086 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6087 (setfsuid): Likewise.
6088 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6089 (setfsuid): Likewise.
6090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6092 (setfsuid): Likewise.
6093 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6094 (setfsuid): Likewise.
6095 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6097 (setfsuid): Likewise.
6099 2014-10-27 Andreas Schwab <schwab@suse.de>
6102 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6103 check for Slow_SSE4_2 feature bit.
6104 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6105 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6106 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6107 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6109 2014-10-24 Roland McGrath <roland@hack.frob.com>
6111 * configure.ac: Validate compiler version with a empirical test of
6112 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6114 * configure: Regenerated.
6116 * inet/htons.c (htons): Prototypify.
6117 * inet/htonl.c (htonl): Likewise.
6119 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6121 * string/strncat.c (strncat): Improve performance by using strlen.
6123 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6125 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6127 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6129 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6130 Call libc_fetestexcept_aarch64.
6132 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6134 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6135 Call libc_feholdexcept_aarch64.
6137 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6139 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6140 Call get_rounding_mode.
6142 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6144 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6147 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6149 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6152 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6155 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6156 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6157 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6158 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6159 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6160 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6161 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6162 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6163 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6164 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6165 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6166 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6167 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6168 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6169 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6170 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6171 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6172 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6173 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6174 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6175 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6176 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6177 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6178 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6179 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6180 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6181 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6182 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6183 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6184 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6185 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6186 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6187 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6188 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6189 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6190 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6191 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6192 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6193 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6194 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6195 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6197 (geteuid): Likewise.
6200 (getresgid): Likewise.
6201 (getresuid): Likewise.
6202 (getgroups): Likewise.
6203 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6204 (geteuid): Likewise.
6207 (getresgid): Likewise.
6208 (getresuid): Likewise.
6209 (getgroups): Likewise.
6210 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6211 (geteuid): Likewise.
6214 (getresgid): Likewise.
6215 (getresuid): Likewise.
6216 (getgroups): Likewise.
6217 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6219 (geteuid): Likewise.
6222 (getresgid): Likewise.
6223 (getresuid): Likewise.
6224 (getgroups): Likewise.
6225 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6226 (geteuid): Likewise.
6229 (getresgid): Likewise.
6230 (getresuid): Likewise.
6231 (getgroups): Likewise.
6232 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6234 (geteuid): Likewise.
6237 (getgroups): Likewise.
6240 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6241 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6242 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6243 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6244 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6245 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6246 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6247 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6248 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6249 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6250 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6251 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6252 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6254 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6261 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6264 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6269 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6271 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6274 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6276 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6279 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6281 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6282 Remove unused include.
6284 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6286 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6287 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6288 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6289 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6291 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6292 Helge Deller <deller@gmx.de>
6295 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6296 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6297 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6299 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6302 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6303 Remove macro definition.
6304 (__ashrdi3_v_glibc20): Likewise.
6305 (__lshrdi3_v_glibc20): Likewise.
6306 (__cmpdi2_v_glibc20): Likewise.
6307 (__ucmpdi2_v_glibc20): Likewise.
6308 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6309 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6310 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6311 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6312 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6313 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6315 2014-10-22 Roland McGrath <roland@hack.frob.com>
6317 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6318 old GNU extension [0] syntax.
6319 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6320 alloca rather than an array member with variable length.
6321 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6322 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6323 (parse_opt): ... here. Likewise use alloca there.
6324 Validate the -i argument before checking for rootness.
6325 (send_shutdown): New function, broken out of ...
6326 (parse_opt): ... here.
6328 2014-10-22 Roland McGrath <roland@hack.frob.com>
6330 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6331 macro to get at the _rt_local_ro field.
6332 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6333 ([PIC] case) or _dl_hwcap ([!PIC] case).
6334 * sysdeps/arm/setjmp.S: Likewise.
6336 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6337 * sysdeps/arm/configure.ac: New check to define it.
6338 * sysdeps/arm/configure: Regenerated.
6339 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6340 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6341 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6342 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6343 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6344 Use move/movt pair instead of a load.
6345 (LDST_GLOBAL): Macro removed.
6346 (LDR_GLOBAL): New macro replaces it.
6347 (LDR_HIDDEN): New macro.
6348 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6349 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6351 * setjmp/tst-setjmp-static.c: New file.
6352 * setjmp/Makefile (tests): Add it.
6353 (tests-static): New variable.
6355 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6358 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6360 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6363 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6365 2014-10-21 Roland McGrath <roland@hack.frob.com>
6367 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6369 2014-10-20 Roland McGrath <roland@hack.frob.com>
6371 * io/fts.c (dirent_not_directory): New function.
6372 (fts_build): Call it.
6374 2014-10-20 Roland McGrath <roland@hack.frob.com>
6376 * nptl/version.c (__nptl_main): Use normal __write rather than
6378 (banner): Update copyright years.
6380 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6382 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6383 * nptl/pthread_cond_timedwait.c: Likewise.
6384 * nptl/pthread_mutex_timedlock.c: Likewise.
6385 * nptl/sem_timedwait.c: Likewise.
6387 * sysdeps/nptl/bits/libc-lock.h
6388 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6389 (__libc_lock_init_recursive): Return void, not 0.
6390 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6391 (__libc_rwlock_init): Likewise.
6392 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6394 2014-10-20 Torvald Riegel <triegel@redhat.com>
6397 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6398 (__pthread_once_slow): ... here.
6399 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6400 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6402 2014-10-20 Torvald Riegel <triegel@redhat.com>
6405 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6406 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6407 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6408 * nptl/pthread_once.c (__pthread_once): Likewise.
6411 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6414 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6416 (writev): Use __libc_writev as strong name.
6417 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6418 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6420 2014-10-17 Roland McGrath <roland@hack.frob.com>
6422 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6424 * sysdeps/i386/nptl/tls.h
6425 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6426 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6428 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6429 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6430 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6431 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6432 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6433 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6435 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6436 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6438 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6440 (__pthread_mutex_init): ... here. Call it.
6441 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6442 Conditionalize PI cases on [__NR_futex].
6443 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6444 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6445 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6447 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6448 conditional on [SIGSETXID].
6449 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6450 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6451 is defined. Likewise for SIGSETXID.
6452 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6453 Conditionalize definitions on [SIGSETXID].
6454 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6455 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6456 unblocking on [SIGCANCEL].
6458 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6459 [__NR_set_robust_list].
6461 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6463 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6464 (do_compare): Likewise.
6466 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6469 * string/strcoll_l.c: Don't include stdio.h.
6470 (coll_seq): Remove members idxarr and rulearr.
6471 (get_next_seq_cached): Remove function.
6472 (get_next_seq): Likewise.
6473 (get_next_seq_nocache): Rename to get_next_seq.
6474 (do_compare): Remove function.
6475 (do_compare_nocache): Rename to do_compare.
6476 (STRCOLL): Remove weight and rules cache.
6478 2014-10-16 Roland McGrath <roland@hack.frob.com>
6480 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6481 * sysdeps/arm/sfp-machine.h: ... to here.
6482 * sysdeps/arm/Implies: Remove arm/soft-fp.
6484 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6486 * conform/data/sys/utsname.h-data (*_t): Allow.
6487 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6488 [POSIX] (WEXITED): Do not expect constant.
6489 [POSIX] (WSTOPPED): Likewise.
6490 [POSIX] (WNOHANG): Likewise.
6491 [POSIX] (WNOWAIT): Likewise.
6492 [POSIX] (siginfo_t): Do not expect type or elements.
6493 [POSIX] (pid_t): Do not expect type.
6494 [POSIX] (signal.h): Do not allow header.
6495 [POSIX] (sys/resource.h): Likewise.
6496 [POSIX] (si_*): Do not allow pattern.
6497 [POSIX] (W*): Likewise.
6498 [POSIX] (P_*): Likewise.
6499 [POSIX] (BUS_*): Likewise.
6500 [POSIX] (CLD_*): Likewise.
6501 [POSIX] (FPE_*): Likewise.
6502 [POSIX] (ILL_*): Likewise.
6503 [POSIX] (POLL_*): Likewise.
6504 [POSIX] (SEGV_*): Likewise.
6505 [POSIX] (SI_*): Likewise.
6506 [POSIX] (TRAP_*): Likewise.
6507 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6510 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6513 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6514 infinite loop when __recvmsg returns 0.
6516 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6518 * CANCEL-FCT-WAIVE: Remove file.
6519 * CANCEL-FILE-WAIVE: Likewise.
6522 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6523 instead of INTVARDEF.
6524 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6525 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6526 rtld_hidden_data_def instead of INTVARDEF.
6527 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6528 * elf/dl-deps.c (expand_dst): Likewise.
6529 * elf/dl-load.c (_dl_dst_count): Likewise.
6530 (_dl_dst_substitute): Likewise.
6531 (decompose_rpath): Likewise.
6532 (_dl_init_paths): Likewise.
6533 (open_path): Likewise.
6534 (_dl_map_object): Likewise.
6535 * elf/rtld.c (dl_main): Likewise.
6536 (process_dl_audit): Likewise.
6537 (process_envvars): Likewise.
6538 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6540 (__libc_enable_secure): Use rtld_hidden_proto.
6542 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6545 (add_path): New function broken out of _dl_rtld_di_serinfo.
6546 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6548 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6550 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6551 parentheses around macro arguments.
6552 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6553 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6554 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6555 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6556 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6557 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6558 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6559 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6560 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6561 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6562 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6563 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6564 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6565 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6566 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6567 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6568 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6569 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6570 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6571 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6572 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6573 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6574 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6575 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6576 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6577 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6578 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6579 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6580 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6581 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6582 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6583 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6584 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6585 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6586 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6587 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6589 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6590 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6591 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6592 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6593 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6594 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6595 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6596 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6597 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6598 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6599 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6600 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6601 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6602 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6603 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6604 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6605 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6606 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6607 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6608 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6609 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6610 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6611 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6612 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6613 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6614 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6615 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6616 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6617 (_FP_FRAC_SRS_1): Likewise.
6618 (_FP_FRAC_CLZ_1): Likewise.
6619 (_FP_MUL_MEAT_1_imm): Likewise.
6620 (_FP_MUL_MEAT_1_wide): Likewise.
6621 (_FP_MUL_MEAT_1_hard): Likewise.
6622 (_FP_SQRT_MEAT_1): Likewise.
6623 (_FP_FRAC_ASSEMBLE_1): Likewise.
6624 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6625 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6626 (__FP_CLZ_2): Likewise.
6627 (_FP_MUL_MEAT_2_wide): Likewise.
6628 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6629 (_FP_MUL_MEAT_2_gmp): Likewise.
6630 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6631 (_FP_SQRT_MEAT_2): Likewise.
6632 (_FP_FRAC_ASSEMBLE_2): Likewise.
6633 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6634 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6635 (_FP_FRAC_CLZ_4): Likewise.
6636 (_FP_MUL_MEAT_4_wide): Likewise.
6637 (_FP_MUL_MEAT_4_gmp): Likewise.
6638 (_FP_SQRT_MEAT_4): Likewise.
6639 (_FP_FRAC_ASSEMBLE_4): Likewise.
6640 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6641 * soft-fp/op-common.h (_FP_CMP): Likewise.
6642 (_FP_CMP_EQ): Likewise.
6643 (_FP_CMP_UNORD): Likewise.
6644 (_FP_TO_INT): Likewise.
6645 (_FP_FROM_INT): Likewise.
6646 [!__FP_CLZ] (__FP_CLZ): Likewise.
6647 (_FP_DIV_HELP_imm): Likewise.
6648 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6650 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6651 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6652 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6653 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6654 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6655 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6656 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6657 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6658 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6659 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6661 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6662 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6663 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6664 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6665 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6666 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6667 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6668 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6669 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6670 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6672 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6673 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6674 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6675 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6676 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6677 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6679 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6680 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6681 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6682 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6683 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6684 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6685 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6686 (FP_UNPACK_RAW_SP): Likewise.
6687 (FP_PACK_RAW_S): Likewise.
6688 (FP_PACK_RAW_SP): Likewise.
6689 (FP_UNPACK_S): Likewise.
6690 (FP_UNPACK_SP): Likewise.
6691 (FP_UNPACK_SEMIRAW_S): Likewise.
6692 (FP_UNPACK_SEMIRAW_SP): Likewise.
6693 (FP_PACK_S): Likewise.
6694 (FP_PACK_SP): Likewise.
6695 (FP_PACK_SEMIRAW_S): Likewise.
6696 (FP_PACK_SEMIRAW_SP): Likewise.
6697 (_FP_SQRT_MEAT_S): Likewise.
6698 (FP_CMP_S): Likewise.
6699 (FP_CMP_EQ_S): Likewise.
6700 (FP_CMP_UNORD_S): Likewise.
6701 (FP_TO_INT_S): Likewise.
6702 (FP_FROM_INT_S): Likewise.
6704 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6706 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6707 (FP_EX_INVALID_IMZ): Likewise.
6708 (FP_EX_INVALID_IMZ_FMA): Likewise.
6709 (FP_EX_INVALID_ISI): Likewise.
6710 (FP_EX_INVALID_ZDZ): Likewise.
6711 (FP_EX_INVALID_IDI): Likewise.
6712 (FP_EX_INVALID_SQRT): Likewise.
6713 (FP_EX_INVALID_CVI): Likewise.
6714 (FP_EX_INVALID_VC): Likewise.
6715 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6716 "invalid" exceptions.
6717 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6718 (_FP_ADD_INTERNAL): Likewise.
6719 (_FP_MUL): Likewise.
6720 (_FP_FMA): Likewise.
6721 (_FP_DIV): Likewise.
6722 (_FP_CMP_CHECK_NAN): Likewise.
6723 (_FP_SQRT): Likewise.
6724 (_FP_TO_INT): Likewise.
6725 (FP_EXTEND): Likewise.
6727 2014-10-09 Allan McRae <allan@archlinux.org>
6729 * po/fr.po: Update French translation from translation project.
6731 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6734 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6736 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6737 (__cxa_atexit): Use libc_hidden_proto.
6738 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6741 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6743 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6744 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6745 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6746 [!_ISOMAC] (__iswctype_internal): Likewise.
6747 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6748 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6750 (fcntl): Remove __fcntl_internal alias.
6751 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6752 __connect_internal alias.
6753 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6756 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6757 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6759 (_FP_CHECK_FLUSH_ZERO): New macro.
6760 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6761 (_FP_CMP): Likewise.
6762 (_FP_CMP_EQ): Likewise.
6763 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6765 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6766 (FP_TRUNC): Likewise.
6768 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6769 treated as invalid conversion, not as normal exponent.
6771 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6772 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6773 (_FP_CMP_EQ): Likewise.
6774 (_FP_CMP_UNORD): Likewise.
6775 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6776 (FP_CMP_EQ_D): Likewise.
6777 (FP_CMP_UNORD_D): Likewise.
6778 * soft-fp/extended.h (FP_CMP_E): Likewise.
6779 (FP_CMP_EQ_E): Likewise.
6780 (FP_CMP_UNORD_E): Likewise.
6781 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6782 (FP_CMP_EQ_Q): Likewise.
6783 (FP_CMP_UNORD_Q): Likewise.
6784 * soft-fp/single.h (FP_CMP_S): Likewise.
6785 (FP_CMP_EQ_S): Likewise.
6786 (FP_CMP_UNORD_S): Likewise.
6787 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6788 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6789 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6790 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6791 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6792 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6793 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6794 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6795 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6796 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6797 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6798 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6799 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6801 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6803 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6804 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6806 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6808 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6809 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6810 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6811 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6813 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6815 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6816 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6818 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6820 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6821 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6822 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6823 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6826 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6827 a subnormal result, set the underflow exception if trapping on
6828 underflow is enabled.
6829 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6830 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6831 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6833 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6834 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6835 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6836 * soft-fp/extendxftf2.c (__extendxftf2): Use
6837 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6839 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6840 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6841 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6842 FP_HANDLE_EXCEPTIONS.
6843 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6844 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6845 FP_HANDLE_EXCEPTIONS.
6846 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6847 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6848 FP_HANDLE_EXCEPTIONS.
6849 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6850 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6851 FP_HANDLE_EXCEPTIONS.
6853 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6856 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6857 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6859 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6860 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6862 (__adjtimex): Define using libc_hidden_ver.
6863 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6865 (ntp_gettime): Call __adjtimex directly.
6866 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6868 (ntp_gettimex): Call __adjtimex directly.
6869 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6870 __adjtimex_internal alias.
6872 2014-10-08 Roland McGrath <roland@hack.frob.com>
6875 * nscd/nscd.c (more_help): Rewrite list of tables collection
6876 using xstrdup and asprintf.
6878 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6880 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6881 Roland McGrath <roland@hack.frob.com>
6883 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6884 (do_lookup_unique): ... local function 'enter' here; update callers.
6886 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6888 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6889 compat_symbol calls on [SHARED].
6890 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6891 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6893 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6894 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6895 (oldsetrlimit): Remove.
6896 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6898 (lchown): New syscall entry.
6899 (oldsetrlimit): Remove.
6900 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6901 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6902 (oldsetrlimit): Remove.
6903 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6906 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6907 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6908 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6909 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6910 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6911 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6913 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6918 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6920 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6921 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6922 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6923 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6924 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6926 (__old_sem_post): Likewise.
6928 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6930 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6931 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6932 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6933 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6934 Use INLINE_VSYSCALL macro.
6935 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6936 __vdso_clock_gettime.
6937 * sysdeps/unix/sysv/linux/tile/init-first.c
6938 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6939 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6940 __vdso_clock_gettime.
6942 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6943 to set up frame more cleanly.
6945 * sysdeps/tile/memcmp.c: New file.
6947 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6949 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6950 * sysdeps/tile/tilegx/strcasestr.c: New file.
6951 * sysdeps/tile/tilegx/strnlen.c: New file.
6952 * sysdeps/tile/tilegx/strstr.c: New file.
6954 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6956 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6958 * nptl/tst-setuid3.c: Write errors to stdout.
6960 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6963 (preload): New functions broken out of _dl_map_object_deps.
6964 (_dl_map_object_deps): Remove a nested function. Update call sites.
6966 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6969 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6970 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6972 2014-10-01 Steve Ellcey <sellcey@mips.com>
6974 * sysdeps/mips/strcmp.S: New.
6976 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6979 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6981 (mkdirat): Likewise.
6982 (readlinkat): Likewise.
6983 (renameat): Likewise.
6984 (symlinkat): Likewise.
6985 (unlinkat): Likewise.
6986 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6987 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6988 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6989 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6990 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6991 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6992 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6994 2014-09-30 Will Newton <will.newton@linaro.org>
6996 * math/math.h: Define long double math functions if
6997 _LIBC_TEST is defined.
6998 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7000 * localedata/Makefile: Move assignment to tests-special
7001 into an ifdef testing run-built-tests.
7002 * timezone/Makefile: Likewise.
7004 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7006 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7007 with $(BASH) not $(SHELL).
7009 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7010 Matthew LeGendre <legendre1@llnl.gov>
7013 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7016 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7018 * stdio-common/printf_fp.c
7019 (hack_digit): New function, broken out of ...
7020 (__printf_fp): ... local function here. Update call sites.
7021 hack_digit now takes an additional parameter that is a pointer
7022 to a struct of the referenced locals. Those locals moved inside
7023 the struct and references updated.
7025 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7027 * aclocal.m4: Require autoconf 2.69.
7028 * configure: Regenerated.
7029 * sysdeps/aarch64/configure: Likewise.
7030 * sysdeps/alpha/configure: Likewise.
7031 * sysdeps/arm/armv7/configure: Likewise.
7032 * sysdeps/arm/configure: Likewise.
7033 * sysdeps/ia64/configure: Likewise.
7034 * sysdeps/mach/configure: Likewise.
7035 * sysdeps/mips/configure: Likewise.
7036 * sysdeps/s390/configure: Likewise.
7037 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7040 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7042 * sysdeps/ia64/configure.ac: Likewise.
7044 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7047 specify symbol version for ld.so. Do not include entry for
7049 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7050 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7051 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7054 * Makeconfig [$(build-shared) = yes]
7055 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7057 [$(build-shared) = yes && $(soversions.mk-done) = t]
7058 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7059 [$(build-shared) = yes && $(soversions.mk-done) = t]
7060 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7062 [$(build-shared) = yes && $(soversions.mk-done) = t]
7063 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7065 [$(build-shared) = yes && $(soversions.mk-done) = t]
7066 (common-generated): Don't append gnu/lib-names.h and
7067 gnu/lib-names.stmp here.
7068 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7069 (lib-names-h-abi): New variable.
7070 [$(build-shared) = yes && $(soversions.mk-done) = t]
7071 (lib-names-stmp-abi): Likewise.
7072 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7073 abi-variants] (before-compile): Append
7074 $(common-objpfx)$(lib-names-h-abi).
7075 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7076 abi-variants] (common-generated): Append gnu/lib-names.h.
7077 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7078 abi-variants] (install-others-nosubdir): Depend on
7079 $(inst_includedir)/$(lib-names-h-abi).
7080 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7081 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7082 [$(build-shared) = yes && $(soversions.mk-done) = t]
7083 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7084 [$(build-shared) = yes && $(soversions.mk-done) = t]
7085 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7086 [$(build-shared) = yes && $(soversions.mk-done) = t]
7087 (common-generated): Append $(lib-names-h-abi) and
7088 $(lib-names-stmp-abi).
7089 * scripts/lib-names.awk: Do not handle multi being set.
7090 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7092 (abi-lp64_be-ld-soname): Likewise.
7093 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7095 (abi-hard-ld-soname): Likewise.
7096 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7097 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7099 (abi-o32_hard-ld-soname): Likewise.
7100 (abi-o32_soft_2008-ld-soname): Likewise.
7101 (abi-o32_hard_2008-ld-soname): Likewise.
7102 (abi-n32_soft-ld-soname): Likewise.
7103 (abi-n32_hard-ld-soname): Likewise.
7104 (abi-n32_soft_2008-ld-soname): Likewise.
7105 (abi-n32_hard_2008-ld-soname): Likewise.
7106 (abi-n64_soft-ld-soname): Likewise.
7107 (abi-n64_hard-ld-soname): Likewise.
7108 (abi-n64_soft_2008-ld-soname): Likewise.
7109 (abi-n64_hard_2008-ld-soname): Likewise.
7110 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7112 (abi-64-v2-ld-soname): Likewise.
7113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7115 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7117 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7119 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7121 (abi-64-ld-soname): Likewise.
7122 (abi-x32-ld-soname): Likewise.
7123 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7125 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7127 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7130 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7131 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7132 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7133 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7134 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7135 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7136 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7137 syscall entry for GLIBC_2.2 symbol version.
7138 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7141 (setrlimit): Likewise.
7142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7145 2014-09-23 Will Newton <will.newton@linaro.org>
7147 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7148 _LINUX_ARM_SYSDEP_H include guard too.
7149 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7152 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7154 * sysdeps/unix/sysv/linux/eventfd.c:
7155 Make first argument unsigned.
7156 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7157 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7159 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7161 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7162 * socket/sys/socket.h: Likewise
7163 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7165 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7167 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7169 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7171 * time/tst-ftime.c: New test.
7172 * time/Makefile (tests): Add tst-ftime.
7174 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7176 * soft-fp/extended.h: Fix comment formatting.
7177 * soft-fp/op-1.h: Likewise.
7178 * soft-fp/op-2.h: Likewise.
7179 * soft-fp/op-4.h: Likewise.
7180 * soft-fp/op-8.h: Likewise.
7181 * soft-fp/op-common.h: Likewise.
7182 * soft-fp/soft-fp.h: Likewise.
7184 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7186 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7189 * Makeconfig (soversions-default-setname): Remove variable.
7190 ($(common-objpfx)soversions.i): Don't pass default_setname to
7192 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7193 oldest_abi to abi-versions.awk.
7194 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7195 * config.make.in (oldest-abi): Remove variable.
7196 * configure.ac (--enable-oldest-abi): Remove configure option.
7197 * configure: Regenerated.
7198 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7200 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7201 * scripts/soversions.awk: Do not handle default_setname variable.
7202 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7204 * sysdeps/mach/hurd/configure: Regenerated.
7205 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7207 * sysdeps/unix/sysv/linux/configure: Regenerated.
7209 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7211 * elf/Makefile (CFLAGS-interp.c): Remove.
7212 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7214 * elf/interp.c: Include generated runtime-linker.h
7216 * Makerules (lib%.so): Don't include $(+interp) in
7218 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7219 * dlfcn/eval.c: Remove file.
7221 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7225 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7229 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7231 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7232 Jakub Jelinek <jakub@redhat.com>
7235 * libio/stdio.h: Check definition of __fortify_function
7236 instead of __extern_always_inline to include bits/stdio2.h.
7237 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7238 check if __extern_always_inline is defined.
7239 [__USE_MISC || __USE_XOPEN]: Likewise.
7240 [__USE_ISOC99] Likewise.
7241 * misc/sys/cdefs.h (__fortify_function): Define only if
7242 __extern_always_inline is defined.
7243 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7244 __extern_always_inline and __extern_inline only for g++-4.3
7245 and newer or a compatible gcc.
7247 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7250 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7251 last change to handle zero prefix length.
7253 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7255 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7258 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7261 2014-09-13 Allan McRae <allan@archlinux.org>
7263 * po/ru.po: Update Russian translation from translation project.
7265 2014-09-12 Roland McGrath <roland@hack.frob.com>
7267 * locale/programs/locale.c (show_locale_vars): Inline local function
7268 into its sole call site. Clean up some style nits.
7269 (print_item): New function, broken out of ...
7270 (show_info): ... local function here. Clean up style nits.
7272 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7274 (set_class_defaults): ... local function set_default here.
7275 Define set_default as a macro locally to pass constant parameters.
7276 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7277 rather than a shared local.
7279 * stdlib/rpmatch.c (try): New function, broken out of ...
7280 (rpmatch): ... local function here. Also, prototypify definition.
7282 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7284 * scripts/soversions.awk: Do not handle configuration names.
7285 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7286 vendor and os variables to soversions.awk.
7287 * configure.ac: Do not modify gnu-* host_os.
7288 * configure: Regenerated
7289 * shlib-versions: Remove first column with configuration names.
7290 * nptl/shlib-versions: Likewise.
7291 * nptl_db/shlib-versions: Likewise.
7292 * sysdeps/hppa/shlib-versions: Likewise.
7293 * sysdeps/m68k/shlib-versions: Likewise.
7294 * sysdeps/mach/hurd/shlib-versions: Likewise.
7295 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7296 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7297 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7298 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7299 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7300 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7301 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7302 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7305 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7306 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7307 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7310 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7311 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7312 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7315 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7318 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7320 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7322 * shlib-versions: Remove OS-specific entries. Moved to files in
7324 * sysdeps/mach/hurd/shlib-versions: New file.
7325 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7327 * nptl/shlib-versions: Remove architecture-specific entries.
7328 Moved to files in sysdeps.
7329 * shlib-versions: Likewise.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7332 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7333 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7334 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7337 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7338 (UDP_NO_CHECK6_RX): Likewise.
7340 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7342 * sysdeps/posix/sysconf.c (__sysconf): Spell
7343 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7345 2014-08-12 Florian Weimer <fweimer@redhat.com>
7347 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7349 * iconv/Versions (__gconv_transliterate): Export for use from
7351 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7352 (struct __gconv_trans_data, __gconv_trans_fct,
7353 __gconv_trans_context_fct, __gconv_trans_query_fct,
7354 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7356 (struct __gconv_step_data): Remove __trans member.
7357 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7358 longer hidden. Remove unused trans_data argument.
7359 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7360 (__gconv_translit_find): Remove declaration.
7361 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7363 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7364 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7365 trans_data argument. Add hidden definition.
7366 (__gconv_translit_find): Remove.
7367 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7368 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7369 * iconv/skeleton.c: Remove transliteration initialization.
7370 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7371 __gconv_step_data initialization.
7372 * libio/iofwide.c (__libio_translit_): Remove.
7373 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7374 * wcsmbs/btowc.c (__btowc): Likewise.
7375 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7376 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7377 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7378 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7379 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7380 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7381 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7382 * wcsmbs/wctob.c (wctob): Likewise.
7384 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7387 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7388 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7390 * sysdeps/x86/Makefile: Adjust.
7392 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7393 Roland McGrath <roland@hack.frob.com>
7395 * locale/weight.h: Add include guard.
7396 (findidx): Make static rather than auto; take new parameters
7397 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7398 * locale/weightwc.h: Likewise.
7399 * posix/fnmatch_loop.c
7400 (FCT): Change type of EXTRA from int32_t to wint_t.
7401 Don't include either header inside the function.
7402 Call FINDIDX rather than findidx, and pass new arguments.
7403 #undef FINDIDX at the end of the file.
7404 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7405 FINDIDX before including fnmatch_loop.c for the non-wide version.
7406 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7407 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7408 for the wide version.
7409 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7410 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7411 Pass new arguments to findidx.
7412 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7413 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7414 Don't #include it inside the function. Pass new arguments to findidx.
7415 * posix/regex_internal.h
7416 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7417 (re_string_elem_size_at): Don't #include it inside the function.
7418 Pass new arguments to findidx.
7419 * string/strcoll_l.c: #include WEIGHT_H at top level.
7420 (get_next_seq): Don't #include it inside the function.
7421 Pass new arguments to findidx.
7422 (get_next_seq_nocache): Likewise.
7423 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7424 (STRXFRM): Don't #include it inside the function.
7425 Pass new arguments to findidx.
7427 2014-09-11 Florian Weimer <fweimer@redhat.com>
7430 * malloc/malloc.c (unlink): Turn asserts into a call to
7433 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7436 * libio/wfileops (do_ftell_wide): Free OUT.
7438 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7440 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7442 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7445 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7446 group if the current group is empty.
7448 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7450 * benchtests/bench-memset.c (test_main): Add more test from size
7451 from 32 to 512 bytes.
7452 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7453 Add POWER8 memset object.
7454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7455 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7456 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7458 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7460 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7461 multiarch POWER8 memset optimization.
7462 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7463 POWER8 memset optimization.
7465 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7466 Remove bzero multiarch objects.
7467 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7468 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7469 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7470 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7472 [__bzero]: Redefine to specific name.
7473 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7474 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7475 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7477 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7478 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7480 2014-09-10 Florian Weimer <fweimer@redhat.com>
7482 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7483 warnings into errors.
7485 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7486 __cxa_thread_atexit_impl prototype.
7488 2014-09-09 Steve Ellcey <sellcey@mips.com>
7490 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7491 Fix capitalization of error message.
7493 2014-09-09 Steve Ellcey <sellcey@mips.com>
7495 * sysdeps/mips/preconfigure: Modify ABI tests.
7497 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7499 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7501 2014-09-07 Roland McGrath <roland@hack.frob.com>
7502 Carlos O'Donell <carlos@systemhalted.org>
7504 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7505 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7506 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7507 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7508 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7509 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7510 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7511 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7512 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7513 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7514 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7515 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7516 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7517 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7518 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7519 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7520 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7521 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7522 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7523 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7524 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7525 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7526 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7527 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7528 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7529 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7530 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7531 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7532 Deconditionalize the code that was previously under [RESET_PID].
7533 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7534 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7535 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7536 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7539 2014-09-08 Allan McRae <allan@archlinux.org>
7541 * version.h (RELEASE): Set to "development".
7542 (VERSION): Set to "2.20.90"
7544 2014-09-07 Allan McRae <allan@archlinux.org
7546 * version.h (RELEASE): Set to "stable".
7547 (VERSION): Set to "2.20"
7548 * include/features.h (__GLIBC_MINOR__): Set to 20.
7550 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7553 * po/ko.po: Update Korean translation from translation project.
7555 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7558 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7559 macro for handling signed relocations.
7561 2014-09-03 Florian Weimer <fweimer@redhat.com>
7564 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7565 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7567 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7568 * iconvdata/ibm935.c (BODY): Likewise.
7569 * iconvdata/ibm937.c (BODY): Likewise.
7570 * iconvdata/ibm939.c (BODY): Likewise.
7571 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7573 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7575 * iconvdata/run-iconv-test.sh: New test loop for checking for
7578 2014-09-02 Khem Raj <raj.khem@gmail.com>
7580 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7583 2014-09-01 Allan McRae <allan@archlinux.org>
7585 * po/eo.po: Update Esperanto translation from translation project.
7587 * po/ca.po: Update Catalan translation from translation project.
7589 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7591 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7594 2014-08-27 Mark Wielaard <mjw@redhat.com>
7597 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7598 to call set_thread_area instead of hand written asm.
7599 (__NR_set_thread_area): Removed define.
7600 (TLS_FLAG_WRITABLE): Likewise.
7601 (__ASSUME_SET_THREAD_AREA): Remove check.
7602 (TLS_EBX_ARG): Remove define.
7603 (TLS_LOAD_EBX): Likewise.
7605 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7607 Simplify atomicity of socket creation in bind.
7609 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7610 looking up the name after linking the file.
7612 2014-08-27 Allan McRae <allan@archlinux.org>
7614 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7616 2014-08-26 Florian Weimer <fweimer@redhat.com>
7619 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7620 trans_compare, open_translit, __gconv_translit_find):
7621 Remove module loading code.
7623 2014-08-26 Allan McRae <allan@archlinux.org>
7625 * po/vi.po: Update Vietnamese translation from translation project.
7627 * po/uk.po: Update Ukrainian translation from translation project.
7629 * po/fr.po: Update French translation from translation project.
7631 * po/ru.po: Update Russian translation from translation project.
7633 * po/pl.po: Update Polish translation from translation project.
7635 * po/cs.po: Update Czech translation from translation project.
7637 * po/de.po: Update German translation from translation project.
7639 * po/bg.po: Update Bulgarian translation from translation project.
7641 * po/sv.po: Update Sweedish translation from translation project.
7643 * po/nl.po: Update Dutch translation from translation project.
7645 * po/es.po: Update Spanish translation from translation project.
7647 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7649 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7651 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7652 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7653 (CPPFLAGS-iconvconfig): Likewise.
7654 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7656 * include/libc-symbols.h: Remove unnecessary check for
7658 * nptl/pthreadP.h: Likewise.
7659 * sysdeps/aarch64/setjmp.S: Likewise.
7660 * sysdeps/alpha/setjmp.S: Likewise.
7661 * sysdeps/arm/sysdep.h: Likewise.
7662 * sysdeps/i386/setjmp.S: Likewise.
7663 * sysdeps/m68k/setjmp.c: Likewise.
7664 * sysdeps/posix/getcwd.c: Likewise.
7665 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7666 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7667 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7668 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7669 * sysdeps/sh/sh3/setjmp.S: Likewise.
7670 * sysdeps/sh/sh4/setjmp.S: Likewise.
7671 * sysdeps/unix/alpha/sysdep.h: Likewise.
7672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7673 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7674 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7675 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7680 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7683 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7685 * sysdeps/x86_64/setjmp.S: Likewise.
7687 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7690 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7692 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7693 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7695 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7697 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7700 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7701 and __x86_64__ when disabling x87 inline functions.
7703 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7707 asm statement with __cpuid_count.
7709 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7711 * configure.ac: Change __ehdr_start code to dereference the struct.
7712 Run readelf on the output to look for relocations.
7713 * configure: Regenerated.
7715 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7718 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7720 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7722 2014-08-12 Roland McGrath <roland@hack.frob.com>
7724 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7726 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7729 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7730 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7732 2014-08-12 Sean Anderson <seanga2@gmail.com>
7734 * malloc/malloc.c: Fix typo in comment.
7736 2014-08-09 Allan McRae <allan@archlinux.org>
7738 * Regenerate libc.po.
7740 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7742 * intl/tst-gettext2.sh: Check every lang file for creation.
7744 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7746 * sysdeps/aarch64/fpu/math_private.h
7747 (libc_feholdsetround_noex_aarch64_ctx): New function.
7749 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7751 * sysdeps/arm/armv6/strcpy.S (strcpy):
7752 Fix performance issue in misaligned cases.
7754 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7756 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7757 Move definition from termios.h.
7758 (struct termio): Likewise.
7759 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7760 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7761 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7762 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7764 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7765 Move definition to ioctl-types.h
7766 (struct termio): Likewise.
7767 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7768 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7769 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7770 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7773 2014-08-05 Richard Henderson <rth@redhat.com>
7775 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7777 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7779 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7780 Use __feraiseexcept.
7781 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7782 Protect libm symbols with IS_IN_libm.
7784 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7786 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7788 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7790 2014-08-04 Will Newton <will.newton@linaro.org>
7792 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7795 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7797 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7798 variants for each function.
7800 2014-08-04 Roland McGrath <roland@hack.frob.com>
7802 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7804 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7805 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7807 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7808 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7809 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7810 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7811 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7812 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7813 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7814 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7815 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7816 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7817 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7818 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7819 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7820 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7821 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7822 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7823 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7824 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7825 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7826 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7827 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7828 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7829 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7830 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7831 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7832 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7833 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7834 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7835 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7836 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7837 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7838 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7839 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7840 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7841 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7842 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7843 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7844 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7845 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7846 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7847 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7848 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7849 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7850 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7851 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7852 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7853 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7854 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7855 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7856 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7857 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7858 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7859 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7861 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7862 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7864 2014-08-04 Roland McGrath <roland@hack.frob.com>
7866 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7867 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7868 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7869 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7870 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7871 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7873 2014-08-04 Roland McGrath <roland@hack.frob.com>
7875 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7876 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7877 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7878 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7880 2014-08-04 Roland McGrath <roland@hack.frob.com>
7882 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7883 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7884 (__libc_vfork): Define function under this name.
7885 (__vfork): Define as an alias.
7886 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7887 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7889 2014-08-04 Roland McGrath <roland@hack.frob.com>
7891 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7892 that was previously under [RESET_PID].
7893 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7895 2014-08-04 Andreas Schwab <schwab@suse.de>
7897 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7899 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7901 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7904 2014-08-01 Roland McGrath <roland@hack.frob.com>
7906 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7908 2014-08-01 Richard Henderon <rth@redhat.com>
7910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7911 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7912 typo in exact zero test.
7913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7914 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7915 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7917 2014-08-01 Roland McGrath <roland@hack.frob.com>
7919 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7920 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7921 * sysdeps/arm/sysdep.h: ... here.
7922 [!__ASSEMBLER__]: Include <stdint.h>.
7924 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7926 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7927 (HAVE_WCTYPE_H): Likewise.
7928 (HAVE_ISWCTYPE): Likewise.
7929 (ENABLE_NLS): Likewise.
7930 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7931 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7933 * posix/regex_internal.c: Check if DEBUG is defined and is
7936 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7937 (HAVE_MBSRTOWCS): Likewise.
7938 * posix/fnmatch.c: Include string.h unconditionally.
7940 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7942 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7945 2014-07-31 Roland McGrath <roland@hack.frob.com>
7947 * sysdeps/generic/safe-fatal.h: New file.
7948 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7949 * nptl/forward.c: Include it.
7950 (__pthread_unwind): Use __safe_fatal as default action, rather
7951 than a bogus use of INTERNAL_SYSCALL that could never work.
7953 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7954 * configure.ac (libc_cv_builtin_trap): New test.
7955 * configure: Regenerated.
7956 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7957 (ABORT_INSTRUCTION): Define using __builtin_trap.
7959 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7960 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7961 * sysdeps/nptl/nptl-signals.h: New file.
7962 * nptl/pthreadP.h: Include <nptl-signals.h>.
7964 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7966 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7967 (ONE_DIRECTION): Define.
7968 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7969 (ONE_DIRECTION): Define.
7970 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7971 (ONE_DIRECTION): Define.
7973 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7975 * sysdeps/s390/Makefile: Delete file.
7976 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7977 * sysdeps/s390/__longjmp.c: Delete file.
7978 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7979 Remove fields __flags and __reserved.
7980 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7982 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7983 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7984 * sysdeps/s390/rtld-setjmp.S: Likewise.
7985 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7986 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7987 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7988 * sysdeps/s390/s390-32/setjmp.S: ... here.
7990 (__sigsetjmp): Remove setting __flags field.
7991 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7992 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7993 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7994 * sysdeps/s390/s390-64/setjmp.S: ... here.
7996 (__sigsetjmp): Remove setting __flags field.
7997 * sysdeps/s390/setjmp.S: Delete file.
7998 * sysdeps/s390/sigjmp.c: Likewise.
7999 * sysdeps/s390/v1-longjmp.c: Likewise.
8000 * sysdeps/s390/v1-setjmp.h: Likewise.
8001 * sysdeps/s390/v1-sigjmp.c: Likewise.
8002 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8003 Remove v1-longjmp_chk.
8004 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8005 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8006 Include debug/longjmp_chk.c and add versioning.
8007 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8008 Include nptl/pt-longjmp.c and add versioning.
8009 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8010 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8011 Include __longjmp.c.
8012 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8014 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8015 (__getcontext): Remove setting __flags field.
8017 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8018 Don't restore upper high grps.
8019 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8021 (__swapcontext): Remove setting uc_flags field.
8022 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8024 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8025 Include __longjmp.c.
8026 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8028 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8029 (__getcontext): Remove setting __flags field.
8031 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8032 (__swapcontext): Remove setting uc_flags field.
8033 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8034 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8035 Remove fields uc_high_gprs and __reserved.
8036 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8037 New file with reverted content.
8038 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8039 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8041 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8044 2014-07-31 Andreas Schwab <schwab@suse.de>
8046 * config.h.in (HAVE_IFUNC): Define to 0.
8047 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8050 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8053 memmove-avx-unaligned, memcpy-avx-unaligned and
8054 mempcpy-avx-unaligned.
8055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8056 Add tests for AVX memcpy functions.
8057 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8058 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8060 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8061 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8063 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8064 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8066 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8067 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8068 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8070 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8073 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8076 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8079 * manual/llio.texi: Add section about open file description locks.
8080 * manual/examples/ofdlocks.c: Example of open file description
8082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8083 F_OFD_SETLK, and F_OFD_SETLKW.
8085 2014-07-23 Allan McRae <allan@archlinux.org>
8087 * po/es.po: Update Spanish translation from translation project.
8089 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8091 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8093 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8096 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8097 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8098 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8100 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8103 * math/fesetenv.c (__fesetenv)
8104 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8105 * math/feupdateenv.c (__feupdateenv)
8106 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8108 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8109 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8110 (__ASSUME_SOCKETCALL): Do not define.
8112 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8113 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8114 (__ASSUME_SOCKETCALL): Do not define.
8115 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8116 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8117 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8118 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8119 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8120 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8121 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8122 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8124 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8125 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8126 (__ASSUME_SOCKETCALL): Do not define.
8127 (__ASSUME_IPC64): Define unconditionally.
8128 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8129 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8130 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8131 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8132 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8133 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8134 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8137 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8138 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8139 (__ASSUME_SOCKETCALL): Do not define.
8140 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8141 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8142 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8143 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8144 (__ASSUME_REQUEUE_PI): Define unconditionally.
8145 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8146 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8147 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8148 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8149 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8150 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8152 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8153 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8154 (__ASSUME_SOCKETCALL): Do not define.
8155 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8156 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8157 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8158 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8159 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8160 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8162 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8163 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8164 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8165 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8166 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8167 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8168 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8169 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8170 (__ASSUME_GETCPU_SYSCALL): Likewise.
8172 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8173 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8174 cases for individual architectures.
8175 * sysdeps/gnu/configure: Regenerated.
8176 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8177 LIBC_SLIBDIR_RTLDDIR.
8178 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8179 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8180 LIBC_SLIBDIR_RTLDDIR.
8181 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8183 LIBC_SLIBDIR_RTLDDIR.
8184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8186 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8187 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8189 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8190 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8192 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8193 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8194 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8195 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8197 * sysdeps/aarch64/shlib-versions: Move to ...
8198 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8199 * sysdeps/alpha/shlib-versions: Move to ...
8200 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8201 * sysdeps/arm/shlib-versions: Move to ...
8202 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8203 * sysdeps/hppa/shlib-versions: Move all contents except for
8204 libgcc_s entry to ...
8205 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8207 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8208 * sysdeps/ia64/shlib-versions: Move to ...
8209 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8211 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8212 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8213 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8214 * sysdeps/microblaze/shlib-versions: Move to ...
8215 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8216 * sysdeps/mips/shlib-versions: Move to ...
8217 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8219 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8220 * sysdeps/tile/shlib-versions: Move to ...
8221 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8222 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8224 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8225 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8227 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8229 2014-07-17 Will Newton <will.newton@linaro.org>
8231 * sysdeps/arm/bits/atomic.h
8232 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8233 (__arch_compare_and_exchange_bool_16_int): Likewise.
8234 (__arch_compare_and_exchange_bool_64_int): Likewise.
8236 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8237 into an #else block.
8239 2014-07-16 Roland McGrath <roland@hack.frob.com>
8241 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8242 just Linux configurations. Test empirically that the compiler sets
8243 __ARM_EABI__, rather than using the tuple to decide.
8244 * sysdeps/arm/preconfigure: Regenerated.
8245 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8246 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8247 contents appended ...
8248 * sysdeps/arm/configure.ac: ... here.
8249 * sysdeps/arm/configure: Regenerated.
8251 2014-07-15 Roland McGrath <roland@hack.frob.com>
8253 * nptl/pthread_kill.c: New file.
8254 * nptl/pthread_sigmask.c: New file.
8255 * nptl/pthread_sigqueue.c: New file.
8257 * sysdeps/nptl/lowlevellock.h: New file.
8258 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8259 * sysdeps/nptl/lowlevellock-futex.h: New file.
8261 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8262 Remove dead declarations.
8264 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8266 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8267 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8269 * sysdeps/x86_64/configure.ac: Likewise.
8270 * sysdeps/i386/configure: Regenerated.
8271 * sysdeps/x86_64/configure: Likewise.
8272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8273 memset-avx2 only if config-cflags-avx2 is yes.
8274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8275 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8277 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8278 only if HAVE_AVX2_SUPPORT is defined.
8279 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8281 2014-07-14 Alan Modra <amodra@gmail.com>
8284 * elf/elf.h (DT_PPC64_NUM): Correct value.
8285 * NEWS: Add to fixed bug list.
8287 2014-07-13 Jim Meyering <meyering@fb.com>
8290 regex: don't deref NULL upon heap allocation failure
8291 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8292 failure in one more place.
8293 To trigger the segfault, configure grep -with-included-regex,
8294 build it, and run these commands:
8295 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8297 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8299 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8301 2014-07-11 Richard Henderson <rth@redhat.com>
8303 * sysdeps/aarch64/libm-test-ulps: Update.
8305 2014-07-10 Florian Weimer <fweimer@redhat.com>
8308 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8309 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8310 (__nptl_setxid): Initialize error member. Call
8311 __nptl_setxid_error.
8312 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8313 * nptl/descr.h (struct xid_command): Add error member.
8314 * nptl/tst-setuid3.c: New file.
8315 * nptl/Makefile (tests): Add it.
8317 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8319 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8321 (__lll_trylock): Use __lll_base_trylock.
8322 (__lll_cond_trylock): Likewise.
8324 2014-07-10 Roland McGrath <roland@hack.frob.com>
8326 * nptl/pthread_create.c (start_thread): Use atomic_or and
8327 lll_futex_wake directly rather than lll_robust_dead.
8328 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8329 (lll_robust_dead): Macro removed.
8330 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8331 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8332 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8333 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8334 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8335 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8336 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8337 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8338 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8339 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8340 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8341 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8342 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8343 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8344 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8346 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8347 Use atomic_compare_and_exchange_val_acq directly rather than
8349 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8350 (__lll_robust_trylock, lll_robust_trylock): Removed.
8351 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8352 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8353 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8354 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8355 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8356 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8357 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8358 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8359 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8360 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8361 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8362 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8363 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8364 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8366 2014-07-02 Florian Weimer <fweimer@redhat.com>
8368 * manual/locale.texi (Locale Names): New section documenting
8369 locale name syntax. Adjust menu and node chaining accordingly.
8370 (Choosing Locale): Reference Locale Names, Locale Categories.
8371 Mention setting LC_ALL=C. Reflect that name syntax is now
8373 (Locale Categories): New section title. Reference Locale Names.
8374 LC_ALL is an environment variable, but not a category.
8375 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8376 description, now in Locale Name. Reference that section. Locale
8377 name syntax is now documented.
8379 2014-07-02 Florian Weimer <fweimer@redhat.com>
8382 * locale/findlocale.c (name_present, valid_locale_name): New
8384 (_nl_find_locale): Use the loc_name variable to store name
8385 candidates. Call name_present and valid_locale_name to check and
8386 validate locale names. Return an error if the locale is invalid.
8388 2014-07-02 Florian Weimer <fweimer@redhat.com>
8390 * locale/setlocale.c (setlocale): Use strdup for allocating
8391 composite name copy.
8393 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8395 Sync up with gnulib.
8396 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8397 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8398 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8399 and _GL_ARG_NONNULL.
8400 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8401 [!_LIBC]: Include code for Windows and Cygwin.
8402 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8403 Include prototype for int strerror_r.
8404 [!_LIBC] (is_open): New function.
8405 (flush_stdout): New function.
8406 (print_errno_message): Use it.
8408 (error_at_line): Likewise.
8409 (error_tail) Add function attribute macros. Use
8412 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8414 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8416 * io/ftw.c: Include sys/param.h unconditionally.
8418 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8421 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8423 (freecache): New function to free CACHE on exit.
8425 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8428 2014-07-09 David S. Miller <davem@davemloft.net>
8430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8432 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8433 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8434 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8435 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8436 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8437 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8438 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8439 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8440 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8441 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8442 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8443 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8444 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8446 2014-07-09 Andreas Schwab <schwab@suse.de>
8448 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8450 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8451 (do_test): Likewise.
8453 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8455 2014-07-09 Will Newton <will.newton@linaro.org>
8457 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8458 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8459 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8460 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8461 * sysdeps/hppa/start.S (_start): Likewise.
8463 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8465 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8467 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8470 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8472 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8473 after checking that it is non-NULL.
8475 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8477 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8479 * sysdeps/powerpc/memmove.c: Remove file.
8480 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8481 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8482 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8483 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8484 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8485 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8486 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8487 string memmove instead of removed powerpc one.
8489 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8490 [weak_alias]: Fix compiler warning due trailing data.
8491 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8492 [weak_alias]: Likewise.
8493 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8494 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8497 (__libc_ifunc_impl_list): Add memmove functions.
8499 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8501 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8503 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8505 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8507 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8509 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8511 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8513 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8515 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8517 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8519 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8521 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8523 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8525 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8527 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8529 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8531 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8533 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8536 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8539 to avoid alignment traps in non-cacheable memory.
8540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8544 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8545 file: multiarch power7 memmove.
8546 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8547 multiarch default memmove.
8548 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8549 multiarch memove for powerpc32/power4.
8551 * string/bcopy.c: Use full path to include memmove.c.
8552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8554 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8555 bcopy for powerpc64.
8556 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8557 bcopy for powerpc64.
8558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8559 and memmove implementations.
8560 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8561 optimized multiarch memmove for POWER7/powerpc64.
8562 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8563 default multiarch memmove for powerpc64.
8564 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8565 multiarch for powerpc64.
8566 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8567 for POWER7/powerpc64.
8568 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8569 memmove for POWER7/powerpc64.
8571 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8574 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8575 __ELF_NATIVE_CLASS equal to 64.
8577 2014-07-07 Roland McGrath <roland@hack.frob.com>
8579 * sysdeps/nptl/lowlevellock.h: File removed.
8581 * NEWS: NPTL is no longer an add-on!
8582 * nptl/internaltypes.h: Moved ...
8583 * sysdeps/nptl/internaltypes.h: ... here.
8584 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8585 * sysdeps/nptl/fork.c: Likewise.
8586 * sysdeps/nptl/gai_misc.h: Likewise.
8587 * sysdeps/nptl/librt-cancellation.c: Likewise.
8588 * sysdeps/nptl/jmp-unwind.c: Likewise.
8589 * sysdeps/nptl/setxid.h: Likewise.
8590 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8591 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8592 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8593 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8594 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8595 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8596 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8597 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8598 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8599 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8600 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8601 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8602 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8603 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8604 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8605 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8606 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8607 * nptl/Makeconfig: Moved ...
8608 * sysdeps/nptl/Makeconfig: ... here.
8609 * nptl/configure: File removed.
8610 * nptl/ANNOUNCE: File removed.
8611 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8612 * sysdeps/unix/sysv/linux/configure: Regenerated.
8614 * nptl/Makefile (routines): Add libc_pthread_init,
8615 libc_multiple_threads, register-atfork and unregister-atfork.
8616 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8617 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8618 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8619 pthread-pi-defines.sym, structsem.sym.
8620 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8621 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8622 [$(subdir) = nptl] (tests): Add tst-setgetname.
8623 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8624 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8625 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8626 [!LIBC_SIGACTION]: Remove aliases.
8627 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8628 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8629 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8630 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8631 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8632 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8633 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8634 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8635 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8636 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8637 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8638 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8639 __libc_allocate_rtsig_private.
8640 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8641 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8642 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8643 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8644 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8645 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8646 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8647 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8648 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8649 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8650 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8651 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8652 * nptl/internaltypes.h: ... here.
8653 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8654 * sysdeps/nptl/jmp-unwind.c: ... here.
8655 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8656 * nptl/libc-lowlevellock.c: ... here.
8657 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8658 * nptl/libc_multiple_threads.c: ... here.
8659 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8660 * nptl/libc_pthread_init.c: ... here.
8661 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8662 * nptl/lowlevelbarrier.sym: ... here.
8663 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8664 * nptl/lowlevelcond.sym: ... here.
8665 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8666 * nptl/lowlevellock.c: ... here.
8667 * nptl/lowlevellock.h: Moved ...
8668 * sysdeps/nptl/lowlevellock.h: ... here.
8669 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8670 * nptl/lowlevelrobustlock.c: ... here.
8671 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8672 * nptl/lowlevelrobustlock.sym: ... here.
8673 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8674 * nptl/lowlevelrwlock.sym: ... here.
8675 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8676 * nptl/pt-fork.c: ... here.
8677 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8678 * nptl/pthread-pi-defines.sym: ... here.
8679 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8680 * nptl/pthread_attr_getaffinity.c: ... here.
8681 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8682 * nptl/pthread_attr_setaffinity.c: ... here.
8683 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8684 * nptl/pthread_mutex_cond_lock.c: ... here.
8685 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8687 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8688 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8689 * nptl/pthread_once.c: ... here, replacing old file.
8690 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8691 * nptl/pthread_yield.c: ... here.
8692 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8693 * nptl/register-atfork.c: ... here.
8694 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8695 * nptl/sem_post.c: ... here.
8696 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8697 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8698 * nptl/sem_timedwait.c: ... here.
8699 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8700 * nptl/sem_trywait.c: ... here.
8701 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8702 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8703 * nptl/sem_wait.c: ... here.
8704 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8705 * nptl/structsem.sym: ... here.
8706 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8707 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8708 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8709 * nptl/unregister-atfork.c: ... here.
8710 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8711 * nptl/unwindbuf.sym: ... here.
8712 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8713 * sysdeps/nptl/fork.c: ... here.
8714 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8715 * sysdeps/nptl/fork.h: ... here.
8716 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8717 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8718 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8719 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8720 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8721 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8722 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8723 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8724 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8725 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8726 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8727 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8728 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8729 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8730 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8731 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8732 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8733 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8734 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8735 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8736 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8737 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8738 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8739 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8740 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8741 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8742 * sysdeps/unix/sysv/linux/raise.c: ... here.
8743 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8744 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8745 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8746 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8747 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8748 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8749 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8750 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8751 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8752 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8753 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8754 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8755 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8756 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8757 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8759 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8761 * sysdeps/generic/memcopy.h: Add comment for
8762 MEMCPY_OK_FOR_FWD_MEMMOVE.
8764 2014-07-04 Will Newton <will.newton@linaro.org>
8766 * string/memchr.c: Merge from gnulib.
8767 [_LIBC]: Remove conditionals.
8768 (__ptr_t): Remove define.
8769 (LONG_MAX_32_BITS): Likewise.
8770 (LONG_MAX): Likewise.
8771 (MEMCHR): Use ANSI prototype and optimize algorithm.
8773 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8775 2014-07-03 Roland McGrath <roland@hack.frob.com>
8777 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8778 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8780 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8781 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8782 in a bare environment with no <stdlib.h> installed.
8783 * sysdeps/nptl/configure: Regenerated.
8785 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8787 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8788 AC_EGREP_CPP for kernel header checks, so they only succeed if
8789 including <linux/version.h> actually works right.
8790 * sysdeps/unix/sysv/linux/configure: Regenerated.
8792 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8793 value so it's not diagnosed as unused.
8795 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8796 thing) with "ifeq ($(subdir),rt)".
8798 2014-07-03 Richard Henderson <rth@redhat.com>
8800 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8801 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8802 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8804 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8805 (math_force_eval): New.
8807 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8808 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8810 * sysdeps/alpha/fpu/s_round.c: Remove file.
8811 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8813 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8814 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8815 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8816 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8817 (_dl_start, print_statistics): Likewise.
8818 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8819 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8821 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8822 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8823 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8824 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8825 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8826 (HP_SMALL_TIMING_AVAIL): Define.
8827 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8828 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8829 (HP_SMALL_TIMING_AVAIL): Define.
8830 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8831 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8833 * sysdeps/aarch64/hp-timing.h: New file.
8835 * sysdeps/generic/hp-timing.h: Remove dead comment.
8836 * sysdeps/generic/hp-timing-common.h: New file.
8837 * sysdeps/alpha/hp-timing.h: Include it.
8838 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8839 * sysdeps/i386/i686/hp-timing.h: Likewise.
8840 * sysdeps/ia64/hp-timing.h: Likewise.
8841 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8842 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8843 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8844 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8845 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8846 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8849 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8850 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8851 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8852 * elf/rtld.c (_dl_start_final): Likewise.
8853 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8854 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8855 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8856 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8857 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8858 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8859 (HP_TIMING_DIFF_INIT): Remove.
8860 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8861 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8862 (HP_TIMING_DIFF_INIT): Remove.
8863 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8864 * sysdeps/i386/i686/hp-timing.c: Remove file.
8865 * sysdeps/x86_64/hp-timing.c: Remove file.
8866 * sysdeps/ia64/hp-timing.c: Remove file.
8867 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8868 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8869 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8870 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8872 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8873 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8874 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8875 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8876 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8877 (HP_TIMING_ACCUM): Remove.
8878 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8879 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8880 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8882 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8883 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8884 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8885 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8886 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8887 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8888 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8889 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8891 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8893 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8895 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8897 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8899 Sync up with gettext.
8900 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8901 [_MSC_VER]: Include malloc.h
8902 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8903 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8904 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8905 TEMP_FAILURE_RETRY. Cast return of alloca.
8906 [!_LIBC] Call gl_rwlock_init.
8907 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8909 2014-07-02 Roland McGrath <roland@hack.frob.com>
8911 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8912 before checking its value.
8914 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8916 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8918 * debug/memcpy_chk.c: Don't include pagecopy.h.
8919 * debug/mempcpy_chk.c: Likewise.
8920 * string/memcpy.c: Likewise.
8921 * string/memmove.c: Likewise.
8922 * sysdeps/powerpc/memmove.c: Likewise.
8923 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8924 definition of PAGE_COPY_FWD_MAYBE here...
8925 * sysdeps/generic/pagecopy.h: ... from here.
8926 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8928 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8929 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8935 (__libc_ifunc_impl_list): Likewise.
8936 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8937 multiarch strcat for PPC64.
8938 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8939 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8941 2014-07-02 Roland McGrath <roland@hack.frob.com>
8943 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8945 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8947 * intl/loadmsgcat.c: Remove declaration of
8948 get_sysdep_segment_value.
8949 (get_sysdep_segment_value): Use ISO C style.
8950 (_nl_load_domain): Use ISO C style. Get rid of redundant
8951 semicolon. Fix typo and formatting in comment.
8952 (_nl_unload_domain): Use ISO C style.
8954 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8956 2014-07-02 Will Newton <will.newton@linaro.org>
8958 * malloc/obstack.c: Merge from gnulib master.
8959 [HAVE_CONFIG_H]: Remove conditional code.
8960 [!_LIBC]: Include config.h.
8961 [!ELIDE_CODE]: Don't include inttypes.h, include
8962 stdint.h unconditionally.
8963 (print_and_abort): Mark as _Noreturn.
8964 (_obstack_allocated_p): Mark as __attribute_pure__.
8965 (obstack_free): Rename to __obstack_free.
8966 [!__attribute__]: Remove conditional code.
8967 * malloc/obstack.h: Merge from gnulib master.
8968 [__cplusplus]: Move conditional down.
8969 [!__attribute_pure__]: Define __attribute_pure__ here
8970 if it is not already defined.
8971 (_obstack_memory_used): Mark as __attribute_pure__.
8972 [!__obstack_free]: Define as obstack_free.
8973 [__GNUC__]: Remove check for ancient NeXT gcc.
8975 2014-07-02 Will Newton <will.newton@linaro.org>
8976 Paul Eggert <eggert@cs.ucla.edu>
8978 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8980 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8982 * resolv/gethnamaddr.c: Add comment warning that the file is
8985 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8987 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8990 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8991 entry for aio_cancel and aio_cancel64.
8992 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8993 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8994 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8995 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8996 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8997 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8998 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8999 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9000 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9001 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9002 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9003 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9004 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9006 2014-07-01 Roland McGrath <roland@hack.frob.com>
9008 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9009 * nptl/pthread_mutex_lock.c: Likewise.
9010 * nptl/pthread_mutex_timedlock.c: Likewise.
9011 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9013 2014-07-01 Richard henderson <rth@redhat.com>
9015 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9016 (__isnan, __isnanl): Remove.
9017 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9019 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9021 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9023 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9025 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9027 * resolv/nss_dns/dns-host.c (getanswer_r)
9028 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9030 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9032 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9033 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9035 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9036 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9038 2014-07-01 Roland McGrath <roland@hack.frob.com>
9040 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9041 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9043 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9044 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9046 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9047 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9049 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9050 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9052 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9053 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9054 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9055 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9057 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9058 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9059 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9060 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9061 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9063 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9065 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9066 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9067 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9068 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9069 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9070 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9071 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9072 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9073 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9074 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9075 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9076 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9077 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9078 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9079 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9080 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9081 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9082 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9083 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9084 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9086 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9087 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9088 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9089 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9090 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9091 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9092 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9093 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9095 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9097 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9098 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9099 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9102 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9106 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9108 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9109 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9111 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9113 * sysdeps/arm/libm-test-ulps: Regenerated.
9115 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9116 Roland McGrath <roland@hack.frob.com>
9118 * test-skeleton.c (signal_handler): Kill the whole process group
9119 before killing the child individually.
9120 (main): Report any failure on `setpgid'.
9122 2014-06-30 Roland McGrath <roland@hack.frob.com>
9124 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9125 from _TLS_H to _ARM_NPTL_TLS_H.
9126 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9127 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9129 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9132 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9133 (__expm1l): Return argument unchanged when small but not
9136 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9138 (_FP_UNPACK_RAW_1_P): Likewise.
9139 (_FP_PACK_RAW_1): Likewise.
9140 (_FP_PACK_RAW_1_P): Likewise.
9141 (_FP_MUL_MEAT_1_wide): Likewise.
9142 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9143 (_FP_MUL_MEAT_1_hard): Likewise.
9144 (_FP_DIV_MEAT_1_imm): Likewise.
9145 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9146 (_FP_DIV_MEAT_1_udiv): Likewise.
9147 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9148 (_FP_UNPACK_RAW_2): Likewise.
9149 (_FP_UNPACK_RAW_2_P): Likewise.
9150 (_FP_PACK_RAW_2): Likewise.
9151 (_FP_PACK_RAW_2_P): Likewise.
9152 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9153 (_FP_MUL_MEAT_2_wide): Likewise.
9154 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9155 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9156 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9157 (_FP_MUL_MEAT_2_gmp): Likewise.
9158 (_FP_DIV_MEAT_2_udiv): Likewise.
9159 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9160 (_FP_FRAC_SRL_4): Likewise.
9161 (_FP_FRAC_SRST_4): Likewise.
9162 (_FP_FRAC_SRS_4): Likewise.
9163 (_FP_UNPACK_RAW_4): Likewise.
9164 (_FP_UNPACK_RAW_4_P): Likewise.
9165 (_FP_PACK_RAW_4): Likewise.
9166 (_FP_PACK_RAW_4_P): Likewise.
9167 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9168 (_FP_MUL_MEAT_4_wide): Likewise.
9169 (_FP_MUL_MEAT_4_gmp): Likewise.
9170 (umul_ppppmnnn): Likewise.
9171 (_FP_DIV_MEAT_4_udiv): Likewise.
9172 (__FP_FRAC_ADD_4): Likewise.
9173 (__FP_FRAC_SUB_3): Likewise.
9174 (__FP_FRAC_SUB_4): Likewise.
9175 (__FP_FRAC_DEC_3): Likewise.
9176 (__FP_FRAC_DEC_4): Likewise.
9177 (__FP_FRAC_ADDI_4): Likewise.
9178 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9179 (_FP_FRAC_SRL_8): Likewise.
9180 (_FP_FRAC_SRS_8): Likewise.
9182 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9184 (FP_UNPACK_RAW_EP): Likewise.
9185 (FP_PACK_RAW_E): Likewise.
9186 (FP_PACK_RAW_EP): Likewise.
9187 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9188 (_FP_ISSIGNAN): Likewise.
9189 (_FP_ADD_INTERNAL): Likewise.
9190 (_FP_FMA): Likewise.
9191 (_FP_CMP): Likewise.
9192 (_FP_SQRT): Likewise.
9193 (_FP_TO_INT): Likewise.
9194 (_FP_FROM_INT): Likewise.
9195 (FP_EXTEND): Likewise.
9196 (_FP_DIV_MEAT_N_loop): Likewise.
9198 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9200 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9203 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9206 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9207 result with correct sign in case of exponents that produce
9208 overflow except for X very close to 1.
9210 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9212 mktime: merge #if/#ifdef usage from glibc
9213 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9214 as that works with both Glibc's and Gnulib's style.
9215 See thread starting at Siddhesh Poyarekar's bug report at:
9216 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9218 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9220 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9221 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9222 * sysdeps/tile/tilegx/memmove.c: Remove file.
9224 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9226 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9227 abi-name definition.
9228 * scripts/soversions.awk: Do not handle or generate ABI lines.
9229 * shlib-versions: Remove ABI entries.
9230 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9231 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9233 2014-06-27 Roland McGrath <roland@hack.frob.com>
9235 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9236 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9237 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9240 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9243 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9245 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9246 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9247 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9248 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9250 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9252 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9254 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9256 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9259 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9269 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9271 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9274 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9276 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9278 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9280 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9281 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9283 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9285 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9286 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9288 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9291 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9292 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9296 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9298 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9299 Identical file removed.
9300 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9302 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9303 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9304 Identical file removed.
9305 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9306 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9307 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9309 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9311 Identical file removed.
9312 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9313 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9314 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9315 Identical file removed.
9316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9317 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9319 Identical file removed.
9320 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9321 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9322 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9323 Identical file removed.
9324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9326 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9328 Identical file removed.
9329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9331 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9332 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9333 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9334 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9335 Identical file removed.
9336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9338 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9340 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9341 Identical file removed.
9342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9344 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9346 Identical file removed.
9347 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9349 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9350 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9351 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9352 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9353 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9354 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9356 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9357 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9358 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9360 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9361 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9362 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9363 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9364 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9366 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9369 * nscd/nscd.c (monitor_child): Return exit status of child
9370 instead of return value from wait syscall.
9372 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9374 * configure.ac (libc_commonpagesize): Remove variable.
9375 (libc_relro_required): Likewise.
9376 (libc_cv_z_relro): Remove configure test.
9377 * configure: Regenerated.
9378 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9380 (libc_relro_required): Likewise.
9381 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9382 (libc_relro_required): Likewise.
9383 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9384 (libc_relro_required): Likewise.
9385 * sysdeps/arm/preconfigure: Regenerated.
9386 * sysdeps/ia64/preconfigure: Remove file.
9387 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9389 (libc_relro_required): Likewise.
9393 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9394 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9395 recompute overflowing results in original rounding mode.
9396 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9397 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9398 recompute overflowing results in original rounding mode.
9399 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9400 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9401 recompute overflowing results in original rounding mode.
9402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9403 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9404 recompute overflowing results in original rounding mode.
9405 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9406 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9407 recompute overflowing results in original rounding mode.
9408 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9409 (libc_feholdsetround_ctx): New macro.
9410 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9414 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9416 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9417 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9418 corresponding .cpsetup call.
9420 2014-06-26 Roland McGrath <roland@hack.frob.com>
9422 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9423 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9424 * sysdeps/arm/Makefile [$(subdir) = csu]
9425 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9426 (static-only-routines): Add aeabi_read_tp here.
9427 (shared-only-routines): Add libc-aeabi_read_tp here.
9428 (CFLAGS-libc-start.c): Add -fexceptions here.
9429 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9430 (sysdep_routines, static-only-routines, shared-only-routines):
9431 Don't add to these here.
9432 (CFLAGS-libc-start.c): Likewise.
9434 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9435 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9436 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9437 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9438 * sysdeps/arm/Makefile [$(subdir) = rt]
9439 (librt-sysdep_routines, librt-shared-only-routines):
9440 Append rt-aeabi_unwind_cpp_pr1 here.
9441 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9442 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9443 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9444 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9445 Append nptl-aeabi_unwind_cpp_pr1 here.
9446 (tests): Filter out tst-cleanupx4 here.
9447 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9448 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9449 Don't do those here.
9451 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9453 * scripts/list-sources.sh: Do not handle ports specially.
9455 2014-06-26 Roland McGrath <roland@hack.frob.com>
9457 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9458 * sysdeps/arm/feupdateenv.c: Likewise.
9460 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9462 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9464 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9465 trailing whitespace removed.
9466 * scripts/config.guess: Update to version 2014-03-23.
9467 * scripts/config.sub: Update to version 2014-05-01
9468 * scripts/install-sh: Update to version 2013-12-25.23.
9469 * scripts/move-if-change: Update from gnulib.
9471 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9473 * debug/memmove_chk.c: Remove pagecopy.h include.
9475 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9477 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9478 identical to gnulib mktime.
9480 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9482 * configure.ac: Do not test for machine being rs6000. Do not test
9484 * configure: Regenerated.
9486 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9488 * configure: Regenerated.
9489 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9490 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9491 Remove configure test.
9492 * sysdeps/arm/configure: Regenerated.
9493 * sysdeps/nptl/configure.ac: Do not check
9494 libc_cv_asm_cfi_directives.
9495 * sysdeps/nptl/configure: Regenerated.
9496 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9497 * sysdeps/x86_64/nptl/configure: Remove generated file.
9498 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9500 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9502 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9504 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9505 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9506 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9509 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9510 instead of whether it is defined.
9511 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9512 * sysdeps/hppa/dl-machine.h: Likewise.
9513 * sysdeps/ia64/dl-machine.h: Likewise.
9514 * sysdeps/m68k/dl-machine.h: Likewise.
9515 * sysdeps/microblaze/dl-machine.h: Likewise.
9516 * sysdeps/mips/dl-machine.: Likewise.
9517 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9518 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9519 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9520 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9521 * sysdeps/sh/dl-machine.h: Likewise.
9522 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9523 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9524 * sysdeps/tile/dl-machine.h: Likewise.
9525 * sysdeps/x86_64/dl-machine.h: Likewise.
9527 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9529 (verify_persistent_db): Likewise.
9531 2014-06-26 Roland McGrath <roland@hack.frob.com>
9533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9534 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9536 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9539 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9542 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9544 Identical file removed.
9545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9546 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9548 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9550 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9552 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9554 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9557 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9559 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9561 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9564 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9566 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9568 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9570 Identical file removed.
9571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9572 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9574 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9577 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9582 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9584 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9586 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9588 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9591 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9594 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9596 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9599 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9601 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9603 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9605 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9606 * sysdeps/unix/sysv/linux/s390/Versions
9607 (libpthread: GLIBC_2.19): New version set.
9608 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9609 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9610 (librt: GLIBC_2.3.3): New version set.
9611 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9612 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9613 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9614 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9615 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9616 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9617 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9618 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9619 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9620 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9621 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9622 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9623 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9624 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9625 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9626 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9627 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9628 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9629 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9630 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9631 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9632 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9633 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9634 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9635 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9636 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9637 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9638 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9639 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9640 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9641 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9642 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9644 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9646 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9647 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9649 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9651 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9653 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9654 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9655 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9657 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9658 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9659 (__libc_vfork): Define the function under this name.
9660 [!NOT_IN_libc] (__vfork): Make this an alias.
9661 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9662 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9663 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9664 (__libc_vfork): Define the function under this name.
9665 [!NOT_IN_libc] (__vfork): Make this an alias.
9666 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9667 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9668 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9670 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9671 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9673 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9674 code that was previously under [RESET_PID].
9675 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9676 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9679 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9680 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9681 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9682 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9683 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9684 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9685 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9686 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9687 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9688 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9689 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9691 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9692 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9693 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9694 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9695 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9696 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9697 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9699 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9700 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9701 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9703 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9705 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9706 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9707 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9708 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9709 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9710 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9711 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9713 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9715 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9716 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9717 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9718 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9719 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9721 2014-06-25 Roland McGrath <roland@hack.frob.com>
9723 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9724 that was previously under [RESET_PID].
9725 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9727 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9729 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9730 not undefine and redefine.
9731 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9732 [O_CLOEXEC]: Make code unconditional.
9733 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9734 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9735 <kernel-features.h>.
9736 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9737 conditional variable definition.
9738 (shm_open) [O_CLOEXEC]: Make code unconditional.
9739 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9742 * configure.ac (USE_REGPARMS): Don't define here.
9743 * configure: Regenerated.
9744 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9745 * sysdeps/i386/configure: Regenerated.
9747 * nptl/createthread.c: Don't include kernel-features.h.
9748 * nptl/pthread_cancel.c: Likewise.
9749 * nptl/pthread_condattr_setclock.c: Likewise.
9750 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9751 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9752 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9753 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9754 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9755 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9756 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9759 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9760 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9761 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9762 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9763 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9764 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9765 * nscd/gai.c: Likewise.
9766 * nss/nss_db/db-open.c: Likewise.
9767 * sysdeps/generic/ldsodefs.h: Likewise.
9768 * sysdeps/sh/nptl/tls.h: Likewise.
9769 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9770 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9771 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9772 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9773 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9774 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9775 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9776 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9778 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9779 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9780 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9781 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9782 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9783 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9784 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9785 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9786 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9787 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9788 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9789 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9790 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9791 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9792 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9793 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9794 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9795 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9796 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9797 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9798 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9799 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9800 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9801 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9802 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9803 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9804 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9805 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9806 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9807 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9808 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9809 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9810 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9811 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9812 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9813 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9814 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9815 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9816 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9817 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9818 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9819 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9820 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9821 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9822 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9823 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9824 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9825 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9826 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9849 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9850 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9851 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9852 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9853 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9854 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9855 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9856 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9857 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9858 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9859 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9860 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9861 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9862 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9863 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9864 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9865 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9866 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9867 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9868 * sysdeps/unix/sysv/linux/system.c: Likewise.
9869 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9870 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9871 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9872 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9873 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9874 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9875 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9877 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9878 * configure: Regenerated.
9879 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9881 * configure.ac (base_machine): Do not set specially for particular
9883 * configure: Regenerated.
9884 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9885 settings from configure.ac.
9886 * sysdeps/i386/preconfigure: New file.
9887 * sysdeps/s390/preconfigure: Likewise.
9888 * sysdeps/sh/preconfigure: Likewise.
9889 * sysdeps/sparc/preconfigure: Likewise.
9891 2014-06-25 Roland McGrath <roland@hack.frob.com>
9893 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9894 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9895 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9896 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9897 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9898 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9899 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9900 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9901 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9902 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9903 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9904 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9905 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9906 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9907 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9908 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9909 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9910 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9911 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9913 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9914 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9915 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9916 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9917 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9918 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9919 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9920 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9921 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9922 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9923 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9924 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9925 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9926 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9927 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9928 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9929 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9930 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9931 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9932 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9934 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9935 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9936 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9937 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9938 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9940 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9941 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9942 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9943 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9944 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9945 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9946 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9947 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9948 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9949 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9950 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9953 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9955 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9958 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9961 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9963 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9966 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9975 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9978 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9980 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9983 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9985 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9987 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9989 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9991 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9997 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9999 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10002 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10004 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10006 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10008 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10011 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10014 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10016 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10019 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10021 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10023 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10025 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10027 * timezone/checktab.awk: Update from tzcode 2014e.
10028 * timezone/private.h: Likewise.
10029 * timezone/tzfile.h: Likewise.
10030 * timezone/zdump.c: Likewise.
10031 * timezone/zic.c: Likewise.
10033 * sysdeps/unix/sysv/linux/kernel-features.h
10034 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10035 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10036 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10037 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10038 Remove conditional code.
10040 2014-06-25 Will Newton <will.newton@linaro.org>
10042 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10043 (_dl_arm_cap_flags): Add HWCAP2 values.
10044 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10045 (_DL_HWCAP_COUNT): Increase to 37.
10046 (_DL_HWCAP_LAST): New define.
10047 (_DL_HWCAP2_LAST): New define.
10048 (_dl_procinfo): Add support for printing
10050 (_dl_string_hwcap): Use _dl_hwcap_string.
10052 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10056 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10058 * README: Do not mention ports directory.
10060 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10062 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10063 <kernel-features.h>.
10064 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10065 conditional variable definition.
10066 (__futimes): Update comment.
10067 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10068 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10071 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10072 arguments close to 0.
10073 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10075 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10077 * math/auto-libm-test-in: Add more tests of exp10.
10078 * math/auto-libm-test-out: Regenerated.
10079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10081 * sysdeps/unix/sysv/linux/kernel-features.h
10082 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10083 * sysdeps/unix/sysv/linux/readv.c: Do not include
10084 <kernel-features.h>.
10085 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10086 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10087 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10089 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10091 * sysdeps/unix/sysv/linux/writev.c: Do not include
10092 <kernel-features.h>.
10093 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10094 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10095 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10097 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10100 2014-06-25 Will Newton <will.newton@linaro.org>
10102 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10103 comment changes throughout the file. Remove checks
10104 for HAVE_*_H definitions that are not required.
10105 (__gen_tempname): Call abort if an unknown kind value is
10108 2014-06-25 Andreas Schwab <schwab@suse.de>
10111 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10112 scalbln, scalblnf, scalblnl in libc.
10114 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10117 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10118 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10119 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10121 2014-06-24 Roland McGrath <roland@hack.frob.com>
10123 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10124 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10125 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10126 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10128 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10129 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10131 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10132 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10133 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10134 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10135 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10136 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10137 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10138 * sysdeps/x86/bits/semaphore.h: ... here.
10139 * sysdeps/x86/nptl/elide.h: Moved ...
10140 * sysdeps/x86/elide.h: ... here.
10141 * sysdeps/x86_64/nptl/Implies: File removed.
10142 * sysdeps/i386/nptl/Implies: File removed.
10144 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10147 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10148 return the argument for normal arguments with exponent below -64.
10149 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10151 * math/auto-libm-test-in: Add another test of expm1.
10152 * math/auto-libm-test-out: Regenerated.
10155 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10156 calling __erfcl for arguments at least 16.
10157 * math/auto-libm-test-in: Add more tests of erf.
10158 * math/auto-libm-test-out: Regenerated.
10160 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10161 individual architectures.
10162 * sysdeps/unix/sysv/linux/configure: Regenerated.
10163 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10164 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10165 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10166 (ldd_rewrite_script): Define variable.
10167 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10172 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10173 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10174 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10175 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10176 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10177 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10178 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10179 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10181 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10184 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10185 Rename member __data.d to __data.__elision_data.
10187 2014-06-24 Wilco <wdijkstr@arm.com>
10189 * NEWS: Add 16918 to fixed bug list.
10191 2014-06-24 Wilco <wdijkstr@arm.com>
10193 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10195 2014-06-24 Wilco <wdijkstr@arm.com>
10197 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10198 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10199 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10200 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10201 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10202 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10203 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10206 2014-06-24 Wilco <wdijkstr@arm.com>
10208 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10210 2014-06-24 Wilco <wdijkstr@arm.com>
10212 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10213 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10214 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10215 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10217 2014-06-24 Wilco <wdijkstr@arm.com>
10220 * sysdeps/arm/feupdateenv.c (feupdateenv):
10221 Rewrite to reduce FPSCR accesses and fix return value.
10223 2014-06-24 Wilco <wdijkstr@arm.com>
10225 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10226 Optimize to avoid unnecessary FPSCR writes.
10227 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10228 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10229 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10230 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10232 2014-06-24 Wilco <wdijkstr@arm.com>
10234 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10235 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10236 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10237 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10238 Call libc_fetestexcept_vfp.
10239 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10240 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10241 __SOFTFP__ ifdef so that they can be built for softfp.
10243 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10245 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10246 argument type signed char.
10248 * Makerules (check-abi): Dump diff of symlist if the test
10251 2014-06-23 Roland McGrath <roland@hack.frob.com>
10253 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10256 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10257 Remove unused variable ST.
10259 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10263 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10264 small arguments before calling __expm1.
10265 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10266 small arguments before calling __expm1f.
10267 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10268 small arguments before calling __expm1l.
10269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10271 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10272 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10273 spurious underflow for some cosh tests.
10274 * math/auto-libm-test-out: Regenerated.
10275 * sysdeps/i386/fpu/libm-test-ulps: Update.
10278 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10279 (__ieee754_y1): Set errno if return value overflows.
10280 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10281 (__ieee754_y1f): Set errno if return value overflows.
10282 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10283 (__ieee754_y1l): Set errno if return value overflows.
10284 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10285 (__ieee754_y1l): Set errno if return value overflows.
10286 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10287 * math/auto-libm-test-out: Regenerated.
10289 * math/gen-auto-libm-tests.c: Document use of
10290 ignore-zero-inf-sign.
10291 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10292 (input_flags): Add ignore-zero-inf-sign.
10293 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10294 * math/gen-libm-test.pl (generate_testfile): Handle
10295 ignore-zero-inf-sign.
10296 * math/auto-libm-test-in: Mark some cpow tests with
10297 ignore-zero-inf-sign and some with xfail-rounding.
10298 * math/auto-libm-test-out: Regenerated.
10299 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10300 * sysdeps/i386/fpu/libm-test-ulps: Update.
10301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10304 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10305 overflowing or underflowing operations take place with sign of
10307 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10308 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10309 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10310 (__ieee754_pow): Recompute overflowing and underflowing results in
10311 original rounding mode.
10312 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10313 (__powl_helper): Allow negative argument X and scale negated value
10314 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10315 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10316 overflowing or underflowing operations take place with sign of
10318 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10320 * math/auto-libm-test-in: Add more tests of pow.
10321 * math/auto-libm-test-out: Regenerated.
10322 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10323 (pow_tonearest_test_data): Remove.
10324 (pow_test_tonearest): Likewise.
10325 (pow_towardzero_test_data): Likewise.
10326 (pow_test_towardzero): Likewise.
10327 (pow_downward_test_data): Likewise.
10328 (pow_test_downward): Likewise.
10329 (pow_upward_test_data): Likewise.
10330 (pow_test_upward): Likewise.
10331 (main): Don't call removed functions.
10332 * sysdeps/i386/fpu/libm-test-ulps: Update.
10333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10335 2014-06-23 Roland McGrath <roland@hack.frob.com>
10337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10511 2014-06-23 Will Newton <will.newton@linaro.org>
10512 Wilco <wdijkstr@arm.com>
10514 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10515 implementation. Include get-rounding-mode.h.
10516 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10517 [!libc_feholdsetround_noex_ctx]: Define
10518 libc_feholdsetround_noex_ctx.
10519 [!libc_feholdsetround_noexf_ctx]: Define
10520 libc_feholdsetround_noexf_ctx.
10521 [!libc_feholdsetround_noexl_ctx]: Define
10522 libc_feholdsetround_noexl_ctx.
10523 (libc_feholdsetround_ctx): New function.
10524 (libc_feresetround_ctx): New function.
10525 (libc_feholdsetround_noex_ctx): New function.
10526 (libc_feresetround_noex_ctx): New function.
10528 2014-06-23 Roland McGrath <roland@hack.frob.com>
10530 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10531 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10532 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10533 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10534 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10535 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10537 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10538 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10539 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10540 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10541 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10542 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10544 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10545 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10546 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10547 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10549 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10551 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10552 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10553 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10554 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10555 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10557 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10558 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10559 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10560 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10561 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10562 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10563 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10564 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10566 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10569 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10570 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10571 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10572 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10574 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10576 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10577 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10578 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10579 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10580 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10581 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10582 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10583 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10585 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10587 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10588 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10589 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10590 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10592 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10593 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10594 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10596 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10597 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10598 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10599 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10601 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10602 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10603 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10604 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10605 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10606 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10608 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10609 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10610 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10611 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10612 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10614 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10615 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10616 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10617 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10618 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10619 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10620 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10621 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10623 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10624 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10625 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10626 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10627 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10629 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10630 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10631 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10632 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10633 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10635 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10637 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10639 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10640 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10641 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10643 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10646 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10647 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10648 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10649 (IPV6_PMTUDISC_INTERFACE): Likewise.
10650 (IPV6_PMTUDISC_OMIT): Likewise.
10652 2014-06-23 Andreas Schwab <schwab@suse.de>
10654 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10655 Remove unused errout label.
10657 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10659 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10660 macro: hardware supports Vector Crypto instructions.
10662 2014-06-23 Will Newton <will.newton@linaro.org>
10664 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10665 rather than __builtin_expect.
10667 * elf/dl-lookup.c (undefined_msg): Remove variable.
10668 (_dl_lookup_symbol_x): Replace undefined_msg with string
10671 * elf/dl-lookup.c (do_lookup_unique): New function.
10672 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10673 to a separate function.
10675 2014-06-23 Andreas Schwab <schwab@suse.de>
10678 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10679 before reading the next line.
10681 2014-06-23 Will Newton <will.newton@linaro.org>
10683 * test-skeleton.c (signal_handler): Use printf and %m
10684 rather than perror. Use printf rather than fprintf to
10685 stderr. Use puts rather than fputs to stderr.
10688 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10690 * nscd/nscd.c (thread_info_t): Remove typedef.
10691 (thread_info): Remove variable.
10693 2014-06-21 Allan McRae <allan@archlinux.org>
10695 * NEWS: Mention CVE-2014-4043.
10697 2014-06-20 Roland McGrath <roland@hack.frob.com>
10699 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10700 * nptl/smp.h: ... here.
10702 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10704 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10705 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10706 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10707 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10709 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10710 * nptl/stack-aliasing.h: New file.
10711 * sysdeps/i386/i686/stack-aliasing.h: New file.
10712 * sysdeps/i386/i686/nptl/Makefile: File removed.
10713 * sysdeps/x86_64/stack-aliasing.h: New file.
10714 * sysdeps/x86_64/nptl/Makefile
10715 (CFLAGS-pthread_create.c): Variable removed.
10717 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10718 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10720 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10721 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10724 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10726 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10727 (__ASSUME_SIGFRAME_V2): Remove macro.
10728 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10729 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10730 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10731 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10732 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10733 Declare as function. Remove conditional macro definitions.
10734 (__default_rt_sa_restorer): Likewise.
10735 (__default_sa_restorer_v1): Remove declaration.
10736 (__default_sa_restorer_v2): Likewise.
10737 (__default_rt_sa_restorer_v1): Likewise.
10738 (__default_rt_sa_restorer_v2): Likewise.
10739 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10740 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10741 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10743 2014-06-20 Roland McGrath <roland@hack.frob.com>
10745 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10746 (libpthread-routines): Add sysdep.
10747 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10748 * sysdeps/unix/sysv/linux/sparc/Versions
10749 (libpthread: GLIBC_2.3.3): New version set.
10750 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10751 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10752 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10753 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10754 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10755 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10757 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10758 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10759 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10760 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10761 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10762 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10763 * sysdeps/sparc/nptl/sem_init.c: ... here.
10764 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10765 * sysdeps/sparc/nptl/sem_post.c: ... here.
10766 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10767 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10768 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10769 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10770 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10771 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10772 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10773 (libpthread-routines): Add cpu_relax.
10774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10776 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10777 (librt: GLIBC_2.3.3): New version set.
10778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10779 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10780 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10781 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10784 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10787 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10789 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10791 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10793 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10795 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10798 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10802 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10806 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10814 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10818 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10821 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10827 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10829 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10832 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10834 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10836 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10838 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10840 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10841 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10842 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10843 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10844 * nscd/nscd.c: Likewise.
10845 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10846 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10847 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10848 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10850 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10851 <kernel-features.h>.
10852 (init_mq_netlink): Remove conditional have_sock_cloexec
10853 definitions. Remove code conditional on have_sock_cloexec < 0.
10854 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10855 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10856 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10857 <kernel-features.h>.
10858 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10859 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10861 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10864 Add tests for memset_chk and memset.
10866 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10869 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10872 * elf/tst-dl-iter-static.c: New file.
10873 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10875 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10878 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10880 * sysdeps/unix/sysv/linux/kernel-features.h
10881 (__ASSUME_F_GETOWN_EX): Remove macro.
10882 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10883 <kernel-features.h>.
10884 (miss_F_GETOWN_EX): Remove variable or macro.
10885 (do_fcntl): Do not check miss_F_GETOWN_EX.
10886 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10891 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10892 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10894 * sysdeps/unix/sysv/linux/kernel-features.h
10895 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10896 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10897 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10898 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10900 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10903 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10904 Fix calculation of the symbol's value.
10905 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10906 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10907 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10908 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10909 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10910 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10911 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10912 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10913 (modules-names): Add `tst-armtlsdescmod',
10914 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10915 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10916 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10917 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10918 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10919 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10920 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10921 ($(objpfx)tst-armtlsdescloc): New dependency.
10922 ($(objpfx)tst-armtlsdescextnow): Likewise.
10923 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10924 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10925 TLS scheme support.
10926 * sysdeps/arm/configure: Regenerate.
10928 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10930 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10931 (__atfct_seterrno_2): Likewise.
10932 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10933 <kernel-features.h>.
10934 (__ASSUME_ATFCTS): Do not undefine and redefine.
10935 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10936 (__have_atfcts): Remove conditional definition.
10937 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10938 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10939 unreachable if [__ASSUME_ATFCTS].
10940 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10941 not undefine and redefine.
10942 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10943 <kernel-features.h>.
10944 (faccessat) [__NR_faccessat]: Make code unconditional.
10945 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10946 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10947 <kernel-features.h>.
10948 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10949 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10950 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10951 <kernel-features.h>.
10952 (fchownat) [__NR_fchownat]: Make code unconditional.
10953 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10954 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10955 <kernel-features.h>.
10956 (futimesat) [__NR_futimesat]: Make code unconditional.
10957 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10958 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10959 <kernel-features.h>.
10960 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10961 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10962 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10963 <kernel-features.h>.
10964 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10965 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10966 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10967 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10968 <kernel-features.h>.
10969 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10970 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10971 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10972 <kernel-features.h>.
10973 (linkat) [__NR_linkat]: Make code unconditional.
10974 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10975 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10976 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10977 <kernel-features.h>.
10978 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10979 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10980 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10981 <kernel-features.h>.
10982 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10983 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10984 * sysdeps/unix/sysv/linux/openat.c: Do not include
10985 <kernel-features.h>.
10986 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10987 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10988 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10989 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10990 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10991 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10992 <kernel-features.h>.
10993 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10994 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10995 result of INLINE_SYSCALL directly, not via int variable.
10996 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10997 <kernel-features.h>.
10998 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10999 (renameat) [__NR_renameat]: Make code unconditional.
11000 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11001 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11002 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11003 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11004 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11005 (__ASSUME_ATFCTS): Do not undefine and redefine.
11006 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11007 <kernel-features.h>.
11008 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11009 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11010 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11011 <kernel-features.h>.
11012 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11013 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11014 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11015 (__ASSUME_ATFCTS): Do not undefine and redefine.
11016 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11017 <kernel-features.h>.
11018 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11019 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11020 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11021 <kernel-features.h>.
11022 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11023 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11025 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11027 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11029 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11032 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11033 constructed tree before returning error.
11034 * posix/bug-regexp36.c: Expand test case.
11036 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11039 * math/libm-test.inc (scalbln_test_date):
11040 Add errno expectations.
11041 * math/w_scalblnf.c: New File.
11042 Add wrapper which checks for setting errno to ERANGE.
11043 Add weak_alias for corresponding scalbln function.
11044 * math/w_scalbln.c: Likewise.
11045 * math/w_scalblnl.c: Likewise.
11046 * math/Makefile (libm-calls): Add w_scalbln.
11047 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11048 Remove weak_alias for corresponding scalbln function.
11049 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11051 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11053 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11054 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11055 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11056 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11057 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11058 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11059 Remove long_double_symbol for scalblnl function in libm, libc.
11060 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11061 Add wrapper which checks for setting errno to ERANGE.
11062 Add long_double_symbol for scalblnl function in libm, libc.
11063 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11064 Remove long_double_symbol for scalblnl in libm.
11065 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11066 Add wrapper which checks for setting errno to ERANGE.
11067 Add long_double_symbol for scalblnl function in libm.
11068 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11069 Do not use wrapper because of own implementation.
11071 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11073 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11074 3 bytes for __pad1 for x32.
11075 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11077 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11078 H.J. Lu <hongjiu.lu@intel.com>
11080 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11081 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11082 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11083 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11084 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11086 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11089 * posix/regcomp.c (parse_expression): Deallocate partially
11090 constructed tree before returning error.
11091 * posix/Makefile.c (tests): Add bug-regex36.
11092 (generated): Add bug-regex36.mtrace.
11093 (tests-special): Add $(objpfx)bug-regex36-mem.out
11094 (bug-regex36-ENV): New variable.
11095 ($(objpfx)bug-regex36-mem.out): New rule.
11096 * posix/bug-regex36.c: New file.
11098 2014-06-19 Will Newton <will.newton@linaro.org>
11100 * malloc/malloc.c (systrim): If extra is zero then return
11103 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11105 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11107 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11109 * sysdeps/aarch64/strchr.S: New file.
11111 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11114 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11115 from arguments -2 or below.
11116 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11117 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11119 2014-06-18 Andreas Schwab <schwab@suse.de>
11122 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11123 of a bracket expr not to run off the end of the string.
11124 * posix/Makefile (tests): Add tst-fnmatch3.
11125 * posix/tst-fnmatch3.c: New file.
11127 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11129 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11130 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11131 [$(cross-compiling) = no]: Likewise.
11132 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11133 [$(cross-compiling) = no]: Likewise.
11135 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11138 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11139 double, adjusted for any remainder from the high double.
11140 * math/libm-test.inc (nearbyint): Add tests.
11143 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11145 * nptl/sysdeps/powerpc/Makefile: Moved ...
11146 * sysdeps/powerpc/nptl/Makefile: ... here.
11147 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11148 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11149 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11150 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11151 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11152 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11153 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11154 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11155 * nptl/sysdeps/powerpc/tls.h: Moved ...
11156 * sysdeps/powerpc/nptl/tls.h: ... here.
11158 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11161 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11162 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11163 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11164 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11165 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11166 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11167 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11168 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11169 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11171 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11173 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11175 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11177 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11180 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11183 2014-06-16 Florian Weimer <fweimer@redhat.com>
11186 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11187 non-executed part of the test.
11189 2014-06-16 Andreas Schwab <schwab@suse.de>
11191 * string/bits/string2.h (strdup, strndup): Update feature guard.
11193 2014-06-14 David S. Miller <davem@davemloft.net>
11195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11197 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11199 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11200 that was previously under [RESET_PID].
11201 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11203 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11204 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11205 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11206 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11207 (__libc_vfork): New strong alias.
11208 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11210 2014-06-14 Andi Kleen <ak@linux.intel.com>
11212 * sysdeps/generic/elide.h: New file.
11214 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11216 * Makefile (installed-headers): Adjust path of pthread.h header.
11218 2014-06-13 Roland McGrath <roland@hack.frob.com>
11220 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11221 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11222 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11223 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11225 * nptl/sysdeps/s390/Makefile: Moved ...
11226 * sysdeps/s390/nptl/Makefile: ... here.
11227 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11228 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11229 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11230 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11231 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11232 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11233 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11234 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11235 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11236 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11237 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11238 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11239 * nptl/sysdeps/s390/tls.h: Moved ...
11240 * sysdeps/s390/nptl/tls.h: ... here.
11242 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11243 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11245 2014-06-13 David S. Miller <davem@davemloft.net>
11247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11250 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11254 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11255 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11256 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11257 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11258 Remove RESET_PID cpp guards.
11259 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11260 Remove RESET_PID cpp guards.
11261 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11263 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11265 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11268 2014-06-13 Andi Kleen <ak@linux.intel.com>
11270 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11271 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11272 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11273 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11275 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11276 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11277 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11278 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11279 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11280 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11282 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11283 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11284 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11285 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11286 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11287 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11288 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11289 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11291 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11292 (pthread_rwlock_rdlock): Add elision.
11293 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11294 (pthread_rwlock_wrlock): Add elision.
11295 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11296 (pthread_rwlock_trywrlock): Add elision.
11297 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11298 (pthread_rwlock_tryrdlock): Add elision.
11299 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11300 (pthread_rwlock_tryrdlock): Add elision unlock.
11301 * nptl/sysdeps/pthread/pthread.h:
11302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11303 (PTHREAD_RWLOCK_INITIALIZER,
11304 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11305 Handle new elision field.
11306 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11307 * sysdeps/arm/nptl/bits/pthreadtypes.h
11308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11309 * sysdeps/sh/nptl/bits/pthreadtypes.h
11310 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11311 * sysdeps/tile/nptl/bits/pthreadtypes.h
11312 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11313 * sysdeps/a/nptl/bits/pthreadtypes.h
11314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11315 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11317 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11318 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11319 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11321 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11323 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11324 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11325 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11326 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11327 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11329 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11331 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11332 (elision_init): Set try_xbegin to zero when no RTM.
11333 * sysdeps/x86/nptl/bits/pthreadtypes.h
11334 (pthread_rwlock_t): Change __pad1 to __rwelision.
11335 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11337 2014-06-13 Andi Kleen <ak@linux.intel.com>
11339 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11340 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11341 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11342 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11344 2014-06-13 Meador Inge <meadori@codesourcery.com>
11347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11348 that the cached result has been set before returning it.
11350 2014-06-12 Roland McGrath <roland@hack.frob.com>
11352 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11353 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11354 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11355 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11356 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11357 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11359 * nptl/sysdeps/sparc/Makefile: Moved ...
11360 * sysdeps/sparc/nptl/Makefile: ... here.
11361 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11362 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11363 * nptl/sysdeps/sparc/tls.h: Moved ...
11364 * sysdeps/sparc/nptl/tls.h: ... here.
11365 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11366 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11367 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11368 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11369 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11370 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11371 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11372 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11373 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11374 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11375 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11376 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11377 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11378 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11379 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11380 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11381 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11382 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11384 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11385 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11387 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11388 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11390 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11391 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11394 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11396 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11397 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11399 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11400 (struct list_links): Type removed.
11401 (struct thread_node, struct timer_node): Replace struct list_links
11402 with struct list_head.
11403 (list_unlink_ip): Likewise.
11404 * sysdeps/pthread/timer_routines.c
11405 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11406 (list_append, list_insbefore): Likewise.
11407 (list_init): Function removed.
11408 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11409 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11410 * sysdeps/pthread/Makefile: ... here, new file.
11412 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11413 * sysdeps/nptl/Implies: ... here.
11414 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11415 * nptl/sysdeps/pthread/list.h: Moved ...
11416 * include/list.h: ... here.
11417 * nptl/sysdeps/pthread/createthread.c: Moved ...
11418 * nptl/createthread.c: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11420 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11421 * nptl/pt-longjmp.c: ... here.
11422 * nptl/sysdeps/pthread/Makefile: Moved ...
11423 * sysdeps/nptl/Makefile: ... here.
11424 * nptl/sysdeps/pthread/Subdirs: Moved ...
11425 * sysdeps/nptl/Subdirs: ... here.
11426 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11427 * sysdeps/nptl/aio_misc.h: ... here.
11428 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11429 * sysdeps/nptl/bits/libc-lock.h: ... here.
11430 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11431 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11432 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11433 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11434 * nptl/sysdeps/pthread/configure: Moved ...
11435 * sysdeps/nptl/configure: ... here.
11436 * nptl/sysdeps/pthread/configure.ac: Moved ...
11437 * sysdeps/nptl/configure.ac: ... here.
11438 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11439 * sysdeps/nptl/gai_misc.h: ... here.
11440 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11441 * sysdeps/nptl/librt-cancellation.c: ... here.
11442 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11443 * sysdeps/nptl/malloc-machine.h: ... here.
11444 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11445 * sysdeps/nptl/pthread-functions.h: ... here.
11446 * nptl/sysdeps/pthread/pthread.h: Moved ...
11447 * sysdeps/nptl/pthread.h: ... here.
11448 * nptl/sysdeps/pthread/setxid.h: Moved ...
11449 * sysdeps/nptl/setxid.h: ... here.
11450 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11451 * sysdeps/nptl/sigfillset.c: ... here.
11452 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11453 * sysdeps/nptl/tcb-offsets.h: ... here.
11454 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11455 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11456 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11457 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11458 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11459 * sysdeps/pthread/allocalim.h: ... here.
11460 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11461 * sysdeps/pthread/bits/sigthread.h: ... here.
11462 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11463 * sysdeps/pthread/flockfile.c: ... here.
11464 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11465 * sysdeps/pthread/ftrylockfile.c: ... here.
11466 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11467 * sysdeps/pthread/funlockfile.c: ... here.
11468 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11469 * sysdeps/pthread/posix-timer.h: ... here.
11470 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11471 * sysdeps/pthread/timer_create.c: ... here.
11472 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11473 * sysdeps/pthread/timer_delete.c: ... here.
11474 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11475 * sysdeps/pthread/timer_getoverr.c: ... here.
11476 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11477 * sysdeps/pthread/timer_gettime.c: ... here.
11478 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11479 * sysdeps/pthread/timer_routines.c: ... here.
11480 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11481 * sysdeps/pthread/timer_settime.c: ... here.
11482 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11483 * sysdeps/pthread/tst-timer.c: ... here.
11484 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11485 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11487 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11488 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11490 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11491 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11492 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11493 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11494 Update #include target.
11495 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11496 * sysdeps/i386/i686/nptl/Makefile: ... here.
11497 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11498 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11499 Update #include target.
11500 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11501 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11502 * nptl/sysdeps/i386/Makefile: Moved ...
11503 * sysdeps/i386/nptl/Makefile: ... here.
11504 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11505 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11506 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11507 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11508 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11509 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11510 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11511 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11512 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11513 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11514 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11515 * nptl/sysdeps/i386/tls.h: Moved ...
11516 * sysdeps/i386/nptl/tls.h: ... here.
11518 * sysdeps/sh/Makefile [$(subdir) = csu]
11519 (gen-as-const-headers): Add tcb-offsets.sym.
11520 * nptl/sysdeps/sh/Makefile: File removed.
11521 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11522 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11523 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11524 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11525 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11526 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11527 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11528 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11529 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11530 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11531 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11532 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11533 * nptl/sysdeps/sh/tls.h: Moved ...
11534 * sysdeps/sh/nptl/tls.h: ... here.
11535 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11536 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11537 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11538 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11539 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11540 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11541 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11542 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11543 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11544 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11545 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11546 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11547 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11548 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11549 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11550 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11551 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11552 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11553 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11554 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11555 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11556 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11557 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11558 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11559 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11561 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11562 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11564 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11565 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11566 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11567 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11568 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11569 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11570 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11571 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11572 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11573 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11574 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11575 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11576 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11577 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11578 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11579 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11580 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11581 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11582 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11584 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11586 * posix/spawn_faction_addopen.c: Include string.h.
11588 2014-06-11 Roland McGrath <roland@hack.frob.com>
11590 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11591 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11592 * nptl/sysdeps/x86_64/Makefile: Moved ...
11593 * sysdeps/x86_64/nptl/Makefile: ... here.
11594 * nptl/sysdeps/x86_64/configure: Moved ...
11595 * sysdeps/x86_64/nptl/configure: ... here.
11596 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11597 * sysdeps/x86_64/nptl/configure.ac: ... here.
11598 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11599 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11600 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11601 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11602 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11603 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11604 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11605 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11606 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11607 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11608 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11609 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11610 * nptl/sysdeps/x86_64/tls.h: Moved ...
11611 * sysdeps/x86_64/nptl/tls.h: ... here.
11612 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11613 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11614 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11615 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11617 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11619 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11623 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11625 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11627 [POSIX] (off_t): Likewise.
11628 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11629 [POSIX] (S_ISBLK): Require macro.
11630 [POSIX] (S_ISCHR): Likewise.
11631 [POSIX] (S_ISDIR): Likewise.
11632 [POSIX] (S_ISFIFO): Likewise.
11633 [POSIX] (S_ISREG): Likewise.
11634 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11636 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11638 [POSIX] (time_t): Likewise.
11639 [POSIX] (timer_t): Likewise.
11641 2014-06-11 Florian Weimer <fweimer@redhat.com>
11644 * posix/spawn_int.h (struct __spawn_action): Make the path string
11645 non-const to support deallocation.
11646 * posix/spawn_faction_addopen.c
11647 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11648 * posix/spawn_faction_destroy.c
11649 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11650 path in all spawn_do_open actions.
11651 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11652 posix_spawn_file_actions_addopen.
11654 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11656 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11657 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11658 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11659 conditional code always true.
11660 (__libc_vfork): New alias.
11662 2014-06-11 Roland McGrath <roland@hack.frob.com>
11664 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11665 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11667 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11669 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11670 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11672 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11673 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11675 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11676 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11678 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11680 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11681 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11682 multiarch strcmp for PPC64.
11683 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11684 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11686 multiarch optimizations.
11687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11688 (__libc_ifunc_impl_list): Likewise.
11690 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11692 * benchtests/scripts/validate_benchout.py: New script.
11693 * benchtests/Makefile (bench-func): Call it.
11694 * benchtests/scripts/benchout.schema.json: New file.
11696 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11698 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11699 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11700 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11701 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11702 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11703 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11704 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11705 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11706 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11707 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11708 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11709 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11710 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11711 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11712 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11713 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11817 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11818 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11820 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11823 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11825 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11826 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11827 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11828 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11829 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11830 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11831 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11832 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11833 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11834 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11836 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11839 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11842 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11844 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11847 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11849 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11850 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11851 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11852 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11853 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11855 2014-06-10 Wilco <wdijkstr@arm.com>
11857 * math/test-fenv-return.c: New file.
11858 * math/Makefile: Add new test test-fenv-return.
11860 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11863 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11864 when x - 1 is zero.
11865 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11866 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11867 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11868 0.0L for an argument of 1.0L.
11869 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11871 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11872 value when x - 1 is zero.
11873 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11874 * sysdeps/i386/fpu/libm-test-ulps: Update.
11875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11877 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11880 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11882 2014-06-09 Roland McGrath <roland@hack.frob.com>
11884 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11885 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11887 2014-06-09 Roland McGrath <roland@hack.frob.com>
11889 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11890 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11892 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11893 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11895 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11896 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11898 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11899 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11901 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11902 if not already defined.
11903 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11904 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11905 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11906 (TLS_INIT_TP): Use it.
11907 (TLS_DEFINE_INIT_TP): New macro.
11908 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11910 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11912 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11914 [POSIX] (IXANY): Likewise.
11915 [POSIX] (OLCUC): Likewise.
11916 [POSIX || POSIX2008] (CBAUD): Do not allow.
11917 [POSIX || POSIX2008] (DEFECHO): Likewise.
11918 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11919 [POSIX || POSIX2008] (ECHOKE): Likewise.
11920 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11921 [POSIX || POSIX2008] (EXTA): Likewise.
11922 [POSIX || POSIX2008] (EXTB): Likewise.
11923 [POSIX || POSIX2008] (FLUSHO): Likewise.
11924 [POSIX || POSIX2008] (LOBLK): Likewise.
11925 [POSIX || POSIX2008] (PENDIN): Likewise.
11926 [POSIX || POSIX2008] (SWTCH): Likewise.
11927 [POSIX || POSIX2008] (VDISCARD): Likewise.
11928 [POSIX || POSIX2008] (VDSUSP): Likewise.
11929 [POSIX || POSIX2008] (VLNEXT): Likewise.
11930 [POSIX || POSIX2008] (VREPRINT): Likewise.
11931 [POSIX || POSIX2008] (VSTATUS): Likewise.
11932 [POSIX || POSIX2008] (VWERASE): Likewise.
11933 (B*): Change to B[0123456789]*.
11934 * conform/data/time.h-data [POSIX || UNIX98]
11935 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11936 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11937 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11938 [POSIX] (tm_*): Do not allow.
11940 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11942 * Makefile (install): Don't set LANGUAGE.
11943 * Makefile.in (install): Likewise.
11944 * assert/Makefile (test-assert-ENV): Remove variable.
11945 (test-assert-perr-ENV): Likewise.
11946 * elf/Makefile (neededtest4-ENV): Likewise.
11947 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11948 [$(cross-compiling) = no]: Don't set LANGUAGE.
11949 * io/ftwtest-sh (LANG): Remove variable.
11950 * libio/Makefile (tst-widetext-ENV): Likewise.
11951 * manual/install.texi (Running make install): Don't refer to
11952 environment settings for make install.
11953 * INSTALL: Regenerated.
11954 * nptl/tst-tls6.sh: Don't set LANG.
11955 * posix/globtest.sh (LANG): Remove variable.
11956 * string/Makefile (tester-ENV): Likewise.
11957 (inl-tester-ENV): Likewise.
11958 (noinl-tester-ENV): Likewise.
11959 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11960 [$(cross-compiling) = no]: Don't set LANGUAGE.
11961 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11962 without explicit environment settings.
11964 2014-06-06 Roland McGrath <roland@hack.frob.com>
11966 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11967 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11968 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11969 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11971 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11973 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11974 other files in the crypt directory.
11975 * crypt/crypt.c: Remove duplicate includes.
11976 * crypt/crypt-entry.c: Likewise.
11977 * crypt/crypt_util.c: Likewise.
11979 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11981 * Makeconfig (run-program-env): New variable.
11982 (run-program-prefix-before-env): Likewise.
11983 (run-program-prefix-after-env): Likewise.
11984 (run-program-prefix): Define in terms of new variables.
11985 (built-program-cmd-before-env): New variable.
11986 (built-program-cmd-after-env): Likewise.
11987 (built-program-cmd): Define in terms of new variables.
11988 (test-program-prefix-before-env): New variable.
11989 (test-program-prefix-after-env): Likewise.
11990 (test-program-prefix): Define in terms of new variables.
11991 (test-program-cmd-before-env): New variable.
11992 (test-program-cmd-after-env): Likewise.
11993 (test-program-cmd): Define in terms of new variables.
11994 * Rules (make-test-out): Use $(run-program-env).
11995 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11996 (help): Do not mention environment variables. Mention
11997 --timeoutfactor option.
11998 (timeoutfactor): New variable.
11999 (blacklist_exports): Remove function.
12000 (exports): Remove variable.
12001 (command): Do not include ${exports}.
12002 * manual/install.texi (Configuring and compiling): Do not mention
12003 test wrappers preserving environment variables. Mention that last
12004 assignment to a variable must take precedence.
12005 * INSTALL: Regenerated.
12006 * benchtests/Makefile (run-bench): Use $(run-program-env).
12007 * catgets/Makefile ($(objpfx)test1.cat): Use
12008 $(built-program-cmd-before-env), $(run-program-env) and
12009 $(built-program-cmd-after-env).
12010 ($(objpfx)test2.cat): Do not specify environment variables
12012 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12013 $(run-program-env) and $(built-program-cmd-after-env).
12014 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12015 $(run-program-env) and $(test-program-cmd-after-env).
12016 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12018 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12019 run_program_env and test_program_cmd_after_env arguments.
12020 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12021 * elf/tst-pathopt.sh: Use run_program_env argument.
12022 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12023 $(test-wrapper-env) and $(run-program-env).
12024 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12025 run_program_env arguments.
12026 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12027 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12028 $(test-program-prefix-before-env), $(run-program-env) and
12029 $(test-program-prefix-after-env).
12030 ($(objpfx)tst-gettext2.out): Likewise.
12031 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12032 run_program_env and test_program_prefix_after_env arguments.
12033 * intl/tst-gettext2.sh: Likewise.
12034 * intl/tst-gettext4.sh: Do not set environment variables
12036 * intl/tst-gettext6.sh: Likewise.
12037 * intl/tst-translit.sh: Likewise.
12038 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12039 $(test-program-prefix-before-env), $(run-program-env) and
12040 $(test-program-prefix-after-env).
12041 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12042 run_program_env and test_program_prefix_after_env arguments.
12043 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12044 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12045 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12046 explicitly with each use of ${test_wrapper_env}.
12047 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12048 $(test-program-prefix-before-env), $(run-program-env) and
12049 $(test-program-prefix-after-env).
12050 * posix/tst-getconf.sh: Do not set environment variables
12052 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12053 run_program_env and test_program_prefix_after_env arguments.
12054 * stdio-common/tst-printf.sh: Do not set environment variables
12056 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12057 $(test-program-prefix-before-env), $(run-program-env) and
12058 $(test-program-prefix-after-env).
12059 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12060 run_program_env and test_program_prefix_after_env arguments.
12061 Split $test calls into $test_pre and $test.
12062 * timezone/Makefile (build-testdata): Use
12063 $(built-program-cmd-before-env), $(run-program-env) and
12064 $(built-program-cmd-after-env).
12066 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12068 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12069 strlen for non SHARED builds.
12071 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12073 * nptl/allocatestack.c (check_list): Inlined function...
12074 (__reclaim_stacks): ... here.
12076 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12079 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12082 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12084 * Rules (make-test-out): Include
12085 LOCPATH=$(common-objpfx)localedata in default environment.
12086 * debug/Makefile (tst-chk1-ENV): Remove variable.
12087 (tst-chk2-ENV): Likewise.
12088 (tst-chk3-ENV): Likewise.
12089 (tst-chk4-ENV): Likewise.
12090 (tst-chk5-ENV): Likewise.
12091 (tst-chk6-ENV): Likewise.
12092 (tst-lfschk1-ENV): Likewise.
12093 (tst-lfschk2-ENV): Likewise.
12094 (tst-lfschk3-ENV): Likewise.
12095 (tst-lfschk4-ENV): Likewise.
12096 (tst-lfschk5-ENV): Likewise.
12097 (tst-lfschk6-ENV): Likewise.
12098 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12099 (tst-iconv7-ENV): Likewise.
12100 * intl/Makefile (LOCPATH-ENV): Likewise.
12101 (tst-codeset-ENV): Likewise.
12102 (tst-gettext3-ENV): Likewise.
12103 (tst-gettext5-ENV): Likewise.
12104 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12105 (tst-fopenloc-ENV): Likewise.
12106 (tst-fgetws-ENV): Remove variable.
12107 (tst-ungetwc1-ENV): Likewise.
12108 (tst-ungetwc2-ENV): Likewise.
12109 (bug-ungetwc2-ENV): Likewise.
12110 (tst-swscanf-ENV): Likewise.
12111 (bug-ftell-ENV): Likewise.
12112 (tst-fgetwc-ENV): Likewise.
12113 (tst-fseek-ENV): Likewise.
12114 (tst-ftell-partial-wide-ENV): Likewise.
12115 (tst-ftell-active-handler-ENV): Likewise.
12116 (tst-ftell-append-ENV): Likewise.
12117 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12118 (tst-regexloc-ENV): Likewise.
12119 (bug-regex1-ENV): Likewise.
12120 (tst-regex-ENV): Likewise.
12121 (tst-regex2-ENV): Likewise.
12122 (bug-regex5-ENV): Likewise.
12123 (bug-regex6-ENV): Likewise.
12124 (bug-regex17-ENV): Likewise.
12125 (bug-regex18-ENV): Likewise.
12126 (bug-regex19-ENV): Likewise.
12127 (bug-regex20-ENV): Likewise.
12128 (bug-regex22-ENV): Likewise.
12129 (bug-regex23-ENV): Likewise.
12130 (bug-regex25-ENV): Likewise.
12131 (bug-regex26-ENV): Likewise.
12132 (bug-regex30-ENV): Likewise.
12133 (bug-regex32-ENV): Likewise.
12134 (bug-regex33-ENV): Likewise.
12135 (bug-regex34-ENV): Likewise.
12136 (bug-regex35-ENV): Likewise.
12137 (tst-rxspencer-ENV): Likewise.
12138 (tst-rxspencer-no-utf8-ENV): Likewise.
12139 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12140 (tst-sscanf-ENV): Likewise.
12141 (tst-swprintf-ENV): Likewise.
12142 (tst-swscanf-ENV): Likewise.
12143 (test-vfprintf-ENV): Likewise.
12144 (scanf13-ENV): Likewise.
12145 (bug14-ENV): Likewise.
12146 (tst-grouping-ENV): Likewise.
12147 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12148 (tst-strtod3-ENV): Likewise.
12149 (tst-strtod4-ENV): Likewise.
12150 (tst-strtod5-ENV): Likewise.
12151 (testmb2-ENV): Likewise./
12152 * string/Makefile (tst-strxfrm-ENV): Likewise.
12153 (tst-strxfrm2-ENV): Likewise.
12154 (bug-strcoll1-ENV): Likewise.
12155 (test-strcasecmp-ENV): Likewise.
12156 (test-strncasecmp-ENV): Likewise.
12157 * time/Makefile (tst-strptime-ENV): Likewise.
12158 (tst-ftime_l-ENV): Likewise.
12159 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12160 (tst-mbrtowc-ENV): Likewise.
12161 (tst-wcrtomb-ENV): Likewise.
12162 (tst-mbrtowc2-ENV): Likewise.
12163 (tst-c16c32-1-ENV): Likewise.
12164 (tst-mbsnrtowcs-ENV): Likewise.
12166 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12168 * manual/resource.texi (How to get information about the memory
12169 subsystem?): Fix typo.
12170 Reported by Peon de la Parra Ivan <peon@keba.com>
12172 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12175 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12176 (pthread_spin_lock): Branch out of spin loop to proper location.
12177 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12178 (pthread_spin_lock): Likewise.
12180 * nptl/tst-spin4.c: New test.
12181 * nptl/Makefile (tests): Add tst-spin4.
12183 2014-06-03 Andreas Schwab <schwab@suse.de>
12186 * resolv/res_send.c (send_dg): Reload file descriptor after
12189 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12193 2014-06-03 Richard Henderson <rth@redhat.com>
12195 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12196 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12197 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12198 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12199 in the SAVE_PID block.
12200 (__libc_vfork): New alias.
12201 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12203 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12204 child in registers, not on the stack. Remove RESET_PID conditionals.
12205 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12207 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12209 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12211 2014-06-03 Wilco <wdijkstr@arm.com>
12213 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12214 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12215 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12216 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12217 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12220 2014-06-03 Wilco <wdijkstr@arm.com>
12222 * sysdeps/aarch64/fpu/math_private.h
12223 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12224 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12225 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12226 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12229 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12231 * crypt/crypt-private.h: Include ufc-crypt.h.
12232 (__b64_from_24bit): Declare extern.
12233 * crypt/crypt_util.c(__b64_from_24bit): New function.
12234 (b64t): New static const variable.
12235 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12236 (b64t): Remove variable.
12237 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12238 * crypt/sha256-crypt.c: Include crypt-private.h.
12239 (b64t): Remove variable.
12240 (__sha256_crypt_r): Remove b64_from_24bit and replace
12241 with __b64_from_24bit.
12242 * crypt/sha512-crypt.c: Likewise.
12244 2014-06-02 Roland McGrath <roland@hack.frob.com>
12246 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12247 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12248 Label the code __libc_vfork rather than __vfork.
12249 [!NOT_IN_libc] (vfork): Define as weak alias.
12250 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12251 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12252 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12254 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12256 * malloc/malloc.c (malloc_info): Fix format specifier for
12259 2014-06-02 Wilco <wdijkstr@arm.com>
12261 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12264 2014-06-02 Wilco <wdijkstr@arm.com>
12267 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12268 Rewrite to reduce FPCR/FPSR accesses.
12270 2014-06-01 David S. Miller <davem@davemloft.net>
12272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12274 2014-05-31 David S. Miller <davem@davemloft.net>
12276 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12277 to occur in round to nearest mode when |x| >= 2.0
12279 2014-05-30 Richard Henderson <rth@twiddle.net>
12281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12282 (PSEUDO_RET_NOERRNO): Remove.
12283 (ret): Don't redefine.
12284 (ret_NOERRNO): Define in terms of ret.
12285 (ret_ERRVAL): Likewise.
12287 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12288 use of PSEUDO_RET; perform the error check directly.
12290 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12292 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12295 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12297 * malloc/malloc (malloc_info): Fix formatting.
12299 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12300 Roland McGrath <roland@hack.frob.com>
12302 * malloc/malloc (malloc_info): Also print mmapped statistics.
12304 2014-05-30 Roland McGrath <roland@hack.frob.com>
12306 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12307 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12309 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12311 * malloc/malloc.c (malloc_info): Inline mi_arena.
12313 2014-05-29 Richard Henderson <rth@twiddle.net>
12315 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12316 Remove comma before expanding ASM_ARGS_##nr.
12317 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12318 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12320 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12321 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12322 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12323 (ASM_ARGS_1): Add leading comma.
12325 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12326 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12327 to __errno_location.
12328 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12329 Remove the expected plt for __errno_location.
12331 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12332 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12335 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12336 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12337 it and break it down.
12338 (DOCARGS_0, DOCARGS_1): Do nothing.
12339 (DOCARGS_2): Update to store into the new stack frame.
12340 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12341 (UNDOCARGS_1): Update to restore from the new stack frame.
12342 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12343 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12345 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12346 (SINGLE_THREAD_P): New parameter for result regno.
12347 (PSEUDO): Update to match; use cbz instead of beq.
12349 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12350 Use ENTRY to define the _nocancel entry point. Share the syscall
12351 and syscall error check paths with the cancel path.
12354 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12355 whitespace; tabs before and after asm mnemonics.
12357 2014-05-29 Eric Wong <normalperson@yhbt.net>
12360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12361 Call fstat64 or stat64 internally, depending on arguments passed.
12362 Replace stat buffer argument with file descriptor argument.
12363 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12364 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12365 Pass fd to __internal_statvfs instead of calling fstat64.
12366 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12367 Pass fd to __internal_statvfs64 instead of calling fstat64.
12368 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12369 Pass -1 to __internal_statvfs instead of calling stat64.
12370 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12371 Pass -1 to __internal_statvfs64 instead of calling stat64.
12373 2014-05-28 Roland McGrath <roland@hack.frob.com>
12375 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12376 that was previously under [RESET_PID].
12377 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12379 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12380 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12382 2014-05-27 Roland McGrath <roland@hack.frob.com>
12384 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12386 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12387 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12389 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12391 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12393 2014-05-27 Andreas Schwab <schwab@suse.de>
12395 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12397 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12398 * elf/rtld.c (init_tls, dl_main): Likewise.
12399 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12400 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12401 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12402 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12403 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12404 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12405 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12406 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12407 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12408 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12409 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12410 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12411 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12412 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12413 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12414 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12415 * sysdeps/generic/tls.h: Update description.
12417 2014-05-27 Will Newton <will.newton@linaro.org>
12420 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12421 and restore r2 rather than just restoring.
12423 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12426 * libio/tst-ftell-append.c: New test case.
12427 * libio/Makefile (tests): Add test case.
12428 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12430 * libio/wfileops.c (do_ftell_wide): Likewise.
12432 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12436 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12440 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12441 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12442 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12443 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12444 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12445 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12446 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12452 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12453 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12454 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12455 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12456 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12458 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12461 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12463 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12465 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12466 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12467 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12469 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12470 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12471 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12472 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12480 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12483 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12495 conditional [RESET_PID].
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12504 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12505 (__libc_vfork): New strong alias.
12506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12508 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12513 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12514 (__libc_vfork): New strong alias.
12515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12517 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12520 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12522 * malloc/malloc.c (mi_arena): New function.
12523 (malloc_info): Remove nested function mi_arena. Call non-nosted
12526 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12528 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12530 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12531 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12532 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12533 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12534 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12535 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12536 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12538 2014-05-26 Andreas Schwab <schwab@suse.de>
12541 * locale/programs/repertoire.c (repertoire_read): Add slash
12542 between I18NPATH element and file name.
12543 * locale/programs/locfile.c (locfile_read): Likewise.
12545 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12547 * nptl/pthread_mutexattr_settype.c
12548 (__pthread_mutexattr_settype):
12549 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12551 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12553 * nptl/tst-mutex5 (do_test):
12554 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12556 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12558 * benchtests/README: Document 'init' directive.
12559 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12561 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12562 (parse_file): Recognize 'init' directive.
12564 2014-05-26 Kyle McMartin <kyle@redhat.com>
12567 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12568 alignment of struct pthread.
12570 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12573 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12574 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12575 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12576 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12578 2014-05-25 Richard Henderson <rth@twiddle.net>
12580 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12581 (SINGLE_THREAD_P_PIC): Remove.
12582 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12583 (SINGLE_THREAD_P_PIC): Remove.
12585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12586 branch to syscall error ...
12587 (PSEUDO): ... here.
12588 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12589 from __local_syscall_error to .Lsyscall_error.
12590 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12591 (SYSCALL_ERROR): Update label name.
12593 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12594 Do not use DOARGS/UNDOARGS.
12595 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12596 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12597 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12598 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12599 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12604 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12605 define if !NOT_IN_libc.
12606 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12607 define with non-default symbol versions.
12609 2014-05-23 Richard Henderson <rth@twiddle.net>
12611 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12612 (vfork, __vfork): Define via compat_symbol.
12614 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12615 [!HAVE_IFUNC] (vfork_compat): Remove.
12616 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12618 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12621 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12622 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12625 2014-05-23 Richard Henderson <rth@twiddle.net>
12627 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12628 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12629 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12630 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12632 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12633 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12634 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12635 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12636 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12637 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12638 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12639 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12640 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12641 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12642 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12643 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12644 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12645 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12646 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12647 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12648 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12649 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12650 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12651 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12652 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12653 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12654 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12655 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12656 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12657 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12658 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12659 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12660 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12661 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12662 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12663 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12664 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12665 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12666 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12667 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12668 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12669 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12670 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12671 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12672 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12673 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12674 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12675 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12676 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12677 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12678 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12679 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12680 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12681 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12682 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12683 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12684 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12685 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12686 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12687 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12689 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12690 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12691 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12692 before exiting on error.
12693 (__libc_vfork): New strong alias.
12694 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12695 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12697 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12698 that was previously under [RESET_PID].
12699 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12701 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12703 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12706 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12707 value when x - 1 is zero.
12708 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12709 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12710 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12711 0.0L for an argument of 1.0L.
12712 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12714 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12715 value when x - 1 is zero.
12716 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12717 * sysdeps/i386/fpu/libm-test-ulps: Update.
12718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12720 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12722 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12723 alphasort and versionsort.
12725 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12727 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12729 [copysignf]: Likewise.
12731 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12733 * crypt/md5-crypt.c: Fix formatting.
12735 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12737 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12738 (b64_from_24bit): New function.
12740 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12743 libc_hidden_builtin_def to ifunc.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12745 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12747 2014-05-21 Roland McGrath <roland@hack.frob.com>
12749 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12750 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12752 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12754 * nscd/Depend (linuxthreads): Remove.
12756 * resolv/Depend (linuxthreads): Remove.
12757 * rt/Depend (linuxthreads): Remove.
12759 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12760 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12761 $(common-objpfx)elf/.
12762 (link-libc-before-gnulib): Likewise.
12763 (elfobjdir): Remove variable.
12764 * Makefile (install): Use $(elf-objpfx) instead of
12765 $(common-objpfx)elf/.
12766 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12768 (link-libc-deps): Likewise.
12769 ($(common-objpfx)libc.so): Likewise.
12770 ($(common-objpfx)linkobj/libc.so): Likewise.
12771 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12772 instead of $(common-objpfx)elf/.
12773 (symbolic-link-list): Likewise.
12774 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12775 [$(cross-compiling) = no]: Likewise.
12776 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12778 (static-gnulib-arch): Likewise.
12779 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12780 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12781 $(common-objpfx)elf/.
12783 2014-05-21 Richard Henderson <rth@redhat.com>
12785 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12786 (SINGLE_THREAD_P): Use the correct width load. Fold
12787 into the ldr offset.
12789 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12790 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12792 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12794 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12795 (libgcc_s_resume): Use __attribute_used__.
12796 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12799 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12801 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12802 optimization when used with float constants.
12804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12806 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12809 * locale/nl_langinfo_l.c: Make direct reference to every
12810 _nl_current_CATEGORY symbol.
12811 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12812 (tests-static): Add tst-langinfo-static.
12813 (tests-special): Add tst-langinfo-static.out.
12814 ($(objpfx)tst-langinfo.out): Redirect output.
12815 ($(objpfx)tst-langinfo-static.out): New.
12816 * localedata/tst-langinfo.sh: Send output to stdout.
12817 * localedata/tst-langinfo-static.c: New file.
12820 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12821 when the shift amount is modulo the limb size.
12823 2014-05-20 Richard Henderson <rth@redhat.com>
12826 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12827 Change type of sa_flags from unsigned int to int.
12830 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12832 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12834 2014-05-20 Will Newton <will.newton@linaro.org>
12836 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12837 Test the return value of the system call in the nocancel case.
12839 2014-05-20 Will Newton <will.newton@linaro.org>
12840 Yvan Roux <yvan.roux@linaro.org>
12842 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12843 #include of asm/ptrace.h.
12844 (PTRACE_GET_THREAD_AREA): Remove #undef.
12845 (PTRACE_GETHBPREGS): Likewise.
12846 (PTRACE_SETHBPREGS): Likewise.
12847 (struct user_regs_struct): New structure.
12848 (struct user_fpsimd_struct): New structure.
12849 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12850 #include of asm/ptrace.h and second #include of sys/user.h.
12851 (PTRACE_GET_THREAD_AREA): Remove #undef.
12852 (PTRACE_GETHBPREGS): Likewise.
12853 (PTRACE_SETHBPREGS): Likewise.
12854 (ELF_NGREG): Use new struct user_regs_struct.
12855 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12857 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12859 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12860 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12862 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12865 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12866 membar to avoid block loads/stores to overlap previous stores.
12868 2014-05-17 Richard Henderson <rth@redhat.com>
12870 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12871 Create the __##syscall_name##_nocancel entry point.
12872 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12873 Remove; let the sysdep-cancel.h code create it.
12875 2014-05-17 David S. Miller <davem@davemloft.net>
12877 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12878 Protect with __USE_GNU.
12879 (TIOCSET_TEMPT): Likewise.
12880 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12881 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12882 these are already provided in bits/ioctl-types.h
12884 2014-05-16 Roland McGrath <roland@hack.frob.com>
12886 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12887 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12889 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12890 Use wait4 regardless of [__NR_waitpid].
12892 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12895 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12896 (_FP_NANSIGN_Q): Set the quiet bit.
12898 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12900 * benchtests/Makefile
12901 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12902 not $(common-objpfx)math/libm.so.
12903 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12904 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12905 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12906 $(common-objpfx)dlfcn/libdl.so.
12907 ($(objpfx)tst-audit8): Depend on $(libm), not
12908 $(common-objpfx)math/libm.so.
12909 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12910 not $(common-objpfx)dlfcn/libdl.so.
12912 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12913 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12914 [$(build-shared) = yes].
12915 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12916 $(common-objpfx)nptl/libpthread.so.
12917 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12918 $(common-objpfx)math/libm.so$(libm.so-version) or
12919 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12920 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12921 $(common-objpfx)dlfcn/libdl.so.
12922 * setjmp/Makefile (link-libm): Remove variable.
12923 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12924 * stdio-common/Makefile (link-libm): Remove variable.
12925 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12926 * stdlib/Makefile (link-libm): Remove variable.
12927 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12928 ($(objpfx)tst-strtod-round): Likewise.
12929 ($(objpfx)tst-tininess): Likewise.
12930 ($(objpfx)tst-strtod-underflow): Likewise.
12931 ($(objpfx)tst-strtod6): Likewise.
12932 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12933 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12934 $(common-objpfx)dlfcn/libdl.so.
12936 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12938 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12939 BSD terminal modes definitions.
12941 2014-05-16 Roland McGrath <roland@hack.frob.com>
12943 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12944 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12946 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12947 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12948 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12949 Don't do #include_next.
12950 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12951 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12952 Don't do #include_next.
12953 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12954 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12955 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12956 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12958 2014-05-16 Allan McRae <allan@archlinux.org>
12960 * po/sv.po: Update Swedish translation from translation project.
12962 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12965 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12968 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12969 errno if the TIOCGPTN ioctl fails with an error different than
12971 * login/tst-ptsname.c: New file.
12972 * login/Makefile (tests): Add tst-ptsname.
12975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12978 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12982 herrno to return EAI_AGAIN.
12984 2014-05-14 Roland McGrath <roland@hack.frob.com>
12986 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12987 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12988 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12989 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12990 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12991 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12992 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12993 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12995 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12996 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12997 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12998 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12999 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13000 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13001 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13002 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13003 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13004 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13005 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13006 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13007 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13008 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13009 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13010 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13011 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13012 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13013 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13014 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13015 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13017 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13019 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13022 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13024 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13026 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13028 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13030 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13032 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13034 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13036 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13038 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13040 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13042 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13044 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13046 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13048 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13051 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13053 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13055 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13057 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13059 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13061 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13063 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13065 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13067 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13069 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13072 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13074 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13076 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13077 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13078 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13079 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13080 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13081 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13082 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13083 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13084 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13085 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13086 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13087 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13088 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13089 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13090 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13091 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13092 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13093 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13094 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13095 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13096 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13097 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13098 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13099 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13100 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13101 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13102 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13103 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13104 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13105 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13106 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13108 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13109 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13111 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13112 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13113 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13114 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13115 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13116 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13118 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13119 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13121 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13122 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13124 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13125 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13127 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13128 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13129 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13130 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13132 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13133 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13134 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13135 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13136 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13137 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13138 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13141 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13144 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13146 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13147 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13148 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13149 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13150 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13152 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13156 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13157 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13158 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13159 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13160 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13161 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13163 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13164 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13166 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13167 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13169 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13170 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13172 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13173 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13174 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13175 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13177 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13178 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13179 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13180 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13181 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13182 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13183 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13186 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13189 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13191 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13192 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13193 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13194 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13195 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13197 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13201 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13202 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13203 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13204 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13205 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13206 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13207 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13208 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13209 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13210 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13212 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13213 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13215 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13216 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13218 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13219 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13221 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13222 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13223 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13224 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13225 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13226 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13228 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13229 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13230 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13231 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13232 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13233 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13234 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13235 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13237 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13238 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13240 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13242 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13243 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13244 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13245 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13246 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13248 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13250 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13252 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13253 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13254 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13255 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13256 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13257 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13258 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13259 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13260 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13261 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13262 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13264 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13265 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13267 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13268 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13270 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13271 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13272 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13273 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13274 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13275 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13276 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13277 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13278 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13279 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13280 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13281 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13282 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13283 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13284 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13285 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13286 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13289 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13290 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13291 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13292 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13294 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13295 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13296 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13297 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13298 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13299 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13300 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13301 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13303 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13304 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13306 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13307 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13308 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13309 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13310 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13311 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13312 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13313 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13314 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13315 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13316 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13317 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13318 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13319 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13320 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13321 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13322 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13324 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13325 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13326 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13327 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13328 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13330 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13331 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13332 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13333 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13334 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13335 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13336 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13337 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13338 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13339 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13341 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13344 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13345 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13346 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13347 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13348 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13349 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13350 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13351 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13352 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13353 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13354 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13355 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13356 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13357 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13360 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13378 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13379 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13380 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13381 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13382 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13383 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13384 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13385 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13386 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13387 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13388 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13389 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13390 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13391 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13392 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13394 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13395 that was previously under [RESET_PID].
13396 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13397 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13398 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13400 * sysdeps/i386/nptl/Implies: New file.
13401 * sysdeps/x86_64/nptl/Implies: New file.
13402 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13403 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13404 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13405 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13407 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13408 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13409 (__libc_vfork): New strong alias.
13410 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13411 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13413 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13414 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13415 (__libc_vfork): New strong alias.
13416 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13417 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13419 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13420 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13421 (__libc_vfork): New strong alias.
13422 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13423 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13424 * nptl/pt-vfork.c: New file.
13425 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13426 (libpthread: GLIBC_2.20): New version set (empty).
13428 2014-05-14 Will Newton <will.newton@linaro.org>
13430 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13433 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13436 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13437 arguments with exponent 65 or above.
13438 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13439 arguments 0x1p113L or above.
13440 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13441 to arguments 0x1p107L or above.
13442 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13443 positive arguments with exponent 65 or above.
13444 * math/auto-libm-test-in: Add more tests of log1p.
13445 * math/auto-libm-test-out: Regenerated.
13448 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13449 non-finite arguments is +0.
13450 * math/s_cacosf.c (__cacosf): Likewise.
13451 * math/s_cacosl.c (__cacosl): Likewise.
13452 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13453 * sysdeps/i386/fpu/libm-test-ulps: Update.
13454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13457 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13459 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13460 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13461 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13462 for explicit high bit of mantissa when testing for argument equal
13464 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13465 * sysdeps/i386/fpu/libm-test-ulps: Update.
13466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13469 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13470 (__erf): Scale by 16 instead of 8 in potentially underflowing
13471 case. Ensure exception if result actually underflows.
13472 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13473 (__erff): Scale by 16 instead of 8 in potentially underflowing
13474 case. Ensure exception if result actually underflows.
13475 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13476 (efx8): Remove variable.
13477 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13478 case. Ensure exception if result actually underflows.
13479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13480 (efx8): Remove variable.
13481 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13482 case. Ensure exception if result actually underflows.
13483 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13484 (efx8): Remove variable.
13485 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13486 case. Ensure exception if result actually underflows.
13487 * math/auto-libm-test-in: Add more tests of erf.
13488 * math/auto-libm-test-out: Regenerated.
13490 2014-05-14 Andreas Schwab <schwab@suse.de>
13492 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13493 Remove code conditionalized on USE___THREAD.
13495 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13496 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13499 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13501 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13502 Define unconditionally.
13503 (__ASSUME_O_CLOEXEC): Likewise.
13504 (__ASSUME_SOCK_CLOEXEC): Likewise.
13505 (__ASSUME_IN_NONBLOCK): Likewise.
13506 (__ASSUME_PIPE2): Likewise.
13507 (__ASSUME_EVENTFD2): Likewise.
13508 (__ASSUME_SIGNALFD4): Likewise.
13509 (__ASSUME_DUP3): Likewise.
13510 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13511 (__ASSUME_DUP3): Do not define.
13512 (__ASSUME_EVENTFD2): Likewise.
13513 (__ASSUME_IN_NONBLOCK): Likewise.
13514 (__ASSUME_O_CLOEXEC): Likewise.
13515 (__ASSUME_PIPE2): Likewise.
13516 (__ASSUME_SIGNALFD4): Likewise.
13517 (__ASSUME_SOCK_CLOEXEC): Likewise.
13518 (__ASSUME_UTIMES): Undefine.
13519 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13520 (__ASSUME_UTIMES): Do not define.
13521 (__ASSUME_O_CLOEXEC): Likewise.
13522 (__ASSUME_SOCK_CLOEXEC): Likewise.
13523 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13524 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13526 (__ASSUME_PIPE2): Likewise.
13527 (__ASSUME_EVENTFD2): Likewise.
13528 (__ASSUME_SIGNALFD4): Likewise.
13529 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13530 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13532 (__ASSUME_EVENTFD2): Likewise.
13533 (__ASSUME_SIGNALFD4): Likewise.
13534 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13535 (__ASSUME_32BITUIDS): Likewise.
13536 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13537 (__ASSUME_IPC64): Likewise.
13538 (__ASSUME_ST_INO_64_BIT): Likewise.
13539 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13540 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13542 (__ASSUME_UTIMES): Do not define.
13543 (__ASSUME_PSELECT): Likewise.
13544 (__ASSUME_PPOLL): Likewise.
13545 (__ASSUME_O_CLOEXEC): Likewise.
13546 (__ASSUME_SOCK_CLOEXEC): Likewise.
13547 (__ASSUME_IN_NONBLOCK): Likewise.
13548 (__ASSUME_PIPE2): Likewise.
13549 (__ASSUME_EVENTFD2): Likewise.
13550 (__ASSUME_SIGNALFD4): Likewise.
13551 (__ASSUME_DUP3): Likewise.
13552 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13553 (__ASSUME_UTIMES): Likewise.
13554 (__ASSUME_O_CLOEXEC): Likewise.
13555 (__ASSUME_SOCK_CLOEXEC): Likewise.
13556 (__ASSUME_IN_NONBLOCK): Likewise.
13557 (__ASSUME_PIPE2): Likewise.
13558 (__ASSUME_EVENTFD2): Likewise.
13559 (__ASSUME_SIGNALFD4): Likewise.
13560 (__ASSUME_DUP3): Likewise.
13561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13562 (__ASSUME_UTIMES): Likewise.
13563 (__ASSUME_O_CLOEXEC): Likewise.
13564 (__ASSUME_SOCK_CLOEXEC): Likewise.
13565 (__ASSUME_IN_NONBLOCK): Likewise.
13566 (__ASSUME_PIPE2): Likewise.
13567 (__ASSUME_EVENTFD2): Likewise.
13568 (__ASSUME_SIGNALFD4): Likewise.
13569 (__ASSUME_DUP3): Likewise.
13570 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13572 (__ASSUME_UTIMES): Likewise.
13573 (__ASSUME_EVENTFD2): Likewise.
13574 (__ASSUME_SIGNALFD4): Likewise.
13575 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13576 (__ASSUME_O_CLOEXEC): Likewise.
13577 (__ASSUME_SOCK_CLOEXEC): Likewise.
13578 (__ASSUME_IN_NONBLOCK): Likewise.
13579 (__ASSUME_PIPE2): Likewise.
13580 (__ASSUME_EVENTFD2): Likewise.
13581 (__ASSUME_SIGNALFD4): Likewise.
13582 (__ASSUME_DUP3): Likewise.
13583 (__ASSUME_UTIMES): Undefine.
13585 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13586 feclearexcept. Remove symbol versioning code.
13587 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13588 symbol versioning code.
13589 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13590 symbol versioning code.
13591 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13592 feupdateenv. Remove symbol versioning code.
13593 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13594 fegetexceptflag. Remove symbol versioning code.
13595 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13596 fesetexceptflag. Remove symbol versioning code.
13597 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13598 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13599 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13600 (__posix_fadvise64_l32): Remove prototype.
13601 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13604 2014-05-13 Roland McGrath <roland@hack.frob.com>
13606 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13607 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13608 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13609 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13611 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13613 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13614 current working directory
13616 2014-05-13 Roland McGrath <roland@hack.frob.com>
13618 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13619 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13620 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13621 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13622 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13623 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13624 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13625 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13626 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13627 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13628 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13629 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13630 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13631 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13632 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13633 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13634 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13635 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13636 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13637 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13638 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13639 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13640 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13643 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13644 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13645 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13646 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13647 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13649 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13651 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13652 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13653 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13654 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13655 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13656 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13657 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13658 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13659 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13661 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13662 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13664 * sysdeps/unix/sysv/linux/arm/Makefile
13665 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13666 Add rt-aeabi_unwind_cpp_pr1.
13667 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13668 Add nptl-aeabi_unwind_cpp_pr1.
13669 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13670 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13671 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13672 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13673 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13674 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13676 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13677 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13678 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13679 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13681 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13682 Deconditionalize the code that was previously under [RESET_PID].
13683 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13685 * sysdeps/generic/exit-thread.h: New file.
13686 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13687 * include/unistd.h (__exit_thread): Remove declaration.
13688 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13689 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13690 * csu/libc-start.c: Include <exit-thread.h>.
13691 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13692 * nptl/pthread_create.c: Include <exit-thread.h>.
13693 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13694 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13695 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13696 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13697 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13698 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13699 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13700 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13701 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13702 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13703 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13704 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13705 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13706 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13707 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13708 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13709 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13711 2014-05-13 Andreas Schwab <schwab@suse.de>
13713 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13715 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13717 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13718 (__ASSUME_UTIMES): Do not condition on kernel version.
13719 (__ASSUME_PSELECT): Define unconditionally.
13720 (__ASSUME_PPOLL): Likewise.
13721 (__ASSUME_ATFCTS): Likewise.
13722 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13723 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13724 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13725 (__ASSUME_UTIMENSAT): Define unconditionally.
13726 (__ASSUME_PRIVATE_FUTEX): Likewise.
13727 (__ASSUME_FALLOCATE): Likewise.
13728 (__ASSUME_O_CLOEXEC): Likewise.
13729 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13730 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13731 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13732 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13733 (__ASSUME_IN_NONBLOCK): Likewise.
13734 (__ASSUME_PIPE2): Likewise.
13735 (__ASSUME_EVENTFD2): Likewise.
13736 (__ASSUME_SIGNALFD4): Likewise.
13737 (__ASSUME_DUP3): Likewise.
13738 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13739 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13740 (__ASSUME_AT_RANDOM): Likewise.
13741 (__ASSUME_PREADV): Likewise.
13742 (__ASSUME_PWRITEV): Likewise.
13743 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13744 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13745 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13746 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13747 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13748 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13749 (__ASSUME_O_CLOEXEC): Define unconditionally.
13750 (__ASSUME_PSELECT): Do not undefine conditionally.
13751 (__ASSUME_PPOLL): Likewise.
13752 (__ASSUME_ATFCTS): Likewise.
13753 (__ASSUME_SET_ROBUST_LIST): Likewise.
13754 (__ASSUME_UTIMENSAT): Likewise.
13755 (__ASSUME_FDATASYNC): Define unconditionally.
13756 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13757 (__ASSUME_SIGFRAME_V2): Likewise.
13758 )__ASSUME_EVENTFD2): Likewise.
13759 (__ASSUME_SIGNALFD4): Likewise.
13760 (__ASSUME_PSELECT): Do not undefine conditionally.
13761 (__ASSUME_PPOLL): Likewise.
13762 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13763 (__ASSUME_PSELECT): Define unconditionally.
13764 (__ASSUME_PPOLL): Likewise.
13765 (__ASSUME_O_CLOEXEC): Likewise.
13766 (__ASSUME_SOCK_CLOEXEC): Likewise.
13767 (__ASSUME_IN_NONBLOCK): Likewise.
13768 (__ASSUME_PIPE2): Likewise.
13769 (__ASSUME_EVENTFD2): Likewise.
13770 (__ASSUME_SIGNALFD4): Likewise.
13771 (__ASSUME_DUP3): Likewise.
13772 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13773 (__ASSUME_O_CLOEXEC): Likewise.
13774 (__ASSUME_SOCK_CLOEXEC): Likewise.
13775 (__ASSUME_IN_NONBLOCK): Likewise.
13776 (__ASSUME_PIPE2): Likewise.
13777 (__ASSUME_EVENTFD2): Likewise.
13778 (__ASSUME_SIGNALFD4): Likewise.
13779 (__ASSUME_DUP3): Likewise.
13780 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13781 (__ASSUME_EVENTFD2): Likewise.
13782 (__ASSUME_SIGNALFD4): Likewise.
13783 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13785 2014-05-12 Andreas Schwab <schwab@suse.de>
13788 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13789 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13790 than maximum RPC packet size.
13791 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13792 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13793 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13794 (_nss_nis_getservbyport_r): Likewise.
13796 2014-05-12 Will Newton <will.newton@linaro.org>
13798 * malloc/Makefile (tests): Add tst-mallopt.
13799 * malloc/tst-mallopt.c: New file.
13801 2014-05-09 Roland McGrath <roland@hack.frob.com>
13803 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13804 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13806 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13808 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13809 (tst-tlsmod6.so): Likewise.
13811 2014-05-09 Roland McGrath <roland@hack.frob.com>
13813 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13815 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13818 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13819 and <dl-procinfo.h>.
13820 (__fegetenv): Save SSE state in envp->__eip if supported.
13821 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13822 envp->__eip if supported.
13823 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13824 and <dl-procinfo.h>.
13825 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13826 __data_offset and __data_selector in environment to 0. Set SSE
13827 state if supported.
13828 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13830 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13832 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13834 2014-05-09 Will Newton <will.newton@linaro.org>
13836 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13837 and libc_relro_required for ARM.
13838 * sysdeps/arm/preconfigure: Regenerate.
13840 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13841 Stefan Liebler <stli@linux.vnet.ibm.com>
13843 * config.make.in (enable-lock-elision): New Makefile variable.
13844 * configure.ac: Likewise.
13845 * configure: Regenerate.
13846 * sysdeps/s390/configure.ac:
13847 Add check for gcc transactions support.
13848 * sysdeps/s390/configure: Regenerate.
13849 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13850 Build elision files if enabled.
13851 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13852 Add lock elision support for s390.
13853 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13854 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13855 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13856 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13857 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13858 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13859 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13861 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13863 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13865 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13867 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13868 (__lll_timedlock_elision, __lll_lock_elision)
13869 (__lll_unlock_elision, __lll_trylock_elision)
13870 (lll_timedlock_elision, lll_lock_elision)
13871 (lll_unlock_elision, lll_trylock_elision): Add.
13872 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13873 (pthread_mutex_t): Add lock elision support for s390.
13875 2014-05-14 Wilco <wdijkstr@arm.com>
13877 * sysdeps/arm/fclrexcpt.c: Cleanup.
13878 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13879 * sysdeps/arm/feenablxcpt.c: Cleanup.
13880 * sysdeps/arm/fegetenv.c: Cleanup.
13881 * sysdeps/arm/fegetexcept.c: Cleanup.
13882 * sysdeps/arm/fegetround.c: Cleanup.
13883 * sysdeps/arm/feholdexcpt.c: Cleanup.
13884 * sysdeps/arm/fesetenv.c: Cleanup.
13885 * sysdeps/arm/fesetround.c: Cleanup.
13886 * sysdeps/arm/feupdateenv.c: Cleanup.
13887 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13888 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13889 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13890 * sysdeps/arm/ftestexcept.c: Cleanup.
13891 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13892 * sysdeps/arm/setfpucw.c: Cleanup.
13894 2014-05-09 Will Newton <will.newton@linaro.org>
13896 * sysdeps/arm/armv7/strcmp.S: New file.
13897 * NEWS: Mention addition of ARMv7 optimized strcmp.
13899 2014-05-08 Roland McGrath <roland@hack.frob.com>
13901 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13902 look for %.ac rather than %.in.
13904 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13905 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13906 * sysdeps/mach/hurd/configure: Regenerated.
13907 * sysdeps/unix/sysv/linux/configure: Regenerated.
13909 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13911 2014-05-07 Steve Ellcey <sellcey@mips.com>
13914 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13918 2014-05-07 Andreas Schwab <schwab@suse.de>
13920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13921 when skipping over non-matching result from nscd.
13923 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13926 * nptl/sockperf.c (client): Check socket return value.
13929 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13930 nscd security class.
13932 2014-05-06 Roland McGrath <roland@hack.frob.com>
13934 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13935 * sysdeps/arm/unwind.h: ... here.
13937 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13940 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13943 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13945 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13946 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13947 multiarch strncpy for PPC64.
13948 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13949 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13951 multiarch optimizations.
13952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13953 (__libc_ifunc_impl_list): Likewise.
13954 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13955 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13956 multiarch stpncpy for PPC64.
13957 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13958 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13960 2014-05-06 Andreas Schwab <schwab@suse.de>
13963 * gmon/mcount.c (_MCOUNT_DECL): Use
13964 atomic_compare_and_exchange_bool_acq instead of
13965 catomic_compare_and_exchange_bool_acq.
13967 2014-05-05 Roland McGrath <roland@hack.frob.com>
13969 * elf/Makefile (others, install-bin): Remove pldd.
13970 (pldd-modules): Variable removed.
13971 ($(objpfx)pldd): Target removed.
13972 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13973 (others, install-bin): Append pldd here.
13974 ($(objpfx)pldd): New target.
13976 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13977 to 0, so the first #if test emitted later doesn't see it undefined.
13978 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13979 * sysdeps/gnu/errlist.c: Regenerated.
13981 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13984 [libc_hidden_builtin_def]: Define to empty value.
13985 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13986 [libc_hidden_builtin_def]: Likewise.
13987 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13988 [libc_hidden_builtin_def]: Likewise.
13989 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13990 [libc_hidden_builtin_def]: Likewise.
13991 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13992 __redirect_memcpy and define ifunc as default hidden symbol.
13993 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13994 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13996 2014-05-04 Adam Conrad <adconrad@0c3.net>
13998 * locale/iso-4217.def: Reintroduce XDR currency.
14000 2014-05-04 Allan McRae <allan@archlinux.org>
14002 * po/eo.po: Update Esperanto translation from translation project.
14004 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14006 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14007 and FEATURE_INDEX_MAX to 1.
14008 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14010 2014-05-01 Steve Ellcey <sellcey@mips.com>
14012 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14013 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14014 * iconvdata/big5.c (ONE_DIRECTION): Define.
14015 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14016 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14017 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14018 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14019 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14020 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14021 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14022 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14023 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14024 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14025 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14026 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14027 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14028 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14029 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14030 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14031 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14032 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14033 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14034 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14035 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14036 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14037 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14038 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14039 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14040 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14041 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14042 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14043 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14044 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14045 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14046 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14047 * iconvdata/johab.c (ONE_DIRECTION): Define.
14048 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14049 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14050 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14051 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14052 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14053 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14054 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14055 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14056 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14057 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14059 2014-05-01 Roland McGrath <roland@hack.frob.com>
14061 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14062 (_IO_JUMPS_OFFSET): Define to 0.
14064 * nptl/sysdeps/pthread/bits/libc-lock.h
14065 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14066 (__libc_lock_define_initialized_recursive): Always define using
14067 initializer. Modern compilers treat uninitialized (implicit zero) and
14068 explicit zero initializers the same (i.e. put the datum in bss).
14070 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14072 * nscd/nscd-client.h: Include <string.h>.
14074 2014-05-01 David S. Miller <davem@davemloft.net>
14077 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14078 multiple zero bytes exist at the end of a string.
14079 Reported by Aurelien Jarno <aurelien@aurel32.net>
14081 * string/test-strcmp.c (check): Add explicit test for situations where
14082 there are multiple zero bytes after the first.
14084 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14087 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14088 when compiling wprintf.
14089 * stdio-common/tstdiomisc.c (t3): New function.
14092 2014-05-01 Steve Ellcey <sellcey@mips.com>
14094 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14095 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14096 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14097 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14099 2014-05-01 Steve Ellcey <sellcey@mips.com>
14101 * stdlib/longlong.h: Updated from GCC.
14103 2014-05-01 Will Newton <will.newton@linaro.org>
14104 Bernard Ogden <bernie.ogden@linaro.org>
14106 * NEWS: Update fixed bug list.
14109 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14111 2014-04-30 David S. Miller <davem@davemloft.net>
14113 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14114 (libc_feholdexcept_setround_sparc_ctx): New function.
14115 (libc_fesetenv_sparc_ctx): Likewise.
14116 (libc_feupdateenv_sparc_ctx): Likewise.
14117 (libc_feholdsetround_sparc_ctx): Likewise.
14118 (libc_feholdexcept_setround_ctx): Define.
14119 (libc_feholdexcept_setroundf_ctx): Likewise.
14120 (libc_feholdexcept_setroundl_ctx): Likewise.
14121 (libc_fesetenv_ctx): Likewise.
14122 (libc_fesetenvf_ctx): Likewise.
14123 (libc_fesetenvl_ctx): Likewise.
14124 (libc_feupdateenv_ctx): Likewise.
14125 (libc_feupdateenvf_ctx): Likewise.
14126 (libc_feupdateenvl_ctx): Likewise.
14127 (libc_feresetround_ctx): Likewise.
14128 (libc_feresetroundf_ctx): Likewise.
14129 (libc_feresetroundl_ctx): Likewise.
14130 (libc_feholdsetround_ctx): Likewise.
14131 (libc_feholdsetroundf_ctx): Likewise.
14132 (libc_feholdsetroundl_ctx): Likewise.
14134 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14135 with __USE_GNU instead of XOPEN cpp guards.
14137 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14140 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14141 with XOPEN cpp guards.
14143 2014-04-30 Julian Brown <julian@codesourcery.com>
14146 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14149 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14152 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14154 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14155 * sysdeps/unix/sysv/linux/configure: Regenerated.
14156 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14157 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14158 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14159 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14160 * README: Update reference to required Linux kernel version.
14161 * manual/install.texi (Linux): Update reference to required Linux
14162 kernel headers version.
14163 * INSTALL: Regenerated.
14165 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14167 [POSIX] (limits.h): Likewise.
14168 [POSIX] (math.h): Likewise.
14169 [POSIX] (sys/wait.h): Likewise.
14170 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14172 [POSIX] (stddef.h): Do not allow header inclusion.
14174 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14176 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14178 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14180 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14181 Return immediately after lll_futex_wake.
14183 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14186 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14188 (datahead_init_pos): Call datahead_init_common early.
14189 (datahead_init_neg): Likewise.
14191 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14192 datahead_init_neg): New functions.
14193 * nscd/aicache.c (addhstaiX): Use them.
14194 * nscd/grpcache.c (cache_addgr): Likewise.
14195 * nscd/hstcache.c (cache_addhst): Likewise.
14196 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14197 * nscd/netgroupcache.c (do_notfound): Likewise.
14198 (addgetnetgrentX): Likewise.
14199 (addinnetgrX): Likewise.
14200 * nscd/pwdcache.c (cache_addpw): Likewise.
14201 * nscd/servicescache.c (cache_addserv): Likewise.
14203 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14204 Atsushi Onoe <atsushi@onoe.org>
14209 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14210 one response is valid.
14211 * resolv/res_send.c (send_dg): Check for validity of other
14212 response if the current response is a referral.
14214 2014-04-29 Steve Ellcey <sellcey@mips.com>
14216 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14218 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14221 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14222 Always divide by positive zero when computing -Inf result.
14223 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14224 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14226 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14228 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14229 FPSCR if value do not change.
14230 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14231 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14232 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14233 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14234 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14235 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14238 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14240 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14241 * sysdeps/unix/sysv/linux/hppa: Move directory from
14242 ports/systeps/unix/sysv/linux/hppa.
14243 * README: Update listing for hppa-*-linux-gnu.
14245 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14248 * manual/stdio.texi (Hook functions): Fix types of stream hook
14251 * socket/sys/socket.h: Fix typo in comment.
14253 2014-04-28 Wilco <wdijkstr@arm.com>
14255 * sysdeps/arm/fenv_private.h: New file.
14256 * sysdeps/arm/math_private.h: New file.
14257 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14259 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14261 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14263 (La_x86_64_retval): Likewise.
14265 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14267 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14268 fpsr if value didn't change.
14269 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14270 to fpcr if value didn't change.
14271 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14272 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14273 fpsr or fpcr if value didn't change.
14274 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14275 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14276 fpcr if value didn't change.
14277 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14278 to fpsr if value didn't change.
14280 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14282 * nptl/tst-sem3.c: Use test-skeleton.c
14283 (main): Rename to do_test. Use return instead of
14285 * nptl/tst-sem4.c: Use test-skeleton.c
14286 (main): Rename to do_test.
14288 2014-04-22 David S. Miller <davem@davemloft.net>
14290 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14291 (struct sigaction): New struct member __glibc_reserved0, change
14292 type of sa_flags to int.
14294 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14296 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14297 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14299 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14301 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14302 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14304 2014-04-22 Will Newton <will.newton@linaro.org>
14305 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14307 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14308 (__longjmp): Add longjmp and longjmp_target SystemTap
14310 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14311 (__sigsetjmp): Add setjmp SystemTap probe.
14313 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14315 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14316 match manual order.
14318 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14320 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14322 * sysdeps/powerpc/fpu/fenv_private.h
14323 (libc_feholdexcept_setroundl_ctx): Define to
14324 libc_feholdexcept_setround_ppc_ctx.
14325 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14326 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14327 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14328 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14330 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14332 * sysdeps/aarch64/math-tests.h: New file.
14334 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14336 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14339 Check and set bit_AVX2_Usable.
14340 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14342 (bit_AVX2): Likewise.
14343 (index_AVX2_Usable): Likewise.
14344 (CPUID_AVX2): Likewise.
14345 (HAS_AVX2): Likewise.
14347 2014-04-17 Will Newton <will.newton@linaro.org>
14349 * manual/setjmp.texi (System V contexts): Add note that
14350 calling setcontext on a context created by a call to a
14351 signal handler is undefined. Update text to note that
14352 setcontext from a signal handler is possible but not
14356 * stdlib/tst-setcontext.c: Include signal.h.
14357 (main): Check that the signal stack before and
14358 after swapcontext is the same.
14360 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14361 Re-implement to restore registers in user code and avoid
14362 rt_sigreturn system call.
14364 2014-04-17 Wilco <wdijkstr@arm.com>
14366 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14367 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14368 * math/test-fenv.c: Skip exception trap tests on targets which only
14369 support non-stop mode.
14371 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14372 Wilco Dijkstra <wilco.dijkstra@arm.com>
14374 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14375 (libc_feholdsetround_aarch64_ctx)
14376 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14377 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14378 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14379 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14380 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14381 (libc_feresetround_noexl_ctx): Define.
14383 2014-04-16 Richard Henderson <rth@redhat.com>
14385 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14387 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14390 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14391 const from the non-libc, non-ldso copy.
14393 * sysdeps/alpha/libm-test-ulps: Regenerate.
14395 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14396 Wilco Dijkstra <wilco.dijkstra@arm.com>
14398 * sysdeps/aarch64/fpu/math_private.h: New file.
14400 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14402 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14404 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14407 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14408 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14410 Intel MPX bound registers before _dl_profile_fixup.
14411 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14412 registers after _dl_profile_fixup. Save and restore bound
14413 registers bnd0/bnd1 when calling _dl_call_pltexit.
14414 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14415 (LR_BND_OFFSET): Likewise.
14416 (LRV_BND0_OFFSET): Likewise.
14417 (LRV_BND1_OFFSET): Likewise.
14419 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14421 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14423 * sysdeps/mach/hurd/i386/tls.h: ... here.
14424 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14425 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14428 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14430 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14432 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14434 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14436 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14439 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14440 * sysdeps/s390/configure: Regenerate.
14443 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14444 Set round-to-nearest internally to reduce error accumulation.
14446 2014-04-16 Alan Modra <amodra@gmail.com>
14450 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14451 * math/libm-test.inc (frexp_test_data): Add tests.
14452 * NEWS: Update fixed bug list.
14454 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14456 * benchtests/Makefile: Depend on libraries in build directory.
14457 (bench-math): Separate out math tests.
14458 (bench-pthread): Separate out pthread tests.
14459 (bench): Include math and pthread tests.
14461 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14464 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14465 _dl_debug_initialize.
14467 * configure.ac: Remove SELinux header check.
14468 * configure: Regenerate.
14469 * nscd/selinux.c (perms): Array of const char* to permission names.
14470 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14471 default policy. Call string_to_security_class and string_to_av_perm to
14472 translate strings. Enforce default policy and call avs_has_perm with
14473 results of translated strings.
14475 2014-04-13 David S. Miller <davem@davemloft.net>
14477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14479 2014-04-12 Allan McRae <allan@archlinux.org>
14482 * manual/string.texi (Collation Functions): Fix qsort argument
14484 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14486 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14488 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14489 Make the test a no-op if there are no exceptions defined.
14491 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14493 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14494 enable-hardcoded-path-in-tests
14496 2014-04-11 Will Newton <will.newton@linaro.org>
14498 * benchtests/Makefile (extra-objs): Add json-lib.o.
14499 (bench-func): Tidy up JSON output.
14500 * benchtests/bench-skeleton.c: Include json-lib.h.
14501 (main): Use JSON library functions to do output of
14503 * benchtests/bench-timing-type.c (main): Output the
14504 timing type simply, leaving formatting to the user.
14505 * benchtests/json-lib.c: New file.
14506 * benchtests/json-lib.h: Likewise.
14508 2014-04-11 Torvald Riegel <triegel@redhat.com>
14511 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14512 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14513 memory barriers. Add comments.
14514 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14515 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14516 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14517 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14518 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14519 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14521 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14523 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14524 * sysdeps/s390/s390-64/configure.ac: ... this ...
14525 * sysdeps/s390/configure.ac: ... to here.
14526 * sysdeps/s390/s390-32/configure: Delete file.
14527 * sysdeps/s390/s390-64/configure: Delete file.
14528 * sysdeps/s390/configure: Regenerate.
14530 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14532 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14534 2014-04-11 Will Newton <will.newton@linaro.org>
14536 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14537 to zero if it is not defined elsewhere. (mtrim): Test
14538 the value of MALLOC_DEBUG with #if rather than #ifdef.
14540 2014-04-10 Torvald Riegel <triegel@redhat.com>
14542 * benchtests/pthread_once-inputs: New file.
14543 * benchtests/pthread_once-source.c: New file.
14544 * benchtests/README: Update documentation.
14546 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14547 H.J. Lu <hongjiu.lu@intel.com>
14550 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14551 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14552 * sysdeps/x86_64/configure: Regenerated.
14553 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14555 (REGISTER_SAVE_RAX): Likewise.
14556 (REGISTER_SAVE_RCX): Likewise.
14557 (REGISTER_SAVE_RDX): Likewise.
14558 (REGISTER_SAVE_RSI): Likewise.
14559 (REGISTER_SAVE_RDI): Likewise.
14560 (REGISTER_SAVE_R8): Likewise.
14561 (REGISTER_SAVE_R9): Likewise.
14562 (REGISTER_SAVE_BND0): Likewise.
14563 (REGISTER_SAVE_BND1): Likewise.
14564 (REGISTER_SAVE_BND2): Likewise.
14565 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14566 bound registers when calling _dl_fixup.
14568 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14570 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14571 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14573 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14574 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14575 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14576 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14577 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14578 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14579 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14581 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14584 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14585 pathconf(_PC_NAME_MAX).
14587 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14589 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14590 Remove macro usage.
14591 (__PTHREAD_SPINS): Move definition to ...
14592 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14593 (__PTHREAD_SPINS): ... here.
14594 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14595 (__PTHREAD_SPIN): Likewise.
14596 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14597 (__PTHREAD_SPIN): Likewise.
14598 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14599 (__PTHREAD_SPIN): Likewise.
14600 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14601 (__PTHREAD_SPIN): Likewise.
14602 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14603 (__PTHREAD_SPIN): Likewise.
14604 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14605 (__PTHREAD_SPIN): Likewise.
14606 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14607 (__PTHREAD_SPIN): Likewise.
14608 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14609 (__PTHREAD_SPIN): Likewise.
14610 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14611 (__PTHREAD_SPIN): Likewise.
14612 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14613 (__PTHREAD_SPIN): Likewise.
14614 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14615 (__PTHREAD_SPIN): Likewise.
14616 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14617 (__PTHREAD_SPIN): Likewise.
14619 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14620 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14621 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14622 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14624 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14625 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14626 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14627 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14628 correct imply path.
14629 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14630 strlen symbol for non multi-arch builds.
14631 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14632 missing hidden_def and weak_alias.
14634 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14636 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14638 2014-04-07 Will Newton <will.newton@linaro.org>
14640 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14641 and contents. [!_LIBC] Remove #ifndef and contents.
14642 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14643 * string/memccpy.c (__memccpy): Use ANSI prototype.
14644 * string/memfrob.c (memfrob): Likewise.
14645 * string/strcoll.c (STRCOLL): Likewise.
14646 * string/strlen.c (strlen): Likewise.
14647 * string/strtok.c (STRTOK): Likewise.
14648 * string/strcat.c: Remove unused #include of memcopy.h.
14649 (strcat): Use ANSI prototype.
14650 * string/strchr.c: Remove unused #include of memcopy.h.
14651 (strchr): Use ANSI prototype.
14652 * string/strcmp.c: Remove unused #include of memcopy.h.
14653 (strcmp): Use ANSI prototype.
14654 * string/strcpy.c: Remove unused #include of memcopy.h.
14655 (strcpy): Use ANSI prototype.
14657 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14659 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14660 * config.make.in (config-extra-cppflags): Set it from
14661 libc_extra_cppflags.
14662 * configure.ac (libc_extra_cflags): Make it accumulate over
14663 configure fragments.
14664 (libc_extra_cppflags): New flag.
14665 * configure. Regenerate.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14667 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14668 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14673 result for FE_DOWNWARD rounding mode.
14674 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14678 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14680 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14681 in function argument name.
14683 2014-04-03 David Svoboda <svoboda@cert.org>
14686 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14689 2014-04-03 Roland McGrath <roland@hack.frob.com>
14691 * elf/dl-unmap-segments.h: New file.
14692 * sysdeps/generic/ldsodefs.h
14693 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14694 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14695 * elf/dl-fptr.c: Likewise.
14696 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14697 * sysdeps/aarch64/tlsdesc.c: Likewise.
14698 * sysdeps/arm/tlsdesc.c: Likewise.
14699 * sysdeps/i386/tlsdesc.c: Likewise.
14700 * sysdeps/tile/dl-runtime.c: Likewise.
14701 * sysdeps/x86_64/tlsdesc.c: Likewise.
14702 * elf/dl-load.h: New file.
14703 * elf/dl-load.c: Include it.
14704 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14705 Macros moved to dl-load.h.
14706 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14707 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14708 Use _dl_unmap_segments in place of __munmap.
14709 Break out segment-mapping loop into ...
14710 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14712 2014-04-03 Will Newton <will.newton@linaro.org>
14714 * elf/dl-lookup.c (do_lookup_x): Remove comment
14715 referring to nested function and move variable
14716 declarations down to before first use.
14718 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14722 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14724 * math/s_catanf.c (__catanf): Likewise.
14725 * math/s_catanh.c (__catanh): Likewise.
14726 * math/s_catanhf.c (__catanhf): Likewise.
14727 * math/s_catanhl.c (__catanhl): Likewise.
14728 * math/s_catanl.c (__catanl): Likewise.
14729 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14730 by positive zero when computing -Inf result.
14731 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14732 (catanh_test): Likewise.
14733 * sysdeps/i386/fpu/libm-test-ulps: Update.
14734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14737 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14738 instead of using underflowing value in computing result.
14739 * math/s_clog10.c (__clog10): Likewise.
14740 * math/s_clog10f.c (__clog10f): Likewise.
14741 * math/s_clog10l.c (__clog10l): Likewise.
14742 * math/s_clogf.c (__clogf): Likewise.
14743 * math/s_clogl.c (__clogl): Likewise.
14744 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14745 (clog10_test): Likewise.
14746 * sysdeps/i386/fpu/libm-test-ulps: Update.
14747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14749 2014-04-02 Alan Modra <amodra@gmail.com>
14752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14753 output when value is near a power of two. Use int64_t for lx and
14754 remove casts. Use decimal rather than hex exponent constants.
14755 Don't use long double multiplication when double will suffice.
14756 * math/libm-test.inc (nextafter_test_data): Add tests.
14757 * NEWS: Add 16739 and 16786 to bug list.
14759 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14761 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14763 2014-04-01 Will Newton <will.newton@linaro.org>
14765 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14766 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14768 2014-04-01 Florian Weimer <fweimer@redhat.com>
14771 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14772 * nptl/tst-setuid2.c: New file.
14773 * nptl/Makefile (xtests): Add tst-setuid2.
14775 2014-04-01 Alan Modra <amodra@gmail.com>
14778 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14780 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14784 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14785 set errno as appropriate.
14786 * math/w_scalbf.c (__scalbf): Likewise.
14787 * math/w_scalbl.c (__scalbl): Likewise.
14788 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14789 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14790 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14791 Add more NaN tests.
14794 * math/w_atan2.c: Include <errno.h>.
14795 (__atan2): Set errno for result underflowing to zero.
14796 * math/w_atan2f.c: Include <errno.h>.
14797 (__atan2f): Set errno for result underflowing to zero.
14798 * math/w_atan2l.c: Include <errno.h>.
14799 (__atan2l): Set errno for result underflowing to zero.
14800 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14802 * math/auto-libm-test-out: Regenerated.
14804 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14806 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14807 Encode instruction correctly in little endian.
14808 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14810 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14812 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14814 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14817 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14820 * sysdeps/unix/sysv/linux/kernel-features.h
14821 [__sparc__ && !__arch64__ && !__sparc_v9__]
14822 (__ASSUME_SET_ROBUST_LIST): Do not define.
14823 [__sparc__ && !__arch64__ && !__sparc_v9__]
14824 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14825 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14827 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14828 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14829 (__ASSUME_REQUEUE_PI): Likewise.
14830 (__ASSUME_SET_ROBUST_LIST): Likewise.
14831 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14832 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14834 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14835 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14837 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14839 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14841 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14842 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14844 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14845 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14849 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14850 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14851 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14853 2014-03-31 Will Newton <will.newton@linaro.org>
14855 * benchtests/Makefile (bench): Add ffs and ffsll to list
14857 * benchtests/ffs-inputs: New file.
14858 * benchtests/ffsll-inputs: Likewise.
14860 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14863 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14864 too large before casting to int.
14865 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14866 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14867 * math/libm-test.inc (scalb_test_data): Add more tests.
14869 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14871 * benchtests/Makefile (DETAILED_OPT): New make option.
14872 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14874 * benchtests/bench-skeleton.c: Include stdbool.h.
14875 (main): Store and print timings per input.
14876 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14877 member to each argument value.
14878 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14879 (_print_arg_data): Initialize per-input timing to 0.
14881 * benchtests/Makefile (timing-type): New binary.
14882 (bench-clean): Also remove bench-timing-type.
14883 (bench): New target for timing-type.
14884 (bench-func): Print output in JSON format.
14885 * benchtests/bench-skeleton.c (main): Print output in JSON
14887 * benchtests/bench-timing-type.c: New file.
14888 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14889 (TIMING_PRINT_STATS): Remove.
14890 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14893 * benchtests/bench-modf.c: Remove.
14894 * benchtests/modf-inputs: New inputs file.
14896 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14899 * math/s_clog10.c (M_PI_LOG10E): New macro.
14900 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14901 imaginary parts are 0.
14902 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14903 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14904 imaginary parts are 0.
14905 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14906 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14907 imaginary parts are 0.
14908 * math/libm-test.inc (clog10_test_data): Update expected results
14909 for when real and imaginary parts are 0.
14911 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14913 * elf/dl-load.c: Finish conversion of __builtin_expect into
14914 __glibc_{un}likely.
14916 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14919 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14920 1+x for argument with exponent below -67.
14921 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14923 * math/auto-libm-test-in: Add more tests of exp.
14924 * math/auto-libm-test-out: Regenerated.
14926 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14929 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14930 (nscd_getnetgrent): Use it.
14933 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14936 2014-03-27 Andi Kleen <ak@linux.intel.com>
14938 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14939 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14940 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14941 (lll_robust_unlock): Remove out of line section. Use cfi
14943 (LLL_STUB_UNWIND_INFO*): Remove.
14944 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14945 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14946 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14947 (lll_robust_unlock): Remove out of line section. Use cfi
14949 (LLL_STUB_UNWIND_INFO*): Remove.
14951 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14954 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14957 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14959 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14961 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14964 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14966 * math/test-fenv-preserve.c: New file.
14967 * math/Makefile (tests): Add test-fenv-preserve.
14969 2014-03-26 Will Newton <will.newton@linaro.org>
14971 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14973 2014-03-25 Roland McGrath <roland@hack.frob.com>
14975 * scripts/versionlist.awk: Partition the version sets and emit all
14976 GLIBC_* (sorted) before all others (sorted).
14978 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14980 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14981 GLIBC_2.2.5 version.
14983 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14985 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14988 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14993 2014-03-25 Andreas Schwab <schwab@suse.de>
14995 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14996 label to be used after in6ailist is initialized.
14998 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15000 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15001 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15003 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15007 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15009 (fp_formats): Update initializers.
15010 (init_fp_formats): Initialize new field.
15011 (output_for_one_input_case): Allow underflow for results up to
15013 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15014 * math/auto-libm-test-in: Don't mark some underflows from asin and
15016 * math/auto-libm-test-out: Regenerated.
15017 * sysdeps/i386/fpu/libm-test-ulps: Update.
15018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15020 2014-03-25 Andreas Schwab <schwab@suse.de>
15022 * libio/Makefile (tst-ftell-partial-wide-ENV)
15023 (tst-ftell-active-handler-ENV): Define.
15025 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15027 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15029 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15031 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15033 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15035 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15036 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15037 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15039 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15042 * elf/dl-load.c (open_verify): Add mode parameter.
15043 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15044 (open_path): Change from boolean 'secure' to complete flag 'mode'
15045 (_dl_map_object): Adjust.
15046 * elf/Makefile (tests): Add tst-dlopen-aout.
15047 * elf/tst-dlopen-aout.c: New test.
15049 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15052 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15053 (struct stat): Rename member pad0 to __glibc_reserved0.
15056 * sysdeps/s390/s390-32/bits/wordsize.h
15057 (__WORDSIZE32_SIZE_ULONG): New define.
15058 * sysdeps/s390/s390-64/bits/wordsize.h
15059 (__WORDSIZE32_SIZE_ULONG): Likewise.
15060 * sysdeps/generic/stdint.h (SIZE_MAX):
15061 Define as UL if __WORDSIZE32_SIZE_ULONG.
15064 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15065 (__glibc_reserved0): New variable.
15066 (sa_flags): Change type to int.
15068 * posix/Makefile (before-compile): Use += before-compile instead
15071 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15072 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15074 2014-03-20 Andreas Schwab <schwab@suse.de>
15077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15078 non-matching result from nscd.
15080 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15082 * scripts/bench.py: Moved to ...
15083 * benchtests/scripts/bench.py: ... here.
15084 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15086 2014-03-24 Andreas Schwab <schwab@suse.de>
15089 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15090 alloca_account and account alloca use for struct in6ailist.
15092 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15095 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15096 rounding mode to recompute results that overflow to infinity or
15098 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15100 * math/auto-libm-test-out: Regenerated.
15101 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15102 (ccosh_test): Likewise.
15103 (csin_test_data): Use plus_oflow.
15104 (csin_test): Use ALL_RM_TEST.
15105 (csinh_test_data): Use plus_oflow.
15106 (csinh_test): Use ALL_RM_TEST.
15107 * sysdeps/i386/fpu/libm-test-ulps: Update.
15108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15110 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15112 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15113 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15114 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15117 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15118 when x - 1 is zero.
15119 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15120 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15121 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15122 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15124 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15125 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15127 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15128 * sysdeps/i386/fpu/libm-test-ulps: Update.
15129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15131 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15133 * scripts/bench.pl: Remove file.
15134 * scripts/bench.py: New benchmark script.
15135 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15136 * benchtests/README: Mention python dependency.
15137 * scripts/pylintrc: New file.
15138 * scripts/pylint: New file.
15140 * bits/mathdef.h: Use #ifdef instead of #if.
15141 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15142 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15143 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15144 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15145 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15146 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15148 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15149 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15151 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15153 and strpbrk-ppc64 objects.
15154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15155 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15156 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15157 multiarch strpbrk for POWER7.
15158 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15159 multiarch strpbrk for PPC64.
15160 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15162 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15163 strpbrk for POWER7.
15165 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15167 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15168 (atan_test): Likewise.
15169 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15170 (atanh_test): Use ALL_RM_TEST.
15171 (atan2_test_data): Likewise.
15172 (cabs_test): Likewise.
15173 (cacosh_test): Likewise.
15174 (carg_test): Likewise.
15175 (casin_test): Likewise.
15176 (casinh_test): Likewise.
15177 (cbrt_test): Likewise.
15178 (csqrt_test): Likewise.
15179 (erf_test): Likewise.
15180 (erfc_test): Likewise.
15181 (pow10_test): Likewise.
15182 (exp2_test): Likewise.
15183 (hypot_test): Likewise.
15184 (j0_test): Likewise.
15185 (j1_test): Likewise.
15186 (lgamma_test): Likewise.
15187 (gamma_test): Likewise.
15188 (sincos_test): Likewise.
15189 (tanh_test): Likewise.
15190 (y0_test): Likewise.
15191 (y1_test): Likewise.
15192 * sysdeps/i386/fpu/libm-test-ulps: Update.
15193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15195 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15197 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15199 and strcspn-ppc64 objects.
15200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15201 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15202 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15203 multiarch strcspn for POWER7.
15204 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15205 multiarch strcspn for PPC64.
15206 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15208 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15209 strcspn for POWER7.
15211 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15213 * math/gen-libm-test.pl (generate_testfile): Expect only function
15214 name as argument to AUTO_TESTS_* and pass results for all rounding
15215 modes to parse_args.
15216 (parse_auto_input): Separate inputs of automatic tests from
15217 outputs before storing in %auto_tests.
15218 * math/libm-test.inc (acos_test_data): Update call to
15220 (acos_test): Use ALL_RM_TEST.
15221 (acos_tonearest_test_data): Remove.
15222 (acos_test_tonearest): Likewise.
15223 (acos_towardzero_test_data): Likewise.
15224 (acos_test_towardzero): Likewise.
15225 (acos_downward_test_data): Likewise.
15226 (acos_test_downward): Likewise.
15227 (acos_upward_test_data): Likewise.
15228 (acos_test_upward): Likewise.
15229 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15230 (asin_test_data): Likewise.
15231 (asin_test): Use ALL_RM_TEST.
15232 (asin_tonearest_test_data): Remove.
15233 (asin_test_tonearest): Likewise.
15234 (asin_towardzero_test_data): Likewise.
15235 (asin_test_towardzero): Likewise.
15236 (asin_downward_test_data): Likewise.
15237 (asin_test_downward): Likewise.
15238 (asin_upward_test_data): Likewise.
15239 (asin_test_upward): Likewise.
15240 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15241 (atan_test_data): Likewise.
15242 (atanh_test_data): Likewise.
15243 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15244 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15245 (carg_test_data): Likewise.
15246 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15247 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15248 (ccosh_test_data): Likewise.
15249 (cexp_test_data): Likewise.
15250 (clog_test_data): Likewise.
15251 (clog10_test_data): Likewise.
15252 (cos_test_data): Update call to AUTO_TESTS_f_f.
15253 (cos_test): Use ALL_RM_TEST.
15254 (cos_tonearest_test_data): Remove.
15255 (cos_test_tonearest): Likewise.
15256 (cos_towardzero_test_data): Likewise.
15257 (cos_test_towardzero): Likewise.
15258 (cos_downward_test_data): Likewise.
15259 (cos_test_downward): Likewise.
15260 (cos_upward_test_data): Likewise.
15261 (cos_test_upward): Likewise.
15262 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15263 (cosh_test): Use ALL_RM_TEST.
15264 (cosh_tonearest_test_data): Remove.
15265 (cosh_test_tonearest): Likewise.
15266 (cosh_towardzero_test_data): Likewise.
15267 (cosh_test_towardzero): Likewise.
15268 (cosh_downward_test_data): Likewise.
15269 (cosh_test_downward): Likewise.
15270 (cosh_upward_test_data): Likewise.
15271 (cosh_test_upward): Likewise.
15272 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15273 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15274 (ctan_test_data): Likewise.
15275 (ctan_test): Use ALL_RM_TEST.
15276 (ctan_tonearest_test_data): Remove.
15277 (ctan_test_tonearest): Likewise.
15278 (ctan_towardzero_test_data): Likewise.
15279 (ctan_test_towardzero): Likewise.
15280 (ctan_downward_test_data): Likewise.
15281 (ctan_test_downward): Likewise.
15282 (ctan_upward_test_data): Likewise.
15283 (ctan_test_upward): Likewise.
15284 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15285 (ctanh_test): Use ALL_RM_TEST.
15286 (ctanh_tonearest_test_data): Remove.
15287 (ctanh_test_tonearest): Likewise.
15288 (ctanh_towardzero_test_data): Likewise.
15289 (ctanh_test_towardzero): Likewise.
15290 (ctanh_downward_test_data): Likewise.
15291 (ctanh_test_downward): Likewise.
15292 (ctanh_upward_test_data): Likewise.
15293 (ctanh_test_upward): Likewise.
15294 (erf_test_data): Update call to AUTO_TESTS_f_f.
15295 (erfc_test_data): Likewise.
15296 (exp_test_data): Likewise.
15297 (exp_test): Use ALL_RM_TEST.
15298 (exp_tonearest_test_data): Remove.
15299 (exp_test_tonearest): Likewise.
15300 (exp_towardzero_test_data): Likewise.
15301 (exp_test_towardzero): Likewise.
15302 (exp_downward_test_data): Likewise.
15303 (exp_test_downward): Likewise.
15304 (exp_upward_test_data): Likewise.
15305 (exp_test_upward): Likewise.
15306 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15307 (exp10_test): Use ALL_RM_TEST.
15308 (exp10_tonearest_test_data): Remove.
15309 (exp10_test_tonearest): Likewise.
15310 (exp10_towardzero_test_data): Likewise.
15311 (exp10_test_towardzero): Likewise.
15312 (exp10_downward_test_data): Likewise.
15313 (exp10_test_downward): Likewise.
15314 (exp10_upward_test_data): Likewise.
15315 (exp10_test_upward): Likewise.
15316 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15317 (expm1_test_data): Likewise.
15318 (expm1_test): Use ALL_RM_TEST.
15319 (expm1_tonearest_test_data): Remove.
15320 (expm1_test_tonearest): Likewise.
15321 (expm1_towardzero_test_data): Likewise.
15322 (expm1_test_towardzero): Likewise.
15323 (expm1_downward_test_data): Likewise.
15324 (expm1_test_downward): Likewise.
15325 (expm1_upward_test_data): Likewise.
15326 (expm1_test_upward): Likewise.
15327 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15328 (fma_test): Use ALL_RM_TEST.
15329 (fma_towardzero_test_data): Remove.
15330 (fma_test_towardzero): Likewise.
15331 (fma_downward_test_data): Likewise.
15332 (fma_test_downward): Likewise.
15333 (fma_upward_test_data): Likewise.
15334 (fma_test_upward): Likewise.
15335 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15336 (j0_test_data): Update call to AUTO_TESTS_f_f.
15337 (j1_test_data): Likewise.
15338 (jn_test_data): Update call to AUTO_TESTS_if_f.
15339 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15340 (log_test_data): Update call to AUTO_TESTS_f_f.
15341 (log10_test_data): Likewise.
15342 (log1p_test_data): Likewise.
15343 (log2_test_data): Likewise.
15344 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15345 (pow_tonearest_test_data): Likewise.
15346 (sin_test_data): Update call to AUTO_TESTS_f_f.
15347 (sin_test): Use ALL_RM_TEST.
15348 (sin_tonearest_test_data): Remove.
15349 (sin_test_tonearest): Likewise.
15350 (sin_towardzero_test_data): Likewise.
15351 (sin_test_towardzero): Likewise.
15352 (sin_downward_test_data): Likewise.
15353 (sin_test_downward): Likewise.
15354 (sin_upward_test_data): Likewise.
15355 (sin_test_upward): Likewise.
15356 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15357 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15358 (sinh_test): Use ALL_RM_TEST.
15359 (sinh_tonearest_test_data): Remove.
15360 (sinh_test_tonearest): Likewise.
15361 (sinh_towardzero_test_data): Likewise.
15362 (sinh_test_towardzero): Likewise.
15363 (sinh_downward_test_data): Likewise.
15364 (sinh_test_downward): Likewise.
15365 (sinh_upward_test_data): Likewise.
15366 (sinh_test_upward): Likewise.
15367 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15368 (sqrt_test): Use ALL_RM_TEST.
15369 (sqrt_tonearest_test_data): Remove.
15370 (sqrt_test_tonearest): Likewise.
15371 (sqrt_towardzero_test_data): Likewise.
15372 (sqrt_test_towardzero): Likewise.
15373 (sqrt_downward_test_data): Likewise.
15374 (sqrt_test_downward): Likewise.
15375 (sqrt_upward_test_data): Likewise.
15376 (sqrt_test_upward): Likewise.
15377 (tan_test_data): Update call to AUTO_TESTS_f_f.
15378 (tan_test): Use ALL_RM_TEST.
15379 (tan_tonearest_test_data): Remove.
15380 (tan_test_tonearest): Likewise.
15381 (tan_towardzero_test_data): Likewise.
15382 (tan_test_towardzero): Likewise.
15383 (tan_downward_test_data): Likewise.
15384 (tan_test_downward): Likewise.
15385 (tan_upward_test_data): Likewise.
15386 (tan_test_upward): Likewise.
15387 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15388 (tgamma_test_data): Likewise.
15389 (y0_test_data): Likewise.
15390 (y1_test_data): Likewise.
15391 (yn_test_data): Update call to AUTO_TESTS_if_f.
15392 (main): Do not call removed functions.
15394 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15396 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15397 (ldexp_test_data): Remove.
15398 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15400 (scalb_test): Use ALL_RM_TEST.
15402 2014-03-19 Andreas Schwab <schwab@suse.de>
15404 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15406 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15410 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15411 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15413 (__ASSUME_PREADV): Undefine.
15414 (__ASSUME_PWRITEV): Likewise.
15416 2014-03-18 Roland McGrath <roland@hack.frob.com>
15418 * bits/mman-linux.h: Add comment about non-Linux use.
15419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15420 bits/mman-linux.h resting place.
15422 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15423 * bits/mman-linux.h: ... here.
15425 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15427 * conform/conformtest.pl: Add standard definition when calling C
15428 preprocessor on data files.
15429 (checknamespace): Remove unused variable.
15431 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15433 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15434 minus_oflow, plus_uflow and minus_uflow in expected results.
15435 * math/libm-test.inc (scalbn_test_data): Add more tests of
15436 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15438 (scalbn_test): Use ALL_RM_TEST.
15439 (scalbln_test_data): Add more tests of negative arguments. Use
15440 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15441 (scalbln_test): Use ALL_RM_TEST.
15443 2014-03-18 Roland McGrath <roland@hack.frob.com>
15445 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15447 2014-03-18 Will Newton <will.newton@linaro.org>
15449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15450 inaccurate comment.
15452 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15454 * Makerules [!subdir] (check-abi): Exit with error status if a
15457 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15459 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15460 for rint. Include results for all rounding modes.
15461 (nearbyint_test): Use ALL_RM_TEST.
15462 (rint_test_data): Include all tests used for nearbyint.
15464 2014-03-17 Will Newton <will.newton@linaro.org>
15466 * nptl/sysdeps/pthread/pthread.h: Revert previous
15469 * sysdeps/generic/ldsodefs.h: Revert previous
15472 * libio/genops.c: Revert previous change.
15473 * libio/libioP.h: Likewise.
15474 * stdio-common/vfprintf.c: Likewise.
15476 * sysdeps/generic/math_private.h: Revert previous
15479 * sysdeps/generic/math_private.h: Check whether
15480 HAVE_RM_CTX is defined with #ifdef rather
15483 * argp/argp-fmtstream.h: Check whether
15484 __STRICT_ANSI__ is defined with #ifdef rather
15486 * argp/argp.h: Likewise.
15488 * libio/genops.c: Check whether
15489 _IO_JUMPS_OFFSET is defined with #ifdef rather
15491 * libio/libioP.h: Likewise.
15492 * stdio-common/vfprintf.c: Likewise.
15494 * sysdeps/generic/ldsodefs.h: Check whether
15495 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15498 * nptl/sysdeps/pthread/pthread.h: Check
15499 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15502 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15504 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15506 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15510 * libio/fileops.c (_IO_file_open): Seek to end of file but
15511 don't cache the offset.
15512 (get_file_offset): Remove function.
15513 (do_ftell): Use cached offset when available.
15514 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15515 don't cache the offset.
15516 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15518 (do_one_test): Call it.
15519 (do_ftell_test): Fix up expected old offset for a+ mode.
15520 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15523 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15524 up test status with function return status.
15525 (do_write_test): Likewise.
15526 (do_append_test): Likewise.
15528 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15529 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15532 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15534 * math/gen-libm-test.pl (parse_args): Handle results specified for
15535 each rounding mode separately.
15536 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15537 tests and results from lrint_tonearest_test_data,
15538 lrint_towardzero_test_data, lrint_downward_test_data and
15539 lrint_upward_test_data.
15540 (lrint_test): Use ALL_RM_TEST.
15541 (lrint_tonearest_test_data): Remove.
15542 (lrint_test_tonearest): Likewise.
15543 (lrint_towardzero_test_data): Likewise.
15544 (lrint_test_towardzero): Likewise.
15545 (lrint_downward_test_data): Likewise.
15546 (lrint_test_downward): Likewise.
15547 (lrint_upward_test_data): Likewise.
15548 (lrint_test_upward): Likewise.
15549 (llrint_test_data): Merge in per-rounding-mode tests and results
15550 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15551 llrint_downward_test_data and llrint_upward_test_data.
15552 (llrint_test): Use ALL_RM_TEST.
15553 (llrint_tonearest_test_data): Remove.
15554 (llrint_test_tonearest): Likewise.
15555 (llrint_towardzero_test_data): Likewise.
15556 (llrint_test_towardzero): Likewise.
15557 (llrint_downward_test_data): Likewise.
15558 (llrint_test_downward): Likewise.
15559 (llrint_upward_test_data): Likewise.
15560 (llrint_test_upward): Likewise.
15561 (rint_test_data): Merge in per-rounding-mode tests and results
15562 from rint_tonearest_test_data, rint_towardzero_test_data,
15563 rint_downward_test_data and rint_upward_test_data. Add
15564 per-rounding-mode results for tests not in those arrays.
15565 (rint_test): Use ALL_RM_TEST.
15566 (rint_tonearest_test_data): Remove.
15567 (rint_test_tonearest): Likewise.
15568 (rint_towardzero_test_data): Likewise.
15569 (rint_test_towardzero): Likewise.
15570 (rint_downward_test_data): Likewise.
15571 (rint_test_downward): Likewise.
15572 (rint_upward_test_data): Likewise.
15573 (rint_test_upward): Likewise.
15574 (main): Don't call removed functions.
15576 2014-03-14 Roland McGrath <roland@hack.frob.com>
15578 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15579 "Compiled on ..." crapola. It is anti-useful.
15581 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15583 * scripts/evaluate-test.sh: Handle fourth argument to determine
15584 whether test run should stop on failure.
15585 * Makeconfig (stop-on-test-failure): New variable.
15586 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15587 $(stop-on-test-failure).
15588 * Makefile (tests): Give a summary of results from testing and
15589 exit with failure status if they include an ERROR or FAIL.
15590 (xtests): Likewise.
15591 * manual/install.texi (Configuring and compiling): Mention
15592 stop-on-test-failure=y.
15593 * INSTALL: Regenerated.
15595 2014-03-14 Roland McGrath <roland@hack.frob.com>
15597 * scripts/versionlist.awk: New file.
15598 * Makerules [$(build-shared) = yes]
15599 (postclean-generated): Add Versions.def, not Versions.def.v and
15601 ($(common-objpfx)Versions.def.v.i): Target removed.
15602 ($(common-objpfx)Versions.def): New target.
15603 ($(common-objpfx)Versions.all): Depend on that rather that
15604 $(common-objpfx)Versions.def.v.
15605 * Versions.def: File removed.
15607 * Makeconfig (+gccwarn): Add -Wundef.
15608 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15609 a dl-sysdep.h breaking its contract.
15610 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15611 * include/stackinfo.h: New file.
15612 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15613 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15614 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15615 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15616 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15617 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15618 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15619 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15620 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15621 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15622 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15623 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15624 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15625 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15626 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15628 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15631 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15633 * math/libm-test.inc (round_test_data): Add more tests.
15636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15638 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15641 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15643 * math/libm-test.inc (ceil_test_data): Add more tests.
15645 * math/libm-test.inc (trunc_test_data): Add more tests related to
15648 2014-03-14 Roland McGrath <roland@hack.frob.com>
15650 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15651 with #if rather than #ifdef.
15652 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15654 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15656 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15657 first. Disable AVX-512 GCC support if assembler doesn't support
15659 * sysdeps/x86_64/configure: Regenerated.
15661 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15663 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15664 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15665 (__old_pthread_attr_setstack): Likewise.
15666 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15667 [!_STACK_GROWS_DOWN]: Likewise.
15669 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15671 * config.make.in (have-bash2): Delete.
15672 * configure.ac (libc_cv_have_bash2): Delete.
15673 * configure: Regenerate.
15674 * elf/Makefile (common-ldd-rewrite): Rename to ...
15675 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15676 (sh-ldd-rewrite): Delete.
15677 (bash-ldd-rewrite): Delete.
15678 (have-bash2): Delete checks.
15679 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15682 * config.make.in (have-ksh): Delete.
15684 * configure.ac (libc_cv_have_ksh): Delete.
15685 * configure: Regenerate.
15687 * elf/Makefile: Delete $(have-ksh) check.
15688 ($(objpfx)sotruss): Change KSH to BASH.
15689 * elf/sotruss.ksh: Rename to ...
15690 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15691 function style to match POSIX. Drop ksh vim mode setting.
15693 * manual/time.texi (Specifying the Time Zone with TZ): Change
15694 Tuesday to Thursday.
15696 * debug/tst-longjmp_chk2.c: Update header comment.
15697 (stackoverflow_handler): Add comment. Call assert on pass value.
15699 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15702 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15703 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15704 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15705 (La_x86_64_vector): Add zmm.
15706 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15707 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15708 ($(objpfx)tst-audit10): New target.
15709 ($(objpfx)tst-audit10.out): Likewise.
15710 (tst-audit10-ENV): New.
15711 (AVX512-CFLAGS): Likewise.
15712 (CFLAGS-tst-audit10.c): Likewise.
15713 (CFLAGS-tst-auditmod10a.c): Likewise.
15714 (CFLAGS-tst-auditmod10b.c): Likewise.
15715 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15716 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15717 * sysdeps/x86_64/configure: Regenerated.
15718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15719 AVX-512 zmm register support.
15720 (_dl_x86_64_save_sse): Likewise.
15721 (_dl_x86_64_restore_sse): Likewise.
15722 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15723 size vector registers.
15724 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15725 (ZMM_SIZE): Likewise.
15726 * sysdeps/x86_64/tst-audit10.c: New file.
15727 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15728 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15730 2014-03-13 Roland McGrath <roland@hack.frob.com>
15732 * configure.ac (HAVE_EHDR_START): New check.
15733 * configure: Regenerated.
15734 * config.h.in (HAVE_EHDR_START): New #undef.
15735 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15736 assuming the lowest-addressed segment maps the start of the file.
15738 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15740 * INSTALL: Regenerated.
15742 2014-03-13 Will Newton <will.newton@linaro.org>
15744 * manual/setjmp.texi (System V contexts): Improve
15745 clarity and grammar of documentation.
15747 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15750 * elf/Makefile (tests): Add tst-pie2.
15751 (tests-pie): Add tst-pie2.
15752 * elf/tst-pie2.c: New file.
15753 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15755 * elf/rtld.c (map_doit): Load executable as lt_executable.
15756 (dl_main): Likewise.
15758 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15762 (__ASSUME_PSELECT): Undefine.
15764 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15767 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15768 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15770 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15771 selector for static builds.
15773 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15776 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15779 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15781 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15782 IFUNC selector for static builds.
15784 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15786 * sysdeps/mips/math_private.h [__mips_hard_float]
15787 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15788 libc_feresetround_mips_ctx.
15789 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15790 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15791 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15794 * math/s_nextafter.c (__nextafter): Do not return value from
15795 overflowing computation.
15796 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15797 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15798 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15800 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15802 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15803 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15805 2014-03-11 Roland McGrath <roland@hack.frob.com>
15807 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15808 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15809 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15810 the new mov targetting sp.
15812 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15815 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15816 Define it for static builds as well.
15817 (NO_BZERO_IMPL): Likewise.
15819 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15821 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15822 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15823 multiarch strspn for PPC64.
15824 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15825 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15827 (__libc_ifunc_impl_list): Likewise.
15828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15829 multiarch optimizations
15830 * string/strspn.c (strspn): Using macro to redefine symbol name.
15832 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15833 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15835 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15836 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15837 multiarch strncat for PPC64.
15838 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15839 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15841 (__libc_ifunc_impl_list): Likewise.
15842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15843 multiarch optimizations
15845 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15848 * nscd/nscd.service: Make service type forking.
15850 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15852 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15853 sign in non default rounding modes.
15854 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15856 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15858 * math/libm-test.inc (ALL_RM_TEST): New macro.
15859 (ceil_test): Use ALL_RM_TEST.
15860 (cimag_test): Likewise.
15861 (conj_test): Likewise.
15862 (copysign_test): Likewise.
15863 (cproj_test): Likewise.
15864 (creal_test): Likewise.
15865 (fabs_test): Likewise.
15866 (floor_test): Likewise.
15867 (fmax_test): Likewise.
15868 (fmin_test): Likewise.
15869 (fmod_test): Likewise.
15870 (fpclassify_test): Likewise.
15871 (frexp_test): Likewise.
15872 (ilogb_test): Likewise.
15873 (isfinite_test): Likewise.
15874 (finite_test): Likewise.
15875 (isgreater_test): Likewise.
15876 (isgreaterequal_test): Likewise.
15877 (isinf_test): Likewise.
15878 (isless_test): Likewise.
15879 (islessequal_test): Likewise.
15880 (islessgreater_test): Likewise.
15881 (isnan_test): Likewise.
15882 (isnormal_test): Likewise.
15883 (issignaling_test): Likewise.
15884 (isunordered_test): Likewise.
15885 (logb_test): Likewise.
15886 (logb_downward_test_data): Remove.
15887 (logb_test_downward): Likewise.
15888 (lround_test): Use ALL_RM_TEST.
15889 (llround_test): Likewise.
15890 (modf_test): Likewise.
15891 (nexttoward_test): Likewise.
15892 (remainder_test): Likewise.
15893 (drem_test): Likewise.
15894 (remainder_tonearest_test_data): Likewise.
15895 (remainder_test_tonearest): Likewise.
15896 (drem_test_tonearest): Likewise.
15897 (remainder_towardzero_test_data): Likewise.
15898 (remainder_test_towardzero): Likewise.
15899 (drem_test_towardzero): Likewise.
15900 (remainder_downward_test_data): Likewise.
15901 (remainder_test_downward): Likewise.
15902 (drem_test_downward): Likewise.
15903 (remainder_upward_test_data): Likewise.
15904 (remainder_test_upward): Likewise.
15905 (drem_test_upward): Likewise.
15906 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15907 (round_test): Use ALL_RM_TEST.
15908 (signbit_test): Likewise.
15909 (trunc_test): Likewise.
15910 (significand_test): Likewise.
15911 (main): Don't call removed functions.
15913 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15916 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15917 || __USE_XOPEN2K8].
15918 (ILL_ILLOPN): Likewise.
15919 (ILL_ILLADR): Likewise.
15920 (ILL_ILLTRP): Likewise.
15921 (ILL_PRVOPC): Likewise.
15922 (ILL_PRVREG): Likewise.
15923 (ILL_COPROC): Likewise.
15924 (ILL_BADSTK): Likewise.
15925 (FPE_INTDIV): Likewise.
15926 (FPE_INTOVF): Likewise.
15927 (FPE_FLTDIV): Likewise.
15928 (FPE_FLTOVF): Likewise.
15929 (FPE_FLTUND): Likewise.
15930 (FPE_FLTRES): Likewise.
15931 (FPE_FLTINV): Likewise.
15932 (FPE_FLTSUB): Likewise.
15933 (SEGV_MAPERR): Likewise.
15934 (SEGV_ACCERR): Likewise.
15935 (BUS_ADRALN): Likewise.
15936 (BUS_ADRERR): Likewise.
15937 (BUS_OBJERR): Likewise.
15938 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15939 (TRAP_TRACE): Likewise.
15940 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15942 (CLD_KILLED): Likewise.
15943 (CLD_DUMPED): Likewise.
15944 (CLD_TRAPPED): Likewise.
15945 (CLD_STOPPED): Likewise.
15946 (CLD_CONTINUED): Likewise.
15947 (POLL_IN): Likewise.
15948 (POLL_OUT): Likewise.
15949 (POLL_MSG): Likewise.
15950 (POLL_ERR): Likewise.
15951 (POLL_PRI): Likewise.
15952 (POLL_HUP): Likewise.
15953 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15955 (ILL_ILLOPN): Likewise.
15956 (ILL_ILLADR): Likewise.
15957 (ILL_ILLTRP): Likewise.
15958 (ILL_PRVOPC): Likewise.
15959 (ILL_PRVREG): Likewise.
15960 (ILL_COPROC): Likewise.
15961 (ILL_BADSTK): Likewise.
15962 (FPE_INTDIV): Likewise.
15963 (FPE_INTOVF): Likewise.
15964 (FPE_FLTDIV): Likewise.
15965 (FPE_FLTOVF): Likewise.
15966 (FPE_FLTUND): Likewise.
15967 (FPE_FLTRES): Likewise.
15968 (FPE_FLTINV): Likewise.
15969 (FPE_FLTSUB): Likewise.
15970 (SEGV_MAPERR): Likewise.
15971 (SEGV_ACCERR): Likewise.
15972 (BUS_ADRALN): Likewise.
15973 (BUS_ADRERR): Likewise.
15974 (BUS_OBJERR): Likewise.
15975 (BUS_MCEERR_AR): Likewise.
15976 (BUS_MCEERR_AO): Likewise.
15977 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15978 (TRAP_TRACE): Likewise.
15979 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15981 (CLD_KILLED): Likewise.
15982 (CLD_DUMPED): Likewise.
15983 (CLD_TRAPPED): Likewise.
15984 (CLD_STOPPED): Likewise.
15985 (CLD_CONTINUED): Likewise.
15986 (POLL_IN): Likewise.
15987 (POLL_OUT): Likewise.
15988 (POLL_MSG): Likewise.
15989 (POLL_ERR): Likewise.
15990 (POLL_PRI): Likewise.
15991 (POLL_HUP): Likewise.
15992 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15993 (ILL_ILLOPN): Likewise.
15994 (ILL_ILLADR): Likewise.
15995 (ILL_ILLTRP): Likewise.
15996 (ILL_PRVOPC): Likewise.
15997 (ILL_PRVREG): Likewise.
15998 (ILL_COPROC): Likewise.
15999 (ILL_BADSTK): Likewise.
16000 (FPE_INTDIV): Likewise.
16001 (FPE_INTOVF): Likewise.
16002 (FPE_FLTDIV): Likewise.
16003 (FPE_FLTOVF): Likewise.
16004 (FPE_FLTUND): Likewise.
16005 (FPE_FLTRES): Likewise.
16006 (FPE_FLTINV): Likewise.
16007 (FPE_FLTSUB): Likewise.
16008 (SEGV_MAPERR): Likewise.
16009 (SEGV_ACCERR): Likewise.
16010 (BUS_ADRALN): Likewise.
16011 (BUS_ADRERR): Likewise.
16012 (BUS_OBJERR): Likewise.
16013 (BUS_MCEERR_AR): Likewise.
16014 (BUS_MCEERR_AO): Likewise.
16015 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16016 (TRAP_TRACE): Likewise.
16017 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16019 (CLD_KILLED): Likewise.
16020 (CLD_DUMPED): Likewise.
16021 (CLD_TRAPPED): Likewise.
16022 (CLD_STOPPED): Likewise.
16023 (CLD_CONTINUED): Likewise.
16024 (POLL_IN): Likewise.
16025 (POLL_OUT): Likewise.
16026 (POLL_MSG): Likewise.
16027 (POLL_ERR): Likewise.
16028 (POLL_PRI): Likewise.
16029 (POLL_HUP): Likewise.
16030 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16032 (ILL_ILLOPN): Likewise.
16033 (ILL_ILLADR): Likewise.
16034 (ILL_ILLTRP): Likewise.
16035 (ILL_PRVOPC): Likewise.
16036 (ILL_PRVREG): Likewise.
16037 (ILL_COPROC): Likewise.
16038 (ILL_BADSTK): Likewise.
16039 (ILL_BADIADDR): Likewise.
16040 (ILL_BREAK): Likewise.
16041 (FPE_INTDIV): Likewise.
16042 (FPE_INTOVF): Likewise.
16043 (FPE_FLTDIV): Likewise.
16044 (FPE_FLTOVF): Likewise.
16045 (FPE_FLTUND): Likewise.
16046 (FPE_FLTRES): Likewise.
16047 (FPE_FLTINV): Likewise.
16048 (FPE_FLTSUB): Likewise.
16049 (FPE_DECOVF): Likewise.
16050 (FPE_DECDIV): Likewise.
16051 (FPE_DECERR): Likewise.
16052 (FPE_INVASC): Likewise.
16053 (FPE_INVDEC): Likewise.
16054 (SEGV_MAPERR): Likewise.
16055 (SEGV_ACCERR): Likewise.
16056 (SEGV_PSTKOVF): Likewise.
16057 (BUS_ADRALN): Likewise.
16058 (BUS_ADRERR): Likewise.
16059 (BUS_OBJERR): Likewise.
16060 (BUS_MCEERR_AR): Likewise.
16061 (BUS_MCEERR_AO): Likewise.
16062 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16063 (TRAP_TRACE): Likewise.
16064 (TRAP_BRANCH): Likewise.
16065 (TRAP_HWBKPT): Likewise.
16066 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16068 (CLD_KILLED): Likewise.
16069 (CLD_DUMPED): Likewise.
16070 (CLD_TRAPPED): Likewise.
16071 (CLD_STOPPED): Likewise.
16072 (CLD_CONTINUED): Likewise.
16073 (POLL_IN): Likewise.
16074 (POLL_OUT): Likewise.
16075 (POLL_MSG): Likewise.
16076 (POLL_ERR): Likewise.
16077 (POLL_PRI): Likewise.
16078 (POLL_HUP): Likewise.
16079 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16080 (ILL_ILLOPN): Likewise.
16081 (ILL_ILLADR): Likewise.
16082 (ILL_ILLTRP): Likewise.
16083 (ILL_PRVOPC): Likewise.
16084 (ILL_PRVREG): Likewise.
16085 (ILL_COPROC): Likewise.
16086 (ILL_BADSTK): Likewise.
16087 (FPE_INTDIV): Likewise.
16088 (FPE_INTOVF): Likewise.
16089 (FPE_FLTDIV): Likewise.
16090 (FPE_FLTOVF): Likewise.
16091 (FPE_FLTUND): Likewise.
16092 (FPE_FLTRES): Likewise.
16093 (FPE_FLTINV): Likewise.
16094 (FPE_FLTSUB): Likewise.
16095 (SEGV_MAPERR): Likewise.
16096 (SEGV_ACCERR): Likewise.
16097 (BUS_ADRALN): Likewise.
16098 (BUS_ADRERR): Likewise.
16099 (BUS_OBJERR): Likewise.
16100 (BUS_MCEERR_AR): Likewise.
16101 (BUS_MCEERR_AO): Likewise.
16102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16103 (TRAP_TRACE): Likewise.
16104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16106 (CLD_KILLED): Likewise.
16107 (CLD_DUMPED): Likewise.
16108 (CLD_TRAPPED): Likewise.
16109 (CLD_STOPPED): Likewise.
16110 (CLD_CONTINUED): Likewise.
16111 (POLL_IN): Likewise.
16112 (POLL_OUT): Likewise.
16113 (POLL_MSG): Likewise.
16114 (POLL_ERR): Likewise.
16115 (POLL_PRI): Likewise.
16116 (POLL_HUP): Likewise.
16117 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16118 (ILL_ILLOPN): Likewise.
16119 (ILL_ILLADR): Likewise.
16120 (ILL_ILLTRP): Likewise.
16121 (ILL_PRVOPC): Likewise.
16122 (ILL_PRVREG): Likewise.
16123 (ILL_COPROC): Likewise.
16124 (ILL_BADSTK): Likewise.
16125 (FPE_INTDIV): Likewise.
16126 (FPE_INTOVF): Likewise.
16127 (FPE_FLTDIV): Likewise.
16128 (FPE_FLTOVF): Likewise.
16129 (FPE_FLTUND): Likewise.
16130 (FPE_FLTRES): Likewise.
16131 (FPE_FLTINV): Likewise.
16132 (FPE_FLTSUB): Likewise.
16133 (SEGV_MAPERR): Likewise.
16134 (SEGV_ACCERR): Likewise.
16135 (BUS_ADRALN): Likewise.
16136 (BUS_ADRERR): Likewise.
16137 (BUS_OBJERR): Likewise.
16138 (BUS_MCEERR_AR): Likewise.
16139 (BUS_MCEERR_AO): Likewise.
16140 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16141 (TRAP_TRACE): Likewise.
16142 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16144 (CLD_KILLED): Likewise.
16145 (CLD_DUMPED): Likewise.
16146 (CLD_TRAPPED): Likewise.
16147 (CLD_STOPPED): Likewise.
16148 (CLD_CONTINUED): Likewise.
16149 (POLL_IN): Likewise.
16150 (POLL_OUT): Likewise.
16151 (POLL_MSG): Likewise.
16152 (POLL_ERR): Likewise.
16153 (POLL_PRI): Likewise.
16154 (POLL_HUP): Likewise.
16155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16156 (ILL_ILLOPN): Likewise.
16157 (ILL_ILLADR): Likewise.
16158 (ILL_ILLTRP): Likewise.
16159 (ILL_PRVOPC): Likewise.
16160 (ILL_PRVREG): Likewise.
16161 (ILL_COPROC): Likewise.
16162 (ILL_BADSTK): Likewise.
16163 (FPE_INTDIV): Likewise.
16164 (FPE_INTOVF): Likewise.
16165 (FPE_FLTDIV): Likewise.
16166 (FPE_FLTOVF): Likewise.
16167 (FPE_FLTUND): Likewise.
16168 (FPE_FLTRES): Likewise.
16169 (FPE_FLTINV): Likewise.
16170 (FPE_FLTSUB): Likewise.
16171 (SEGV_MAPERR): Likewise.
16172 (SEGV_ACCERR): Likewise.
16173 (BUS_ADRALN): Likewise.
16174 (BUS_ADRERR): Likewise.
16175 (BUS_OBJERR): Likewise.
16176 (BUS_MCEERR_AR): Likewise.
16177 (BUS_MCEERR_AO): Likewise.
16178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16179 (TRAP_TRACE): Likewise.
16180 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16182 (CLD_KILLED): Likewise.
16183 (CLD_DUMPED): Likewise.
16184 (CLD_TRAPPED): Likewise.
16185 (CLD_STOPPED): Likewise.
16186 (CLD_CONTINUED): Likewise.
16187 (POLL_IN): Likewise.
16188 (POLL_OUT): Likewise.
16189 (POLL_MSG): Likewise.
16190 (POLL_ERR): Likewise.
16191 (POLL_PRI): Likewise.
16192 (POLL_HUP): Likewise.
16193 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16194 (ILL_ILLOPN): Likewise.
16195 (ILL_ILLADR): Likewise.
16196 (ILL_ILLTRP): Likewise.
16197 (ILL_PRVOPC): Likewise.
16198 (ILL_PRVREG): Likewise.
16199 (ILL_COPROC): Likewise.
16200 (ILL_BADSTK): Likewise.
16201 (ILL_DBLFLT): Likewise.
16202 (ILL_HARDWALL): Likewise.
16203 (FPE_INTDIV): Likewise.
16204 (FPE_INTOVF): Likewise.
16205 (FPE_FLTDIV): Likewise.
16206 (FPE_FLTOVF): Likewise.
16207 (FPE_FLTUND): Likewise.
16208 (FPE_FLTRES): Likewise.
16209 (FPE_FLTINV): Likewise.
16210 (FPE_FLTSUB): Likewise.
16211 (SEGV_MAPERR): Likewise.
16212 (SEGV_ACCERR): Likewise.
16213 (BUS_ADRALN): Likewise.
16214 (BUS_ADRERR): Likewise.
16215 (BUS_OBJERR): Likewise.
16216 (BUS_MCEERR_AR): Likewise.
16217 (BUS_MCEERR_AO): Likewise.
16218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16219 (TRAP_TRACE): Likewise.
16220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16222 (CLD_KILLED): Likewise.
16223 (CLD_DUMPED): Likewise.
16224 (CLD_TRAPPED): Likewise.
16225 (CLD_STOPPED): Likewise.
16226 (CLD_CONTINUED): Likewise.
16227 (POLL_IN): Likewise.
16228 (POLL_OUT): Likewise.
16229 (POLL_MSG): Likewise.
16230 (POLL_ERR): Likewise.
16231 (POLL_PRI): Likewise.
16232 (POLL_HUP): Likewise.
16233 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16234 (ILL_ILLOPN): Likewise.
16235 (ILL_ILLADR): Likewise.
16236 (ILL_ILLTRP): Likewise.
16237 (ILL_PRVOPC): Likewise.
16238 (ILL_PRVREG): Likewise.
16239 (ILL_COPROC): Likewise.
16240 (ILL_BADSTK): Likewise.
16241 (FPE_INTDIV): Likewise.
16242 (FPE_INTOVF): Likewise.
16243 (FPE_FLTDIV): Likewise.
16244 (FPE_FLTOVF): Likewise.
16245 (FPE_FLTUND): Likewise.
16246 (FPE_FLTRES): Likewise.
16247 (FPE_FLTINV): Likewise.
16248 (FPE_FLTSUB): Likewise.
16249 (SEGV_MAPERR): Likewise.
16250 (SEGV_ACCERR): Likewise.
16251 (BUS_ADRALN): Likewise.
16252 (BUS_ADRERR): Likewise.
16253 (BUS_OBJERR): Likewise.
16254 (BUS_MCEERR_AR): Likewise.
16255 (BUS_MCEERR_AO): Likewise.
16256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16257 (TRAP_TRACE): Likewise.
16258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16260 (CLD_KILLED): Likewise.
16261 (CLD_DUMPED): Likewise.
16262 (CLD_TRAPPED): Likewise.
16263 (CLD_STOPPED): Likewise.
16264 (CLD_CONTINUED): Likewise.
16265 (POLL_IN): Likewise.
16266 (POLL_OUT): Likewise.
16267 (POLL_MSG): Likewise.
16268 (POLL_ERR): Likewise.
16269 (POLL_PRI): Likewise.
16270 (POLL_HUP): Likewise.
16271 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16272 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16275 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16276 before #include of <time.h>.
16277 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16278 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16279 (test-xfail-UNIX98/sched.h/conform): Likewise.
16281 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16283 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16284 error absence of trapping exception support.
16285 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16287 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16289 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16290 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16291 * timezone/Makefile (testdata): Move definition above include of
16293 (test-zones): New variable.
16294 (tests-special): Add zone files.
16295 (build-testdata): Use $(evaluate-test).
16297 * elf/Makefile (tests-special): Rename tests to end with .out.
16298 ($(objpfx)noload-mem): Likewise.
16299 ($(objpfx)tst-leaks1-mem): Likewise.
16300 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16301 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16302 $(objpfx)test-iconvconfig.out.
16303 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16304 set -e inside subshell and redirect output to file.
16305 * iconvdata/Makefile (generated): Rename tests to end with .out.
16307 (tests-special): Rename tests to end with .out.
16308 ($(objpfx)mtrace-tst-loading): Likewise.
16309 * intl/Makefile (generated): Likewise.
16310 (tests-special): Likewise.
16311 ($(objpfx)mtrace-tst-gettext): Likewise.
16312 * misc/Makefile (generated): Likewise.
16313 (tests-special): Likewise.
16314 ($(objpfx)tst-error1-mem): Likewise.
16315 * nptl/Makefile (tests-special): Likewise.
16316 ($(objpfx)tst-stack3-mem): Likewise.
16317 (generated): Likewise.
16318 * posix/Makefile (generated): Likewise.
16319 (tests-special): Likewise.
16320 (xtests-special): Likewise.
16321 ($(objpfx)tst-fnmatch-mem): Likewise.
16322 ($(objpfx)bug-regex2-mem): Likewise.
16323 ($(objpfx)bug-regex14-mem): Likewise.
16324 ($(objpfx)bug-regex21-mem): Likewise.
16325 ($(objpfx)bug-regex31-mem): Likewise.
16326 ($(objpfx)tst-vfork3-mem): Likewise.
16327 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16328 ($(objpfx)tst-pcre-mem): Likewise.
16329 ($(objpfx)tst-boost-mem): Likewise.
16330 ($(objpfx)bug-ga2-mem): Likewise.
16331 ($(objpfx)bug-glob2-mem): Likewise.
16332 * resolv/Makefile (generate): Likewise.
16333 (tests-special): Likewise.
16334 (xtests-special): Likewise.
16335 (generated): Likewise.
16336 ($(objpfx)mtrace-tst-leaks): Likewise.
16337 ($(objpfx)mtrace-tst-leaks2): Likewise.
16339 * scripts/merge-test-results.sh: New file.
16340 * Makefile (tests-special-notdir): New variable.
16341 (tests): Run merge-test-results.sh.
16342 (xtests): Likewise.
16343 * Rules (tests-special-notdir): New variable.
16344 (xtests-special-notdir): Likewise.
16345 (tests): Run merge-test-results.sh
16346 (xtests): Likewise.
16348 * Makeconfig (test-xfail-name): New variable.
16349 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16350 compute variable name for expected failures.
16351 * conform/Makefile (conformtest-headers-data): New variable.
16352 (conformtest-standards): Likewise.
16353 (conformtest-headers-ISO): Likewise.
16354 (conformtest-headers-ISO99): Likewise.
16355 (conformtest-headers-ISO11): Likewise.
16356 (conformtest-headers-POSIX): Likewise.
16357 (conformtest-headers-XPG3): Likewise.
16358 (conformtest-headers-XPG4): Likewise.
16359 (conformtest-headers-UNIX98): Likewise.
16360 (conformtest-headers-XOPEN2K): Likewise.
16361 (conformtest-headers-POSIX2008): Likewise.
16362 (conformtest-headers-XOPEN2K8): Likewise.
16363 (conformtest-header-list-base): Likewise.
16364 (conformtest-header-list-tests): Likewise.
16365 (conformtest-header-base): Likewise.
16366 (conformtest-header-tests): Likewise.
16367 (tests-special): Add $(conformtest-header-list-tests). If
16368 [$(fast-check) && !$(cross-compiling)], add
16369 $(conformtest-header-tests) instead of
16370 $(objpfx)run-conformtest.out.
16371 (generated): Add $(conformtest-header-list-base). If
16372 [$(fast-check) && !$(cross-compiling)], add
16373 $(conformtest-header-base). Remove previous setting.
16374 ($(conformtest-header-list-tests)): New target.
16375 (test-xfail-run-conformtest): Remove variable.
16376 ($(objpfx)run-conformtest.out): Remove target.
16377 (test-xfail-ISO11/complex.h/conform): New variable.
16378 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16379 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16380 (test-xfail-XPG3/varargs.h/conform): Likewise.
16381 (test-xfail-XPG4/varargs.h/conform): Likewise.
16382 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16383 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16384 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16385 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16386 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16387 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16388 (test-xfail-XPG3/ftw.h/conform): Likewise.
16389 (test-xfail-XPG3/grp.h/conform): Likewise.
16390 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16391 (test-xfail-XPG3/limits.h/conform): Likewise.
16392 (test-xfail-XPG3/pwd.h/conform): Likewise.
16393 (test-xfail-XPG3/search.h/conform): Likewise.
16394 (test-xfail-XPG3/signal.h/conform): Likewise.
16395 (test-xfail-XPG3/stdio.h/conform): Likewise.
16396 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16397 (test-xfail-XPG3/string.h/conform): Likewise.
16398 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16399 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16400 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16401 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16402 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16403 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16404 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16405 (test-xfail-XPG3/termios.h/conform): Likewise.
16406 (test-xfail-XPG3/time.h/conform): Likewise.
16407 (test-xfail-XPG3/unistd.h/conform): Likewise.
16408 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16409 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16410 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16411 (test-xfail-XPG4/netdb.h/conform): Likewise.
16412 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16413 (test-xfail-XPG4/signal.h/conform): Likewise.
16414 (test-xfail-XPG4/stdio.h/conform): Likewise.
16415 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16416 (test-xfail-XPG4/stropts.h/conform): Likewise.
16417 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16418 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16419 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16420 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16421 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16422 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16423 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16424 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16425 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16426 (test-xfail-XPG4/termios.h/conform): Likewise.
16427 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16428 (test-xfail-XPG4/unistd.h/conform): Likewise.
16429 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16430 (test-xfail-POSIX/sched.h/conform): Likewise.
16431 (test-xfail-POSIX/signal.h/conform): Likewise.
16432 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16433 (test-xfail-POSIX/tar.h/conform): Likewise.
16434 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16435 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16436 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16437 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16438 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16439 (test-xfail-UNIX98/sched.h/conform): Likewise.
16440 (test-xfail-UNIX98/signal.h/conform): Likewise.
16441 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16442 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16443 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16444 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16445 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16446 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16447 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16448 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16449 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16450 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16451 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16452 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16453 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16454 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16455 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16456 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16457 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16458 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16459 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16460 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16461 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16462 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16463 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16464 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16465 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16466 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16467 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16468 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16469 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16470 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16471 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16472 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16473 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16474 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16475 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16476 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16477 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16478 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16479 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16480 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16481 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16482 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16483 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16484 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16485 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16486 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16487 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16488 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16489 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16490 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16491 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16492 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16493 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16494 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16495 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16496 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16497 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16498 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16499 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16500 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16501 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16502 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16503 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16504 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16505 (conformtest-cc-flags): Likewise.
16506 ($(conformtest-header-tests): New target.
16507 * conform/check-header-lists.sh: New file.
16508 * conform/run-conformtest.sh: Remove.
16510 * conform/conformtest.pl: Allow ' and \ in values given for
16512 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16514 [POSIX] (sys/types.h): Likewise.
16515 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16517 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16519 * conform/data/signal.h-data (SIGIO): Remove expectation.
16520 [XPG3] (SIGBUS): Do not expect.
16521 [POSIX || XPG3] (SIGPOLL): Likewise.
16522 [POSIX || XPG3] (SIGPROF): Likewise.
16523 [POSIX || XPG3] (SIGSYS): Likewise.
16524 [XPG3] (SIGTRAP): Likewise.
16525 [POSIX || XPG3] (SIGURG): Likewise.
16526 [POSIX || XPG3] (SIGVTALRM): Likewise.
16527 [POSIX || XPG3] (SIGXCPU): Likewise.
16528 [POSIX || XPG3] (SIGXFSZ): Likewise.
16529 [POSIX] (SA_SIGINFO): Expect.
16530 [XPG3] (siginfo_t): Do not expect type or contents.
16531 [POSIX] (si_pid): Do not expect element.
16532 [POSIX] (si_uid): Likewise.
16533 [POSIX] (si_addr): Likewise.
16534 [POSIX] (si_status): Likewise.
16535 [POSIX] (si_band): Likewise.
16536 [XPG4] (si_value): Likewise.
16537 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16538 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16539 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16540 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16541 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16542 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16543 [POSIX || XPG3] (ILL_COPROC): Likewise.
16544 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16545 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16546 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16547 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16548 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16549 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16550 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16551 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16552 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16553 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16554 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16555 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16556 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16557 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16558 [POSIX || XPG3] (CLD_EXITED): Likewise.
16559 [POSIX || XPG3] (CLD_KILLED): Likewise.
16560 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16561 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16562 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16563 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16564 [POSIX || XPG3] (POLL_IN): Likewise.
16565 [POSIX || XPG3] (POLL_OUT): Likewise.
16566 [POSIX || XPG3] (POLL_MSG): Likewise.
16567 [POSIX || XPG3] (POLL_ERR): Likewise.
16568 [POSIX || XPG3] (POLL_PRI): Likewise.
16569 [POSIX || XPG3] (POLL_HUP): Likewise.
16570 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16571 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16572 (SIG*): Do not allow.
16573 [XPG3] (si_*): Likewise.
16574 [XPG3] (SI_*): Likewise.
16575 [XPG3 || XPG4] (sigev_*): Likewise.
16576 [XPG3 || XPG4] (SIGEV_*): Likewise.
16577 [XPG3 || XPG4] (sival_*): Likewise.
16578 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16579 [POSIX || XPG3] (BUS_*): Likewise.
16580 [POSIX || XPG3] (CLD_*): Likewise.
16581 [POSIX || XPG3] (FPE_*): Likewise.
16582 [POSIX || XPG3] (ILL_*): Likewise.
16583 [POSIX || XPG3] (POLL_*): Likewise.
16584 [POSIX || XPG3] (SEGV_*): Likewise.
16585 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16586 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16587 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16588 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16589 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16590 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16591 Specify type and value.
16592 (TVERSLEN): Likewise.
16593 (REGTYPE): Likewise.
16594 (AREGTYPE): Likewise.
16595 (LNKTYPE): Likewise.
16596 (SYMTYPE): Likewise.
16597 (CHRTYPE): Likewise.
16598 (BLKTYPE): Likewise.
16599 (DIRTYPE): Likewise.
16600 (FIFOTYPE): Likewise.
16601 (CONTTYPE): Likewise.
16605 (TUREAD): Likewise.
16606 (TUWRITE): Likewise.
16607 (TUEXEC): Likewise.
16608 (TGREAD): Likewise.
16609 (TGWRITE): Likewise.
16610 (TGEXEC): Likewise.
16611 (TOREAD): Likewise.
16612 (TOWRITE): Likewise.
16613 (TOEXEC): Likewise.
16614 [POSIX] (TSVTX): Expect constant.
16616 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16618 * Makefile (tests): Change dependencies to ....
16619 (tests-special): ... additions to this variable.
16620 (tests): Depend on $(tests-special).
16621 * Makerules (check-abi-list): New variable.
16622 (check-abi): Depend on $(check-abi-list).
16623 [$(subdir) = elf] (tests-special): Add
16624 $(objpfx)check-abi-libc.out.
16625 [$(build-shared) = yes && subdir] (tests-special): Add
16627 [$(build-shared) = yes && subdir] (tests): Do not depend on
16629 * Rules (tests): Depend on $(tests-special).
16630 (xtests): Depend on $(xtests-special).
16631 * catgets/Makefile (tests): Change dependencies to ....
16632 (tests-special): ... additions to this variable.
16633 * conform/Makefile (tests): Change dependencies to ....
16634 (tests-special): ... additions to this variable.
16635 * elf/Makefile (tests): Change dependencies to ....
16636 (tests-special): ... additions to this variable.
16637 * grp/Makefile (tests): Change dependencies to ....
16638 (tests-special): ... additions to this variable.
16639 * iconv/Makefile (xtests): Change dependencies to ....
16640 (xtests-special): ... additions to this variable.
16641 * iconvdata/Makefile (tests): Change dependencies to ....
16642 (tests-special): ... additions to this variable.
16643 * intl/Makefile (tests): Change dependencies to ....
16644 (tests-special): ... additions to this variable. Also add
16645 $(objpfx)tst-gettext.out.
16646 * io/Makefile (tests): Change dependencies to ....
16647 (tests-special): ... additions to this variable.
16648 * libio/Makefile (tests): Change dependencies to ....
16649 (tests-special): ... additions to this variable.
16650 * malloc/Makefile (tests): Change dependencies to ....
16651 (tests-special): ... additions to this variable.
16652 * misc/Makefile (tests): Change dependencies to ....
16653 (tests-special): ... additions to this variable.
16654 * nptl/Makefile (tests): Change dependencies to ....
16655 (tests-special): ... additions to this variable.
16656 * nptl_db/Makefile (tests): Change dependencies to ....
16657 (tests-special): ... additions to this variable.
16658 * posix/Makefile (tests): Change dependencies to ....
16659 (tests-special): ... additions to this variable.
16660 (xtests): Change dependencies to ....
16661 (xtests-special): ... additions to this variable.
16662 * resolv/Makefile (tests): Change dependencies to ....
16663 (tests-special): ... additions to this variable.
16664 (xtests): Change dependencies to ....
16665 (xtests-special): ... additions to this variable.
16666 * stdio-common/Makefile (tests): Change dependencies to ....
16667 (tests-special): ... additions to this variable.
16668 (do-tst-unbputc): Remove target.
16669 (do-tst-printf): Likewise.
16670 * stdlib/Makefile (tests): Change dependencies to ....
16671 (tests-special): ... additions to this variable.
16672 * string/Makefile (tests): Change dependencies to ....
16673 (tests-special): ... additions to this variable.
16674 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16675 (tests-special): ... additions to this variable.
16677 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16679 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16681 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16682 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16684 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16685 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16686 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16687 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16688 * conform/data/libgen.h-data [XPG3]: Likewise.
16689 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16690 * conform/data/ndbm.h-data [XPG3]: Likewise.
16691 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16692 * conform/data/netdb.h-data [XPG3]: Likewise.
16693 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16694 * conform/data/poll.h-data [XPG3]: Likewise.
16695 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16696 * conform/data/strings.h-data [XPG3]: Likewise.
16697 * conform/data/stropts.h-data [XPG3]: Likewise.
16698 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16699 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16700 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16702 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16703 * conform/data/sys/time.h-data [XPG3]: Likewise.
16704 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16705 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16706 * conform/data/sys/un.h-data [XPG3]: Likewise.
16707 * conform/data/syslog.h-data [XPG3]: Likewise.
16708 * conform/data/ucontext.h-data [XPG3]: Likewise.
16709 * conform/data/utmpx.h-data [XPG3]: Likewise.
16710 * conform/data/varargs.h-data [UNIX98]: Enable file.
16712 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16714 * math/libm-test.inc (struct test_f_f_data): Move expected results
16715 into structure for each rounding mode.
16716 (struct test_ff_f_data): Likewise.
16717 (struct test_ff_f_data_nexttoward): Likewise.
16718 (struct test_fi_f_data): Likewise.
16719 (struct test_fl_f_data): Likewise.
16720 (struct test_if_f_data): Likewise.
16721 (struct test_fff_f_data): Likewise.
16722 (struct test_c_f_data): Likewise.
16723 (struct test_f_f1_data): Likewise.
16724 (struct test_fF_f1_data): Likewise.
16725 (struct test_ffI_f1_data): Likewise.
16726 (struct test_c_c_data): Likewise.
16727 (struct test_cc_c_data): Likewise.
16728 (struct test_f_i_data): Likewise.
16729 (struct test_ff_i_data): Likewise.
16730 (struct test_f_l_data): Likewise.
16731 (struct test_f_L_data): Likewise.
16732 (struct test_fFF_11_data): Likewise.
16734 (RM_FE_DOWNWARD): Likewise.
16735 (RM_FE_TONEAREST): Likewise.
16736 (RM_FE_TOWARDZERO): Likewise.
16737 (RM_FE_UPWARD): Likewise.
16738 (RUN_TEST_LOOP_f_f): Update references to expected results.
16739 (RUN_TEST_LOOP_2_f): Likewise.
16740 (RUN_TEST_LOOP_fff_f): Likewise.
16741 (RUN_TEST_LOOP_c_f): Likewise.
16742 (RUN_TEST_LOOP_f_f1): Likewise.
16743 (RUN_TEST_LOOP_fF_f1): Likewise.
16744 (RUN_TEST_LOOP_fI_f1): Likewise.
16745 (RUN_TEST_LOOP_ffI_f1): Likewise.
16746 (RUN_TEST_LOOP_c_c): Likewise.
16747 (RUN_TEST_LOOP_cc_c): Likewise.
16748 (RUN_TEST_LOOP_f_i): Likewise.
16749 (RUN_TEST_LOOP_f_i_tg): Likewise.
16750 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16751 (RUN_TEST_LOOP_f_b): Likewise.
16752 (RUN_TEST_LOOP_f_b_tg): Likewise.
16753 (RUN_TEST_LOOP_f_l): Likewise.
16754 (RUN_TEST_LOOP_f_L): Likewise.
16755 (RUN_TEST_LOOP_fFF_11): Likewise.
16756 * math/gen-libm-test.pl (parse_args): Output four copies of
16757 expected results for each test.
16759 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16760 (__ASSUME_UTIMES): Remove.
16761 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16762 (__ASSUME_UTIMES): Likewise.
16764 * math/gen-auto-libm-tests.c: Update comment on output format.
16765 (output_for_one_input_case): Generate before-rounding and
16766 after-rounding information as conditions on output flags not
16767 floating-point format.
16768 * math/auto-libm-test-out: Regenerated.
16769 * math/gen-libm-test.pl (cond_value): New function.
16770 (or_cond_value): Use cond_value.
16771 (generate_testfile): Handle conditional exceptions.
16773 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16775 * math/libm-test.inc (max_valid_error): New variable.
16776 (init_max_error): Take new argument specifying whether function
16777 results are exactly determined. Set max_valid_error and bound
16778 other variables for errors based on this argument.
16779 (set_max_error): Do not record results above max_valid_error.
16780 (check_float_internal): Only accept errors of up to 0.5ulps if
16781 also at most max_valid_error.
16782 (START): Take new argument EXACT and pass it to init_max_error.
16783 (acos_test): Update call to START.
16784 (acos_test_tonearest): Likewise.
16785 (acos_test_towardzero): Likewise.
16786 (acos_test_downward): Likewise.
16787 (acos_test_upward): Likewise.
16788 (acosh_test): Likewise.
16789 (asin_test): Likewise.
16790 (asin_test_tonearest): Likewise.
16791 (asin_test_towardzero): Likewise.
16792 (asin_test_downward): Likewise.
16793 (asin_test_upward): Likewise.
16794 (asinh_test): Likewise.
16795 (atan_test): Likewise.
16796 (atanh_test): Likewise.
16797 (atan2_test): Likewise.
16798 (cabs_test): Likewise.
16799 (cacos_test): Likewise.
16800 (cacosh_test): Likewise.
16801 (carg_test): Likewise.
16802 (casin_test): Likewise.
16803 (casinh_test): Likewise.
16804 (catan_test): Likewise.
16805 (catanh_test): Likewise.
16806 (cbrt_test): Likewise.
16807 (ccos_test): Likewise.
16808 (ccosh_test): Likewise.
16809 (ceil_test): Likewise.
16810 (cexp_test): Likewise.
16811 (cimag_test): Likewise.
16812 (clog_test): Likewise.
16813 (clog10_test): Likewise.
16814 (conj_test): Likewise.
16815 (copysign_test): Likewise.
16816 (cos_test): Likewise.
16817 (cos_test_tonearest): Likewise.
16818 (cos_test_towardzero): Likewise.
16819 (cos_test_downward): Likewise.
16820 (cos_test_upward): Likewise.
16821 (cosh_test): Likewise.
16822 (cosh_test_tonearest): Likewise.
16823 (cosh_test_towardzero): Likewise.
16824 (cosh_test_downward): Likewise.
16825 (cosh_test_upward): Likewise.
16826 (cpow_test): Likewise.
16827 (cproj_test): Likewise.
16828 (creal_test): Likewise.
16829 (csin_test): Likewise.
16830 (csinh_test): Likewise.
16831 (csqrt_test): Likewise.
16832 (ctan_test): Likewise.
16833 (ctan_test_tonearest): Likewise.
16834 (ctan_test_towardzero): Likewise.
16835 (ctan_test_downward): Likewise.
16836 (ctan_test_upward): Likewise.
16837 (ctanh_test): Likewise.
16838 (ctanh_test_tonearest): Likewise.
16839 (ctanh_test_towardzero): Likewise.
16840 (ctanh_test_downward): Likewise.
16841 (ctanh_test_upward): Likewise.
16842 (erf_test): Likewise.
16843 (erfc_test): Likewise.
16844 (exp_test): Likewise.
16845 (exp_test_tonearest): Likewise.
16846 (exp_test_towardzero): Likewise.
16847 (exp_test_downward): Likewise.
16848 (exp_test_upward): Likewise.
16849 (exp10_test): Likewise.
16850 (exp10_test_tonearest): Likewise.
16851 (exp10_test_towardzero): Likewise.
16852 (exp10_test_downward): Likewise.
16853 (exp10_test_upward): Likewise.
16854 (pow10_test): Likewise.
16855 (exp2_test): Likewise.
16856 (expm1_test): Likewise.
16857 (expm1_test_tonearest): Likewise.
16858 (expm1_test_towardzero): Likewise.
16859 (expm1_test_downward): Likewise.
16860 (expm1_test_upward): Likewise.
16861 (fabs_test): Likewise.
16862 (fdim_test): Likewise.
16863 (floor_test): Likewise.
16864 (fma_test): Likewise.
16865 (fma_test_towardzero): Likewise.
16866 (fma_test_downward): Likewise.
16867 (fma_test_upward): Likewise.
16868 (fmax_test): Likewise.
16869 (fmin_test): Likewise.
16870 (fmod_test): Likewise.
16871 (fpclassify_test): Likewise.
16872 (frexp_test): Likewise.
16873 (hypot_test): Likewise.
16874 (ilogb_test): Likewise.
16875 (isfinite_test): Likewise.
16876 (finite_test): Likewise.
16877 (isgreater_test): Likewise.
16878 (isgreaterequal_test): Likewise.
16879 (isinf_test): Likewise.
16880 (isless_test): Likewise.
16881 (islessequal_test): Likewise.
16882 (islessgreater_test): Likewise.
16883 (isnan_test): Likewise.
16884 (isnormal_test): Likewise.
16885 (issignaling_test): Likewise.
16886 (isunordered_test): Likewise.
16887 (j0_test): Likewise.
16888 (j1_test): Likewise.
16889 (jn_test): Likewise.
16890 (ldexp_test): Likewise.
16891 (lgamma_test): Likewise.
16892 (gamma_test): Likewise.
16893 (lrint_test): Likewise.
16894 (lrint_test_tonearest): Likewise.
16895 (lrint_test_towardzero): Likewise.
16896 (lrint_test_downward): Likewise.
16897 (lrint_test_upward): Likewise.
16898 (llrint_test): Likewise.
16899 (llrint_test_tonearest): Likewise.
16900 (llrint_test_towardzero): Likewise.
16901 (llrint_test_downward): Likewise.
16902 (llrint_test_upward): Likewise.
16903 (log_test): Likewise.
16904 (log10_test): Likewise.
16905 (log1p_test): Likewise.
16906 (log2_test): Likewise.
16907 (logb_test): Likewise.
16908 (logb_test_downward): Likewise.
16909 (lround_test): Likewise.
16910 (llround_test): Likewise.
16911 (modf_test): Likewise.
16912 (nearbyint_test): Likewise.
16913 (nextafter_test): Likewise.
16914 (nexttoward_test): Likewise.
16915 (pow_test): Likewise.
16916 (pow_test_tonearest): Likewise.
16917 (pow_test_towardzero): Likewise.
16918 (pow_test_downward): Likewise.
16919 (pow_test_upward): Likewise.
16920 (remainder_test): Likewise.
16921 (drem_test): Likewise.
16922 (remainder_test_tonearest): Likewise.
16923 (drem_test_tonearest): Likewise.
16924 (remainder_test_towardzero): Likewise.
16925 (drem_test_towardzero): Likewise.
16926 (remainder_test_downward): Likewise.
16927 (drem_test_downward): Likewise.
16928 (remainder_test_upward): Likewise.
16929 (drem_test_upward): Likewise.
16930 (remquo_test): Likewise.
16931 (rint_test): Likewise.
16932 (rint_test_tonearest): Likewise.
16933 (rint_test_towardzero): Likewise.
16934 (rint_test_downward): Likewise.
16935 (rint_test_upward): Likewise.
16936 (round_test): Likewise.
16937 (scalb_test): Likewise.
16938 (scalbn_test): Likewise.
16939 (scalbln_test): Likewise.
16940 (signbit_test): Likewise.
16941 (sin_test): Likewise.
16942 (sin_test_tonearest): Likewise.
16943 (sin_test_towardzero): Likewise.
16944 (sin_test_downward): Likewise.
16945 (sin_test_upward): Likewise.
16946 (sincos_test): Likewise.
16947 (sinh_test): Likewise.
16948 (sinh_test_tonearest): Likewise.
16949 (sinh_test_towardzero): Likewise.
16950 (sinh_test_downward): Likewise.
16951 (sinh_test_upward): Likewise.
16952 (sqrt_test): Likewise.
16953 (sqrt_test_tonearest): Likewise.
16954 (sqrt_test_towardzero): Likewise.
16955 (sqrt_test_downward): Likewise.
16956 (sqrt_test_upward): Likewise.
16957 (tan_test): Likewise.
16958 (tan_test_tonearest): Likewise.
16959 (tan_test_towardzero): Likewise.
16960 (tan_test_downward): Likewise.
16961 (tan_test_upward): Likewise.
16962 (tanh_test): Likewise.
16963 (tgamma_test): Likewise.
16964 (trunc_test): Likewise.
16965 (y0_test): Likewise.
16966 (y1_test): Likewise.
16967 (yn_test): Likewise.
16968 (significand_test): Likewise.
16970 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16971 individual tests in comment.
16972 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16973 (prev_max_error): New variable.
16974 (prev_real_max_error): Likewise.
16975 (prev_imag_max_error): Likewise.
16976 (compare_ulp_data): Don't refer to test names in comment.
16977 (find_test_ulps): Remove function.
16978 (find_function_ulps): Likewise.
16979 (find_complex_function_ulps): Likewise.
16980 (init_max_error): Take function name as argument. Look up ulps
16982 (print_ulps): Remove function.
16983 (print_max_error): Use prev_max_error instead of calling
16984 find_function_ulps.
16985 (print_complex_max_error): Use prev_real_max_error and
16986 prev_imag_max_error instead of calling find_complex_function_ulps.
16987 (check_float_internal): Take max_ulp parameter instead of calling
16988 find_test_ulps. Don't call print_ulps.
16989 (check_float): Update call to check_float_internal.
16990 (check_complex): Update calls to check_float_internal.
16991 (START): Pass argument to init_max_error.
16992 * math/gen-libm-test.pl (%results): Don't include "kind"
16994 (parse_ulps): Don't handle ulps of individual tests.
16995 (print_ulps_file): Likewise.
16996 (output_ulps): Likewise.
16997 * math/README.libm-test: Update.
16998 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17000 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17001 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17002 * sysdeps/arm/libm-test-ulps: Likewise.
17003 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17004 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17005 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17006 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17007 * sysdeps/microblaze/libm-test-ulps: Likewise.
17008 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17009 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17011 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17012 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17013 * sysdeps/sh/libm-test-ulps: Likewise.
17014 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17015 * sysdeps/tile/libm-test-ulps: Likewise.
17016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17018 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17020 * math/libm-test.inc (print_complex_max_error): Check separately
17021 whether real and imaginary errors are within allowed range and
17022 pass 0 to print_complex_function_ulps instead of value within
17025 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17027 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17029 (get_handles_fopen): Likewise.
17030 (do_write_test): Likewise.
17032 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17034 * libio/fileops.c (do_ftell): Use cached offset when
17036 * libio/iofwide.c (do_ftell_wide): Likewise.
17037 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17039 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17042 * libio/libioP.h (get_file_offset): New function.
17043 * libio/fileops.c (get_file_offset): Likewise.
17044 (do_ftell): Likewise.
17045 (_IO_new_file_seekoff): Split out ftell logic.
17046 * libio/wfileops.c (do_ftell_wide): Likewise.
17047 (_IO_wfile_seekoff): Split out ftell logic.
17048 * libio/tst-ftell-active-handler.c: New test case.
17049 * libio/Makefile (tests): Add it.
17051 2014-03-03 Roland McGrath <roland@hack.frob.com>
17053 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17054 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17056 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17059 * nscd/connections.c (nscd_init): Call do_exit.
17060 (start_threads): Call do_exit and notify_parent.
17061 (begin_drop_privileges): Call do_exit.
17062 (finish_drop_privileges): Likewise.
17063 * nscd/selinux.c (preserve_capabilities): Likewise.
17064 (install_real_capabilities): Likewise.
17065 (nscd_selinux_enabled): Likewise.
17066 (avc_create_thread): Likewise.
17067 (avc_alloc_lock): Likewise.
17068 (nscd_avc_init): Likewise.
17069 * nscd/nscd.c (parent_fd): New static variable.
17070 (main): Create a pipe between parent and child processes.
17071 Skip closing parent_fd.
17072 (monitor_child): New function.
17073 (do_exit): Likewise.
17074 (notify_parent): Likewise.
17075 * nscd/nscd.h (notify_parent): Likewise.
17076 (do_exit): Likewise.
17078 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17080 * malloc/malloc.c (__libc_calloc): Revert last change.
17082 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17086 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17088 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17092 (__libc_ifunc_impl_list): Likewise.
17093 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17094 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17095 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17096 * string/strrchr.c: Define STRRCHR.
17098 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17100 * benchtest/bench-strtok.c (simple_strtok): Delete.
17101 (strtok_string): Use as benchmark.
17102 * string/strtok (STRTOK): New macro.
17104 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17106 * manual/threads.texi: Add header and standard comments to all
17109 * elf/dl-lookup.c (check_match): New function.
17110 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17111 (do_lookup_x): Remove nested function check_match. Use non-nested
17112 function check_match.
17114 2014-02-28 Roland McGrath <roland@hack.frob.com>
17116 * csu/Makefile (generated, before-compile): Use += rather than =.
17117 * catgets/Makefile (generated, generated-dirs): Likewise.
17118 * debug/Makefile (generated): Likewise.
17119 * dlfcn/Makefile (generated): Likewise.
17120 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17121 * iconvdata/Makefile (before-compile, generated): Likewise.
17122 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17123 * libio/Makefile (generated): Likewise.
17124 * malloc/Makefile (generated): Likewise.
17125 * manual/Makefile (generated, generated-dirs): Likewise.
17126 * misc/Makefile (generated): Likewise.
17127 * posix/Makefile (generated): Likewise.
17128 * resolv/Makefile (generated): Likewise.
17129 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17130 * timezone/Makefile (generated, generated-dirs): Likewise.
17132 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17134 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17137 power8 implementation.
17138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17139 file: POWER8 llround ifunc implementation.
17140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17141 (__lllround): Add POWER8 implementation.
17142 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17143 POWER8 llround implementation.
17145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17146 power8 implementation.
17147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17148 file: POWER8 llrint ifunc implementation.
17149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17150 Add POWER8 implementation.
17151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17152 POWER8 llrint implementation.
17154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17155 power8 implementation.
17156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17157 file: POWER8 finite ifunc implementation.
17158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17159 Add POWER8 implementation.
17160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17162 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17163 POWER8 finite implementation.
17164 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17167 power8 implementation.
17168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17169 file: POWER8 isinf ifunc implementation.
17170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17171 POWER8 implementation.
17172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17174 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17175 isinf implementation.
17176 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17178 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17179 (INIT_ARCH): Add hwcap2 initialization.
17180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17181 power8 implementation.
17182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17183 file: POWER8 isnan ifunc implementation.
17184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17185 POWER8 implementation.
17186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17188 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17189 isnan implementation.
17190 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17192 2014-02-27 Joey Ye <joey.ye@arm.com>
17194 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17195 (_FP_NANFRAC_Q): Set to zero.
17197 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17200 * math/auto-libm-test-in: New test inputs.
17201 * math/auto-libm-test-out: Regenerate.
17202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17205 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17207 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17209 * scripts/evaluate-test.sh: Take new argument indicating whether
17210 failure is expected.
17211 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17212 indicating whether failure is expected.
17213 * conform/Makefile (test-xfail-run-conformtest): New variable.
17214 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17216 * posix/Makefile (test-xfail-annexc): New variable.
17217 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17219 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17221 * argp/Makefile: Include Makeconfig immediately after defining
17223 * assert/Makefile: Likewise.
17224 * benchtests/Makefile: Likewise.
17225 * catgets/Makefile: Likewise.
17226 * conform/Makefile: Likewise.
17227 * crypt/Makefile: Likewise.
17228 * csu/Makefile: Likewise.
17229 (all): Remove target.
17230 * ctype/Makefile: Include Makeconfig immediately after defining
17232 * debug/Makefile: Likewise.
17233 * dirent/Makefile: Likewise.
17234 * dlfcn/Makefile: Likewise.
17235 * gmon/Makefile: Likewise.
17236 * gnulib/Makefile: Likewise.
17237 * grp/Makefile: Likewise.
17238 * gshadow/Makefile: Likewise.
17239 * hesiod/Makefile: Likewise.
17240 * hurd/Makefile: Likewise.
17241 (all): Remove target.
17242 * iconvdata/Makefile: Include Makeconfig immediately after
17244 * inet/Makefile: Likewise.
17245 * intl/Makefile: Likewise.
17246 * io/Makefile: Likewise.
17247 * libio/Makefile: Likewise.
17248 (all): Remove target.
17249 * locale/Makefile: Include Makeconfig immediately after defining
17251 * login/Makefile: Likewise.
17252 * mach/Makefile: Likewise.
17253 (all): Remove target.
17254 * malloc/Makefile: Include Makeconfig immediately after defining
17256 (all): Remove target.
17257 * manual/Makefile: Include Makeconfig immediately after defining
17259 * math/Makefile: Likewise.
17260 * misc/Makefile: Likewise.
17261 * nis/Makefile: Likewise.
17262 * nss/Makefile: Likewise.
17263 * po/Makefile: Likewise.
17264 (all): Remove target.
17265 * posix/Makefile: Include Makeconfig immediately after defining
17267 * pwd/Makefile: Likewise.
17268 * resolv/Makefile: Likewise.
17269 * resource/Makefile: Likewise.
17270 * rt/Makefile: Likewise.
17271 * setjmp/Makefile: Likewise.
17272 * shadow/Makefile: Likewise.
17273 * signal/Makefile: Likewise.
17274 * socket/Makefile: Likewise.
17275 * soft-fp/Makefile: Likewise.
17276 * stdio-common/Makefile: Likewise.
17277 * stdlib/Makefile: Likewise.
17278 * streams/Makefile: Likewise.
17279 * string/Makefile: Likewise.
17280 * sunrpc/Makefile: Likewise.
17281 (all): Remove target.
17282 * sysvipc/Makefile: Include Makeconfig immediately after defining
17284 * termios/Makefile: Likewise.
17285 * time/Makefile: Likewise.
17286 * timezone/Makefile: Likewise.
17287 (all): Remove target.
17288 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17290 * wctype/Makefile: Likewise.
17292 2014-02-26 Steve Ellcey <sellcey@mips.com>
17294 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17295 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17296 (libc_feholdexcept_setround_mips): Ditto.
17297 (libc_feholdsetround): New.
17298 (libc_feholdsetroundf): New.
17299 (libc_feholdsetroundl): New.
17300 (libc_feupdateenv_test_mips): New.
17301 (libc_feupdateenv_test): New.
17302 (libc_feupdateenv_testf): New.
17303 (libc_feupdateenv_testl): New.
17304 (libc_feresetround): New.
17305 (libc_feresetroundf): New.
17306 (libc_feresetroundl): New.
17307 (libc_fetestexcept_mips): New.
17308 (libc_fetestexcept): New.
17309 (libc_fetestexceptf): New.
17310 (libc_fetestexceptl): New.
17311 (HAVE_RM_CTX): New.
17312 (libc_feholdexcept_setround_mips_ctx): New.
17313 (libc_feholdexcept_setround_ctx): New.
17314 (libc_feholdexcept_setroundf_ctx): New.
17315 (libc_feholdexcept_setroundl_ctx): New.
17316 (libc_fesetenv_mips_ctx): New.
17317 (libc_fesetenv_ctx): New.
17318 (libc_fesetenv_ctxf): New.
17319 (libc_fesetenv_ctxl): New.
17320 (libc_feupdateenv_mips_ctx): New.
17321 (libc_feupdateenv_ctx): New.
17322 (libc_feupdateenvf_ctx): New.
17323 (libc_feupdateenvl_ctx): New.
17324 (libc_feholdsetround_mips_ctx): New.
17325 (libc_feholdsetround_ctx): New.
17326 (libc_feholdsetroundf_ctx): New.
17327 (libc_feholdsetroundl_ctx): New.
17328 (libc_feresetround_mips_ctx): New.
17329 (libc_feresetround_ctx): New.
17330 (libc_feresetroundf_ctx): New.
17331 (libc_feresetroundl_ctx): New.
17333 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17335 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17337 * manual/ipc.texi: New file.
17338 * manual/Makefile (chapters): Add ipc.
17339 * manual/job.texi: Add "Inter-Process Communication" to next.
17340 * manual/process.texi: Add "Inter-Process Communication" to prev.
17342 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17346 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17348 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17350 * manual/arith.texi: Fix spaces after sentences.
17351 * manual/charset.texi: Likewise.
17352 * manual/errno.texi: Likewise.
17353 * manual/install.texi: Likewise.
17354 * manual/llio.texi: Likewise.
17355 * manual/locale.texi: Likewise.
17356 * manual/maint.texi: Likewise.
17357 * manual/math.texi: Likewise.
17358 * manual/memory.texi: Likewise.
17359 * manual/message.texi: Likewise.
17360 * manual/probes.texi: Likewise.
17361 * manual/resource.texi: Likewise.
17362 * manual/signal.texi: Likewise.
17363 * manual/socket.texi: Likewise.
17364 * manual/stdio.texi: Likewise.
17365 * manual/string.texi: Likewise.
17366 * manual/time.texi: Likewise.
17367 * manual/users.texi: Likewise.
17369 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17372 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17373 _DEFAULT_SOURCE is defined.
17375 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17376 Carlos O'Donell <carlos@redhat.com>
17379 * elf/dl-tls.c (_dl_count_modids): New function.
17380 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17381 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17382 audit library and increment generation counter.
17383 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17384 * elf/tst-audit9.c: New file.
17385 * elf/tst-auditmod9a.c: New file.
17386 * elf/tst-auditmod9b.c: New file.
17387 * elf/Makefile: Add rules to build and run tst-audit9.
17389 2014-02-25 Florian Weimer <fweimer@redhat.com>
17392 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17394 2014-02-25 Will Newton <will.newton@linaro.org>
17396 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17397 (__longjmp): Restore sp and lr before restoring callee
17398 saved registers. Add longjmp and longjmp_target
17399 SystemTap probe point.
17400 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17401 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17402 Define to zero to match jmpbuf layout.
17403 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17404 (__sigsetjmp): Save sp and lr before saving callee
17405 saved registers. Add setjmp SystemTap probe point.
17407 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17409 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17411 2014-02-24 Andreas Schwab <schwab@suse.de>
17414 * elf/pldd.c (wait_for_ptrace_stop): New function.
17415 (main): Call it after attaching.
17417 2014-02-22 Roland McGrath <roland@hack.frob.com>
17419 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17420 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17421 Versions files is now verboten.
17422 * hurd/Versions (libc: GLIBC_2.0):
17423 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17424 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17425 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17426 * mach/Versions: Likewise.
17428 * csu/Versions: Remove unused %include.
17429 * resolv/Versions: Likewise.
17431 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17433 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17434 ($(objpfx)check-local-headers.out): Likewise.
17435 ($(objpfx)begin-end-check.out): Likewise.
17436 * Makerules (check-abi-%.out): Likewise.
17437 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17438 ($(objpfx)test2.cat): Likewise.
17439 ($(objpfx)de/libc.cat): Likewise.
17440 ($(objpfx)test-gencat.out): Likewise.
17441 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17442 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17443 ($(objpfx)noload-mem): Likewise.
17444 ($(objpfx)tst-pathopt.out): Likewise.
17445 ($(objpfx)tst-rtld-load-self.out): Likewise.
17446 ($(objpfx)tst-array1-cmp.out): Likewise.
17447 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17448 ($(objpfx)tst-array2-cmp.out): Likewise.
17449 ($(objpfx)tst-array3-cmp.out): Likewise.
17450 ($(objpfx)tst-array4-cmp.out): Likewise.
17451 ($(objpfx)tst-array5-cmp.out): Likewise.
17452 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17453 ($(objpfx)check-textrel.out): Likewise.
17454 ($(objpfx)check-execstack.out): Likewise.
17455 ($(objpfx)check-localplt.out): Likewise.
17456 ($(objpfx)order2-cmp.out): Likewise.
17457 ($(objpfx)tst-leaks1-mem): Likewise.
17458 ($(objpfx)tst-leaks1-static-mem): Likewise.
17459 ($(objpfx)tst-initorder-cmp.out): Likewise.
17460 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17461 ($(objpfx)tst-unused-dep.out): Likewise.
17462 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17463 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17464 * iconv/Makefile (test-iconvconfig): Likewise.
17465 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17466 ($(objpfx)iconv-test.out): Likewise.
17467 ($(objpfx)tst-tables.out): Likewise.
17468 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17469 ($(objpfx)tst-gettext.out): Likewise.
17470 ($(objpfx)tst-translit.out): Likewise.
17471 ($(objpfx)tst-gettext2.out): Likewise.
17472 ($(objpfx)tst-gettext4.out): Likewise.
17473 ($(objpfx)tst-gettext6.out): Likewise.
17474 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17475 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17476 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17477 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17478 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17479 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17480 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17481 ($(objpfx)wordexp-tst.out): Likewise.
17482 ($(objpfx)annexc.out): Likewise.
17483 ($(objpfx)tst-fnmatch-mem): Likewise.
17484 ($(objpfx)bug-regex2-mem): Likewise.
17485 ($(objpfx)bug-regex14-mem): Likewise.
17486 ($(objpfx)bug-regex21-mem): Likewise.
17487 ($(objpfx)bug-regex31-mem): Likewise.
17488 ($(objpfx)tst-vfork3-mem): Likewise.
17489 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17490 ($(objpfx)tst-pcre-mem): Likewise.
17491 ($(objpfx)tst-boost-mem): Likewise.
17492 ($(objpfx)tst-getconf.out): Likewise.
17493 ($(objpfx)bug-ga2-mem): Likewise.
17494 ($(objpfx)bug-glob2-mem): Likewise.
17495 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17496 ($(objpfx)mtrace-tst-leaks2): Likewise.
17497 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17498 ($(objpfx)tst-printf.out): Likewise.
17499 ($(objpfx)tst-setvbuf1.out): Likewise.
17500 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17501 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17502 ($(objpfx)tst-fmtmsg.out): Likewise.
17503 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17504 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17506 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17507 * bits/sigaction.h [__USE_MISC]: Likewise.
17508 * bits/waitstatus.h: Update #endif comments.
17509 * ctype/ctype.h: Likewise.
17510 * dirent/dirent.h: Likewise.
17511 [__USE_MISC]: Remove redundant conditionals.
17512 * grp/grp.h: Update #endif comments.
17513 [__USE_GNU]: Remove redundant conditionals.
17514 [__USE_MISC]: Likewise.
17515 * inet/netinet/in.h [__USE_GNU]: Likewise.
17516 * io/sys/stat.h [__USE_MISC]: Likewise.
17517 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17518 * libio/bits/stdio.h: Update #endif comments.
17519 [__USE_MISC]: Remove redundant conditionals.
17520 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17521 * libio/stdio.h: Update #endif comments.
17522 [__USE_MISC]: Remove redundant conditionals.
17523 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17524 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17525 * math/math.h: Update #else and #endif comments.
17526 [__USE_MISC]: Remove redundant conditionals.
17527 * misc/sys/uio.h: Update #endif comments.
17528 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17529 * posix/glob.h [__USE_MISC]: Likewise.
17530 * posix/sys/types.h: Update #endif comments.
17531 [__USE_MISC]: Remove redundant conditionals.
17532 * posix/sys/wait.h: Update #endif comments.
17533 [__USE_MISC]: Remove redundant conditionals.
17534 * posix/unistd.h: Update #endif comments.
17535 [__USE_MISC]: Remove redundant conditionals.
17536 * pwd/pwd.h [__USE_GNU]: Likewise.
17537 [__USE_MISC]: Likewise.
17538 * resolv/netdb.h [__USE_GNU]: Likewise.
17539 * signal/signal.h: Update #endif comments.
17540 [__USE_MISC]: Remove redundant conditionals.
17541 * stdlib/stdlib.h: Update #else and #endif comments.
17542 [__USE_MISC]: Remove redundant conditionals.
17543 [__USE_GNU]: Likewise.
17544 * string/bits/string2.h [__USE_MISC]: Likewise.
17545 * string/string.h: Update #endif comments.
17546 [__USE_MISC]: Remove redundant conditionals.
17547 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17549 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17550 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17551 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17553 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17557 [__USE_MISC]: Remove redundant conditionals.
17558 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17559 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17560 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17561 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17562 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17564 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17565 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17567 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17568 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17570 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17572 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17573 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17575 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17577 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17578 * sysdeps/x86/bits/string.h: Update #endif comments.
17579 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17581 * time/sys/time.h: Update #endif comments.
17582 * time/time.h: Likewise.
17583 [__USE_MISC]: Remove redundant conditionals.
17585 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17588 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17590 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17592 * Versions.def (librt): Add GLIBC_2.17.
17594 2014-02-21 Adam Conrad <adconrad@0c3.net>
17596 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17597 synonym for _SYS_AUXV_H to allow direct inclusion.
17598 * sysdeps/sparc/bits/hwcap.h: Likewise.
17599 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17600 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17601 * sysdeps/sparc/sysdep.h: Likewise.
17603 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17605 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17607 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17609 * benchtests/bench-strrchr.c: Print length instead of position.
17611 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17614 * sysdeps/unix/sysv/linux/kernel-features.h
17615 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17616 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17617 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17618 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17620 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17621 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17622 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17623 (__ASSUME_SENDMMSG): Define instead of using previous
17624 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17626 (__ASSUME_SENDMMSG_SYSCALL): Define.
17627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17628 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17630 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17631 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17633 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17634 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17637 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17638 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17639 [__ASSUME_SENDMMSG]: Change conditionals to
17640 [__ASSUME_SENDMMSG_SOCKETCALL].
17641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17642 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17644 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17645 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17647 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17648 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17649 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17650 [!__ASSUME_SENDMMSG]: Change conditional to
17651 [!__ASSUME_SENDMMSG_SOCKETCALL].
17652 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17653 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17657 * sysdeps/unix/sysv/linux/kernel-features.h
17658 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17659 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17660 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17661 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17662 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17663 [__i386__ || __sparc__]
17664 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17665 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17666 (__ASSUME_RECVMMSG): Define instead of using previous
17667 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17668 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17669 (__ASSUME_RECVMMSG_SYSCALL): Define.
17670 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17671 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17673 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17674 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17676 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17677 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17679 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17680 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17681 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17682 [__ASSUME_RECVMMSG]: Change condition to
17683 [__ASSUME_RECVMMSG_SOCKETCALL].
17684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17685 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17687 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17688 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17689 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17691 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17692 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17693 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17694 [!__ASSUME_RECVMMSG]: Change condition to
17695 [!__ASSUME_RECVMMSG_SOCKETCALL].
17696 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17697 (__ASSUME_RECVMMSG_SYSCALL): Define.
17700 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17701 __powerpc__ || __s390__ || __sh__ || __sparc__]
17702 (__ASSUME_SOCKETCALL): Define.
17703 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17704 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17705 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17706 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17707 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17708 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17709 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17710 (__ASSUME_ACCEPT4): Define instead of using previous
17711 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17712 __powerpc__ || __sparc__ || __s390__)] condition.
17713 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17714 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17715 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17716 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17717 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17718 [!__ASSUME_ACCEPT4]: Change condition to
17719 [!__ASSUME_ACCEPT4_SOCKETCALL].
17720 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17721 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17722 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17723 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17724 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17725 __ASSUME_ACCEPT4_SYSCALL.
17726 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17727 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17728 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17729 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17730 __ASSUME_ACCEPT4_SYSCALL.
17731 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17732 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17733 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17734 [__ASSUME_ACCEPT4]: Change condition to
17735 [__ASSUME_ACCEPT4_SOCKETCALL].
17736 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17737 (__ASSUME_SOCKETCALL): Define.
17738 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17739 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17740 (__ASSUME_SOCKETCALL): Define.
17741 (__ASSUME_ACCEPT4): Remove.
17742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17744 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17745 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17747 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17748 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17750 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17752 (HWCAP_ARM_LPAE): Likewise.
17753 (HWCAP_ARM_EVTSTRM): Likewise.
17754 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17755 Add vpfd32, lpae and evtstrm.
17756 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17759 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17761 * math/auto-libm-test-in: Add tests of clog10.
17762 * math/auto-libm-test-out: Regenerated.
17763 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17764 * sysdeps/i386/fpu/libm-test-ulps: Update.
17765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17767 2014-02-18 Andreas Schwab <schwab@suse.de>
17770 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17771 Store non-zero if the second buffer was newly allocated.
17772 (send_dg): Likewise.
17773 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17774 to send_vc and send_dg.
17775 (res_nsend): Pass NULL for ansp2_malloced.
17776 * resolv/res_query.c (__libc_res_nquery): Add parameter
17777 answerp2_malloced and pass it down to __libc_res_nsend.
17778 (res_nquery): Pass additional NULL to __libc_res_nquery.
17779 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17780 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17781 second answer buffer if answerp2_malloced was set.
17782 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17783 (__libc_res_nquerydomain): Add parameter
17784 answerp2_malloced and pass it down to __libc_res_nquery.
17785 (res_nquerydomain): Pass additional NULL to
17786 __libc_res_nquerydomain.
17787 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17788 additional NULL to __libc_res_nsend and __libc_res_nquery.
17789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17790 additional NULL to __libc_res_nsearch.
17791 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17792 parameter of __libc_res_nsearch to check for separately allocated
17794 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17796 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17797 additional NULL to __libc_res_nquery.
17798 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17799 __libc_res_nsearch.
17800 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17801 * include/resolv.h: Update prototypes of __libc_res_nquery,
17802 __libc_res_nsearch, __libc_res_nsend.
17804 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17806 * math/auto-libm-test-in: Add tests of fma.
17807 * math/auto-libm-test-out: Regenerated.
17808 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17809 (fma_towardzero_test_data): Likewise.
17810 (fma_downward_test_data): Likewise.
17811 (fma_upward_test_data): Likewise.
17812 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17814 (rounding_modes): Add values for new field.
17815 (func_calc_method): Add value mpfr_fff_f.
17816 (func_calc_desc): Add mpfr_fff_f union field.
17817 (test_function): Add field exact_args.
17818 (FUNC): Add macro argument EXACT_ARGS.
17819 (FUNC_mpfr_f_f): Update call to FUNC.
17820 (FUNC_mpfr_f_f): Likewise.
17821 (FUNC_mpfr_ff_f): Likewise.
17822 (FUNC_mpfr_if_f): Likewise.
17823 (FUNC_mpc_c_f): Likewise.
17824 (FUNC_mpc_c_c): Likewise.
17825 (test_functions): Add fma. Update calls to FUNC.
17826 (handle_input_arg): Add argument exact_args.
17827 (add_test): Update call to handle_input_arg.
17828 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17829 (output_for_one_input_case): Update call to calc_generic_results.
17830 Recalculate exact zero results in each rounding mode.
17832 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17833 non-negative before setting low bit.
17834 * math/auto-libm-test-in: Mark one asin test possibly having
17835 spurious underflow.
17836 * math/auto-libm-test-out: Regenerated.
17837 * sysdeps/i386/fpu/libm-test-ulps: Update.
17838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17840 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17842 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17843 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17844 ports/sysdeps/unix/sysv/linux/microblaze.
17845 * README: Add missing listing for microblaze*-*-linux-gnu.
17847 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17849 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17852 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17854 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17855 * sysdeps/unix/sysv/linux/ia64: Move directory from
17856 ports/sysdeps/unix/sysv/linux/ia64.
17857 * README: Update listing for ia64-*-linux-gnu.
17859 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17860 Joseph Myers <joseph@codesourcery.com>
17862 * Makeconfig (test-name): New variable.
17863 (evaluate-test): Likewise.
17864 * Makerules (do-test-clean): Remove .test-result files.
17865 (common-mostlyclean): Likewise.
17866 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17867 * scripts/evaluate-test.sh: New file.
17869 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17871 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17872 separate $(objpfx)tst-fopenloc-cmp.out and
17873 $(objpfx)tst-fopenloc-mem.out targets.
17874 (tests): Update dependencies.
17875 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17876 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17877 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17878 (tst-rxspencer-no-utf8-ARGS): New variable.
17879 (tst-rxspencer-no-utf8-ENV): Likewise.
17880 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17881 instead of $(objpfx)tst-rxspencer-mem.
17882 ($(objpfx)tst-rxspencer-mem): Change target to
17883 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17884 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17885 * posix/tst-rxspencer-no-utf8.c: New file.
17887 * elf/Makefile ($(objpfx)order.out): Remove rule.
17888 [$(run-built-tests) = yes] (tests): Depend on
17889 $(objpfx)order-cmp.out.
17890 ($(objpfx)order-cmp.out): New rule.
17891 [$(run-built-tests) = yes] (tests): Depend on
17892 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17893 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17894 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17895 $(objpfx)tst-array5-static-cmp.out.
17896 ($(objpfx)tst-array1.out): Remove rule.
17897 ($(objpfx)tst-array1-cmp.out): New rule.
17898 ($(objpfx)tst-array1-static.out): Remove rule.
17899 ($(objpfx)tst-array1-static-cmp.out): New rule.
17900 ($(objpfx)tst-array2.out): Remove rule.
17901 ($(objpfx)tst-array2-cmp.out): New rule.
17902 ($(objpfx)tst-array3.out): Remove rule.
17903 ($(objpfx)tst-array3-cmp.out): New rule.
17904 ($(objpfx)tst-array4.out): Remove rule.
17905 ($(objpfx)tst-array4-cmp.out): New rule.
17906 ($(objpfx)tst-array5.out): Remove rule.
17907 ($(objpfx)tst-array5-cmp.out): New rule.
17908 ($(objpfx)tst-array5-static.out): Remove rule.
17909 ($(objpfx)tst-array5-static-cmp.out): New rule.
17910 [$(run-built-tests) = yes] (tests): Depend on
17911 $(objpfx)order2-cmp.out.
17912 ($(objpfx)order2.out): Remove rule.
17913 ($(objpfx)order2-cmp.out): New rule.
17914 ($(objpfx)tst-initorder.out): Remove rule.
17915 [$(run-built-tests) = yes] (tests): Depend on
17916 $(objpfx)tst-initorder-cmp.out.
17917 ($(objpfx)tst-initorder-cmp.out): New rule.
17918 ($(objpfx)tst-initorder2.out): Remove rule.
17919 [$(run-built-tests) = yes] (tests): Depend on
17920 $(objpfx)tst-initorder2-cmp.out.
17921 ($(objpfx)tst-initorder2-cmp.out): New rule.
17922 [$(run-built-tests) = yes] (tests): Depend on
17923 $(objpfx)tst-unused-dep-cmp.out.
17924 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17925 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17926 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17927 on $(objpfx)tst-setvbuf1-cmp.out.
17928 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17929 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17930 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17931 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17932 ($(objpfx)tst-svc.out): Remove rule.
17933 ($(objpfx)tst-svc-cmp.out): New rule.
17935 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17937 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17938 * ctype/ctype.h [__USE_MISC]: Likewise.
17939 * dirent/dirent.h [__USE_MISC]: Likewise.
17940 * grp/grp.h [__USE_MISC]: Likewise.
17941 * io/fcntl.h [__USE_MISC]: Likewise.
17942 * io/sys/stat.h [__USE_MISC]: Likewise.
17943 * libio/stdio.h [__USE_MISC]: Likewise.
17944 * posix/unistd.h [__USE_MISC]: Likewise.
17945 * pwd/pwd.h [__USE_MISC]: Likewise.
17946 * stdlib.h [__USE_MISC]: Likewise.
17947 * string/bits/string2.h [__USE_MISC]: Likewise.
17948 * string/string.h [__USE_MISC]: Likewise.
17949 * time/time.h [__USE_MISC]: Likewise.
17951 2014-02-13 Andreas Schwab <schwab@suse.de>
17954 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17955 second answer buffer if it was separately allocated.
17957 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17959 * sysdeps/mips/math-tests.h: Include <features.h>.
17960 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17961 (ROUNDING_TESTS_long_double): Do not define.
17962 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17963 (EXCEPTION_TESTS_long_double): Likewise.
17964 * sysdeps/mips/mips64/libm-test-ulps: Update.
17966 * include/features.h (__USE_BSD): Remove macro definitions.
17967 (__USE_SVID): Likewise.
17968 (_BSD_SOURCE): Likewise.
17969 (_SVID_SOURCE): Likewise.
17970 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17971 from definition of _DEFAULT_SOURCE.
17972 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17974 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17975 * bits/mman.h [__USE_BSD]: Likewise.
17976 * bits/termios.h [__USE_BSD]: Likewise.
17977 * bits/waitstatus.h [__USE_BSD]: Likewise.
17978 * ctype/ctype.h [__USE_SVID]: Likewise.
17979 * dirent/dirent.h [__USE_BSD]: Likewise.
17980 * grp/grp.h [__USE_SVID]: Likewise.
17981 [__USE_BSD]: Likewise.
17982 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17983 * io/fcntl.h [__USE_BSD]: Likewise.
17984 * io/ftw.h [__USE_BSD]: Likewise.
17985 * io/sys/stat.h [__USE_BSD]: Likewise.
17986 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17987 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17988 * libio/stdio.h [__USE_SVID]: Likewise.
17989 [__USE_BSD]: Likewise.
17990 * math/math.h [__USE_SVID]: Likewise.
17991 [__USE_BSD]: Likewise.
17992 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17993 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17994 * misc/search.h [__USE_SVID]: Likewise.
17995 * misc/sys/mman.h [__USE_BSD]: Likewise.
17996 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17997 * misc/sys/uio.h [__USE_BSD]: Likewise.
17998 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17999 * posix/glob.h [__USE_BSD]: Likewise.
18000 * posix/regex.h [__USE_BSD]: Likewise.
18001 * posix/sys/types.h [__USE_BSD]: Likewise.
18002 [__USE_SVID]: Likewise.
18003 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18004 * posix/sys/wait.h [__USE_BSD]: Likewise.
18005 [__USE_SVID]: Likewise.
18006 * posix/unistd.h [__USE_BSD]: Likewise.
18007 [__USE_SVID]: Likewise.
18008 * pwd/pwd.h [__USE_SVID]: Likewise.
18009 * resolv/netdb.h [__USE_BSD]: Likewise.
18010 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18011 * signal/signal.h [__USE_BSD]: Likewise.
18012 [__USE_SVID]: Likewise.
18013 * socket/sys/socket.h [__USE_BSD]: Likewise.
18014 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18015 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18016 [__USE_SVID]: Likewise.
18017 * string/bits/string2.h [__USE_BSD]: Likewise.
18018 [__USE_SVID]: Likewise.
18019 * string/bits/string3.h [__USE_BSD]: Likewise.
18020 * string/endian.h [__USE_BSD]: Likewise.
18021 * string/string.h [__USE_SVID]: Likewise.
18022 [__USE_BSD]: Likewise.
18023 * string/strings.h [__USE_BSD]: Likewise.
18024 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18025 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18026 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18027 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18028 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18029 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18033 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18034 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18036 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18037 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18039 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18041 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18042 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18043 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18047 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18048 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18049 * termios/termios.h [__USE_BSD]: Likewise.
18050 * time/sys/time.h [__USE_BSD]: Likewise.
18051 * time/time.h [__USE_BSD]: Likewise.
18052 [__USE_SVID]: Likewise.
18054 * Makefile (subdir_targets): Remove subdir_lint.out.
18056 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18057 (do-tst-printf): Likewise.
18058 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18059 $(objpfx)tst-printf.out.
18061 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18063 * Makerules (check-abi-%): Change target to
18064 $(objpfx)check-abi-%.out.
18065 (check-abi target): Update dependencies.
18066 (check-abi-pattern variable): Redirect output of diff to $@.
18067 (check-abi variable): Likewise.
18068 * elf/Makefile (check-abi): Update dependencies.
18070 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18072 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18073 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18075 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18076 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18077 value has largest subnormal exponent.
18078 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18079 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18080 * sysdeps/aarch64/soft-fp/sfp-machine.h
18081 (_FP_TININESS_AFTER_ROUNDING): New macro.
18082 * sysdeps/alpha/soft-fp/sfp-machine.h
18083 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18084 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18086 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18087 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18088 * sysdeps/mips/soft-fp/sfp-machine.h
18089 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18090 * sysdeps/powerpc/soft-fp/sfp-machine.h
18091 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18092 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18094 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18095 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18096 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18097 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18098 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18101 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18104 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18107 2014-02-12 Richard Henderson <rth@redhat.com>
18109 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18110 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18111 * sysdeps/unix/sysv/linux/alpha: Move directory from
18112 ports/sysdeps/unix/sysv/linux/alpha.
18113 * README: Update listing for alpha-*-linux-gnu.
18115 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18117 * include/features.h: Update comment documenting feature test
18119 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18121 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18122 (_SVID_SOURCE): Likewise.
18123 (_DEFAULT_SOURCE): Update description of default features.
18124 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18126 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18127 (S_ISVTX): Likewise.
18128 * manual/math.texi (Mathematical Constants): Likewise.
18129 * manual/signal.texi (Interrupted Primitives): Likewise.
18130 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18131 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18132 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18133 Don't refer to _SVID_SOURCE in warning text.
18135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18137 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18139 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18140 * sysdeps/mips/dl-lookup.c: Remove.
18141 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18143 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18146 * math/auto-libm-test-in: Add testcase for expl.
18147 * math/auto-libm-test-out: Regenerate.
18148 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18149 calculation of unsafe.
18150 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18152 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18154 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18155 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18156 ports/sysdeps/unix/sysv/linux/aarch64.
18157 * README: Update listing for aarch64*-*-linux-gnu.
18159 2014-02-11 Will Newton <will.newton@linaro.org>
18161 * manual/probes.texi (Mathematical Function Probes): Use
18162 "triggered" instead of "hit".
18164 * manual/probes.texi (Internal Probes): Add documentation
18165 of setjmp, longjmp and longjmp_target probes.
18167 * include/stap-probe.h: Add comment about probe argument
18170 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18171 definition. (tr_where, tr_freehook, tr_mallochook,
18172 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18174 2014-02-11 David S. Miller <davem@davemloft.net>
18176 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18177 processing int_tests.
18179 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18181 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18182 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18183 * sysdeps/unix/sysv/linux/mips: Move directory from
18184 ports/sysdeps/unix/sysv/linux/mips.
18185 * README: Update listing for mips-*-linux-gnu and
18186 mips64-*-linux-gnu.
18188 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18190 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18191 * sysdeps/unix/sysv/linux/m68k: Move directory from
18192 ports/sysdeps/unix/sysv/linux/m68k.
18193 * README: Update listing for m68k-*-linux-gnu.
18195 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18197 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18198 * sysdeps/unix/sysv/linux/generic: Move directory from
18199 ports/sysdeps/unix/sysv/linux/generic.
18200 * sysdeps/unix/sysv/linux/tile: Move directory from
18201 ports/sysdeps/unix/sysv/linux/tile.
18202 * README: Update listing for tile*-*-linux-gnu.
18204 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18206 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18208 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18209 * catgets/open_catalog.c (__open_catalog): Likewise.
18210 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18211 * debug/confstr_chk.c: Likewise.
18212 * debug/fread_chk.c (__fread_chk): Likewise.
18213 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18214 * debug/getgroups_chk.c: Likewise.
18215 * debug/mbsnrtowcs_chk.c: Likewise.
18216 * debug/mbsrtowcs_chk.c: Likewise.
18217 * debug/mbstowcs_chk.c: Likewise.
18218 * debug/memcpy_chk.c: Likewise.
18219 * debug/memmove_chk.c: Likewise.
18220 * debug/mempcpy_chk.c: Likewise.
18221 * debug/memset_chk.c: Likewise.
18222 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18223 * debug/strcat_chk.c (__strcat_chk): Likewise.
18224 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18225 * debug/strncat_chk.c (__strncat_chk): Likewise.
18226 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18227 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18228 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18229 * debug/wcpncpy_chk.c: Likewise.
18230 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18231 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18232 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18233 * debug/wcsncpy_chk.c: Likewise.
18234 * debug/wcsnrtombs_chk.c: Likewise.
18235 * debug/wcsrtombs_chk.c: Likewise.
18236 * debug/wcstombs_chk.c: Likewise.
18237 * debug/wmemcpy_chk.c: Likewise.
18238 * debug/wmemmove_chk.c: Likewise.
18239 * debug/wmempcpy_chk.c: Likewise.
18240 * debug/wmemset_chk.c: Likewise.
18241 * dirent/scandirat.c (SCANDIRAT): Likewise.
18242 * dlfcn/dladdr1.c (dladdr1): Likewise.
18243 * dlfcn/dladdr.c (dladdr): Likewise.
18244 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18245 * dlfcn/dlerror.c (__dlerror): Likewise.
18246 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18247 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18248 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18249 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18250 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18251 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18252 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18253 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18255 * elf/dl-conflict.c: Likewise.
18256 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18257 * elf/dl-dst.h: Likewise.
18258 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18259 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18260 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18261 * elf/dl-init.c (call_init, _dl_init): Likewise.
18262 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18263 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18264 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18266 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18268 * elf/dl-minimal.c (__libc_memalign): Likewise.
18269 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18270 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18271 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18272 * elf/dl-sym.c (do_sym): Likewise.
18273 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18274 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18275 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18276 * elf/dl-writev.h (_dl_writev): Likewise.
18277 * elf/ldconfig.c (search_dir): Likewise.
18278 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18279 (dl_main): Likewise.
18280 * elf/setup-vdso.h (setup_vdso): Likewise.
18281 * grp/compat-initgroups.c (compat_call): Likewise.
18282 * grp/fgetgrent.c (fgetgrent): Likewise.
18283 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18284 * grp/putgrent.c (putgrent): Likewise.
18285 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18287 * hurd/hurdinit.c: Likewise.
18288 * iconvdata/8bit-gap.c (struct): Likewise.
18289 * iconvdata/ansi_x3.110.c : Likewise.
18290 * iconvdata/big5.c : Likewise.
18291 * iconvdata/big5hkscs.c : Likewise.
18292 * iconvdata/cp1255.c: Likewise.
18293 * iconvdata/cp1258.c : Likewise.
18294 * iconvdata/cp932.c : Likewise.
18295 * iconvdata/euc-cn.c: Likewise.
18296 * iconvdata/euc-jisx0213.c : Likewise.
18297 * iconvdata/euc-jp.c: Likewise.
18298 * iconvdata/euc-jp-ms.c : Likewise.
18299 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18300 * iconvdata/gb18030.c : Likewise.
18301 * iconvdata/gbbig5.c (const): Likewise.
18302 * iconvdata/gbgbk.c: Likewise.
18303 * iconvdata/gbk.c : Likewise.
18304 * iconvdata/ibm1364.c : Likewise.
18305 * iconvdata/ibm930.c : Likewise.
18306 * iconvdata/ibm932.c: Likewise.
18307 * iconvdata/ibm933.c : Likewise.
18308 * iconvdata/ibm935.c : Likewise.
18309 * iconvdata/ibm937.c : Likewise.
18310 * iconvdata/ibm939.c : Likewise.
18311 * iconvdata/ibm943.c: Likewise.
18312 * iconvdata/iso_11548-1.c: Likewise.
18313 * iconvdata/iso-2022-cn.c : Likewise.
18314 * iconvdata/iso-2022-cn-ext.c : Likewise.
18315 * iconvdata/iso-2022-jp-3.c: Likewise.
18316 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18317 * iconvdata/iso-2022-kr.c : Likewise.
18318 * iconvdata/iso646.c (gconv_end): Likewise.
18319 * iconvdata/iso_6937-2.c : Likewise.
18320 * iconvdata/iso_6937.c : Likewise.
18321 * iconvdata/iso8859-1.c: Likewise.
18322 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18323 * iconvdata/shift_jisx0213.c : Likewise.
18324 * iconvdata/sjis.c : Likewise.
18325 * iconvdata/t.61.c : Likewise.
18326 * iconvdata/tcvn5712-1.c : Likewise.
18327 * iconvdata/tscii.c: Likewise.
18328 * iconvdata/uhc.c : Likewise.
18329 * iconvdata/unicode.c (gconv_end): Likewise.
18330 * iconvdata/utf-16.c (gconv_end): Likewise.
18331 * iconvdata/utf-32.c (gconv_end): Likewise.
18332 * iconvdata/utf-7.c (base64): Likewise.
18333 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18334 * iconv/gconv_close.c (__gconv_close): Likewise.
18335 * iconv/gconv_open.c (__gconv_open): Likewise.
18336 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18337 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18338 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18339 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18340 (ucs4le_internal_loop_single): Likewise.
18341 * iconv/iconv.c (iconv): Likewise.
18342 * iconv/iconv_close.c: Likewise.
18343 * iconv/loop.c (SINGLE): Likewise.
18344 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18345 * include/atomic.h: Likewise.
18346 * inet/inet6_option.c (option_alloc): Likewise.
18347 * intl/bindtextdom.c (set_binding_values): Likewise.
18348 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18349 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18350 * intl/localealias.c (read_alias_file): Likewise.
18351 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18352 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18353 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18354 * libio/fmemopen.c (fmemopen): Likewise.
18355 * libio/iofgets.c (_IO_fgets): Likewise.
18356 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18357 * libio/iofgetws.c (fgetws): Likewise.
18358 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18359 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18360 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18361 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18362 * locale/findlocale.c (_nl_find_locale): Likewise.
18363 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18364 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18366 * locale/setlocale.c (setlocale): Likewise.
18367 * login/programs/pt_chown.c (main): Likewise.
18368 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18369 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18370 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18371 (mmap, mmap64, mremap, munmap): Likewise.
18372 * math/e_exp2l.c: Likewise.
18373 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18374 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18375 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18376 * math/s_catan.c (__catan): Likewise.
18377 * math/s_catanf.c (__catanf): Likewise.
18378 * math/s_catanh.c (__catanh): Likewise.
18379 * math/s_catanhf.c (__catanhf): Likewise.
18380 * math/s_catanhl.c (__catanhl): Likewise.
18381 * math/s_catanl.c (__catanl): Likewise.
18382 * math/s_ccosh.c (__ccosh): Likewise.
18383 * math/s_ccoshf.c (__ccoshf): Likewise.
18384 * math/s_ccoshl.c (__ccoshl): Likewise.
18385 * math/s_cexp.c (__cexp): Likewise.
18386 * math/s_cexpf.c (__cexpf): Likewise.
18387 * math/s_cexpl.c (__cexpl): Likewise.
18388 * math/s_clog10.c (__clog10): Likewise.
18389 * math/s_clog10f.c (__clog10f): Likewise.
18390 * math/s_clog10l.c (__clog10l): Likewise.
18391 * math/s_clog.c (__clog): Likewise.
18392 * math/s_clogf.c (__clogf): Likewise.
18393 * math/s_clogl.c (__clogl): Likewise.
18394 * math/s_csin.c (__csin): Likewise.
18395 * math/s_csinf.c (__csinf): Likewise.
18396 * math/s_csinh.c (__csinh): Likewise.
18397 * math/s_csinhf.c (__csinhf): Likewise.
18398 * math/s_csinhl.c (__csinhl): Likewise.
18399 * math/s_csinl.c (__csinl): Likewise.
18400 * math/s_csqrt.c (__csqrt): Likewise.
18401 * math/s_csqrtf.c (__csqrtf): Likewise.
18402 * math/s_csqrtl.c (__csqrtl): Likewise.
18403 * math/s_ctan.c (__ctan): Likewise.
18404 * math/s_ctanf.c (__ctanf): Likewise.
18405 * math/s_ctanh.c (__ctanh): Likewise.
18406 * math/s_ctanhf.c (__ctanhf): Likewise.
18407 * math/s_ctanhl.c (__ctanhl): Likewise.
18408 * math/s_ctanl.c (__ctanl): Likewise.
18409 * math/w_pow.c: Likewise.
18410 * math/w_powf.c: Likewise.
18411 * math/w_powl.c: Likewise.
18412 * math/w_scalb.c (sysv_scalb): Likewise.
18413 * math/w_scalbf.c (sysv_scalbf): Likewise.
18414 * math/w_scalbl.c (sysv_scalbl): Likewise.
18415 * misc/error.c (error_tail): Likewise.
18416 * misc/pselect.c (__pselect): Likewise.
18417 * nis/nis_callback.c (__nis_create_callback): Likewise.
18418 * nis/nis_call.c (__nisfind_server): Likewise.
18419 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18420 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18421 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18422 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18423 * nis/nis_lookup.c (nis_lookup): Likewise.
18424 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18425 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18426 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18427 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18428 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18429 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18430 * nis/nss_compat/compat-initgroups.c (add_group)
18431 (internal_getgrent_r): Likewise.
18432 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18433 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18434 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18435 (internal_getspnam_r): Likewise.
18436 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18437 (_nss_nis_getaliasbyname_r): Likewise.
18438 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18439 (_nss_nis_getntohost_r): Likewise.
18440 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18441 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18442 (_nss_nis_getgrgid_r): Likewise.
18443 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18444 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18445 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18446 (_nss_nis_gethostbyname4_r): Likewise.
18447 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18448 (initgroups_netid): Likewise.
18449 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18450 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18451 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18452 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18453 (_nss_nis_getprotobynumber_r): Likewise.
18454 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18455 (_nss_nis_getsecretkey): Likewise.
18456 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18457 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18458 (_nss_nis_getpwuid_r): Likewise.
18459 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18460 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18461 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18462 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18463 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18464 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18465 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18467 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18468 (_nss_nisplus_getntohost_r): Likewise.
18469 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18470 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18471 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18472 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18474 * nis/nss_nisplus/nisplus-initgroups.c
18475 (_nss_nisplus_initgroups_dyn): Likewise.
18476 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18477 (_nss_nisplus_getnetbyaddr_r): Likewise.
18478 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18479 (_nss_nisplus_getprotobynumber_r): Likewise.
18480 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18481 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18482 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18484 * nis/nss_nisplus/nisplus-service.c
18485 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18486 (_nss_nisplus_getservbyport_r): Likewise.
18487 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18488 (_nss_nisplus_getspnam_r): Likewise.
18489 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18491 * nscd/aicache.c (addhstaiX): Likewise.
18492 * nscd/cache.c (cache_search, prune_cache): Likewise.
18493 * nscd/connections.c (register_traced_file, send_ro_fd)
18494 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18495 (main_loop_epoll): Likewise.
18496 * nscd/grpcache.c (addgrbyX): Likewise.
18497 * nscd/hstcache.c (addhstbyX): Likewise.
18498 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18499 * nscd/mem.c (gc, mempool_alloc): Likewise.
18500 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18501 (addinnetgrX): Likewise.
18502 * nscd/nscd-client.h (__nscd_acquire_maplock)
18503 (__nscd_drop_map_ref): Likewise.
18504 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18505 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18506 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18508 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18509 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18510 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18511 (__nscd_get_map_ref): Likewise.
18512 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18513 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18515 * nscd/pwdcache.c (addpwbyX): Likewise.
18516 * nscd/selinux.c (preserve_capabilities): Likewise.
18517 * nscd/servicescache.c (addservbyX): Likewise.
18518 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18519 * posix/fnmatch.c (fnmatch): Likewise.
18520 * posix/getopt.c (_getopt_internal_r): Likewise.
18521 * posix/glob.c (glob, glob_in_dir): Likewise.
18522 * posix/wordexp.c (exec_comm_child): Likewise.
18523 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18524 (getanswer_r, gaih_getanswer_slice): Likewise.
18525 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18526 * resolv/res_init.c: Likewise.
18527 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18528 * resolv/res_query.c (__libc_res_nquery): Likewise.
18529 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18531 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18532 * stdio-common/perror.c (perror): Likewise.
18533 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18534 * stdio-common/tmpnam.c (tmpnam): Likewise.
18535 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18536 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18537 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18539 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18540 * stdlib/putenv.c (putenv): Likewise.
18541 * stdlib/setenv.c (__add_to_environ): Likewise.
18542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18543 * stdlib/strtol_l.c (INTERNAL): Likewise.
18544 * string/memmem.c (memmem): Likewise.
18545 * string/strerror.c (strerror): Likewise.
18546 * string/strnlen.c (__strnlen): Likewise.
18547 * string/test-memmem.c (simple_memmem): Likewise.
18548 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18549 * sunrpc/pm_getport.c (__get_socket): Likewise.
18550 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18551 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18552 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18553 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18555 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18556 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18557 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18558 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18559 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18560 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18562 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18564 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18565 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18566 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18567 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18568 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18570 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18571 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18572 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18573 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18574 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18575 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18577 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18579 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18581 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18584 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18585 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18586 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18587 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18590 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18591 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18593 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18594 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18598 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18600 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18602 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18604 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18606 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18608 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18609 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18610 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18611 * sysdeps/posix/sleep.c: Likewise.
18612 * sysdeps/posix/tempname.c: Likewise.
18613 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18614 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18616 * sysdeps/powerpc/powerpc32/dl-machine.h
18617 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18618 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18620 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18621 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18623 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18624 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18625 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18626 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18627 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18628 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18629 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18630 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18631 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18632 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18633 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18634 (elf_machine_lazy_rel): Likewise.
18635 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18637 (elf_machine_lazy_rel): Likewise.
18638 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18639 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18640 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18641 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18642 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18643 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18644 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18647 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18648 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18649 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18650 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18651 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18652 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18653 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18654 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18655 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18656 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18657 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18659 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18660 (__posix_fallocate64_l64): Likewise.
18661 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18662 (posix_fallocate): Likewise.
18663 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18666 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18667 (getifaddrs_internal): Likewise.
18668 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18669 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18670 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18671 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18672 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18673 (__posix_fallocate64_l64): Likewise.
18674 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18676 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18677 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18678 (__get_clockfreq): Likewise.
18679 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18680 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18681 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18684 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18685 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18686 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18688 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18689 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18690 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18691 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18692 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18693 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18694 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18696 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18697 (posix_fallocate): Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18699 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18700 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18701 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18702 (elf_machine_rela, elf_machine_rela_relative)
18703 (elf_machine_lazy_rel): Likewise.
18704 * time/asctime.c (asctime_internal): Likewise.
18705 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18706 * time/tzset.c (__tzset_parse_tz): Likewise.
18707 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18708 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18709 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18710 * wcsmbs/wcsmbsload.h: Likewise.
18713 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18715 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18716 (arena_get2): Remove THREAD_STATS conditionals.
18717 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18718 (__malloc_stats, int): Likewise.
18720 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18722 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18723 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18725 * manual/setjmp.texi: Fix typos/grammar errors.
18727 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18728 Only return early when n is <= 0. Delete unused return statement.
18730 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18731 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18732 * debug/tst-longjmp_chk3.c: New file.
18734 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18735 (test_main): Replace code with set_fortify_handler call.
18736 * debug/test-strcpy_chk.c: Likewise.
18737 * debug/tst-chk1.c: Likewise.
18738 * debug/tst-longjmp_chk.c: Likewise.
18739 * test-skeleton.c: Include fcntl.h & paths.h
18740 (set_fortify_handler): Define.
18742 * debug/tst-longjmp_chk.c: Add header comment and include
18743 ../test-skeleton.c.
18744 (do_test): Mark static.
18745 (TEST_FUNCTION): Define.
18747 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18748 (IP_PMTUDISC_INTERFACE): Likewise.
18749 (IP_MULTICAST_IF): Likewise.
18750 (IP_MULTICAST_TTL): Likewise.
18751 (IP_MULTICAST_LOOP): Likewise.
18752 (IP_ADD_MEMBERSHIP): Likewise.
18753 (IP_DROP_MEMBERSHIP): Likewise.
18754 (IP_UNBLOCK_SOURCE): Likewise.
18755 (IP_BLOCK_SOURCE): Likewise.
18756 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18757 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18758 (IP_MSFILTER): Likewise.
18759 (MCAST_JOIN_GROUP): Likewise.
18760 (MCAST_BLOCK_SOURCE): Likewise.
18761 (MCAST_UNBLOCK_SOURCE): Likewise.
18762 (MCAST_LEAVE_GROUP): Likewise.
18763 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18764 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18765 (MCAST_MSFILTER): Likewise.
18766 (IP_MULTICAST_ALL): Likewise.
18767 (IP_UNICAST_IF): Likewise.
18769 * timezone/Makefile: Delete $(have-ksh) check.
18770 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18771 * timezone/tzselect.ksh: Add +x mode bits.
18773 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18774 (ANON_INODE_FS_MAGIC): Likewise.
18775 (BDEVFS_MAGIC): Likewise.
18776 (BINFMTFS_MAGIC): Likewise.
18777 (BTRFS_TEST_MAGIC): Likewise.
18778 (CRAMFS_MAGIC_WEND): Likewise.
18779 (DEBUGFS_MAGIC): Likewise.
18780 (ECRYPTFS_SUPER_MAGIC): Likewise.
18781 (EXT3_SUPER_MAGIC): Likewise.
18782 (EXT4_SUPER_MAGIC): Likewise.
18783 (FUTEXFS_SUPER_MAGIC): Likewise.
18784 (HOSTFS_SUPER_MAGIC): Likewise.
18785 (HUGETLBFS_MAGIC): Likewise.
18786 (MINIX3_SUPER_MAGIC): Likewise.
18787 (MTD_INODE_FS_MAGIC): Likewise.
18788 (NILFS_SUPER_MAGIC): Likewise.
18789 (OPENPROM_SUPER_MAGIC): Likewise.
18790 (PIPEFS_MAGIC): Likewise.
18791 (PSTOREFS_MAGIC): Likewise.
18792 (QNX6_SUPER_MAGIC): Likewise.
18793 (RAMFS_MAGIC): Likewise.
18794 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18795 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18796 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18797 (SECURITYFS_MAGIC): Likewise.
18798 (SELINUX_MAGIC): Likewise.
18799 (SMACK_MAGIC): Likewise.
18800 (SOCKFS_MAGIC): Likewise.
18801 (SQUASHFS_MAGIC): Likewise.
18802 (STACK_END_MAGIC): Likewise.
18803 (TMPFS_MAGIC): Likewise.
18804 (USBDEVICE_SUPER_MAGIC): Likewise.
18805 (V9FS_MAGIC): Likewise.
18806 (XENFS_SUPER_MAGIC): Likewise.
18807 (CRAMFS_MAGIC): Fix typo in comment.
18808 (EXT2_SUPER_MAGIC): Update comment.
18809 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18811 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18813 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18814 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18815 * sysdeps/unix/sysv/linux/arm: Move directory from
18816 ports/sysdeps/unix/sysv/linux/arm.
18817 * README: Update listing for arm-*-linux-gnueabi.
18819 * README: Remove mention of am33.
18821 2014-02-07 Roland McGrath <roland@hack.frob.com>
18823 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18824 than the comma operator, to avoid "rhs of comma has no effect"
18826 (__sigfillset, __sigandset, __sigorset): Likewise.
18827 * include/signal.h (__sigemptyset): Likewise.
18828 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18830 2014-02-07 Allan McRae <allan@archlinux.org>
18832 * version.h (RELEASE): Set to "development".
18833 (VERSION): Set to "2.19.90"
18834 * NEWS: Add 2.20 section.
18836 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18839 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18841 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18843 * manual/contrib.texi: Update entry for Carlos O'Donell,
18844 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18846 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18848 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18850 * sysdeps/unix/sysv/linux/kernel-features.h
18851 [__LINUX_KERNEL_VERSION >= 0x020621]
18852 (__ASSUME_PROC_PID_TASK_COMM): Define.
18854 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18857 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18858 conversion when destination buffer does not have enough space.
18859 * libio/tst-ftell-partial-wide.c: New test case.
18860 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18862 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18863 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18864 Leonard and Allan McRae.
18866 2014-02-04 David S. Miller <davem@davemloft.net>
18868 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18871 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18900 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18902 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18903 * shlib-versions: Likewise.
18905 2014-02-04 Roland McGrath <roland@hack.frob.com>
18906 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18908 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18909 (abilist-pattern): New variable, set to %-le.abilist.
18911 * Makerules (abilist-pattern): New variable.
18912 (vpath): Use $(abilist-pattern) in place of %.abilist.
18913 (check-abi-% pattern rule): Likewise.
18914 (check-abi, update-abi): Likewise.
18916 2014-02-04 Eric Wong <normalperson@yhbt.net>
18918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18920 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18922 * manual/startup.texi: Add next, previous, and top entries for
18923 the `Program Arguments' and `Environment Variables' nodes.
18925 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18927 * manual/macros.texi: Add comments before MTASC-safety macros.
18929 * manual/users.texi: Document MTASC-safety properties.
18931 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18932 (pthread_getspecific, pthread_setspecific): Format with
18933 @deftypefun, and add @safety note.
18934 * manual/signal.texi: Move comments that analyze the above
18935 functions to their home place.
18937 2014-02-03 Allan McRae <allan@archlinux.org>
18939 * po/sl.po: Update Slovenian translation from translation project.
18941 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18943 * manual/time.texi (timegm): Add missing blank after @c.
18944 Reported by Joseph Myers <joseph@codesourcery.com>.
18946 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18948 * manual/check-safety.sh: New.
18949 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18951 * manual/terminal.texi: Document MTASC-safety properties.
18953 * manual/filesys.texi: Document MTASC-safety properties.
18955 * manual/errno.texi: Document MTASC-safety properties.
18957 * manual/intro.texi: Document safety identifiers and
18960 * manual/string.texi (wcstok): Fix prototype.
18961 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18963 * manual/time.texi: Document MTASC-safety properties.
18965 * manual/string.texi: Document MTASC-safety properties.
18967 * manual/threads.texi: Document MTASC-safety properties.
18969 * manual/stdio.texi: Document MTASC-safety properties.
18971 * manual/syslog.texi: Document MTASC-safety properties.
18973 * manual/sysinfo.texi: Document MTASC-safety properties.
18975 * manual/startup.texi: Document MTASC-safety properties.
18977 * manual/socket.texi: Document MTASC-safety properties.
18979 * manual/signal.texi: Document MTASC-safety properties.
18981 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18983 * manual/setjmp.texi: Document MTASC-safety properties.
18985 * manual/search.texi: Document MTASC-safety properties.
18987 * manual/resource.texi: Document MTASC-safety properties.
18989 * manual/process.texi: Document MTASC-safety properties.
18991 * manual/platform.texi: Document MTASC-safety properties.
18993 * manual/pipe.texi: Document MTASC-safety properties.
18995 * manual/pattern.texi: Document MTASC-safety properties.
18997 * manual/message.texi: Document MTASC-safety properties.
19000 * manual/memory.texi: Document MTASC-safety properties.
19002 * manual/math.texi: Document MTASC-safety properties.
19004 * manual/locale.texi: Document MTASC-safety properties.
19006 * manual/llio.texi: Document MTASC-safety properties.
19008 * manual/libdl.texi: New.
19010 * manual/lang.texi: Document MTASC-safety properties.
19012 * manual/job.texi: Document MTASC-safety properties.
19014 * manual/getopt.texi: Document MTASC-safety properties.
19016 * manual/ctype.texi: Document MTASC-safety properties.
19018 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19021 * csu/libc-tls.c (static_map): Remove variable.
19022 (__libc_setup_tls): Use main executable's link map for TLS data.
19023 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19024 casing for LM_ID_BASE and GL(dl_nns).
19025 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19026 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19027 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19028 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19029 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19031 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19034 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19036 * manual/debug.texi: Document MTASC-safety properties.
19038 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19041 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19042 of __x86_64__ when disabling x87 inline functions.
19044 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19046 * manual/charset.texi: Document MTASC-safety properties.
19048 * manual/crypt.texi: Document MTASC-safety properties.
19050 * manual/conf.texi: Document MTASC-safety properties.
19052 * manual/arith.texi: Document MTASC-safety properties.
19054 * manual/argp.texi: Document MTASC-safety properties.
19056 * manual/macros.texi: Introduce macros to document multi
19057 thread, asynchronous signal and asynchronous cancellation
19059 * manual/intro.texi: Introduce the properties themselves.
19061 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19063 * sysdeps/sh/sh4/Makefile: New file.
19065 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19067 * math/gen-libm-test.pl ($srcdir): New variable.
19068 ($auto_input): Use it.
19070 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19073 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19074 access beyond array bounds when parsing netgroups file.
19076 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19077 the old buffer before realloc.
19079 2014-01-27 Allan McRae <allan@archlinux.org>
19081 * po/fr.po: Update French translation from translation project.
19083 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19085 * sysdeps/sh/libm-test-ulps: Regenerate.
19087 2014-01-24 David S. Miller <davem@davemloft.net>
19089 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19091 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19093 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19094 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19096 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19099 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19100 string pointers after reallocation.
19102 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19104 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19105 __SH4A__ instead of __SH_FPU_ANY__.
19107 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19109 * sysdeps/sh/fpu_control.h: New file.
19110 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19111 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19112 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19113 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19114 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19115 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19116 * sysdeps/sh/sys/ucontext.h: Remove.
19117 * sysdeps/sh/sys: Remove directory.
19119 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19121 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19122 s390/sys/ucontext.h.
19123 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19124 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19126 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19129 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19131 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19134 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19135 Adjust the vDSO correctly for internal calls.
19136 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19138 2014-01-20 Allan McRae <allan@archlinux.org>
19140 * po/ca.po: Update Catalan translation from translation project.
19142 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19144 * sysdeps/s390/sotruss-lib.c: New file.
19146 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19150 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19151 local calls issues by not having a PLT stub required for IFUNC calls.
19152 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19154 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19156 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19157 * math/test-fpucw-static.c: Likewise.
19159 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19162 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19164 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19166 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19167 implementation for powerpc.
19169 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19172 * sysdeps/posix/system.c (__libc_system): Do not enable
19173 asynchronous cancellation.
19175 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19178 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19179 handling only for numbers special also in the IEEE case.
19181 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19183 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19185 2014-01-11 Allan McRae <allan@archlinux.org>
19187 * po/bg.po: Update Bulgarian translation from translation project.
19189 * po/de.po: Update German translation from translation project.
19191 2014-01-10 Roland McGrath <roland@hack.frob.com>
19193 * sysdeps/generic/gcc-compat.h: New file.
19195 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19197 * benchtests/asin-inputs: Correct slow inputs.
19198 * benchtests/acos-inputs: Likewise.
19200 2014-01-10 Allan McRae <allan@archlinux.org>
19202 * po:sv.po: Update Swedish translation from translation project.
19204 * po/vi.po: Update Vietnamese translation from translation project.
19206 * po/eo.po: Update Esperanto translation from translation project.
19208 * po/cs.po: Update Czech translation from translation project.
19210 * po/nl.po: Update Dutch translation from translation project.
19212 * po/pl.po: Update Polish translation from translation project.
19214 * po/ru.po: Update Russian translation from translation project.
19216 * po/uk.po: Update Ukrainian translation from translation project.
19218 2014-01-08 Brooks Moses <bmoses@google.com>
19220 * elf/dl-load.c: Fix comment typo.
19222 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19224 * po/header.pot: Rename to...
19225 * po/pot.header: ... this.
19226 * po/Makefile: Use pot.header.
19228 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19229 Maxim Kuvyrkov <maxim@kugelworks.com>
19232 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19233 SRC and DEST against LEN.
19235 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19238 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19240 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19242 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19246 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19249 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19250 for large positive arguments.
19252 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19254 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19256 * math/auto-libm-test-in: Mark various tests with
19257 xfail-rounding:ldbl-128ibm.
19258 * math/auto-libm-test-out: Regenerated.
19261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19262 Increase overflow threshold.
19264 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19267 * stdio-common/vfprintf.c: Check for integer overflow.
19269 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19271 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19272 the first argument and return value of __tls_get_addr_internal.
19274 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19276 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19277 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19279 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19281 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19282 * sysdeps/s390/rtld-global-offsets.sym: New file.
19283 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19285 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19286 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19287 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19289 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19290 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19296 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19297 halfs of GPRs for high_gprs contexts.
19298 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19299 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19301 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19303 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19305 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19306 for high GPRs (uc_high_gprs) and for future extensions
19308 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19309 for future extensions (__reserved).
19310 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19312 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19313 SC_HIGHGPRS offset definition.
19314 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19315 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19317 * Versions.def: Add GLIBC_2.19 for libpthread.
19318 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19319 siglongjmp for libpthread with GLIBC_2.19 symver.
19320 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19321 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19322 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19323 * sysdeps/s390/__longjmp.c: New file.
19324 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19325 * sysdeps/s390/longjmp.c: New file.
19326 * sysdeps/s390/setjmp.S: New file.
19327 * sysdeps/s390/sigjmp.S: New file.
19328 * sysdeps/s390/v1-longjmp.c: New file.
19329 * sysdeps/s390/v1-setjmp.h: New file.
19330 * sysdeps/s390/v1-sigjmp.c: New file.
19331 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19332 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19333 GLIBC_2.19 version.
19334 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19335 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19336 versioned symbols for ____longjmp_chk.
19337 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19347 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19348 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19349 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19350 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19351 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19352 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19353 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19354 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19355 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19356 * sysdeps/s390/rtld-__longjmp.c: New file.
19357 * sysdeps/s390/rtld-setjmp.S: New file.
19359 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19363 Return -__logl (x) for small positive arguments without evaluating
19366 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19368 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19370 (__ptrace_peeksiginfo_args): ... this.
19371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19372 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19375 2014-01-06 Allan McRae <allan@archlinux.org>
19377 * inet/netinet/in.h: Fix typo in comment.
19379 2014-01-05 Andreas Jaeger <aj@suse.de>
19381 * sysdeps/i386/fpu/libm-test-ulps: Update.
19383 2014-01-05 Allan McRae <allan@archlinux.org>
19385 * po/libc.pot: Regenerated.
19387 * malloc/memusagestat.c: Fix gettext call formatting.
19389 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19391 * nscd/nscd.c: Improve usage() output.
19393 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19395 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19396 * sysdeps/unix/sysv/linux/configure: Regenerated.
19397 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19398 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19400 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19403 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19404 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19406 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19408 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19409 extra tokens at end of #undef directive.
19410 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19411 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19412 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19414 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19416 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19418 * math/auto-libm-test-in: Mark various tests with
19419 xfail-rounding:ldbl-128ibm.
19420 * math/auto-libm-test-out: Regenerated.
19422 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19425 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19426 numbers with subnormal high part when calculating exponent.
19429 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19435 (__ieee754_acoshl): Use __log1pl not __log1p.
19437 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19439 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19440 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19441 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19442 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19443 (reused_arena, arena_get2): Convert to GNU style.
19444 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19445 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19446 (memalign_check, __malloc_set_state): Likewise.
19447 * malloc/mallocbug.c (main): Likewise.
19448 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19449 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19450 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19451 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19452 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19453 (__posix_memalign, malloc_info): Likewise.
19454 * malloc/malloc.h: Likewise.
19455 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19456 (mallochook, memalignhook, reallochook, mabort): Likewise.
19457 * malloc/mcheck.h: Likewise.
19458 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19459 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19460 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19461 * malloc/morecore.c (__default_morecore): Likewise.
19462 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19463 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19464 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19465 (print_and_abort): Likewise.
19466 * malloc/obstack.h: Likewise.
19467 * malloc/set-freeres.c (__libc_freeres): Likewise.
19468 * malloc/tst-mallocstate.c (main): Likewise.
19469 * malloc/tst-mtrace.c (main): Likewise.
19470 * malloc/tst-realloc.c (do_test): Likewise.
19472 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19475 * nscd/netgroupcache.c (do_notfound): New function.
19476 (addgetnetgrentX): Use it.
19479 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19480 NSS_STATUS_NOTFOUND.
19482 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19484 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19487 2014-01-01 Allan McRae <allan@archlinux.org>
19489 * scripts/update-copyrights: Update configure input file suffix.
19491 * NEWS: Update copyright year.
19492 * catgets/gencat.c: Likewise.
19493 * csu/version.c: Likewise.
19494 * debug/catchsegv.sh: Likewise.
19495 * debug/pcprofiledump.c: Likewise.
19496 * debug/xtrace.sh: Likewise.
19497 * elf/ldconfig.c: Likewise.
19498 * elf/ldd.bash.in: Likewise.
19499 * elf/pldd.c: Likewise.
19500 * elf/sotruss.ksh: Likewise.
19501 * elf/sprof.c: Likewise.
19502 * iconv/iconv_prog.c: Likewise.
19503 * iconv/iconvconfig.c: Likewise.
19504 * locale/programs/locale.c: Likewise.
19505 * locale/programs/localedef.c: Likewise.
19506 * login/programs/pt_chown.c: Likewise.
19507 * malloc/memusage.sh: Likewise.
19508 * malloc/memusagestat.c: Likewise.
19509 * malloc/mtrace.pl: Likewise.
19510 * manual/libc.texinfo: Likewise.
19511 * nscd/nscd.c: Likewise.
19512 * nss/getent.c: Likewise.
19513 * nss/makedb.c: Likewise.
19514 * posix/getconf.c: Likewise.
19515 * scripts/test-installation.pl: Likewise.
19517 * All files with FSF copyright notices: Update copyright dates
19518 using scripts/update-copyrights.
19519 * intl/plural.c: Regenerated.
19520 * locale/programs/charmap-kw.h: Likewise.
19521 * locale/programs/locfile-kw.h: Likewise.
19523 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19525 * sysdeps/unix/sysv/linux/configure: Regenerated.
19526 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19527 the linux/fanotify.h header.
19528 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19529 HAVE_LINUX_FANOTIFY_H is defined.
19531 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19533 * benchtests/cos-inputs: New inputs.
19534 * benchtests/sin-inputs: Likewise.
19536 * benchtests/atan-inputs: New inputs. Fix name of multiple
19537 precision fallback inputs.
19539 * benchtests/atanh-inputs: New inputs.
19540 * benchtests/tanh-inputs: Likewise.
19542 * benchtests/acosh-inputs: New inputs.
19543 * benchtests/asinh-inputs: Likewise.
19545 * benchtests/cosh-inputs: New inputs.
19546 * benchtests/sinh-inputs: Likewise.
19548 * benchtests/acos-inputs: Add more inputs.
19549 * benchtests/asin-inputs: Likewise.
19551 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19554 * manual/arith.texi: Fix spelling.
19555 * manual/charset.texi: Likewise.
19556 * manual/errno.texi: Likewise.
19557 * manual/filesys.texi: Likewise.
19558 * manual/lang.texi: Likewise.
19559 * manual/llio.texi: Likewise.
19560 * manual/locale.texi: Likewise.
19561 * manual/message.texi: Likewise.
19562 * manual/resource.texi: Likewise.
19563 * manual/search.texi: Likewise.
19564 * manual/setjmp.texi: Likewise.
19565 * manual/stdio.texi: Likewise.
19566 * manual/string.texi: Likewise.
19567 * manual/sysinfo.texi: Likewise.
19568 * manual/time.texi: Likewise.
19570 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19572 * po/sl.po: New file.
19574 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19576 * .gitignore: Add core/.gdbinit/.gdb_history.
19578 2013-12-27 Allan McRae <allan@archlinux.org>
19581 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19582 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19584 2013-12-24 Brooks Moses <bmoses@google.com>
19586 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19587 all compilers that claim C++98 compliance, not just GCC.
19588 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19591 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19593 * NEWS: Restore accidentally deleted bug-fix entries.
19595 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19596 Ondřej Bílka <neleai@seznam.cz>
19599 * malloc/malloc.c (_int_free): Perform sanity check only if we
19602 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19605 * manual/stdio.texi (String Input Conversions): Clarify that character
19606 classes are not supported.
19608 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19612 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19616 Calculate results for small negative arguments directly rather
19617 than using reflection formula with special underflow handling.
19619 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19620 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19621 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19622 (fchflags): Likewise.
19623 (revoke): Likewise.
19624 (setlogin): Likewise.
19625 (sigaltstack): Likewise.
19627 (sigblock): Remove.
19628 (sigsetmask): Likewise.
19630 (waitpid): Likewise.
19631 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19632 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19634 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19635 * sysdeps/unix/bsd/Makefile: ... here.
19636 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19637 * sysdeps/unix/bsd/Versions: ... here.
19638 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19639 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19640 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19641 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19642 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19643 * sysdeps/unix/bsd/sigblock.c: ... here.
19644 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19645 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19646 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19647 * sysdeps/unix/bsd/sigvec.c: ... here.
19648 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19649 * sysdeps/unix/bsd/tcdrain.c: ... here.
19650 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19651 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19652 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19653 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19654 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19655 * sysdeps/unix/bsd/wait.c: ... here.
19656 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19657 * sysdeps/unix/bsd/wait3.c: ... here.
19658 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19659 * sysdeps/unix/bsd/waitpid.c: ... here.
19661 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19664 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19665 round-to-nearest for [!USE_AS_EXPM1L].
19666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19667 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19668 more tests of exp and exp10. Expect some exp10 tests to miss
19669 exceptions or fail in directed rounding modes.
19670 * math/auto-libm-test-out: Regenerated.
19671 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19672 (exp10_test_tonearest): New function.
19673 (exp10_towardzero_test_data): New array.
19674 (exp10_test_towardzero): New function.
19675 (exp10_downward_test_data): New array.
19676 (exp10_test_downward): New function.
19677 (exp10_upward_test_data): New array.
19678 (exp10_test_upward): New function.
19679 (main): Call the new functions.
19680 * sysdeps/i386/fpu/libm-test-ulps: Update.
19681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19683 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19685 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19686 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19687 * math/auto-libm-test-out: Regenerated.
19688 * math/libm-test.inc (acosh_test_data): Add more tests.
19689 (atanh_test_data): Likewise.
19690 (ceil_test_data): Likewise.
19691 (copysign_test_data): Likewise.
19692 * sysdeps/i386/fpu/libm-test-ulps: Update.
19693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19695 * timezone/checktab.awk: Update from tzcode 2013i.
19696 * timezone/private.h: Likewise.
19697 * timezone/scheck.c: Likewise.
19698 * timezone/tzfile.h: Likewise.
19699 * timezone/tzselect.ksh: Likewise.
19700 * timezone/zdump.c: Likewise.
19701 * timezone/zic.c: Likewise.
19703 * math/auto-libm-test-in: Add tests of cpow.
19704 * math/auto-libm-test-out: Regenerated.
19705 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19706 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19708 (func_calc_desc): Add mpc_cc_c union field.
19709 (test_functions): Add cpow.
19710 (special_fill_2pi): New function.
19711 (special_real_inputs): Add 2pi.
19712 (calc_generic_results): Handle mpc_cc_c.
19713 * sysdeps/i386/fpu/libm-test-ulps: Update.
19714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19716 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19717 csqrt, ctan and ctanh.
19718 * math/auto-libm-test-out: Regenerated.
19719 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19720 (TEST_COND_x86): Likewise.
19721 (ccos_test_data): Use AUTO_TESTS_c_c.
19722 (ccosh_test_data): Likewise.
19723 (cexp_test_data): Likewise.
19724 (clog_test_data): Likewise.
19725 (csqrt_test_data): Likewise.
19726 (ctan_test_data): Likewise.
19727 (ctan_tonearest_test_data): Likewise.
19728 (ctan_towardzero_test_data): Likewise.
19729 (ctan_downward_test_data): Likewise.
19730 (ctan_upward_test_data): Likewise.
19731 (ctanh_test_data): Likewise.
19732 (ctanh_tonearest_test_data): Likewise.
19733 (ctanh_towardzero_test_data): Likewise.
19734 (ctanh_downward_test_data): Likewise.
19735 (ctanh_upward_test_data): Likewise.
19736 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19738 (func_calc_desc): Add mpc_c_c union field.
19739 (FUNC_mpc_c_c): New macro.
19740 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19741 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19743 (special_fill_min_subnorm_p120): New function.
19744 (special_real_inputs): Add min_subnorm_p120.
19745 (calc_generic_results): Handle mpc_c_c.
19746 * sysdeps/i386/fpu/libm-test-ulps: Update.
19747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19749 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19751 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19752 (do_sin_slow): New functions.
19753 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19754 (cslow2, csloww1, csloww2): Use the new functions.
19756 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19757 Use M to change sign of result instead of X. Assume X is
19759 (csloww1): Likewise.
19763 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19764 arguments A and DA.
19768 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19770 (sloww1): Don't adjust sign of DX.
19771 (csloww1): Likewise.
19772 (sloww2): Use X directly and don't adjust sign of DX.
19773 (csloww2): Likewise.
19775 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19777 * math/auto-libm-test-in: Add tests of cabs and carg.
19778 * math/auto-libm-test-out: Regenerated.
19779 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19780 (carg_test_data): Likewise.
19781 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19783 (func_calc_desc): Add mpc_c_f union field.
19784 (test_functions): Add cabs and carg.
19785 (calc_generic_results): Handle mpc_c_f.
19787 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19788 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19789 as a macro and a compat symbol.
19790 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19791 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19792 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19793 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19794 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19795 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19797 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19799 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19801 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19803 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19805 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19807 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19808 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19811 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19815 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19817 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19818 trailing whitespace removed.
19819 * scripts/config.guess: Update to version 2013-11-29.
19820 * scripts/config.sub: Update to version 2013-10-01.
19822 * math/auto-libm-test-in: Add tests of sincos.
19823 * math/auto-libm-test-out: Regenerated.
19824 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19825 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19827 (func_calc_desc): Add mpfr_f_11 union field.
19828 (test_functions): Add sincos.
19829 (calc_generic_results): Handle mpfr_f_11.
19830 * sysdeps/i386/fpu/libm-test-ulps: Update.
19831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19833 2013-12-19 Andreas Schwab <schwab@suse.de>
19835 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19837 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19838 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19839 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19841 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19843 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19844 * sysdeps/i386/fpu/libm-test-ulps: Update.
19845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19848 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19849 round-to-nearest mode when using frndint.
19850 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19851 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19852 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19854 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19856 * math/auto-libm-test-out: Regenerated.
19857 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19858 (TEST_COND_x86): Likewise.
19859 (expm1_tonearest_test_data): New array.
19860 (expm1_test_tonearest): New function.
19861 (expm1_towardzero_test_data): New array.
19862 (expm1_test_towardzero): New function.
19863 (expm1_downward_test_data): New array.
19864 (expm1_test_downward): New function.
19865 (expm1_upward_test_data): New array.
19866 (expm1_test_upward): New function.
19867 (main): Run the new test functions.
19868 * sysdeps/i386/fpu/libm-test-ulps: Update.
19869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19871 * include/features.h: Update comment documenting feature test
19872 macros. Mention _DEFAULT_SOURCE in comment.
19873 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19874 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19875 _BSD_SOURCE and _SVID_SOURCE.
19876 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19877 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19878 !_SVID_SOURCE]: Likewise.
19879 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19880 (__USE_POSIX_IMPLICITLY): Define.
19881 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19882 (_POSIX_SOURCE): Undefine and redefine.
19883 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19884 (_POSIX_C_SOURCE): Likewise.
19885 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19886 (Feature Test Macros): Update documentation of default features.
19888 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19890 * benchtests/Makefile: Add bench-strtok.
19891 * benchtests/bench-strtok.c: New file: strtok benchtest.
19893 2013-12-19 Allan McRae <allan@archlinux.org>
19895 * manual/install.texi: Suppress menu for plain text output.
19896 * INSTALL: Regenerated.
19898 2013-12-18 Brooks Moses <bmoses@google.com>
19901 * misc/getauxval.c: Include errno.h.
19902 (__getauxval): Set errno to ENOENT if the requested type is not
19904 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19905 don't declare with __attribute_const__.
19906 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19907 * manual/startup.texi: Document that getauxval sets errno.
19909 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19911 * math/auto-libm-test-in: Add tests of jn and yn.
19912 * math/auto-libm-test-out: Regenerated.
19913 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19914 (yn_test_data): Likewise.
19915 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19917 (func_calc_desc): Add mpfr_if_f union field.
19918 (FUNC_mpfr_if_f): New macro.
19919 (test_functions): Add jn and yn.
19920 (calc_generic_results): Assert type of second input for
19921 mpfr_ff_f. Handle mpfr_if_f.
19922 (output_for_one_input_case): Disable all checking for arguments
19923 fitting floating-point types in case of an integer argument.
19924 * sysdeps/i386/fpu/libm-test-ulps: Update.
19925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19928 Don't expect fegetround reference in libm.so.
19930 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19932 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19933 $(config-cflags-nofma).
19935 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19937 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19938 * math/auto-libm-test-out: Regenerated.
19941 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19942 to determine exponent and adjust argument to have exponent of -1.
19943 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19945 * math/auto-libm-test-out: Regenerated.
19946 * sysdeps/i386/fpu/libm-test-ulps: Update.
19947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19949 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19951 * manual/probes.texi: Remove cases when per-thread arenas are
19954 2013-12-18 Andreas Schwab <schwab@suse.de>
19956 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19957 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19958 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19959 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19960 * sysdeps/i386/i686/multiarch/Makefile: Update.
19961 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19963 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19965 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19966 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19968 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19971 Support TZ transition times < 00:00:00.
19972 This is needed for version-3 tz-format files; it supports time
19973 stamps past 2037 for America/Godthab (the only entry in the tz
19974 database for which this change is relevant).
19975 * manual/time.texi (TZ Variable): Document transition times
19976 from -167:59:59 through -00:00:01.
19977 * time/tzset.c (tz_rule): Time of day is now signed.
19978 (__tzset_parse_tz): Parse negative time of day.
19980 Document TZ transition times >= 25:00:00.
19981 * manual/time.texi (TZ Variable): Document transition times from
19982 25:00:00 through 167:59:59. These are already supported, and this
19983 support will help with version-3 tz-format files.
19985 * manual/time.texi (TZ Variable): Modernize North America example
19986 to reflect current (i.e., 2007-and-later) daylight saving rules.
19988 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19990 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19992 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19993 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19996 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19997 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19998 * sysdeps/unix/bsd/clock.c: Likewise.
19999 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20000 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20001 * sysdeps/unix/bsd/init-posix.c: Likewise.
20002 * sysdeps/unix/bsd/poll.c: Likewise.
20003 * sysdeps/unix/bsd/ptsname.c: Likewise.
20004 * sysdeps/unix/bsd/seekdir.c: Likewise.
20005 * sysdeps/unix/bsd/setegid.c: Likewise.
20006 * sysdeps/unix/bsd/seteuid.c: Likewise.
20007 * sysdeps/unix/bsd/setgid.c: Likewise.
20008 * sysdeps/unix/bsd/setrgid.c: Likewise.
20009 * sysdeps/unix/bsd/setruid.c: Likewise.
20010 * sysdeps/unix/bsd/setsid.c: Likewise.
20011 * sysdeps/unix/bsd/setuid.c: Likewise.
20012 * sysdeps/unix/bsd/sigaction.c: Likewise.
20013 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20014 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20015 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20016 * sysdeps/unix/bsd/telldir.c: Likewise.
20017 * sysdeps/unix/bsd/times.c: Likewise.
20018 * sysdeps/unix/bsd/usleep.c: Likewise.
20020 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20021 ($(objpfx)libbsd-compat.a): Remove rule.
20023 * include/features.h (__FAVOR_BSD): Do not define.
20024 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20025 features conflicting with POSIX.
20026 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20027 (_BSD_SOURCE): Remove description of not being a subset of other
20028 feature test macros.
20029 * manual/job.texi (getpgrp): Do not document BSD version.
20030 (getpgid): Do not document by reference to BSD getpgrp.
20031 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20032 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20033 * signal/signal.h [__FAVOR_BSD]: Likewise.
20034 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20035 instead of making contents conditional on [__FAVOR_BSD].
20036 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20038 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20042 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20045 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20046 values below 2**-450, not 2**-500.
20047 * math/auto-libm-test-in: Don't allow spurious underflow from
20049 * math/auto-libm-test-out: Regenerated.
20053 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20054 values of ha and hb and sort them after adjusting subnormal
20056 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20058 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20059 values of ea and eb and sort them after adjusting subnormal
20061 * math/auto-libm-test-in: Do not expect some hypot tests of
20062 subnormals to fail. Add more hypot tests.
20063 * math/auto-libm-test-out: Regenerated.
20065 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20068 * sysdeps/sh/s_fma.c: New file.
20069 * sysdeps/sh/s_fmaf.c: New file.
20070 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20072 * sysdeps/sh/Implies: Add sh/soft-fp.
20074 2013-12-16 Roland McGrath <roland@hack.frob.com>
20076 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20077 level of indirection to members `objname', `errstring', `malloced'.
20078 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20079 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20080 it as the __longjmp argument (just pass 1 instead).
20081 (_dl_catch_error): Initialize C with argument pointers and address of
20082 volatile local ERRCODE rather than copying values out of C at return.
20084 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20086 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20087 * math/auto-libm-test-out: Regenerated.
20088 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20089 (hypot_test_data): Likewise.
20090 (pow_test_data): Likewise.
20091 (pow_tonearest_test_data): Likewise.
20092 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20094 (func_calc_desc): Add mpfr_ff_f union field.
20095 (FUNC_mpfr_ff_f): New macro.
20096 (test_functions): Add atan2, hypot and pow.
20097 (special_fill_min): New function.
20098 (special_fill_minus_min): Likewise.
20099 (special_fill_min_subnorm): Likewise.
20100 (special_fill_minus_min_subnorm): Likewise.
20101 (special_real_inputs): Add min, -min, min_subnorm and
20103 (calc_generic_results): Handle mpfr_ff_f.
20104 * sysdeps/i386/fpu/libm-test-ulps: Update.
20105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20107 2013-12-16 Will Newton <will.newton@linaro.org>
20109 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20110 (Aligned Memory Blocks): Add documentation for aligned_alloc
20111 and suggest it as an alternative to posix_memalign.
20112 (Hooks for Malloc): Document __memalign_hook is also called
20113 for aligned_alloc. (Summary of Malloc): Add summary for
20114 aligned alloc. Document __memalign_hook is also called
20117 2013-12-16 Will Newton <will.newton@linaro.org>
20119 * manual/memory.texi (Malloc Examples): Clarify default
20120 alignment documentation. Suggest posix_memalign rather
20121 than memalign or valloc.
20122 (Aligned Memory Blocks): Remove suggestion to use memalign
20123 or valloc. Remove obsolete comment about BSD.
20124 Document memalign errno values and mark the function obsolete.
20125 Document posix_memalign returned error codes. Mark valloc
20126 as obsolete. (Hooks for Malloc): __memalign_hook is also
20127 called for posix_memalign and valloc.
20128 (Summary of Malloc): Add posix_memalign to function summary.
20129 __memalign_hook is also called for posix_memalign and valloc.
20131 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20133 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20137 (sloww): Use mynumber union. Expand ternary operator into
20138 if-else statements.
20139 (cslow): use mynumber union.
20141 2013-12-16 Allan McRae <allan@archlinux.org>
20143 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20144 * configure: Regenerated.
20146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20149 * configure.ac: Added --enable-maintainer-mode. Check for
20150 autoconf when enabled.
20151 * configure: Regenerated.
20153 * nscd/nscd.service: New file.
20154 * nscd/nscd.tmpfiles: New file.
20156 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20159 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20160 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20161 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20162 (strstr): Add __strstr_sse2_unaligned ifunc.
20163 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20164 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20165 (strcasestr): Remove __strcasestr_sse42 ifunc.
20166 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20167 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20170 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20172 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20173 * sysdeps/sh/bits/fenv.h: ... here.
20174 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20176 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20178 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20181 hypotf multiarch implementations.
20182 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20183 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20184 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20185 multiarch hypot for PPC64.
20186 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20187 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20188 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20189 multiarch hypotf for PPC64.
20191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20192 modff multiarch implementations.
20193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20196 multiarch modf for PPC64.
20197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20200 multiarch modff for PPC64.
20202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20203 and logl multiarch implementations.
20204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20207 multiarch logb for PPC64.
20208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20211 multiarch logb for PPC64.
20212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20215 multiarch logb for PPC64.
20217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20218 isinff multiarch implementation.
20219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20223 multiarch isinf for PPC64.
20224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20227 multiarch isinff for PPC64.
20229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20230 finitef multiarch implementation.
20231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20235 multiarch finite for PPC64.
20236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20239 multiarch finitef for PPC64.
20241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20242 lrint multiarch implementation.
20243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20247 multiarch llrint for PPC64.
20248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20249 multiarch lrint for PPC64.
20251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20252 copysignf multiarch implementation.
20253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20258 multiarch copysign for PPC64.
20259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20260 multiarch copysignf for PPC64.
20262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20263 multiarch implementation.
20264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20272 multiarch llround for PPC64.
20273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20274 multiarch trunc for PPC64.
20275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20276 multiarch truncf for PPC64.
20278 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20279 multiarch implementation.
20280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20288 multiarch llround for PPC64.
20289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20290 multiarch round for PPC64.
20291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20292 multiarch roundf for PPC64.
20294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20295 multiarch implementation.
20296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20304 multiarch llround for PPC64.
20305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20306 multiarch floor for PPC64.
20307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20308 multiarch floorf for PPC64.
20310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20311 multiarch implementation.
20312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20320 multiarch llround for PPC64.
20321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20322 multiarch ceil for PPC64.
20323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20324 multiarch ceilf for PPC64.
20326 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20327 multiarch implementation.
20328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20335 multiarch llround for PPC64.
20336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20337 multiarch lround for PPC64.
20339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20340 multiarch implementation.
20341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20348 multiarch isnan for PPC64.
20349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20350 multiarch isnanf for PPC64.
20352 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20353 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20354 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20355 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20356 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20359 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20360 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20361 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20365 multiarch implementations.
20366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20367 (__libc_ifunc_impl_list): Likewise.
20368 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20369 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20370 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20371 multiarch stpcpy for PPC64.
20373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20374 multiarch implementations.
20375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20376 (__libc_ifunc_impl_list): Likewise.
20377 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20378 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20379 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20380 multiarch strcpy for PPC64.
20382 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20383 redefine function name.
20384 (_wordcopy_fwd_dest_aligned): Likewise.
20385 (_wordcopy_bwd_aligned): Likewise.
20386 (_wordcopy_bwd_dest_aligned): Likewise.
20387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20388 multiarch implementations.
20389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20390 (__libc_ifunc_impl_list): Likewise.
20391 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20392 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20393 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20394 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20395 multiarch wcscpy for PPC64.
20397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20398 multiarch implementations.
20399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20400 (__libc_ifunc_impl_list): Likewise.
20401 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20402 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20403 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20404 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20405 multiarch wcscpy for PPC64.
20407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20408 multiarch implementations.
20409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20410 (__libc_ifunc_impl_list): Likewise.
20411 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20412 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20413 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20414 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20415 multiarch wcsrchr for PPC64.
20417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20418 multiarch implementations.
20419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20420 (__libc_ifunc_impl_list): Likewise.
20421 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20422 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20423 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20424 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20425 multiarch wcschr for PPC64.
20427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20428 multiarch implementations.
20429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20430 (__libc_ifunc_impl_list): Likewise.
20431 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20432 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20433 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20434 multiarch strchrnul for PPC64.
20436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20439 (__libc_ifunc_impl_list): Likewise.
20440 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20441 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20442 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20443 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20449 (__libc_ifunc_impl_list): Likewise.
20450 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20451 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20452 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20453 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20457 multiarch implementations.
20458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20459 (__libc_ifunc_impl_list): Likewise.
20460 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20461 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20462 strncasecmp for PPC64.
20463 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20464 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20465 multiarch strncasecmp_l for PPC64.
20467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20468 multiarch implementations.
20469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20470 (__libc_ifunc_impl_list): Likewise.
20471 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20472 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20473 multiarch strcasecmp for PPC64.
20474 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20476 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20477 multiarch strcasecmp_l for PPC64.
20479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20482 (__libc_ifunc_impl_list): Likewise.
20483 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20484 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20485 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20491 (__libc_ifunc_impl_list): Likewise.
20492 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20493 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20494 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20500 (__libc_ifunc_impl_list): Likewise.
20501 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20502 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20503 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20504 rawmemrchr for PPC64.
20506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20509 (__libc_ifunc_impl_list): Likewise.
20510 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20511 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20512 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20518 (__libc_ifunc_impl_list): Likewise.
20519 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20520 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20521 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20527 (__libc_ifunc_impl_list): Likewise.
20528 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20529 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20530 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20533 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20534 avoid cretion of __bzero symbol.
20535 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20537 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20539 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20542 multiarch implementations.
20543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20544 (__libc_ifunc_impl_list): Likewise.
20545 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20546 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20547 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20548 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20550 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20551 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20552 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20553 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20554 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20556 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20558 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20562 (__libc_ifunc_impl_list): Likewise.
20563 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20564 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20565 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20566 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20570 multiarch for POWER/PPC64.
20571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20572 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20573 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20574 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20575 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20576 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20577 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20578 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20579 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20582 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20583 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20584 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20586 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20587 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20588 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20589 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20590 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20591 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20592 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20593 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20594 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20595 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20596 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20605 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20607 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20609 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20611 * benchtests/Makefile (bench): Add exp2 and log2.
20612 (LDLIBS-bench-exp2): Add -lm.
20613 (LDLIBS-bench-log2): Likewise.
20614 * benchtests/exp2-inputs: New inputs file.
20615 * benchtests/log2-inputs: New inputs file.
20616 * benchtests/log-inputs: Add new inputs.
20617 * benchtests/tan-inputs: Likewise.
20619 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20621 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20623 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20624 (csloww2): ... from here.
20626 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20627 instead of structures.
20628 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20629 (POLYNOMIAL): Likewise.
20630 (TAYLOR_SLOW): Likewise.
20636 (sloww1); Likewise.
20637 (sloww2): Likewise.
20638 (bsloww1): Likewise.
20639 (bsloww2): Likewise.
20640 (cslow2): Likewise.
20641 (csloww): Likewise.
20642 (csloww1): Likewise.
20643 (csloww2): Likewise.
20645 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20647 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20648 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20649 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20650 * malloc/hooks.c (realloc_check): Likewise.
20652 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20653 * malloc/arena.c: Remove PER_THREAD conditional.
20654 [!PER_THREAD]: Remove code.
20655 (ptmalloc_unlock_all2): Likewise.
20656 (ptmalloc_init): Likewise.
20657 (_int_new_arena): Likewise.
20658 (arena_get2): Likewise.
20659 * malloc/hooks.c (__malloc_get_state): Likewise.
20660 (__malloc_set_state): Likewise.
20661 * malloc/malloc.c: Likewise.
20662 (struct malloc_state): Likewise.
20663 (struct malloc_par): Likewise.
20664 (__libc_realloc): Likewise.
20665 (__libc_mallopt): Likewise.
20667 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20669 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20671 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20673 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20674 macro to a function. Check for zero perturb_byte.
20675 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20677 * malloc/malloc.c: (force_reg): Remove.
20678 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20679 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20680 force_reg by atomic_forced_read.
20681 * malloc/arena.c (ptmalloc_init): Likewise.
20682 * malloc/hooks.c (top_check): Likewise.
20684 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20688 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20692 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20694 * math/auto-libm-test-in: Add tests of lgamma.
20695 * math/auto-libm-test-out: Regenerated.
20696 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20697 (M_LOG_2_SQRT_PIl): Likewise.
20698 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20699 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20701 (func_calc_desc): Add mpfr_f_f1 union field.
20702 (ARGS1): New macro.
20710 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20711 (test_functions): Add lgamma.
20712 (calc_generic_results): Handle mpfr_f_f1.
20713 * sysdeps/i386/fpu/libm-test-ulps: Update.
20714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20716 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20718 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20719 __mpn_add_n for PowerPC64/POWER7.
20720 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20721 __mpn_sub_n for PowerPC64/POWER7.
20723 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20724 __mpn_addmul_1 for PowerPC64.
20725 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20726 __mpn_submul_1 for PowerPC64.
20727 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20729 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20732 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20735 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20737 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20739 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20741 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20742 add multiarch folders.
20743 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20744 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20745 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20746 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20747 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20748 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20749 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20750 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20751 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20752 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20753 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20762 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20768 multiarch __ieee754_hypot for PowerPC32.
20769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20774 multiarch __ieee754_hypotf for PowerPC32.
20776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20777 long_double_symbol only if __logbl is defined.
20778 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20779 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20780 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20781 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20783 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20784 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20785 path for implementation.
20786 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20787 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20789 logb, and logbl multiarch implementations for PowerPC32.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20795 multiarch logb for PowerPC32.
20796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20801 multiarch logbf for PowerPC32.
20802 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20806 multiarch logbl implementation for PowerPC32.
20808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20809 and modff multiarch implementations.
20810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20815 multiarch modf for PowerPC32.
20816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20821 multiarch modff for PowerPC32.
20823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20824 and lrintf multiarch implementations.
20825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20830 multiarch lrint for PowerPC32.
20831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20832 file: multiarch lrintf for PowerPC32.
20834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20835 and lroundf multiarch implementations.
20836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20843 multiarch lround for PowerPC32.
20844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20845 file: multiarch lroundf for PowerPC32.
20847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20848 copysign and copysignf multiarch implementations.
20849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20854 file: multiarch copysign for PowerPC32.
20855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20856 file: multiarch copysignf for PowerPC32.
20858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20859 and truncf multiarch implementations.
20860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20865 multiarch trunc for PowerPC32.
20866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20871 multiarch truncf for PowerPC32.
20873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20874 and roundf multiarch implementations.
20875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20880 multiarch round for PowerPC32.
20881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20886 multiarch roundf for PowerPC32.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20889 and floorf multiarch implementations.
20890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20895 multiarch floor for PowerPC32.
20896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20901 multiarch floorf for PowerPC32.
20903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20904 and ceilf multiarch implementations.
20905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20910 multiarch ceil for PowerPC32.
20911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20916 multiarch ceilf for PowerPC32.
20918 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20920 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20921 FINITEF is defined.
20922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20923 and finitef multiarch implementations.
20924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20929 multiarch finite for PowerPC32.
20930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20933 file: multiarch finitef for PowerPC32.
20935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20936 and isinff multiarch implementations.
20937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20942 multiarch isinf for PowerPC32.
20943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20946 multiarch isinff for PowerPC32.
20948 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20949 alias when __isnan is defined.
20950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20951 and isnanf multiarch implementations.
20952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20961 multiarch isnan for PowerPC32.
20962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20967 multiarch isnanf for PowerPC32.
20969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20970 and sqrtf multiarch implementations.
20971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20976 multiarch sqrt for PowerPC32.
20977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20982 multiarch sqrtf for PowerPC32.
20984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20985 and llroundf multiarch implementations.
20986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20993 file: multiarch llround for PowerPC32.
20994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20995 file: multiarch llroundf for PowerPC32.
20997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20998 multiarch PowerPC32 fpu implementations.
20999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21004 multiarch llrint for PowerPC32.
21005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21014 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21016 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21018 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21020 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21021 multiarch wordcopy for PPC32.
21022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21025 (__libc_ifunc_impl_list): Likewise.
21026 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21027 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21028 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21029 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21030 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21031 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21033 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21041 multiarch wcscpy for PPC32.
21042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21045 (__libc_ifunc_impl_list): Likewise.
21046 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21047 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21048 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21049 sysdeps/powerpc/power6/wcscpy.c.
21051 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21059 multiarch wcsrchr for PPC32.
21060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21063 (__libc_ifunc_impl_list): Likewise.
21064 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21065 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21066 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21067 sysdeps/powerpc/power6/wcsrchr.c.
21069 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21075 multiarch wcschr for PPc32.
21076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21079 (__libc_ifunc_impl_list): Likewise.
21080 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21081 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21082 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21083 sysdeps/powerpc/power6/wcschr.c.
21085 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21086 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21088 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21089 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21090 file: multiarch strchr for PPC32.
21091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21094 (__libc_ifunc_impl_list): Likewise.
21096 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21098 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21100 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21102 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21103 multiarch strchrnul for PPC32.
21104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21107 (__libc_ifunc_impl_list): Likewise.
21109 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21111 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21112 multiarch strncasecmp for PPC32.
21113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21116 multiarch strncasecmp_l for PPC32.
21117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21118 strncasecmp multiarch objects.
21119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21120 (__libc_ifunc_impl_list): Likewise.
21122 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21124 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21125 multiarch strncasecmp for PPC32.
21126 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21128 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21129 multiarch strcasecmp_l for PPC32.
21130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21133 (__libc_ifunc_impl_list): Likewise.
21135 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21137 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21140 multiarch strncmp for PPC32.
21141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21144 (__libc_ifunc_impl_list): Likewise.
21146 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21147 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21149 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21150 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21154 (__libc_ifunc_impl_list): Likewise.
21156 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21158 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21160 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21164 (__libc_ifunc_impl_list): Likewise.
21166 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21168 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21170 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21171 multiarch rawmemchr for PPC32.
21172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21175 (__libc_ifunc_impl_list): Likewise.
21177 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21179 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21181 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21182 file: memrchr multiarch for PPC32.
21183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21186 (__libc_ifunc_impl_list): Likewise.
21188 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21189 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21191 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21192 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21193 multiarch memchr for PPC32.
21194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21197 (__libc_ifunc_impl_list): Likewise.
21199 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21200 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21202 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21204 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21205 file: multiarch mempcpy for PPC32.
21206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21209 (__libc_ifunc_impl_list): Likewise.
21211 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21212 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21213 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21214 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21215 multiarch bzero for PPC32.
21216 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21218 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21220 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21221 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21222 file: multiarch memset for PPC32.
21223 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21225 memset multiarch objects.
21226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21227 (__libc_ifunc_impl_list): Likewise.
21229 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21231 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21234 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21238 (__libc_ifunc_impl_list): Likewise.
21240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21241 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21242 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21244 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21248 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21249 multiarch memcpy for PPC32.
21250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21253 (__libc_ifunc_impl_list): Likewise.
21255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21256 support multiarch for POWER/PPC32.
21257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21259 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21261 Implies file to make multiarch folder appers before the fpu and
21262 default folder for power4 configuration.
21264 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21266 * scripts/bench.pl: Append volatile keyword to type.
21268 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21270 * sysdeps/sh/sotruss-lib.c: New file.
21271 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21273 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21277 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21280 * math/w_tgamma.c: Include <errno.h>.
21281 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21282 * math/w_tgammaf.c: Include <errno.h>.
21283 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21284 * math/w_tgammal.c: Include <errno.h>.
21285 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21286 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21287 underflow. Add more tgamma tests.
21288 * math/auto-libm-test-out: Regenerated.
21289 * sysdeps/i386/fpu/libm-test-ulps: Update.
21290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21292 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21293 sin, sinh, tan, tanh, tgamma, y0 and y1.
21294 * math/auto-libm-test-out: Regenerated.
21295 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21296 (TEST_COND_x86): Likewise.
21297 (M_E2l): Remove macro.
21299 (M_2_SQRT_PIl): Likewise.
21300 (M_SQRT_PIl): Likewise.
21301 (M_1_DIV_El): Likewise.
21302 (log_test_data): Use AUTO_TESTS_f_f.
21303 (log10_test_data): Likewise.
21304 (log1p_test_data): Likewise.
21305 (log2_test_data): Likewise.
21306 (sin_test_data): Likewise.
21307 (sin_tonearest_test_data): Likewise.
21308 (sin_towardzero_test_data): Likewise.
21309 (sin_downward_test_data): Likewise.
21310 (sin_upward_test_data): Likewise.
21311 (sinh_test_data): Likewise.
21312 (sinh_tonearest_test_data): Likewise.
21313 (sinh_towardzero_test_data): Likewise.
21314 (sinh_downward_test_data): Likewise.
21315 (sinh_upward_test_data): Likewise.
21316 (tan_test_data): Likewise.
21317 (tan_tonearest_test_data): Likewise.
21318 (tan_towardzero_test_data): Likewise.
21319 (tan_downward_test_data): Likewise.
21320 (tan_upward_test_data): Likewise.
21321 (tanh_test_data): Likewise.
21322 (tgamma_test_data): Likewise.
21323 (y0_test_data): Likewise.
21324 (y1_test_data): Likewise.
21325 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21326 (special_real_inputs): Add pi/4.
21327 * sysdeps/i386/fpu/libm-test-ulps: Update.
21328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21330 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21332 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21333 "longjmp_target" static probes.
21334 (__longjmp): Rename to __longjmp_symbol.
21335 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21336 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21337 on which longjmp to generate.
21338 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21339 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21341 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21342 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21343 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21344 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21345 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21346 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21348 __longjmp_symbol based on which __longjmp to generate.
21349 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21351 (setjmp): Rename to setjmp_symbol.
21352 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21353 (_setjmp): Rename to _setjmp_symbol.
21354 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21355 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21356 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21357 which setjmp to generate.
21358 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21359 "longjmp_target" static probes.
21361 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21363 * benchtests/README: Add note about output arguments.
21364 * benchtests/bench-sincos.c: Remove file.
21365 * benchtests/sincos-inputs: New file.
21366 * scripts/bench.pl: Identify output arguments and define
21367 static variables for them.
21369 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21372 * Makefile (INSTALL): Add install-plain.texi as the primary
21374 * manual/install-plain.texi: New file.
21375 * manual/install.texi: Include node directive only for
21376 non-plaintext output.
21378 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21380 * stdlib/longlong.h: Update from GCC.
21384 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21385 * math/w_j0f.c (y0f): Likewise.
21386 * math/w_j0l.c (__y0l): Likewise.
21387 * math/w_j1.c (y1): Likewise.
21388 * math/w_j1f.c (y1f): Likewise.
21389 * math/w_j1l.c (__y1l): Likewise
21390 * math/w_jn.c (yn): Likewise.
21391 * math/w_jnf.c (ynf): Likewise.
21392 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21393 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21394 value for Bessel function domain errors outside _SVID_ mode.
21395 Adjust sign of return value for yn (negative integer, 0).
21396 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21397 by zero in return for negative x and set sign appropriately for
21399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21400 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21401 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21402 expectations in error cases.
21403 (y1_test_data): Likewise.
21404 (yn_test_data): Likewise.
21405 * sysdeps/i386/fpu/libm-test-ulps: Update.
21406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21408 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21410 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21411 "64" to "64-v1". Add "64-v2".
21412 (abi-64-options): Rename to ...
21413 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21414 (abi-64-condition): Rename to ...
21415 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21416 (abi-64-ld-soname): Rename to ...
21417 (abi-64-v1-ld-soname): ... this.
21418 (abi-64-v2-options): Define.
21419 (abi-64-v2-condition): Likewise.
21420 (abi-64-v2-ld-soname): Likewise.
21421 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21422 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21427 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21428 Alan Modra <amodra@gmail.com>
21430 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21431 New versions for use with the ELFv2 ABI.
21432 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21433 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21435 (struct La_ppc64v2_retval): Likewise.
21436 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21437 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21438 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21439 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21440 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21441 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21442 Do not save or restore CR.
21443 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21444 (_dl_profile_resolve): Do no save or restore CR. Support extended
21445 return values for ELFv2 ABI. Fix location of FPR return registers.
21446 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21447 updated values for _CALL_ELF == 2.
21448 (La_regs, La_retval, int_retval): Likewise.
21450 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21452 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21453 (FRAME_MIN_SIZE_PARM): Likewise.
21454 (FRAME_BACKCHAIN): Likewise.
21455 (FRAME_CR_SAVE): Likewise.
21456 (FRAME_LR_SAVE): Likewise.
21457 (FRAME_TOC_SAVE): Likewise.
21458 (FRAME_PARM_SAVE): Likewise.
21459 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21460 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21461 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21462 (call_mcount_parm_offset): New macro.
21463 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21464 (PROF): Use symbolic stack frame offsets.
21465 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21466 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21467 Redefine in terms of FRAME_MIN_SIZE.
21468 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21469 (_dl_profile_resolve): Likewise. Update comment.
21470 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21471 symbols stack frame offsets.
21472 (__sigsetjmp): Likewise.
21473 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21474 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21475 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21476 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21479 (FRAME_BACKCHAIN): Remove.
21480 (FRAME_CR_SAVE): Likewise.
21481 (FRAME_LR_SAVE): Likewise.
21482 (FRAME_COMPILER_DW): Likewise.
21483 (FRAME_LINKER_DW): Likewise.
21484 (FRAME_TOC_SAVE): Likewise.
21485 (FRAME_PARM_SAVE): Likewise.
21486 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21487 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21488 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21490 (CHECK_SP): Use symbolic stack frame offsets.
21491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21492 zone" instead of caller's parameter save area for temp storage.
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21494 Likewise. Also, use symbolic stack frame offsets.
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21496 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21497 our own stack frame instead of the caller's.
21498 (__socket): Use symbolic stack frame offsets.
21500 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21501 Alan Modra <amodra@gmail.com>
21503 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21505 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21506 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21507 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21509 (elf_machine_fixup_plt): Call it.
21510 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21512 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21513 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21514 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21515 r2 before calling target.
21517 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21518 Alan Modra <amodra@gmail.com>
21520 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21521 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21522 versions of macros to support ELFv2 ABI.
21523 (LOCALENTRY): New macro.
21524 (ENTRY, EALIGN): Use it.
21525 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21526 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21527 fall through into ENTRY entry point.
21528 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21529 Only define if _CALL_ELF != 2.
21531 (elf_machine_matches_host): Verify ABI version matches.
21532 (RTLD_START): Use LOCALENTRY.
21533 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21534 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21535 (PLT_ENTRY_WORDS): New macro.
21536 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21537 (elf_machine_runtime_setup): Support ELFv2 ABI.
21538 (elf_machine_fixup_plt): Likewise.
21539 (elf_machine_plt_conflict): Likewise.
21540 (resolve_ifunc): Likewise.
21541 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21542 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21545 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21547 (makecontext): Support ELFv2 ABI.
21548 * elf/elf.h (EF_PPC64_ABI): Define.
21550 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21552 * sysdeps/powerpc/powerpc64/sysdep.h
21553 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21554 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21555 (ENTRY) [ASSEMBLER]: ... but instead here ...
21556 (EALIGN) [ASSEMBLER]: ... and here.
21557 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21558 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21559 (ENTRY_2) [!ASSEMBLER]: Use it.
21560 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21561 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21562 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21563 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21564 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21566 Use PPC64_LOAD_FUNCPTR.
21568 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21570 2013-12-04 Alan Modra <amodra@gmail.com>
21572 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21573 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21574 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21575 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21577 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21578 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21579 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21580 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21581 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21582 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21584 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21587 (__makecontext): Fix incorrect CFI when backtracing out of
21588 context created via makecontext.
21589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21590 (__setcontext): Fix incorrect CFI during switch to new context.
21591 (__novec_setcontext): Likewise.
21593 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21596 * time/strptime_l.c (__strptime_internal): Allow modifiers
21598 * time/tst-strptime.c (day_tests): Add testcase.
21600 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21602 * scripts/bench.pl: Skip over blank lines.
21604 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21607 * manual/time.texi (Calendar Time): Clarify what timezone functions
21610 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21614 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21616 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21618 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21619 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21620 * debug/memset_chk.c (__memset_chk): Likewise.
21621 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21622 * debug/strncpy_chk.c: Likewise.
21624 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21628 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21629 (__ieee754_exp): For possibly underflowing results, check size of
21630 result and force underflow exception if required.
21631 * math/auto-libm-test-in: Add more tests of exp.
21632 * math/auto-libm-test-out: Regenerated.
21633 * sysdeps/i386/fpu/libm-test-ulps: Update.
21634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21637 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21638 * math/w_exp2f.c (__exp2f): Likewise.
21639 * math/w_exp2l.c (__exp2l): Likewise.
21640 * math/auto-libm-test-in: Do not allow missing errno on exp2
21642 * math/auto-libm-test-out: Regenerated.
21644 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21647 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21648 handle filename validation.
21649 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21652 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21655 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21656 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21657 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21659 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21660 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21661 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21663 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21665 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21666 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21667 Add more erfc tests.
21668 * math/auto-libm-test-out: Regenerated.
21669 * sysdeps/i386/fpu/libm-test-ulps: Update.
21670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21672 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21673 exp2, expm1, j0 and j1.
21674 * math/auto-libm-test-out: Regenerated.
21675 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21676 (erfc_test_data): Likewise.
21677 (exp_test_data): Likewise.
21678 (exp_tonearest_test_data): Likewise.
21679 (exp_towardzero_test_data): Likewise.
21680 (exp_downward_test_data): Likewise.
21681 (exp_upward_test_data): Likewise.
21682 (exp10_test_data): Likewise.
21683 (exp2_test_data): Likewise.
21684 (expm1_test_data): Likewise.
21685 (j0_test_data): Likewise.
21686 (j1_test_data): Likewise.
21687 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21688 (input_flag_type): Add flag_xfail_rounding.
21689 (input_flags): Add xfail-rounding.
21690 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21691 (output_for_one_input_case): Handle flag_xfail_rounding.
21692 * sysdeps/i386/fpu/libm-test-ulps: Update.
21693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21695 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21698 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21701 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21704 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21705 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21706 (STAP_PROBE0): New macro.
21707 (STAP_PROBE1): Likewise.
21708 (STAP_PROBE2): Likewise.
21709 (STAP_PROBE3): Likewise.
21710 (STAP_PROBE4): Likewise.
21712 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21714 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21716 2013-12-02 Steve Ellcey <sellcey@mips.com>
21718 * benchtests/Makefile (bench): Add sqrt.
21719 (LDLIBS-bench-sqrt): New.
21720 * benchtests/sqrt-input: New.
21722 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21724 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21725 (GAIH_EAI): Likewise.
21726 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21727 (gaih_inet): Likewise.
21728 (getaddrinfo): Don't use GAIH_EAI.
21730 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21731 (struct gaih): Remove definition.
21733 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21735 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21736 Use HERRNOP directly.
21738 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21742 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21744 * math/gen-auto-libm-tests.c (test_functions): Add more
21745 single-argument functions.
21746 (special_fill_pi_2): New function.
21747 (special_fill_minus_pi_2): Likewise.
21748 (special_fill_pi_6): Likewise.
21749 (special_fill_minus_pi_6): Likewise.
21750 (special_fill_pi_3): Likewise.
21751 (special_fill_2pi_3): Likewise.
21752 (special_fill_e): Likewise.
21753 (special_fill_1_e): Likewise.
21754 (special_fill_e_minus_1): Likewise.
21755 (special_real_inputs): Add more special inputs.
21756 (output_for_one_input_case): Do not require ERANGE on underflow to
21757 zero if round-to-nearest result does not underflow to zero, unless
21758 exact results required.
21759 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21760 atan, atanh, cbrt, cos and cosh.
21761 * math/auto-libm-test-out: Regenerated.
21762 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21763 (acos_tonearest_test_data): Likewise.
21764 (acos_towardzero_test_data): Likewise.
21765 (acos_downward_test_data): Likewise.
21766 (acos_upward_test_data): Likewise.
21767 (acosh_test_data): Likewise.
21768 (asin_test_data): Likewise.
21769 (asin_tonearest_test_data): Likewise.
21770 (asin_towardzero_test_data): Likewise.
21771 (asin_upward_test_data): Likewise.
21772 (asinh_test_data): Likewise.
21773 (atan_test_data): Likewise.
21774 (atanh_test_data): Likewise.
21775 (cbrt_test_data): Likewise.
21776 (cos_test_data): Likewise.
21777 (cos_tonearest_test_data): Likewise.
21778 (cos_towardzero_test_data): Likewise.
21779 (cos_downward_test_data): Likewise.
21780 (cos_upward_test_data): Likewise.
21781 (cosh_test_data): Likewise.
21782 (cosh_tonearest_test_data): Likewise.
21783 (cosh_towardzero_test_data): Likewise.
21784 (cosh_downward_test_data): Likewise.
21785 (cosh_upward_test_data): Likewise.
21786 * sysdeps/i386/fpu/libm-test-ulps: Update.
21787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21789 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21792 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21793 * math/w_exp10f.c (__exp10f): Likewise.
21794 * math/w_exp10l.c (__exp10l): Likewise.
21795 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21796 errno settings in existing tests.
21799 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21800 precision control set to double precision.
21801 * sysdeps/i386/fpu/w_sqrt.c: New file.
21802 * math/auto-libm-test-in: Add more tests.
21803 * math/auto-libm-test-out: Update.
21805 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21806 (sqrt_test_tonearest): New function.
21807 (sqrt_towardzero_test_data): New variable.
21808 (sqrt_test_towardzero): New function.
21809 (sqrt_downward_test_data): New variable.
21810 (sqrt_test_downward): New function.
21811 (sqrt_upward_test_data): New variable.
21812 (sqrt_test_upward): New function.
21813 (main): Call the new functions.
21815 * math/gen-auto-libm-tests.c: New file.
21816 * math/auto-libm-test-in: Likewise.
21817 * math/auto-libm-test-out: New generated file.
21818 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21820 (%beautify): Add generated representations of zero.
21821 (top level): Set $auto_input and call parse_auto_input.
21822 (beautify): Remove trailing "f" from hex float constants.
21823 (parse_args): Handle XFAIL_TEST.
21824 (convert_condition): New function.
21825 (or_value): Likewise.
21826 (or_cond_value): Likewise.
21827 (generate_testfile): Handle AUTO_TESTS_* lines.
21828 (parse_auto_input): New function.
21829 * math/libm-test.inc (XFAIL_TEST): New macro.
21830 (ERRNO_UNCHANGED): Update value.
21831 (ERRNO_EDOM): Likewise.
21832 (ERRNO_ERANGE): Likewise.
21833 (IGNORE_RESULT): Likewise.
21834 (TEST_COND_flt_32): New macro.
21835 (TEST_COND_dbl_64): Likewise.
21836 (TEST_COND_ldbl_96_intel): Likewise.
21837 (TEST_COND_ldbl_96_m68k): Likewise.
21838 (TEST_COND_ldbl_128): Likewise.
21839 (TEST_COND_ldbl_128ibm): Likewise.
21840 (TEST_COND_long32): Likewise.
21841 (TEST_COND_long64): Likewise.
21842 (TEST_COND_before_rounding): Likewise.
21843 (TEST_COND_after_rounding): Likewise.
21844 (enable_test): Handle XFAIL_TEST flag.
21845 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21846 with finite results.
21847 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21848 auto-libm-test-out.
21850 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21851 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21854 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21855 __tls_get_addr_internal instead of __tls_get_offset in order to
21856 avoid GOT pointer dependency. Make rtld export
21857 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21858 __tls_get_addr since we are a __tls_get_offset platform.
21859 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21860 GOT pointer being set up before.
21861 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21863 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21865 * manual/math.texi (Errors in Math Functions): Document accuracy
21869 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21870 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21872 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21873 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21874 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21875 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21876 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21877 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21878 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21879 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21880 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21881 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21882 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21884 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21886 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21887 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21888 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21889 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21890 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21892 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21894 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21896 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21897 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21898 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21899 atomic-feupdateenv and flt-rounds.
21900 * sysdeps/powerpc/nofpu/Versions (libc): Add
21901 __atomic_feholdexcept, __atomic_feclearexcept,
21902 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21903 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21904 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21905 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21906 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21911 * manual/arith.texi (FP Exceptions): Document that exceptions may
21912 not be raised when matherr is used.
21913 (Math Error Reporting): Document overflow in directed rounding
21914 modes. Document that errno may not be set when finite values are
21915 returned on overflow. Document intent to set errno on underflow
21916 only for underflow to zero.
21919 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21920 round-to-nearest then adjust result for other rounding modes.
21921 * include/fenv.h (fegetround): Use libm_hidden_proto.
21922 * math/fegetround.c (fegetround): Use libm_hidden_def.
21923 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21924 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21925 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21926 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21928 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21929 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21930 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21931 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21933 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21936 * nss/Versions (libnss_files): Add
21937 _nss_files_gethostbyname3_r.
21938 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21940 (HOST_DB_LOOKUP): Remove macro.
21941 (_nss_files_gethostbyname_r): Implement function without the
21942 HOST_DB_LOOKUP macro.
21943 (_nss_files_gethostbyname2_r): Likewise.
21945 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21947 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21949 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21951 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21952 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21955 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21957 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21958 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21959 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21960 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21961 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21962 __fe_nomask_env_priv and attribute_hidden.
21963 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21964 (libc_feupdateenv_test_ppc): Likewise.
21965 (libc_feresetround_ppc): Likewise.
21966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21967 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21968 compat_symbol macro.
21969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21970 (__fe_nomask_env): Likewise.
21971 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21973 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21975 * string/Makefile: Remove ifunc tests.
21976 * string/test-string.h: Define TEST_IFUNC.
21977 * string/test-bcopy-ifunc.c: Remove.
21978 * string/test-bzero-ifunc.c: Likewise.
21979 * string/test-memccpy-ifunc.c: Likewise.
21980 * string/test-memchr-ifunc.c: Likewise.
21981 * string/test-memcmp-ifunc.c: Likewise.
21982 * string/test-memcpy-ifunc.c: Likewise.
21983 * string/test-memmem-ifunc.c: Likewise.
21984 * string/test-memmove-ifunc.c: Likewise.
21985 * string/test-mempcpy-ifunc.c: Likewise.
21986 * string/test-memrchr-ifunc.c: Likewise.
21987 * string/test-memset-ifunc.c: Likewise.
21988 * string/test-rawmemchr-ifunc.c: Likewise.
21989 * string/test-stpcpy-ifunc.c: Likewise.
21990 * string/test-stpncpy-ifunc.c: Likewise.
21991 * string/test-strcasecmp-ifunc.c: Likewise.
21992 * string/test-strcasestr-ifunc.c: Likewise.
21993 * string/test-strcat-ifunc.c: Likewise.
21994 * string/test-strchr-ifunc.c: Likewise.
21995 * string/test-strchrnul-ifunc.c: Likewise.
21996 * string/test-strcmp-ifunc.c: Likewise.
21997 * string/test-strcpy-ifunc.c: Likewise.
21998 * string/test-strcspn-ifunc.c: Likewise.
21999 * string/test-strlen-ifunc.c: Likewise.
22000 * string/test-strncasecmp-ifunc.c: Likewise.
22001 * string/test-strncat-ifunc.c: Likewise.
22002 * string/test-strncmp-ifunc.c: Likewise.
22003 * string/test-strncpy-ifunc.c: Likewise.
22004 * string/test-strnlen-ifunc.c: Likewise.
22005 * string/test-strpbrk-ifunc.c: Likewise.
22006 * string/test-strrchr-ifunc.c: Likewise.
22007 * string/test-strspn-ifunc.c: Likewise.
22008 * string/test-strstr-ifunc.c: Likewise.
22010 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22012 * benchtests/Makefile: Remove ifunc tests.
22013 * benchtests/bench-string.h: Define TEST_IFUNC.
22014 * benchtests/bench-bcopy-ifunc.c: Remove.
22015 * benchtests/bench-bzero-ifunc.c: Likewise.
22016 * benchtests/bench-memccpy-ifunc.c: Likewise.
22017 * benchtests/bench-memchr-ifunc.c: Likewise.
22018 * benchtests/bench-memcmp-ifunc.c: Likewise.
22019 * benchtests/bench-memcpy-ifunc.c: Likewise.
22020 * benchtests/bench-memmem-ifunc.c: Likewise.
22021 * benchtests/bench-memmove-ifunc.c: Likewise.
22022 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22023 * benchtests/bench-memrchr-ifunc.c: Likewise.
22024 * benchtests/bench-memset-ifunc.c: Likewise.
22025 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22026 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22027 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22028 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22029 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22030 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22031 * benchtests/bench-strcat-ifunc.c: Likewise.
22032 * benchtests/bench-strchr-ifunc.c: Likewise.
22033 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22034 * benchtests/bench-strcmp-ifunc.c: Likewise.
22035 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22036 * benchtests/bench-strcpy-ifunc.c: Likewise.
22037 * benchtests/bench-strcspn-ifunc.c: Likewise.
22038 * benchtests/bench-strlen-ifunc.c: Likewise.
22039 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22040 * benchtests/bench-strncat-ifunc.c: Likewise.
22041 * benchtests/bench-strncmp-ifunc.c: Likewise.
22042 * benchtests/bench-strncpy-ifunc.c: Likewise.
22043 * benchtests/bench-strnlen-ifunc.c: Likewise.
22044 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22045 * benchtests/bench-strrchr-ifunc.c: Likewise.
22046 * benchtests/bench-strsep-ifunc.c: Likewise.
22047 * benchtests/bench-strspn-ifunc.c: Likewise.
22048 * benchtests/bench-strstr-ifunc.c: Likewise.
22050 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22052 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22054 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22056 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22057 * rt/aio.h: Likewise.
22058 * sysdeps/gnu/bits/utmp.h: Likewise.
22059 * sysdeps/gnu/bits/utmpx.h: Likewise.
22060 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22061 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22062 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22063 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22064 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22065 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22066 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22067 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22068 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22069 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22070 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22071 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22072 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22074 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22075 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22076 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22077 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22078 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22079 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22080 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22081 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22082 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22083 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22084 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22086 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22087 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22088 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22089 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22090 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22091 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22092 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22093 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22094 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22095 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22096 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22097 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22098 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22099 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22100 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22101 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22103 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22106 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22107 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22109 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22111 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22112 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22115 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22118 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22119 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22120 (__fesetround): Remove define.
22121 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22122 rounding and exceptions handling.
22123 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22124 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22125 (__fe_nomask_env): Likewise.
22126 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22127 __fegetround instead of fegetround.
22128 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22129 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22131 2013-11-21 Roland McGrath <roland@hack.frob.com>
22133 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22136 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22138 2013-11-21 Meador Inge <meadori@codesourcery.com>
22141 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22142 (encrypt_r): Likewise.
22143 * malloc/obstack.h (obstack_free): Likewise.
22144 * posix/unistd.h (encrypt): Likewise.
22146 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22148 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22149 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22150 DL_CALL_DT_FINI() that call the functions directly.
22151 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22152 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22153 * elf/dl-fini.c: Likewise.
22155 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22157 * malloc/hooks.c (memalign_check): Add alignment rounding.
22158 * malloc/malloc.c (_mid_memalign): New function.
22159 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22160 Implement by calling _mid_memalign.
22161 * manual/probes.texi (Memory Allocation Probes): Remove
22162 memory_valloc_retry and memory_pvalloc_retry.
22164 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22166 * locale/programs/locarchive.c (open_archive): Add const
22167 qualifier to ARCHIVEFNAME and copy default fname to
22171 * libio/tst-widetext.input: Rename Oriya to Odia.
22172 * locale/iso-639.def: Likewise.
22174 * manual/probes.texi (Mathematical Function Probes): Add
22175 documentation for sin, cos, asin and acos probes.
22176 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22177 (__sin32): Add slowasin probe.
22178 (__cos32): Add slowacos probe.
22179 (__mpsin): Add slowsin probe.
22180 (__mpcos): Add slowcos probe.
22182 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22185 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22186 thread-local __sim_exceptions_thread and global
22187 __sim_exceptions_global.
22188 (__sim_disabled_exceptions): Change to thread-local
22189 __sim_disabled_exceptions_thread and global
22190 __sim_disabled_exceptions_global.
22191 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22192 and global __sim_round_mode_global.
22193 (__simulate_exceptions): Use thread-local floating-point state and
22194 set global state from it as needed.
22195 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22196 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22197 __sim_round_mode_thread.
22198 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22199 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22200 and global __sim_exceptions_global.
22201 (__sim_disabled_exceptions): Change to thread-local
22202 __sim_disabled_exceptions_thread and global
22203 __sim_disabled_exceptions_global.
22204 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22205 and global __sim_round_mode_global.
22206 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22207 (SIM_SET_GLOBAL): Likewise.
22208 * sysdeps/powerpc/soft-fp/sfp-machine.h
22209 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22210 __sim_round_mode_thread.
22211 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22212 __sim_disabled_exceptions_thread.
22213 (__sim_exceptions): Change to __sim_exceptions_thread.
22214 (__sim_disabled_exceptions): Change to
22215 __sim_disabled_exceptions_thread.
22216 (__sim_round_mode): Change to __sim_round_mode_thread.
22217 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22218 thread-local floating-point state and set global state from it as
22220 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22221 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22222 (__sim_disabled_exceptions): Remove extern declaration.
22223 (feenableexcept): Use thread-local floating-point state and set
22224 global state from it as needed.
22225 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22226 extern declaration.
22227 (__sim_disabled_exceptions): Likewise.
22228 (__sim_round_mode): Likewise.
22229 (__fegetenv): Use thread-local floating-point state.
22230 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22231 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22232 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22233 floating-point state and set global state from it as needed.
22234 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22235 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22236 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22238 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22239 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22241 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22242 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22243 Use __sim_round_mode_thread.
22244 * math/test-fenv-tls.c: New file.
22245 * math/Makefile (tests): Add test-fenv-tls.
22246 ($(objpfx)test-fenv-tls): Depend on
22247 $(common-objpfx)nptl/libpthread.so.
22249 2013-11-19 Andreas Schwab <schwab@suse.de>
22251 * locale/programs/locale.c (show_info): Decode wordarray elements.
22252 * locale/categories.def (LC_MONETARY): Add element for
22253 _NL_MONETARY_CRNCYSTR.
22254 * locale/C-monetary.c (conversion_rate): New variable.
22255 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22258 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22260 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22261 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22263 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22265 * elf/Makefile (tst-auxv): New test.
22266 * elf/tst-auxv.c: New
22267 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22269 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22271 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22272 (hidden_proto): Caller changed.
22273 (hidden_tls_proto): New macro.
22274 (libc_hidden_tls_proto): Likewise.
22275 (rtld_hidden_tls_proto): Likewise.
22276 (libm_hidden_tls_proto): Likewise.
22277 (libresolv_hidden_tls_proto): Likewise.
22278 (librt_hidden_tls_proto): Likewise.
22279 (libdl_hidden_tls_proto): Likewise.
22280 (libnss_files_hidden_tls_proto): Likewise.
22281 (libnsl_hidden_tls_proto): Likewise.
22282 (libnss_nisplus_hidden_tls_proto): Likewise.
22283 (libutil_hidden_tls_proto): Likewise.
22285 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22288 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22289 (decompose_rpath): Defer expansion to fillin_rpath.
22290 (_dl_init_paths): Pass linkmap to fillin_rpath.
22292 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22294 * benchtests/Makefile: Add strsep.
22295 * benchtests/bench-strsep.c: New file: strsep benchtest.
22296 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22298 2013-11-18 Andreas Schwab <schwab@suse.de>
22300 * locale/programs/locale.c (show_info) [case byte]: Check for
22301 '\377' instead of '\177'.
22302 * locale/C-monetary.c (not_available): Always use "\377".
22303 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22304 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22305 detect unavailable sign_posn locale elements.
22306 * locale/localeconv.c (__localeconv): For grouping and
22307 mon_grouping handle "\177" and "\377" like no grouping.
22308 (INT_ELEM): New macro. Use it to set all numeric members.
22309 * locale/programs/ld-monetary.c (monetary_read)
22310 <tok_mon_grouping>: Normalize single -1 to the empty string.
22311 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22314 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22317 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22318 when we match (nil).
22319 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22321 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22323 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22324 (NO_TEST_INLINE): Update value.
22325 (ERRNO_UNCHANGED): Likewise.
22326 (ERRNO_EDOM): Likewise.
22327 (ERRNO_ERANGE): Likewise.
22328 (IGNORE_RESULT): Likewise.
22329 (check_float_internal): Check signs of NaN results if
22330 TEST_NAN_SIGN used.
22331 (check_complex): Pass TEST_NAN_SIGN flag through to second
22332 check_float_internal call.
22333 (copysign_test_data): Add tests with quiet NaNs as second
22334 argument. Use TEST_NAN_SIGN.
22335 (fabs_test_data): Add test of negative quiet NaN argument. Use
22337 (signbit_test_data): Add tests of quiet NaN argument.
22338 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22340 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22342 (parse_args): Handle function results specified as IGNORE.
22343 * math/libm-test.inc (IGNORE_RESULT): New macro.
22344 (check_float_internal): Do not check numerical result if flag
22346 (check_complex): Pass through IGNORE_RESULT to second
22347 check_float_internal call.
22348 (check_int): Do not check numerical result if flag IGNORE_RESULT
22350 (check_long): Likewise.
22351 (check_bool): Likewise.
22352 (check_longlong): Likewise.
22353 (lrint_test_data): Add tests of infinite and NaN arguments.
22354 (lrint_tonearest_test_data): Likewise.
22355 (lrint_towardzero_test_data): Likewise.
22356 (lrint_downward_test_data): Likewise.
22357 (lrint_upward_test_data): Likewise.
22358 (llrint_test_data): Likewise.
22359 (llrint_tonearest_test_data): Likewise.
22360 (llrint_towardzero_test_data): Likewise.
22361 (llrint_downward_test_data): Likewise.
22362 (llrint_upward_test_data): Likewise.
22363 (lround_test_data): Likewise.
22364 (llround_test_data): Likewise.
22366 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22367 (ERRNO_UNCHANGED): Update value.
22368 (ERRNO_EDOM): Likewise.
22369 (ERRNO_ERANGE): Likewise.
22370 (NO_TEST_INLINE_FLOAT): New macro.
22371 (NO_TEST_INLINE_DOUBLE): Likewise.
22372 (enable_test): New function.
22373 (RUN_TEST_f_f): Check enable_test before running test.
22374 (RUN_TEST_2_f): Likewise.
22375 (RUN_TEST_fff_f): Likewise.
22376 (RUN_TEST_c_f): Likewise.
22377 (RUN_TEST_f_f1): Likewise.
22378 (RUN_TEST_fF_f1): Likewise.
22379 (RUN_TEST_fI_f1): Likewise.
22380 (RUN_TEST_ffI_f1): Likewise.
22381 (RUN_TEST_c_c): Likewise.
22382 (RUN_TEST_cc_c): Likewise.
22383 (RUN_TEST_f_i): Likewise.
22384 (RUN_TEST_f_i_tg): Likewise.
22385 (RUN_TEST_ff_i_tg): Likewise.
22386 (RUN_TEST_f_b): Likewise.
22387 (RUN_TEST_f_b_tg): Likewise.
22388 (RUN_TEST_f_l): Likewise.
22389 (RUN_TEST_f_L): Likewise.
22390 (RUN_TEST_fFF_11): Likewise.
22391 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22393 (cosh_test_data): Likewise.
22394 (exp_test_data): Likewise.
22395 (expm1_test_data): Likewise.
22396 (hypot_test_data): Likewise.
22397 (pow_test_data): Likewise.
22398 (sinh_test_data): Likewise.
22399 (tanh_test_data): Likewise.
22400 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22403 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22404 tests with quiet NaN input and output.
22405 (acosh_test_data): Likewise.
22406 (asin_test_data): Likewise.
22407 (asinh_test_data): Likewise.
22408 (atan_test_data): Likewise.
22409 (atanh_test_data): Likewise.
22410 (atan2_test_data): Likewise.
22411 (cbrt_test_data): Likewise.
22412 (cos_test_data): Likewise.
22413 (cosh_test_data): Likewise.
22414 (erf_test_data): Likewise.
22415 (erfc_test_data): Likewise.
22416 (exp_test_data): Likewise.
22417 (exp10_test_data): Likewise.
22418 (exp2_test_data): Likewise.
22419 (expm1_test_data): Likewise.
22420 (hypot_test_data): Likewise.
22421 (j0_test_data): Likewise.
22422 (j1_test_data): Likewise.
22423 (jn_test_data): Likewise.
22424 (lgamma_test_data): Likewise.
22425 (log_test_data): Likewise.
22426 (log10_test_data): Likewise.
22427 (log1p_test_data): Likewise.
22428 (log2_test_data): Likewise.
22429 (pow_test_data): Likewise.
22430 (scalb_test_data): Likewise.
22431 (sin_test_data): Likewise.
22432 (sincos_test_data): Likewise.
22433 (sinh_test_data): Likewise.
22434 (tan_test_data): Likewise.
22435 (tanh_test_data): Likewise.
22436 (tgamma_test_data): Likewise.
22437 (y0_test_data): Likewise.
22438 (y1_test_data): Likewise.
22439 (yn_test_data): Likewise.
22442 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22443 argument being NaN and avoid computations with second argument in
22445 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22446 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22447 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22449 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22451 * locale/iso-639.def: Add Chitwani Tharu (the).
22453 2013-11-14 Andreas Schwab <schwab@suse.de>
22455 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22456 word instead of empty string.
22458 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22461 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22463 (__fe_nomask_env): Likewise.
22465 2013-11-13 Steve Ellcey <sellcey@mips.com>
22467 * benchtests/bench-timing.h: Include time.h.
22469 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22472 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22474 * sysdeps/unix/sysv/linux/configure: Regenerated.
22476 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22479 * stdlib/strtod_l.c (round_and_return): Do not consider
22480 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22481 exponent one less than half the least subnormal exponent.
22482 * stdlib/test-strtod-round-data: Add more tests.
22483 * stdlib/tst-strtod-round.c (tests): Regenerated.
22485 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22488 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22489 (__fe_mask_env): Likewise.
22490 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22491 libm_hidden_proto and add function prototype.
22492 (__fe_mask_env): Add function prototype.
22493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22494 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22496 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22498 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22500 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22502 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22503 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22505 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22507 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22508 of htab_find_slot().
22510 2013-11-11 David S. Miller <davem@davemloft.net>
22513 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22514 symbol in the non-vis3 case in static builds.
22515 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22516 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22517 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22518 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22520 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22523 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22526 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22528 * benchtests/Makefile: Add bench-strtod.
22529 * benchtests/bench-strtod.c: New file: strtod benchtest
22531 2013-11-11 Andreas Schwab <schwab@suse.de>
22534 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22535 terminating NUL in key length.
22537 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22539 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22540 Add artificial ODP entry for vDSO symbol for PPC64.
22541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22542 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22544 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22547 * nss/getent.c (services_keys): Recognize services starting with digit.
22549 2013-11-06 David S. Miller <davem@davemloft.net>
22552 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22553 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22555 2013-11-06 Will Newton <will.newton@linaro.org>
22557 * manual/memory.texi (Malloc Examples): Remove register
22558 keyword from examples.
22560 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22562 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22564 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22567 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22568 depending on [__GCC_IEC_559 > 0].
22569 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22570 depending on [__GCC_IEC_559_COMPLEX > 0].
22572 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22574 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22577 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22579 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22581 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22584 * malloc/malloc (malloc_info): Do not handle first bin as
22587 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22589 * locale/iso-639.def: Add Central Nahuatl (nhn).
22591 2013-11-01 Bruno Haible <bruno@clisp.org>
22594 * manual/math.texi (BSD Random): Specify range upper bound as
22597 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22599 * locale/iso-639.def: Add Meadow Mari (mhr).
22601 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22603 [BZ #14752], [BZ #15763]
22604 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22606 * rt/tst_shm.c: Add test for escaping directory.
22608 2013-10-31 Andreas Schwab <schwab@suse.de>
22611 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22612 followed by 'x' as part of digit sequence.
22613 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22615 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22618 * configure.ac: allow GNU Make 4.0 and greater.
22619 * configure: Regenerated.
22621 2013-10-30 Will Newton <will.newton@linaro.org>
22624 * malloc/hooks.c (memalign_check): Limit alignment to the
22625 maximum representable power of two.
22626 * malloc/malloc.c (__libc_memalign): Likewise.
22627 * malloc/tst-memalign.c (do_test): Add test for very
22628 large alignment values.
22629 * malloc/tst-posix_memalign.c (do_test): Likewise.
22631 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22634 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22635 (munmap_chunk): Likewise.
22636 (mremap_chunk): Likewise.
22638 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22641 * stdlib/div.c (div): Remove obsolete code.
22642 * stdlib/ldiv.c (ldiv): Likewise.
22643 * stdlib/lldiv.c (lldiv): Likewise.
22645 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22648 * nss/nss_files/files-XXX.c (get_contents_ret): New
22650 (get_contents): New function.
22651 (internal_getent): Use it. Expand size of LINEBUFLEN.
22653 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22655 * configure.in: Moved to ...
22656 * configure.ac: ... here. Change reference to configure.in
22658 * sysdeps/arm/preconfigure.ac: ... here.
22659 configure.in to configure.ac.
22660 * sysdeps/gnu/configure.in: Moved to ...
22661 * sysdeps/gnu/configure.ac: ... here.
22662 * sysdeps/i386/configure.in: Moved to ...
22663 * sysdeps/i386/configure.ac: ... here.
22664 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22665 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22666 * sysdeps/mach/configure.in: Moved to ...
22667 * sysdeps/mach/configure.ac: ... here.
22668 * sysdeps/mach/hurd/configure.in: Moved to ...
22669 * sysdeps/mach/hurd/configure.ac: ... here.
22670 * sysdeps/powerpc/configure.in: Moved to ...
22671 * sysdeps/powerpc/configure.ac: ... here.
22672 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22673 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22674 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22675 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22676 * sysdeps/s390/s390-32/configure.in: Moved to ...
22677 * sysdeps/s390/s390-32/configure.ac: ... here.
22678 * sysdeps/s390/s390-64/configure.in: Moved to ...
22679 * sysdeps/s390/s390-64/configure.ac: ... here.
22680 * sysdeps/sh/configure.in: Moved to ...
22681 * sysdeps/sh/configure.ac: ... here.
22682 * sysdeps/sparc/configure.in: Moved to ...
22683 * sysdeps/sparc/configure.ac: ... here.
22684 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22685 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22686 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22687 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22688 * sysdeps/x86_64/configure.in: Moved to ...
22689 * sysdeps/x86_64/configure.ac: ... here.
22690 * sysdeps/x86_64/preconfigure.in: Moved to ...
22691 * sysdeps/x86_64/preconfigure.ac: ... here.
22692 * aclocal.m4: Change reference to configure.in to configure.ac.
22693 * config.h.in: Likewise.
22694 * manual/install.texi: Likewise.
22695 * manual/maint.texi: Likewise.
22696 * Makefile: Likewise.
22697 * malloc/Makefile: Likewise.
22698 * nscd/Makefile: Likewise.
22699 * Makeconfig: Change reference to configure.in and
22700 preconfigure.in to configure.ac and preconfigure.ac
22702 * INSTALL: Regenerated.
22703 * configure: Likewise.
22704 * sysdeps/gnu/configure: Likewise.
22705 * sysdeps/i386/configure: Likewise.
22706 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22707 * sysdeps/mach/configure: Likewise.
22708 * sysdeps/mach/hurd/configure: Likewise.
22709 * sysdeps/powerpc/configure: Likewise.
22710 * sysdeps/powerpc/powerpc32/configure: Likewise.
22711 * sysdeps/powerpc/powerpc64/configure: Likewise.
22712 * sysdeps/s390/s390-32/configure: Likewise.
22713 * sysdeps/s390/s390-64/configure: Likewise.
22714 * sysdeps/sh/configure: Likewise.
22715 * sysdeps/sparc/configure: Likewise.
22716 * sysdeps/unix/sysv/linux/configure: Likewise.
22717 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22718 * sysdeps/x86_64/configure: Likewise.
22719 * sysdeps/x86_64/preconfigure: Likewise.
22721 2013-10-29 Andreas Schwab <schwab@suse.de>
22723 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22725 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22727 * benchtests/pow-inputs: Add new inputs.
22729 * benchtests/exp-inputs: Add new inputs.
22731 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22732 conditional check for return value.
22733 (__cos32): Likewise.
22735 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22737 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22738 to provide a boost for large inputs with word alignment.
22739 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22740 implementation based on optimized PPC64 strcpy.
22741 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22742 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22743 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22744 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22746 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22749 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22751 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22754 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22755 * time/tst-strptime.c (day_tests): Add testcase.
22757 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22760 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22762 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22765 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22766 MAP_FAILED on error.
22768 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22771 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22772 heap for large requests.
22774 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22777 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22778 result if the result has no associated interface.
22779 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22780 interface for all 127.X.Y.Z addresses.
22782 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22784 * locale/iso-639.def: Add Ligurian (lij)
22786 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22789 * sunrpc/rpc_main.c: Document rpcgen -5.
22791 2013-10-19 Michael Stahl <mstahl@redhat.com>
22793 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22795 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22798 * posix/glob.c: Match only directories when trailing slash is present.
22799 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22800 (main): Add testcase.
22802 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22805 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22807 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22809 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22810 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22811 AUTH_DES and cindex for FIPS 140-2.
22812 (DES Encryption): Add cindex FIPS 46-3.
22814 * locale/locarchive.h (struct locarhandle): Add fname.
22815 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22816 if an optional argument was specified to --list-archive,
22818 * locale/programs/locarchive.c (show_archive_content): Take new
22819 argument fname and pass it via ah.fname to open_archive.
22820 * locale/programs/localedef.h: Update decl.
22821 (open_archive): If AH->fname is non-null, open that file
22822 rather than the default file name, and don't ignore ENOENT.
22823 (create_archive): Set AH.fname to NULL.
22824 (delete_locales_from_archive): Likewise.
22825 (add_locales_to_archive): Likewise.
22826 * locale/programs/locfile.c (write_all_categories): Likewise.
22828 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22829 Aldy Hernandez <aldyh@redhat.com>
22831 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22832 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22833 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22834 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22835 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22836 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22837 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22838 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22839 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22840 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22841 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22842 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22843 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22844 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22845 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22847 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22849 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22851 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22853 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22854 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22856 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22857 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22858 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22859 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22861 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22862 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22863 * sysdeps/powerpc/preconfigure: Likewise.
22864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22866 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22867 Replace contents of file by #include of <fenv_libc.h>.
22868 * sysdeps/powerpc/soft-fp/sfp-machine.h
22869 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22871 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22872 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22873 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22874 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22875 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22876 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22878 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22879 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22880 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22881 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22882 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22884 Allow copysignl PLT reference to be missing.
22886 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22887 Joseph Myers <joseph@codesourcery.com
22890 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22892 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22894 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22896 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22897 * elf/tst-tls1.c: Likewise.
22898 * elf/tst-tls10.h: Likewise.
22899 * elf/tst-tls14.c: Likewise.
22900 * elf/tst-tls2.c: Likewise.
22901 * elf/tst-tls3.c: Likewise.
22902 * elf/tst-tls4.c: Likewise.
22903 * elf/tst-tls5.c: Likewise.
22904 * elf/tst-tls6.c: Likewise.
22905 * elf/tst-tls7.c: Likewise.
22906 * elf/tst-tls8.c: Likewise.
22907 * elf/tst-tls9.c: Likewise.
22908 * elf/tst-tlsmod1.c: Likewise.
22909 * elf/tst-tlsmod13.c: Likewise.
22910 * elf/tst-tlsmod13a.c: Likewise.
22911 * elf/tst-tlsmod14a.c: Likewise.
22912 * elf/tst-tlsmod16a.c: Likewise.
22913 * elf/tst-tlsmod16b.c: Likewise.
22914 * elf/tst-tlsmod2.c: Likewise.
22915 * elf/tst-tlsmod3.c: Likewise.
22916 * elf/tst-tlsmod4.c: Likewise.
22917 * elf/tst-tlsmod5.c: Likewise.
22918 * elf/tst-tlsmod6.c: Likewise.
22920 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22923 * malloc/malloc.c: remove checks for statistics.
22925 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22928 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22929 * inet/tst-network.c: Add testcase.
22931 2013-10-17 Andreas Schwab <schwab@suse.de>
22934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22935 to determine canonical name.
22937 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22939 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22940 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22942 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22944 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22945 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22946 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22947 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22948 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22949 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22950 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22951 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22952 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22953 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22954 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22956 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22957 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22958 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22962 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22963 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22964 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22969 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22971 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22972 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22973 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22974 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22975 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22976 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22977 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22978 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22979 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22980 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22981 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22982 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22983 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22984 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22985 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22986 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22987 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22989 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22990 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22991 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22992 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22994 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22998 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23001 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23002 make result into a quiet NaN.
23004 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23006 * soft-fp/adddf3.c: Fix horizontal whitespace.
23007 * soft-fp/addsf3.c: Likewise.
23008 * soft-fp/addtf3.c: Likewise.
23009 * soft-fp/divdf3.c: Likewise.
23010 * soft-fp/divsf3.c: Likewise.
23011 * soft-fp/divtf3.c: Likewise.
23012 * soft-fp/double.h: Likewise.
23013 * soft-fp/eqdf2.c: Likewise.
23014 * soft-fp/eqsf2.c: Likewise.
23015 * soft-fp/eqtf2.c: Likewise.
23016 * soft-fp/extenddftf2.c: Likewise.
23017 * soft-fp/extended.h: Likewise.
23018 * soft-fp/extendsfdf2.c: Likewise.
23019 * soft-fp/extendsftf2.c: Likewise.
23020 * soft-fp/extendxftf2.c: Likewise.
23021 * soft-fp/fixdfdi.c: Likewise.
23022 * soft-fp/fixdfsi.c: Likewise.
23023 * soft-fp/fixdfti.c: Likewise.
23024 * soft-fp/fixsfdi.c: Likewise.
23025 * soft-fp/fixsfsi.c: Likewise.
23026 * soft-fp/fixsfti.c: Likewise.
23027 * soft-fp/fixtfdi.c: Likewise.
23028 * soft-fp/fixtfsi.c: Likewise.
23029 * soft-fp/fixtfti.c: Likewise.
23030 * soft-fp/fixunsdfdi.c: Likewise.
23031 * soft-fp/fixunsdfsi.c: Likewise.
23032 * soft-fp/fixunsdfti.c: Likewise.
23033 * soft-fp/fixunssfdi.c: Likewise.
23034 * soft-fp/fixunssfsi.c: Likewise.
23035 * soft-fp/fixunssfti.c: Likewise.
23036 * soft-fp/fixunstfdi.c: Likewise.
23037 * soft-fp/fixunstfsi.c: Likewise.
23038 * soft-fp/fixunstfti.c: Likewise.
23039 * soft-fp/floatdidf.c: Likewise.
23040 * soft-fp/floatdisf.c: Likewise.
23041 * soft-fp/floatditf.c: Likewise.
23042 * soft-fp/floatsidf.c: Likewise.
23043 * soft-fp/floatsisf.c: Likewise.
23044 * soft-fp/floatsitf.c: Likewise.
23045 * soft-fp/floattidf.c: Likewise.
23046 * soft-fp/floattisf.c: Likewise.
23047 * soft-fp/floattitf.c: Likewise.
23048 * soft-fp/floatundidf.c: Likewise.
23049 * soft-fp/floatundisf.c: Likewise.
23050 * soft-fp/floatunditf.c: Likewise.
23051 * soft-fp/floatunsidf.c: Likewise.
23052 * soft-fp/floatunsisf.c: Likewise.
23053 * soft-fp/floatunsitf.c: Likewise.
23054 * soft-fp/floatuntidf.c: Likewise.
23055 * soft-fp/floatuntisf.c: Likewise.
23056 * soft-fp/floatuntitf.c: Likewise.
23057 * soft-fp/fmadf4.c: Likewise.
23058 * soft-fp/fmasf4.c: Likewise.
23059 * soft-fp/fmatf4.c: Likewise.
23060 * soft-fp/gedf2.c: Likewise.
23061 * soft-fp/gesf2.c: Likewise.
23062 * soft-fp/getf2.c: Likewise.
23063 * soft-fp/ledf2.c: Likewise.
23064 * soft-fp/lesf2.c: Likewise.
23065 * soft-fp/letf2.c: Likewise.
23066 * soft-fp/muldf3.c: Likewise.
23067 * soft-fp/mulsf3.c: Likewise.
23068 * soft-fp/multf3.c: Likewise.
23069 * soft-fp/negdf2.c: Likewise.
23070 * soft-fp/negsf2.c: Likewise.
23071 * soft-fp/negtf2.c: Likewise.
23072 * soft-fp/op-1.h: Likewise.
23073 * soft-fp/op-2.h: Likewise.
23074 * soft-fp/op-4.h: Likewise.
23075 * soft-fp/op-8.h: Likewise.
23076 * soft-fp/op-common.h: Likewise.
23077 * soft-fp/quad.h: Likewise.
23078 * soft-fp/single.h: Likewise.
23079 * soft-fp/soft-fp.h: Likewise.
23080 * soft-fp/sqrtdf2.c: Likewise.
23081 * soft-fp/sqrtsf2.c: Likewise.
23082 * soft-fp/sqrttf2.c: Likewise.
23083 * soft-fp/subdf3.c: Likewise.
23084 * soft-fp/subsf3.c: Likewise.
23085 * soft-fp/subtf3.c: Likewise.
23086 * soft-fp/truncdfsf2.c: Likewise.
23087 * soft-fp/trunctfdf2.c: Likewise.
23088 * soft-fp/trunctfsf2.c: Likewise.
23089 * soft-fp/trunctfxf2.c: Likewise.
23090 * soft-fp/unorddf2.c: Likewise.
23091 * soft-fp/unordsf2.c: Likewise.
23092 * soft-fp/unordtf2.c: Likewise.
23094 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23096 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23097 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23099 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23101 * elf/dl-libc.c: Clear initfini list after freeing.
23103 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23105 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23106 * soft-fp/addsf3.c: Likewise.
23107 * soft-fp/addtf3.c: Likewise.
23108 * soft-fp/divdf3.c: Likewise.
23109 * soft-fp/divsf3.c: Likewise.
23110 * soft-fp/divtf3.c: Likewise.
23111 * soft-fp/double.h: Likewise.
23112 * soft-fp/eqdf2.c: Likewise.
23113 * soft-fp/eqsf2.c: Likewise.
23114 * soft-fp/eqtf2.c: Likewise.
23115 * soft-fp/extenddftf2.c: Likewise.
23116 * soft-fp/extended.h: Likewise.
23117 * soft-fp/extendsfdf2.c: Likewise.
23118 * soft-fp/extendsftf2.c: Likewise.
23119 * soft-fp/extendxftf2.c: Likewise.
23120 * soft-fp/fixdfdi.c: Likewise.
23121 * soft-fp/fixdfsi.c: Likewise.
23122 * soft-fp/fixdfti.c: Likewise.
23123 * soft-fp/fixsfdi.c: Likewise.
23124 * soft-fp/fixsfsi.c: Likewise.
23125 * soft-fp/fixsfti.c: Likewise.
23126 * soft-fp/fixtfdi.c: Likewise.
23127 * soft-fp/fixtfsi.c: Likewise.
23128 * soft-fp/fixtfti.c: Likewise.
23129 * soft-fp/fixunsdfdi.c: Likewise.
23130 * soft-fp/fixunsdfsi.c: Likewise.
23131 * soft-fp/fixunsdfti.c: Likewise.
23132 * soft-fp/fixunssfdi.c: Likewise.
23133 * soft-fp/fixunssfsi.c: Likewise.
23134 * soft-fp/fixunssfti.c: Likewise.
23135 * soft-fp/fixunstfdi.c: Likewise.
23136 * soft-fp/fixunstfsi.c: Likewise.
23137 * soft-fp/fixunstfti.c: Likewise.
23138 * soft-fp/floatdidf.c: Likewise.
23139 * soft-fp/floatdisf.c: Likewise.
23140 * soft-fp/floatditf.c: Likewise.
23141 * soft-fp/floatsidf.c: Likewise.
23142 * soft-fp/floatsisf.c: Likewise.
23143 * soft-fp/floatsitf.c: Likewise.
23144 * soft-fp/floattidf.c: Likewise.
23145 * soft-fp/floattisf.c: Likewise.
23146 * soft-fp/floattitf.c: Likewise.
23147 * soft-fp/floatundidf.c: Likewise.
23148 * soft-fp/floatundisf.c: Likewise.
23149 * soft-fp/floatunsidf.c: Likewise.
23150 * soft-fp/floatunsisf.c: Likewise.
23151 * soft-fp/floatuntidf.c: Likewise.
23152 * soft-fp/floatuntisf.c: Likewise.
23153 * soft-fp/floatuntitf.c: Likewise.
23154 * soft-fp/fmadf4.c: Likewise.
23155 * soft-fp/fmasf4.c: Likewise.
23156 * soft-fp/fmatf4.c: Likewise.
23157 * soft-fp/gedf2.c: Likewise.
23158 * soft-fp/gesf2.c: Likewise.
23159 * soft-fp/getf2.c: Likewise.
23160 * soft-fp/ledf2.c: Likewise.
23161 * soft-fp/lesf2.c: Likewise.
23162 * soft-fp/letf2.c: Likewise.
23163 * soft-fp/muldf3.c: Likewise.
23164 * soft-fp/mulsf3.c: Likewise.
23165 * soft-fp/multf3.c: Likewise.
23166 * soft-fp/negdf2.c: Likewise.
23167 * soft-fp/negsf2.c: Likewise.
23168 * soft-fp/negtf2.c: Likewise.
23169 * soft-fp/op-1.h: Likewise.
23170 * soft-fp/op-2.h: Likewise.
23171 * soft-fp/op-4.h: Likewise.
23172 * soft-fp/op-8.h: Likewise.
23173 * soft-fp/op-common.h: Likewise.
23174 * soft-fp/quad.h: Likewise.
23175 * soft-fp/single.h: Likewise.
23176 * soft-fp/soft-fp.h: Likewise.
23177 * soft-fp/sqrtdf2.c: Likewise.
23178 * soft-fp/sqrtsf2.c: Likewise.
23179 * soft-fp/sqrttf2.c: Likewise.
23180 * soft-fp/subdf3.c: Likewise.
23181 * soft-fp/subsf3.c: Likewise.
23182 * soft-fp/subtf3.c: Likewise.
23183 * soft-fp/truncdfsf2.c: Likewise.
23184 * soft-fp/trunctfdf2.c: Likewise.
23185 * soft-fp/trunctfsf2.c: Likewise.
23186 * soft-fp/trunctfxf2.c: Likewise.
23187 * soft-fp/unorddf2.c: Likewise.
23188 * soft-fp/unordsf2.c: Likewise.
23189 * soft-fp/unordtf2.c: Likewise.
23191 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23194 * misc/error.c (error_tail): Fix possible buffer overflow.
23196 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23199 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23202 2013-10-14 P. J. McDermott <pj@pehjota.net>
23205 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23206 testing pipefail option.
23208 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23210 * soft-fp/double.h: Indent preprocessor directives inside #if.
23211 * soft-fp/extended.h: Likewise.
23212 * soft-fp/op-2.h: Likewise.
23213 * soft-fp/op-4.h: Likewise.
23214 * soft-fp/op-common.h: Likewise.
23215 * soft-fp/quad.h: Likewise.
23216 * soft-fp/single.h: Likewise.
23217 * soft-fp/soft-fp.h: Likewise.
23219 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23221 * iconv/iconv_prog.c: Fix typos.
23222 * stdio-common/psiginfo-data.h: Likewise.
23224 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23227 * locale/setlocale.c: Fix typo.
23229 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23232 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23233 signaling NaN arguments.
23234 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23235 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23238 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23239 unordered operands.
23240 * soft-fp/gesf2.c (__gesf2): Likewise.
23241 * soft-fp/getf2.c (__getf2): Likewise.
23242 * soft-fp/ledf2.c (__ledf2): Likewise.
23243 * soft-fp/lesf2.c (__lesf2): Likewise.
23244 * soft-fp/letf2.c (__letf2): Likewise.
23246 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23247 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23248 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23249 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23250 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23251 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23252 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23253 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23254 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23255 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23256 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23257 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23258 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23259 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23260 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23261 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23262 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23263 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23264 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23265 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23266 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23267 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23268 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23269 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23270 * soft-fp/floattidf.c (__floattidf): Likewise.
23271 * soft-fp/floattisf.c (__floattisf): Likewise.
23272 * soft-fp/floattitf.c (__floattitf): Likewise.
23273 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23274 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23275 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23276 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23277 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23278 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23279 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23280 * soft-fp/gesf2.c (__gesf2): Likewise.
23281 * soft-fp/getf2.c (__getf2): Likewise.
23282 * soft-fp/ledf2.c (__ledf2): Likewise.
23283 * soft-fp/lesf2.c (__lesf2): Likewise.
23284 * soft-fp/letf2.c (__letf2): Likewise.
23286 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23287 Undefine and redefine.
23288 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23289 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23290 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23291 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23292 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23293 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23294 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23295 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23296 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23297 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23298 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23299 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23300 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23301 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23302 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23305 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23306 without decrementing exponent if mantissa >= that for the
23307 denominator, not >.
23308 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23309 denominator, not >. Decrement exponent in < case instead of
23310 incrementing in >= case.
23311 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23312 without decrementing exponent if mantissa >= that for the
23313 denominator, not >.
23315 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23316 computing saturated result for unsigned overflow.
23318 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23319 Jeff Law <law@redhat.com>
23321 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23322 (atan2Mp): Add systemtap probe marker.
23323 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23324 (__ieee754_log): Add systemtap probe marker.
23325 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23326 (atanMp): Add systemtap probe marker.
23327 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23328 (tanMp): Add systemtap probe marker.
23329 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23330 (__slowexp): Add systemtap probe marker.
23331 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23332 (__slowpow): Add systemtap probe marker.
23333 * manual/probes.texi: Document probes.
23335 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23338 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23340 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23342 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23343 written to buffer but not flushed.
23344 * libio/iofwrite_u.c: Likewise.
23345 * libio/iopadn.c: Return bytes returned even if EOF was
23347 * libio/iowpadn.c: Likewise.
23348 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23349 if _IO_padn does not write the whole buffer.
23350 [!COMPILE_WPRINTF] (PAD): Likewise.
23352 2013-10-10 David S. Miller <davem@davemloft.net>
23354 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23357 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23359 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23360 instead of FSF address.
23361 * soft-fp/fixdfti.c: Likewise.
23362 * soft-fp/fixsfti.c: Likewise.
23363 * soft-fp/fixtfti.c: Likewise.
23364 * soft-fp/fixunsdfti.c: Likewise.
23365 * soft-fp/fixunssfti.c: Likewise.
23366 * soft-fp/fixunstfti.c: Likewise.
23367 * soft-fp/floattidf.c: Likewise.
23368 * soft-fp/floattisf.c: Likewise.
23369 * soft-fp/floattitf.c: Likewise.
23370 * soft-fp/floatuntidf.c: Likewise.
23371 * soft-fp/floatuntisf.c: Likewise.
23372 * soft-fp/floatuntitf.c: Likewise.
23373 * soft-fp/trunctfxf2.c: Likewise.
23375 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23376 * soft-fp/fixdfti.c: Likewise.
23377 * soft-fp/fixsfti.c: Likewise.
23378 * soft-fp/fixtfti.c: Likewise.
23379 * soft-fp/fixunsdfti.c: Likewise.
23380 * soft-fp/fixunssfti.c: Likewise.
23381 * soft-fp/fixunstfti.c: Likewise.
23382 * soft-fp/floattidf.c: Likewise.
23383 * soft-fp/floattisf.c: Likewise.
23384 * soft-fp/floattitf.c: Likewise.
23385 * soft-fp/floatuntidf.c: Likewise.
23386 * soft-fp/floatuntisf.c: Likewise.
23387 * soft-fp/floatuntitf.c: Likewise.
23388 * soft-fp/trunctfxf2.c: Likewise.
23390 2013-10-10 David S. Miller <davem@davemloft.net>
23392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23394 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23396 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23397 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23398 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23399 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23400 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23401 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23402 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23405 for NaNs before doing comparisons on argument.
23406 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23409 2013-10-10 Will Newton <will.newton@linaro.org>
23411 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23412 passed to _int_memalign does not overflow.
23414 2013-10-10 Torvald Riegel <triegel@redhat.com>
23416 * scripts/bench.pl: Add include-sources directive.
23417 * benchtests/README: Update documentation.
23419 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23421 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23422 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23423 instead of FP_INIT_ROUNDMODE.
23424 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23425 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23428 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23429 copy class of input value.
23430 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23431 not handle exceptions.
23432 * soft-fp/negsf2.c (__negsf2): Likewise.
23433 * soft-fp/negtf2.c (__negtf2): Likewise.
23434 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23436 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23438 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23439 semicolon. From Linux kernel.
23441 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23443 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23445 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23448 * manual/socket.texi: Added statement about buffer
23449 for gethostbyname2_r.
23451 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23453 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23454 Use .p2align directive instead, throughout.
23455 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23456 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23457 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23459 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23460 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23461 * sysdeps/x86_64/strchr.S: Likewise.
23462 * sysdeps/x86_64/strrchr.S: Likewise.
23464 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23466 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23468 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23470 * sysdeps/generic/math_private.h (__mpsin1): Remove
23472 (__mpcos1): Likewise.
23473 (__mpsin): New argument __range_reduce.
23474 (__mpcos): Likewise.
23475 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23476 (slow): Use __mpsin and __mpcos.
23480 (sloww1): Likewise.
23481 (sloww2): Likewise.
23482 (bsloww): Likewise.
23483 (bsloww1): Likewise.
23484 (bsloww2): Likewise.
23485 (cslow2): Likewise.
23486 (csloww): Likewise.
23487 (csloww1): Likewise.
23488 (csloww2): Likewise.
23489 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23490 range_reduce. Merge in __mpsin1.
23491 (__mpcos): Likewise.
23492 (__mpsin1): Remove.
23493 (__mpcos1): Likewise.
23495 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23497 * locale/loadlocale.c (_nl_intern_locale_data): Use
23499 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23500 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23501 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23502 obstack data is appropriately aligned.
23503 (obstack_int32_grow_fast): Likewise.
23504 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23505 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23506 (add_locale_uint32_array): Likewise.
23508 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23510 * benchtests/Makefile: Remove ARGLIST and RET variables.
23511 ($(objpfx)bench-%.c): Pass only function name to the script.
23512 * benchtests/README: Update documentation.
23513 * benchtests/acos-inputs: Add new directives.
23514 * benchtests/acosh-inputs: Likewise.
23515 * benchtests/asin-inputs: Likewise.
23516 * benchtests/asinh-inputs: Likewise.
23517 * benchtests/atan-inputs: Likewise.
23518 * benchtests/atanh-inputs: Likewise.
23519 * benchtests/cos-inputs: Likewise.
23520 * benchtests/cosh-inputs: Likewise.
23521 * benchtests/exp-inputs: Likewise.
23522 * benchtests/log-inputs: Likewise.
23523 * benchtests/pow-inputs: Likewise.
23524 * benchtests/rint-inputs: Likewise.
23525 * benchtests/sin-inputs: Likewise.
23526 * benchtests/sinh-inputs: Likewise.
23527 * benchtests/tan-inputs: Likewise.
23528 * benchtests/tanh-inputs: Likewise.
23529 * scripts/bench.pl: Add support for new directives.
23531 2013-10-07 Alan Modra <amodra@gmail.com>
23533 * README: Fix careless merge.
23535 2013-10-05 Alan Modra <amodra@gmail.com>
23537 * NEWS: Mention powerpc64le support and bugs fixed.
23538 * README: Both big-endian and little-endian powerpc64 supported.
23540 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23542 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23543 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23544 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23545 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23547 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23549 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23552 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23554 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23555 Move -mhard-float appending from
23556 ports/sysdeps/powerpc/powerpc32/Makefile.
23557 [$(with-fp) = yes] (ASFLAGS): Likewise.
23558 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23559 * sysdeps/powerpc/nofpu: Move directory from
23560 ports/sysdeps/powerpc/nofpu.
23561 * sysdeps/powerpc/soft-fp: Move directory from
23562 ports/sysdeps/powerpc/soft-fp.
23563 * sysdeps/powerpc/powerpc32/405: Move directory from
23564 ports/sysdeps/powerpc/powerpc32/405.
23565 * sysdeps/powerpc/powerpc32/440: Move directory from
23566 ports/sysdeps/powerpc/powerpc32/440.
23567 * sysdeps/powerpc/powerpc32/464: Move directory from
23568 ports/sysdeps/powerpc/powerpc32/464.
23569 * sysdeps/powerpc/powerpc32/476: Move directory from
23570 ports/sysdeps/powerpc/powerpc32/476.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23572 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23574 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23576 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23578 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23580 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23581 * README: Update for powerpc-*-linux-gnu software floating point
23584 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23585 case to powerpc/powerpc32*.
23586 * sysdeps/unix/sysv/linux/configure: Regenerated.
23588 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23589 (_FPU_MASK_OM): Define as 0x04.
23590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23598 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23601 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23604 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23605 and setcontext_e500.
23607 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23609 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23611 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23613 * manual/threads.texi (Default Thread Attributes): Fix typo.
23615 2013-10-04 Will Newton <will.newton@linaro.org>
23617 * malloc/Makefile: Add tst-memalign.
23618 * malloc/tst-memalign.c: New file.
23620 * malloc/tst-posix_memalign.c: Add comments.
23621 (do_test): Add comments and call free on all potentially
23622 allocated pointers. Add space after cast.
23624 * malloc/tst-pvalloc.c: Add comments.
23625 (do_test): Add comments and call free on all potentially
23626 allocated pointers. Remove duplicate check for NULL pointer.
23627 Add space after cast.
23629 * malloc/tst-valloc.c: Add comments.
23630 (do_test): Add comments and call free on all potentially
23631 allocated pointers. Remove duplicate check for NULL pointer.
23632 Add space after cast.
23634 2013-10-04 Alan Modra <amodra@gmail.com>
23636 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23637 Use stdint types in rather than __attribute__((mode())).
23638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23640 2013-10-04 Alan Modra <amodra@gmail.com>
23642 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23643 Correct handling of unaligned relocs for little-endian.
23644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23646 2013-10-04 Alan Modra <amodra@gmail.com>
23648 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23649 * configure: Regenerate.
23650 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23651 * shlib-versions: Likewise.
23653 2013-10-04 Alan Modra <amodra@gmail.com>
23655 * string/tester.c (test_memrchr): Increment reported test cycle.
23657 2013-10-04 Alan Modra <amodra@gmail.com>
23659 * string/test-memcpy.c (do_one_test): When reporting errors, print
23660 string address and don't overrun end of string.
23662 2013-10-04 Alan Modra <amodra@gmail.com>
23664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23665 insrdi. Make better use of reg selection to speed exit slightly.
23666 Schedule entry path a little better. Remove useless "are we done"
23667 checks on entry to main loop. Handle wrapping around zero address.
23668 Correct main loop count. Handle single left-over word from main
23669 loop inline rather than by using loop_small. Remove extra word
23670 case in loop_small caused by wrong loop count. Add little-endian
23672 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23675 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23676 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23677 support. Avoid rlwimi.
23678 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23680 2013-10-04 Alan Modra <amodra@gmail.com>
23682 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23683 insrdi. Formatting.
23684 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23685 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23686 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23687 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23688 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23689 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23691 2013-10-04 Alan Modra <amodra@gmail.com>
23693 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23695 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23697 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23698 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23699 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23700 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23701 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23702 use of regs. Use power7 mtocrf. Tidy function tails.
23704 2013-10-04 Alan Modra <amodra@gmail.com>
23706 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23707 Formatting. Consistently use rXXX register defines or rN defines.
23708 Use early exit labels that avoid restoring unused non-volatile regs.
23709 Make cr field use more consistent with rWORDn compares. Rename
23710 regs used as shift registers for unaligned loop, using rN defines
23711 for short lifetime/multiple use regs.
23712 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23714 addi 1,1,64 to pop stack frame. Simplify return value code.
23715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23717 2013-10-04 Alan Modra <amodra@gmail.com>
23719 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23720 support. Correct typos, formatting. Optimize tail. Use insrdi
23721 rather than rlwimi.
23722 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23723 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23724 little-endian support. Correct typos.
23725 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23726 rather than rlwimi.
23727 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23728 in loop and entry code to keep "and." results.
23729 (strchr): Add little-endian support. Comment. Move cntlzd
23731 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23733 2013-10-04 Alan Modra <amodra@gmail.com>
23735 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23736 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23737 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23738 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23740 2013-10-04 Alan Modra <amodra@gmail.com>
23742 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23743 (rTMP): Define as r11.
23744 (strcmp): Add little-endian support. Optimise tail.
23745 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23746 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23747 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23748 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23753 2013-10-04 Alan Modra <amodra@gmail.com>
23755 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23756 little-endian support. Remove unnecessary "are we done" tests.
23757 Handle "s" wrapping around zero and extremely large "size".
23758 Correct main loop count. Handle single left-over word from main
23759 loop inline rather than by using small_loop. Correct comments.
23760 Delete "zero" tail, use "end_max" instead.
23761 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23763 2013-10-04 Alan Modra <amodra@gmail.com>
23765 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23766 support. Don't branch over align.
23767 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23768 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23769 support. Rearrange tmp reg use to suit. Comment.
23770 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23772 2013-10-04 Alan Modra <amodra@gmail.com>
23774 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23776 2013-10-04 Alan Modra <amodra@gmail.com>
23778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23779 conditional form of branch and link when obtaining pc.
23780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23782 2013-10-04 Alan Modra <amodra@gmail.com>
23784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23789 2013-10-04 Alan Modra <amodra@gmail.com>
23791 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23792 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23793 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23794 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23795 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23796 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23797 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23798 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23799 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23800 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23802 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23803 Alistair Popple <alistair@ozlabs.au.ibm.com>
23804 Alan Modra <amodra@gmail.com>
23807 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23808 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23809 _dl_hwcap access for little-endian.
23810 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23811 destroy vmx regs when saving unaligned.
23812 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23813 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23814 destroy vmx regs when saving unaligned.
23816 2013-10-04 Alan Modra <amodra@gmail.com>
23818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23819 Don't use a union to pack hi/low value.
23821 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23823 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23825 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23827 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23828 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23829 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23831 2013-10-04 Alan Modra <amodra@gmail.com>
23833 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23834 constants to usual value for .cst8 section, and remove redundant
23836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23837 constant for 0x1p52. Load little-endian words of double from
23838 correct stack offsets.
23840 2013-10-04 Alan Modra <amodra@gmail.com>
23842 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23843 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23844 words of double from correct stack offsets.
23845 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23846 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23847 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23848 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23849 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23850 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23852 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23853 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23855 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23856 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23857 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23858 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23859 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23860 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23861 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23863 2013-10-04 Alan Modra <amodra@gmail.com>
23865 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23866 64-bit int/double union.
23867 (_FPU_SETCW): Likewise.
23868 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23869 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23871 2013-10-04 Alan Modra <amodra@gmail.com>
23873 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23874 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23876 2013-10-04 Alan Modra <amodra@gmail.com>
23878 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23879 use vector int constants.
23880 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23882 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23884 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23885 array with long long.
23886 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23887 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23888 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23889 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23890 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23891 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23892 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23893 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23894 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23895 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23896 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23897 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23898 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23900 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23902 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23903 (__signbit): Likewise. Correct for little-endian.
23904 (__signbitl): Call __signbit.
23905 (lrint): Correct for little-endian.
23906 (lrintf): Call lrint.
23908 2013-10-04 Alan Modra <amodra@gmail.com>
23910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23911 union 32-bit int array member with 64-bit int array.
23912 (t515, tm256): Double rather than long double.
23913 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23915 2013-10-04 Alan Modra <amodra@gmail.com>
23917 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23919 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23921 version of math_ldbl.h.
23923 2013-10-04 Alan Modra <amodra@gmail.com>
23925 [BZ #15734], [BZ #15735]
23926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23927 all uses of ieee875 long double macros and unions. Simplify test
23928 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23929 ldbl_extract_mantissa value for ix,iy exponents. Properly
23930 normalize after ldbl_extract_mantissa, and don't add hidden bit
23931 already handled. Don't treat low word of ieee854 mantissa like
23932 low word of IBM long double and mask off bit when testing for
23934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23935 all uses of ieee875 long double macros and unions. Simplify tests
23936 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23937 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23938 two1022, instead use their values. Recognise that tests for large
23939 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23940 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23941 Rewrite all uses of ieee875 long double macros and unions. Simplify
23942 test for 0.0L and nan. Correct negation.
23943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23944 ieee875 long double macros and unions. Correct output for large
23945 magnitude x. Correct absolute value calculation.
23946 (__erfcl): Likewise.
23947 * math/libm-test.inc: Add tests for errors discovered in IBM long
23948 double versions of fmodl, remainderl, erfl and erfcl.
23950 2013-10-04 Alan Modra <amodra@gmail.com>
23952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23953 all uses of ieee854 long double macros and unions. Simplify tests
23954 for long doubles that are fully specified by the high double.
23955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23957 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23958 Remove dead code too.
23959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23960 (__ieee754_ynl): Likewise.
23961 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23962 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23964 Remove dead code too.
23965 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23966 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23967 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23968 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23970 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23972 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23973 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23975 Comment on variable precision.
23976 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23977 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23979 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23980 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23981 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23982 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23983 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23985 2013-10-04 Alan Modra <amodra@gmail.com>
23987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23988 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23989 all uses of ieee854 long double macros and unions.
23990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23992 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23995 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23997 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23998 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23999 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24000 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24001 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24003 Simplify sign and nan test too.
24004 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24005 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24006 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24007 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24009 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24010 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24013 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24014 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24016 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24019 2013-10-04 Alan Modra <amodra@gmail.com>
24021 * stdio-common/printf_size.c (__printf_size): Don't use
24022 union ieee854_long_double in fpnum union.
24023 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24024 signbit macro to retrieve sign from long double.
24025 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24026 retrieve sign from long double.
24027 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24028 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24029 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24030 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24031 * math/test-misc.c (main): Don't use union ieee854_long_double.
24033 2013-10-04 Alan Modra <amodra@gmail.com>
24036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24037 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24038 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24039 calculation. Remove unnecessary test for denormal exponent.
24040 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24041 Correct handling of denormals. Avoid undefined shift behaviour.
24042 Correct normalisation of low mantissa when low double is denormal.
24043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24044 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24045 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24046 Correct normalisation of low mantissa. Test for overflow of high
24047 mantissa and normalise.
24048 (ldbl_nearbyint): Use more readable constant for two52.
24049 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24050 (__mpn_construct_long_double): Fix test for overflow of high
24051 mantissa and correct normalisation. Avoid undefined shift.
24053 2013-10-04 Alan Modra <amodra@gmail.com>
24055 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24056 (union ibm_extended_long_double): Define as an array of ieee754_double.
24057 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24058 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24059 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24060 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24065 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24069 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24071 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24072 page size instead of calling getpagesize.
24074 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24075 (LOCFILE_ALIGN_MASK): Likewise.
24076 (LOCFILE_ALIGN_UP): Likewise.
24077 (LOCFILE_ALIGNED_P): Likewise.
24078 * locale/programs/ld-collate.c (collate_output): Use the new
24079 macros instead of __alignof__ (int32_t).
24080 * locale/weight.h (findidx): Likewise.
24082 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24085 * manual/string.texi: Fix strncat and wcsncat.
24087 2013-10-03 Brooks Moses <bmoses@google.com>
24090 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24091 * Makerules: ...here, and adjust associated comments.
24093 2013-10-02 Will Newton <will.newton@linaro.org>
24095 * malloc/Makefile: Add tst-pvalloc.
24096 * malloc/tst-pvalloc.c: New file.
24098 2013-10-02 Will Newton <will.newton@linaro.org>
24100 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24101 improve test coverage.
24103 2013-10-02 Will Newton <will.newton@linaro.org>
24105 * malloc/Makefile: Add tst-posix_memalign.
24106 * malloc/tst-posix_memalign.c: New file.
24108 2013-10-01 Eric Blake <eblake@redhat.com>
24110 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24111 Use __THROWNL rather than __THROW on static functions.
24113 2013-09-30 Petr Machata <pmachata@redhat.com>
24115 * elf/elf.h (R_AARCH64_ABS16): New macro.
24116 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24117 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24118 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24119 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24120 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24121 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24122 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24123 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24124 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24125 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24126 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24127 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24128 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24129 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24130 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24131 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24132 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24133 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24134 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24135 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24136 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24137 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24138 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24139 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24140 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24141 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24142 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24143 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24144 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24145 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24146 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24147 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24148 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24149 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24150 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24151 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24152 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24153 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24154 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24155 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24156 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24157 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24158 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24159 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24160 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24161 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24162 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24163 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24164 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24165 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24166 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24167 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24168 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24169 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24170 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24171 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24172 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24173 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24174 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24175 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24176 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24177 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24178 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24179 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24180 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24181 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24182 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24183 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24184 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24185 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24186 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24187 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24188 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24189 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24190 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24191 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24192 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24193 (R_AARCH64_TLSDESC_LDR): Likewise.
24194 (R_AARCH64_TLSDESC_ADD): Likewise.
24195 (R_AARCH64_TLSDESC_CALL): Likewise.
24197 2013-09-30 Andreas Schwab <schwab@suse.de>
24200 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24201 the nss database lookup.
24202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24205 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24207 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24209 2013-09-28 P. J. McDermott <pj@pehjota.net>
24211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24212 ${Bash-specific parameter/pattern/string} parameter expansion.
24213 * sysdeps/unix/make-syscalls.sh: Likewise.
24215 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24217 * sysdeps/sh/stackguard-macros.h: New file.
24219 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24223 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24224 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24225 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24226 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24228 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24230 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24231 Fix thread ID register.
24233 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24235 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24236 [POSIX || UNIX98]: Require rather than permitting all symbols from
24238 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24239 element of struct sched_param.
24240 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24241 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24242 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24243 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24246 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24248 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24249 argument calculation.
24251 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24253 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24255 [POSIX] (pthread_attr_t): Do not require type.
24256 [POSIX] (pthread_cond_t): Likewise.
24257 [POSIX] (pthread_condattr_t): Likewise.
24258 [POSIX] (pthread_key_t): Likewise.
24259 [POSIX] (pthread_mutex_t): Likewise.
24260 [POSIX] (pthread_mutexattr_t): Likewise.
24261 [POSIX] (pthread_once_t): Likewise.
24262 [POSIX] (pthread_t): Likewise.
24263 [POSIX-based standards] (pthread_atfork): Expect function.
24265 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24266 Richard Sandiford <richard@codesourcery.com>
24268 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24269 (swap_endianness_p): New extern variable.
24270 (set_big_endian): New inline function.
24271 (maybe_swap_uint32): Likewise.
24272 (maybe_swap_uint32_array): Likewise.
24273 (maybe_swap_uint32_obstack): Likewise.
24274 * locale/programs/locfile.c: Include <stdbool.h>.
24275 (swap_endianness_p): New variable.
24276 (add_locale_uint32): Call maybe_swap_uint32.
24277 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24278 (write_locale_data): Call maybe_swap_uint32_array.
24279 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24281 (obstack_int32_grow_fast): Likewise.
24282 (output_weightwc): Call maybe_swap_uint32_obstack.
24283 (collate_output): Likewise.
24284 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24285 (OPT_LITTLE_ENDIAN): Likewise.
24286 (options): Add --little-endian and --big-endian options.
24287 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24288 * locale/programs/locarchive.c: Include "locfile.h".
24292 (create_archive): Use the new macros to access fields of
24293 structures directly mapped from or written to locale archives.
24294 (oldlocrecentcmp): Likewise.
24295 (enlarge_archive): Likewise.
24296 (insert_name): Likewise.
24297 (add_alias): Likewise.
24298 (add_locale): Likewise.
24299 (delete_locales_from_archive): Likewise.
24300 (show_archive_content): Likewise.
24301 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24304 2013-09-24 Roland McGrath <roland@hack.frob.com>
24306 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24307 http://www.gnu.org/doc/freemanuals.texi.
24308 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24310 2013-09-24 Will Newton <will.newton@linaro.org>
24312 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24315 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24317 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24320 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24322 * manual/threads.texi (POSIX Threads): Fix a typo.
24324 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24327 * string/tst-strcoll-overflow.c: New test case.
24328 * string/Makefile (xtests): Add tst-strcoll-overflow.
24329 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24330 cache if string sizes may cause integer overflow.
24333 * string/strcoll_l.c (coll_seq): New members rule, idx,
24334 save_idx and back_us.
24335 (get_next_seq_nocache): New function.
24336 (do_compare_nocache): New function.
24337 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24340 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24343 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24344 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24345 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24348 * elf/Makefile (tests): Add tst-ptrguard1.
24349 (tests-static): Add tst-ptrguard1-static.
24350 (tst-ptrguard1-ARGS): Define.
24351 (tst-ptrguard1-static-ARGS): Define.
24352 * elf/tst-ptrguard1.c: New file.
24353 * elf/tst-ptrguard1-static.c: New file.
24354 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24355 * sysdeps/i386/stackguard-macros.h: Likewise.
24356 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24357 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24358 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24359 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24360 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24361 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24363 2013-09-23 Hector Marco <hecmargi@upv.es>
24364 Ismael Ripoll <iripoll@disca.upv.es>
24365 Carlos O'Donell <carlos@redhat.com>
24368 * sysdeps/generic/stackguard-macros.h: Define
24369 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24370 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24371 Define __pointer_chk_guard_local.
24372 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24373 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24375 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24378 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24380 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24382 * include/string.h (__ffs): Declare as hidden.
24383 * string/ffs.c (__ffs): Define as hidden.
24384 * sysdeps/i386/ffs.c (__ffs): Likewise.
24385 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24386 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24387 * sysdeps/s390/ffs.c (__ffs): Likewise.
24388 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24390 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24392 * NEWS: Mention malloc probes.
24394 * malloc/arena.c (new_heap): New memory_heap_new probe.
24395 (grow_heap): New memory_heap_more probe.
24396 (shrink_heap): New memory_heap_less probe.
24397 (heap_trim): New memory_heap_free probe.
24398 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24399 (systrim): New memory_sbrk_less probe.
24400 * manual/probes.texi: Document them.
24402 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24403 * manual/probes.texi: Document it.
24405 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24406 (__libc_realloc): Add memory_realloc_retry probe.
24407 (__libc_memalign): Add memory_memalign_retry probe.
24408 (__libc_valloc): Add memory_valloc_retry probe.
24409 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24410 (__libc_calloc): Add memory_calloc_retry probe.
24411 * manual/probes.texi: Document them.
24413 * malloc/arena.c (get_free_list): Add probe
24414 memory_arena_reuse_free_list.
24415 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24416 and memory_arena_reuse.
24417 (arena_get2) [!PER_THREAD]: Likewise.
24418 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24419 memory_arena_reuse_realloc.
24420 * manual/probes.texi: Document them.
24422 * malloc/malloc.c (__libc_free): Add
24423 memory_mallopt_free_dyn_thresholds probe.
24424 (__libc_mallopt): Add multiple memory_mallopt probes.
24425 * manual/probes.texi: Document them.
24427 * malloc/malloc.c: Include stap-probe.h.
24428 (__libc_mallopt): Add memory_mallopt probe.
24429 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24430 * manual/probes.texi: New.
24431 * manual/Makefile (chapters): Add probes.
24432 * manual/threads.texi: Set next node.
24434 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24436 [BZ #15963, #13985]
24437 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24438 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24439 Add `Chinese' to `nan' entry name.
24441 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24443 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24444 (POLYNOMIAL): Likewise.
24445 (TAYLOR_SINCOS): Likewise.
24446 (TAYLOR_SLOW): Likewise.
24447 (__sin): Use TAYLOR_SINCOS.
24449 (slow): Use TAYLOR_SLOW.
24451 (bsloww): Likewise.
24452 (csloww): Likewise.
24454 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24456 * stdlib/strtod_l.c: Fix buffer overrun.
24458 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24460 * benchtests/Makefile (bench): Add sincos.
24461 * benchtests/bench-sincos.c: New file.
24463 * math/libm-test.inc (cos_test_data): New test inputs.
24464 (sin_test_data): Likewise.
24466 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24472 (sloww1): Likewise.
24473 (sloww2): Likewise.
24474 (bsloww1): Likewise.
24475 (bsloww2): Likewise.
24476 (cslow2): Likewise.
24477 (csloww1): Likewise.
24478 (csloww2): Likewise.
24480 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24489 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24491 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24492 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24493 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24494 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24495 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24496 * elf/cache.c (print_entry): Handle the new cache flags.
24498 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24499 Aldy Hernandez <aldyh@redhat.com>
24501 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24502 Change condition to [_SOFT_FLOAT].
24503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24515 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24518 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24521 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24523 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24524 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24525 (__longjmp): Use LOAD_GP to load saved GPRs.
24526 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24527 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24528 (__sigsetjmp): Use SAVE_GP to save GPRs.
24530 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24531 Do not append -msoft-float.
24532 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24534 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24536 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24538 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24541 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24542 (_FPU_GETCW): Use initial "__" on variable and field names but not
24543 on macro parameter name.
24544 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24545 parentheses around reference to macro parameter.
24547 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24549 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24551 (ctype_startup): Use uint32_t in cast and sizeof for
24554 2013-09-11 Jia Liu <proljc@gmail.com>
24556 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24558 [__FreeBSD__]: Likewise.
24560 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24563 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24564 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24565 (strchr): Remove __strchr_sse42 ifunc selection.
24566 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24567 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24569 2013-09-11 Will Newton <will.newton@linaro.org>
24571 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24572 parameter to RES. Remove hardcoded 1000 value.
24573 * benchtests/bench-skeleton.c (main): Pass RES parameter
24574 to TIMING_INIT and multiply result by 1000.
24576 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24580 2013-09-11 Andreas Schwab <schwab@suse.de>
24582 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24584 (O_TMPFILE) [__USE_GNU]: Define.
24585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24588 2013-09-11 Will Newton <will.newton@linaro.org>
24591 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24594 2013-09-11 Will Newton <will.newton@linaro.org>
24597 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24600 2013-09-11 Will Newton <will.newton@linaro.org>
24603 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24606 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24608 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24614 2013-09-10 Allan McRae <allan@archlinux.org>
24617 * manual/arith.texi (Parsing of Floats): Clarify
24621 * manual/install.texi (Running make install): Mention
24623 * INSTALL: Regenerated.
24625 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24627 * csu/init-first.c (_init): Remove the !SHARED condition around
24628 FPU control word initialization.
24629 * elf/dl-support.c (_dl_fpu_control): New variable.
24630 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24631 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24632 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24633 * math/test-fpucw-static.c: New file.
24634 * math/test-fpucw-ieee.c: New file.
24635 * math/test-fpucw-ieee-static.c: New file.
24636 * math/Makefile (tests): Add `test-fpucw-ieee' and
24638 (tests-static): New variable.
24639 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24641 [($(build-shared),yes)]
24642 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24644 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24647 2013-09-09 Allan McRae <allan@archlinux.org>
24650 * manual/string.texi (Collation Functions): Fix typo in
24652 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24655 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24658 * libio/memstream.c (open_memstream): Fix memory leak.
24659 * libio/wmemstream.c (open_wmemstream): Likewise.
24662 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24664 2013-09-09 Will Newton <will.newton@linaro.org>
24666 * malloc/Makefile: Add tst-realloc to tests.
24667 * malloc/tst-realloc.c: New file.
24669 2013-09-09 Allan McRae <allan@archlinux.org>
24672 * COPYING: Update from GNU website to fix FSF address.
24673 * COPYING.LIB: Likewise.
24675 2013-09-06 David S. Miller <davem@davemloft.net>
24677 * po/zh_TW.po: Update Chinese (traditional) translation from
24678 translation project.
24680 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24681 Joseph Myers <joseph@codesourcery.com>
24683 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24685 (obstack_chunk_alloc): New macro.
24686 (obstack_chunk_free): Likewise.
24687 (record_offset): New function.
24688 (init_locale_data): Likewise.
24689 (align_locale_data): Likewise.
24690 (add_locale_empty): Likewise.
24691 (add_locale_raw_data): Likewise.
24692 (add_locale_raw_obstack): Likewise.
24693 (add_locale_string): Likewise.
24694 (add_locale_wstring): Likewise.
24695 (add_locale_uint32): Likewise.
24696 (add_locale_uint32_array): Likewise.
24697 (add_locale_char): Likewise.
24698 (start_locale_structure): Likewise.
24699 (end_locale_structure): Likewise.
24700 (start_locale_prelude): Likewise.
24701 (end_locale_prelude): Likewise.
24702 (write_locale_data): Take locale_file structure rather than an
24704 * locale/programs/locfile.h: Include "obstack.h".
24705 (struct locale_file): Change to store locale file contents instead
24707 (init_locale_data): New prototype.
24708 (align_locale_data): Likewise.
24709 (add_locale_empty): Likewise.
24710 (add_locale_raw_data): Likewise.
24711 (add_locale_raw_obstack): Likewise.
24712 (add_locale_string): Likewise.
24713 (add_locale_wstring): Likewise.
24714 (add_locale_uint32): Likewise.
24715 (add_locale_uint32_array): Likewise.
24716 (add_locale_char): Likewise.
24717 (start_locale_structure): Likewise.
24718 (end_locale_structure): Likewise.
24719 (start_locale_prelude): Likewise.
24720 (end_locale_prelude): Likewise.
24721 (write_locale_data): Update prototype.
24722 * locale/programs/3level.h (struct TABLE): Remove result field.
24723 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24724 Use new locale_file interface.
24725 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24726 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24727 * locale/programs/ld-address.c (address_output): Use new
24728 locale_file interface.
24729 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24731 (collate_finish): Don't call collseq_table_finalize.
24732 (collate_output): Use new locale_file interface.
24733 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24735 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24736 (TABLE): Move defines earlier in file.
24737 (ELEMENT): Likewise.
24738 (DEFAULT): Likewise.
24739 (wctrans_table_add): Move macro and inline function earlier in
24741 (struct wctype_table): Move type earlier in file.
24742 (add_locale_wctype_table): New static prototype.
24743 (struct locale_ctype_t): Use logical types instead of struct iovec
24744 pointers for members.
24745 (ctype_output): Use new locale_file interface.
24746 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24747 new locale_file interface.
24748 (allocate_arrays): Update for use of new locale_file interface.
24749 * locale/programs/ld-identification.c (identification_output): Use
24750 new locale_file interface.
24751 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24752 * locale/programs/ld-messages.c (messages_output): Likewise.
24753 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24754 * locale/programs/ld-name.c (name_output): Likewise.
24755 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24756 * locale/programs/ld-paper.c (paper_output): Likewise.
24757 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24758 * locale/programs/ld-time.c (time_output): Likewise.
24760 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24762 * benchtests/Makefile: Add memrchr benchmark.
24763 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24764 benchmark as memrchr.
24765 * benchtests/bench-memrchr-ifunc.c: New file.
24766 * benchtests/bench-memrchr.c: New file.
24768 2013-09-06 Will Newton <will.newton@linaro.org>
24770 * benchtests/Makefile (string-bench): Add memcpy.
24772 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24773 Cong Wang <amwang@redhat.com>
24776 * sysdeps/unix/sysv/linux/bits/in.h
24777 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24778 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24779 before __USE_KERNEL_IPV6_DEFS uses.
24780 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24782 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24783 sockaddr_in6, or ipv6_mreq.
24785 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24787 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24788 memory access for final bytes in some large inputs.
24789 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24791 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24793 * string/test-memrchr.c: New file.
24794 * string/test-memrchr-ifunc.c: New file.
24795 * string/Makefile: Add new memrchr testcase.
24797 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24799 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24800 fanotify_init returns EPERM.
24802 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24804 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24806 (top level): Treat second token from macro or constant entries for
24807 allowed headers as allowed.
24808 * include/complex.h: Condition internal declarations on
24810 * include/fenv.h: Condition include of <stdbool.h> and internal
24811 declarations on [!_ISOMAC].
24813 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24816 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24818 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24820 * configure.in (--enable-versioning): Remove configure option.
24821 (libc_cv_asm_symver_directive): Remove configure test.
24822 (libc_cv_ld_version_script_option): Likewise.
24823 (VERSIONING): Remove variable and AC_SUBST.
24824 (DO_VERSIONING): Remove AC_DEFINE.
24825 * configure: Regenerated.
24826 * config.h.in (DO_VERSIONING): Remove macro.
24827 * Makerules [$(versioning) = yes]: Change conditionals to
24828 [$(build-shared) = yes].
24829 * config.make.in (versioning): Remove variable.
24830 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24831 [$(build-shared) = yes].
24832 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24833 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24834 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24835 [$(build-shared) = yes].
24836 * extra-lib.mk [$(versioning) = yes]: Likewise.
24837 * hurd/Makefile [$(versioning) = yes]: Likewise.
24838 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24840 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24842 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24843 [SHARED && !NO_HIDDEN].
24844 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24846 [SHARED && DO_VERSIONING]: Likewise..
24847 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24848 [$(build-shared) = yes].
24849 * manual/install.texi (--disable-versioning): Remove
24851 * INSTALL: Regenerated.
24852 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24854 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24855 [$(build-shared) = yes].
24856 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24857 * sysdeps/i386/i686/multiarch/strstr-c.c
24858 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24859 [SHARED && !NO_HIDDEN].
24860 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24861 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24862 * sysdeps/powerpc/powerpc32/dl-machine.c
24863 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24864 * sysdeps/powerpc/powerpc32/sysdep.h
24865 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24866 to [SHARED && PIC && !NO_HIDDEN].
24867 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24868 conditional to [SHARED].
24870 2013-09-04 Will Newton <will.newton@linaro.org>
24872 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24873 * benchtests/bench-string.h: Include bench-timing.h instead
24874 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24875 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24876 call to HP_TIMING_DIFF_INIT.
24877 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24878 instead of hp-timing.h macros.
24879 * benchtests/bench-memchr.c: Likewise.
24880 * benchtests/bench-memcmp.c: Likewise.
24881 * benchtests/bench-memcpy.c: Likewise.
24882 * benchtests/bench-memmem.c: Likewise.
24883 * benchtests/bench-memmove.c: Likewise.
24884 * benchtests/bench-memset.c: Likewise.
24885 * benchtests/bench-rawmemchr.c: Likewise.
24886 * benchtests/bench-strcasecmp.c: Likewise.
24887 * benchtests/bench-strcasestr.c: Likewise.
24888 * benchtests/bench-strcat.c: Likewise.
24889 * benchtests/bench-strchr.c: Likewise.
24890 * benchtests/bench-strcmp.c: Likewise.
24891 * benchtests/bench-strcpy.c: Likewise.
24892 * benchtests/bench-strcpy_chk.c: Likewise.
24893 * benchtests/bench-strlen.c: Likewise.
24894 * benchtests/bench-strncasecmp.c: Likewise.
24895 * benchtests/bench-strncat.c: Likewise.
24896 * benchtests/bench-strncmp.c: Likewise.
24897 * benchtests/bench-strncpy.c: Likewise.
24898 * benchtests/bench-strnlen.c: Likewise.
24899 * benchtests/bench-strpbrk.c: Likewise.
24900 * benchtests/bench-strrchr.c: Likewise.
24901 * benchtests/bench-strspn.c: Likewise.
24902 * benchtests/bench-strstr.c: Likewise.
24904 2013-09-04 Will Newton <will.newton@linaro.org>
24906 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24908 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24911 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24912 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24913 * math/libm-test.inc (lgamma_test_data): Add more tests.
24914 * sysdeps/i386/fpu/libm-test-ulps: Update.
24915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24917 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24919 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24920 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24923 Add strcmp-sse2-unaligned
24924 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24926 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24928 * Versions.def (libc): Add GLIBC_2.19.
24930 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24932 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24933 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24935 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24938 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24939 intermediate calculations in recurrence.
24940 (__ieee754_ynf): Likewise.
24941 * math/libm-test.inc (jn_test_data): Do not allow spurious
24942 underflow exception. Add more tests.
24943 (yn_test_data): Add more tests.
24944 * sysdeps/i386/fpu/libm-test-ulps: Update.
24945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24947 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24949 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24951 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24953 * csu/init-first.c: Fix then/than typos.
24954 * locale/programs/ld-collate.c: Likewise.
24955 * locale/programs/linereader.h: Likewise.
24956 * manual/charset.texi: Likewise.
24957 * manual/filesys.texi: Likewise.
24958 * manual/stdio.texi: Likewise.
24959 * manual/string.texi: Likewise.
24960 * stdlib/fmtmsg.c: Likewise.
24961 * sysdeps/i386/stpncpy.S: Likewise.
24962 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24963 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24964 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24965 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24967 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24969 * elf/dl-open.c: Fix typos.
24970 * iconvdata/gbbig5.c: Likewise.
24971 * iconvdata/iso-2022-jp.c: Likewise.
24972 * iconv/gconv_int.h: Likewise.
24973 * iconv/loop.c: Likewise.
24974 * nis/rpcsvc/nis.h: Likewise.
24975 * resolv/ns_name.c: Likewise.
24976 * stdio-common/vfscanf.c: Likewise.
24977 * streams/stropts.h: Likewise.
24978 * sunrpc/rpc_thread.c: Likewise.
24979 * sysdeps/i386/strpbrk.S: Likewise.
24980 * sysdeps/ieee754/k_standard.c: Likewise.
24981 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24983 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24984 * sysdeps/mach/hurd/profil.c: Likewise.
24985 * sysdeps/s390/dl-procinfo.h: Likewise.
24986 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24987 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24988 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24989 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24990 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24992 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24994 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24997 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24999 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25000 aix specific files.
25001 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25002 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25003 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25004 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25005 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25006 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25007 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25008 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25010 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25011 Roland McGrath <roland@hack.frob.com>
25013 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25014 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25016 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25018 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25019 __executable_start symbol instead of _start.
25021 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25023 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25024 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25026 * sysdeps/gnu/ldsodefs.h: ... this new file.
25028 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25029 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25030 instead of ELFOSABI_LINUX.
25032 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25033 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25034 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25035 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25037 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25038 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25039 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25041 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25042 (ibm_extended_long_double): Add ieee_nan member.
25043 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25044 (do_test): New function.
25046 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25048 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25049 functions, renamed from truncdfsf_test, trunctfsf_test,
25051 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25053 (do_test): Run all these.
25055 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25057 * argp/argp-help.c: Fix typos.
25058 * argp/argp-parse.c: Likewise.
25059 * debug/backtracesyms.c: Likewise.
25060 * elf/elf.h: Likewise.
25061 * malloc/malloc.c: Likewise.
25062 * nis/nis_print.c: Likewise.
25063 * resolv/res_comp.c: Likewise.
25064 * stdlib/stdlib.h: Likewise.
25065 * sunrpc/clnt_tcp.c: Likewise.
25066 * sunrpc/clnt_udp.c: Likewise.
25067 * sunrpc/clnt_unix.c: Likewise.
25068 * sysdeps/unix/bsd/ptsname.c: Likewise.
25069 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25070 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25077 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25079 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25081 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25084 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25087 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25088 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25089 ($(objpfx)bug-dl-leaf): New rule.
25090 ($(objpfx)bug-dl-leaf.so): Likewise.
25091 ($(objpfx)bug-dl-leaf.out): Likewise.
25092 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25093 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25094 * dlfcn/bug-dl-leaf.c: New test.
25095 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25096 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25097 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25098 (dlclose): Likewise.
25099 (dlmopen): Likewise.
25101 2013-08-27 Roland McGrath <roland@hack.frob.com>
25103 * include/netdb.h [!_ISOMAC]:
25104 Don't include <tls.h>.
25105 (h_errno, __libc_h_errno): Move declaration and macros out of
25108 * include/resolv.h [_RESOLV_H_]:
25109 Don't include <tls.h>.
25110 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25111 * resolv/res_libc.c: Don't include <tls.h>.
25112 (_res): Use __attribute__ ((nocommon)) in place of
25113 __attribute__ ((section (".bss"))).
25115 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25116 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25118 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25120 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25121 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25123 * resolv/res_mkquery.c: Include <sys/time.h>.
25125 * inet/ifreq.c: Moved to ...
25126 * sysdeps/unix/ifreq.c: ... here.
25127 * inet/ifreq.c: New file, true stub version.
25129 * socket/sa_len.c: New file.
25130 * socket/Makefile (aux): Add it.
25131 * sysdeps/unix/sysv/linux/Makefile
25132 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25133 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25134 and #include <socket/sa_len.c>.
25135 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25136 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25138 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25139 * bits/socket.h: ... here.
25141 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25142 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25143 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25145 2013-08-27 Andreas Schwab <schwab@suse.de>
25148 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25149 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25150 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25151 * string/test-strcasecmp.c (test_main): Run tests in several
25153 * string/test-strncasecmp.c (test_main): Likewise.
25155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25156 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25157 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25159 (__strncasecmp_ssse3) [PIC]: Likewise.
25161 2013-08-26 Roland McGrath <roland@hack.frob.com>
25163 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25165 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25166 instead of explicitly declaring xdecrypt.
25167 * nis/nss_nis/nis-publickey.c: Likewise.
25169 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25172 * nscd/aicache.c: Include res_hconf.h.
25173 (addhstaiX): Initialize res_hconf.
25175 2013-08-26 Andreas Schwab <schwab@suse.de>
25177 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25178 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25180 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25182 * nscd/aicache.c (addhstaiX): Fix indentation.
25184 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25186 * configure.ac: Quote $build_pt_chown test.
25187 * configure: Regenerated.
25189 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25192 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25193 * math/s_cexpf.c (__cexpf): Likewise.
25194 * math/s_cexpl.c (__cexpl): Likewise.
25195 * math/libm-test.inc (cexp_test_data): Correct expected return
25196 value for NaN + i0. Add another test.
25198 2013-08-22 David S. Miller <davem@davemloft.net>
25200 * po/ca.po: Update Catalan translation from translation project.
25201 * po/uk.po: Add Ukrainian translations from translation project.
25203 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25206 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25207 is infinite, not alongside NaN test.
25208 * math/s_fdimf.c (__fdimf): Likewise.
25209 * math/s_fdiml.c (__fdiml): Likewise.
25210 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25211 errno is unchanged.
25213 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25215 * argp/argp-help.c: Fix typos.
25216 * crypt/speeds.c: Likewise.
25217 * csu/check_fds.c: Likewise.
25218 * elf/dl-load.c: Likewise.
25219 * elf/dl-open.c: Likewise.
25220 * elf/reldep3.c: Likewise.
25221 * elf/reldep.c: Likewise.
25222 * elf/sprof.c: Likewise.
25223 * iconv/iconv_charmap.c: Likewise.
25224 * iconv/skeleton.c: Likewise.
25225 * iconv/strtab.c: Likewise.
25226 * io/lockf64.c: Likewise.
25227 * libio/libioP.h: Likewise.
25228 * resolv/gai_notify.c: Likewise.
25229 * resolv/ns_name.c: Likewise.
25230 * resolv/ns_samedomain.c: Likewise.
25231 * resolv/res_send.c: Likewise.
25232 * stdlib/random.c: Likewise.
25233 * sunrpc/rpc/xdr.h: Likewise.
25234 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25235 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25236 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25237 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25238 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25239 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25241 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25242 * sysdeps/mach/hurd/check_fds.c: Likewise.
25243 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25244 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25245 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25246 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25247 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25248 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25249 * sysdeps/pthread/aio_notify.c: Likewise.
25250 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25251 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25252 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25254 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25256 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25258 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25259 version if bit_Slow_SSE4_2 is set.
25260 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25261 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25263 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25266 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25267 trampoline stack frame information.
25268 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25269 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25270 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25271 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25272 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25273 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25274 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25275 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25277 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25278 interrupting a syscall and set with option SA_SIGINFO.
25280 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25283 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25284 argument is infinite.
25285 * math/s_cprojf.c (__cprojf): Likewise.
25286 * math/s_cprojl.c (__cprojl): Likewise.
25287 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25288 * math/libm-test.inc (cproj_test_data): Add more tests.
25290 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25292 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25293 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25294 size. Use __ffs to determine corresponding shift.
25296 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25297 Roland McGrath <roland@hack.frob.com>
25299 * Makefile (INSTALL): Remove trailing blank lines from output of
25302 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25304 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25305 Align 32 bit compat elf_greg to 8 bytes.
25307 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25309 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25311 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25313 * string/strcoll_l.c (coll_seq): New structure.
25314 (get_next_seq_cached): New function.
25315 (get_next_seq): New function.
25316 (do_compare): New function.
25317 (STRCOLL): Use GNU style definition. Simplify implementation
25318 by using get_next_seq, get_next_seq_cached and do_compare.
25320 2013-08-16 Florian Weimer <fweimer@redhat.com>
25324 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25326 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25328 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25329 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25330 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25332 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25333 GETDENTS_64BIT_ALIGNED.
25334 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25335 * manual/filesys.texi (Reading/Closing Directory): Document
25336 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25338 * manual/conf.texi (Limits for Files): Add portability note to
25339 NAME_MAX, PATH_MAX.
25340 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25342 2013-08-13 Andreas Schwab <schwab@suse.de>
25345 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25347 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25348 LDBL_MAX_EXP >= 16384]: Add tests for it.
25350 2013-08-12 David S. Miller <davem@davemloft.net>
25352 * version.h (RELEASE): Set to "development".
25353 (VERSION): Set to "2.18.90".
25354 * NEWS: Add 2.19 section.
25356 2013-08-03 David S. Miller <davem@davemloft.net>
25358 * po/ko.po: Update Korean translation from translation project.
25360 2013-08-01 David S. Miller <davem@davemloft.net>
25362 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25363 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25366 2013-07-30 David S. Miller <davem@davemloft.net>
25368 * po/fr.po: Update French translation from translation project.
25370 2013-07-28 David S. Miller <davem@davemloft.net>
25372 * po/cs.po: Update Czech translation from translation project.
25374 * po/sv.po: Update Swedish translation from translation project.
25376 2013-07-27 David S. Miller <davem@davemloft.net>
25378 * po/eo.po: Update Esperanto translation from translation project.
25380 * po/vi.po: Update Vietnamese translation from translation project.
25382 * po/de.po: Update German translation from translation project.
25384 2013-07-26 David S. Miller <davem@davemloft.net>
25386 * po/bg.po: Update Bulgarian translation from translation project.
25388 * po/nl.po: Update Dutch translation from translation project.
25389 * po/pl.po: Update Polish translation from translation project.
25390 * po/ru.po: Update Russian translation from translation project.
25392 2013-07-24 David S. Miller <davem@davemloft.net>
25394 * po/libc.pot: Update.
25396 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25398 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25399 variable page size.
25400 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25401 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25402 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25404 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25406 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25408 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25409 Andreas Schwab <schwab@suse.de>
25410 Roland McGrath <roland@hack.frob.com>
25411 Joseph Myers <joseph@codesourcery.com>
25412 Carlos O'Donell <carlos@redhat.com>
25415 * config.h.in: Define HAVE_PT_CHOWN.
25416 * config.make.in (build-pt-chown): New variable.
25417 * configure.in (--enable-pt_chown): New configure option.
25418 * configure: Regenerate.
25419 * login/Makefile: Include Makeconfig. Build pt_chown only if
25420 build-pt-chown is enabled.
25421 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25422 pt_chown to fix pty ownership.
25423 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25425 * manual/install.texi (Configuring and compiling): Mention
25426 --enable-pt_chown. Add @findex for grantpt.
25427 * INSTALL: Regenerate.
25429 2013-07-20 David S. Miller <davem@davemloft.net>
25431 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25432 difference between 32-bit and 64-bit.
25434 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25437 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25438 Avoid system header dependency with -ffreestanding.
25439 ($(objpfx)bits/syscall%d): Likewise.
25441 2013-07-13 David S. Miller <davem@davemloft.net>
25443 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25444 underflows from atanl/atan2l due to bug 15319.
25445 (casinh_test_data): Likewise.
25447 2013-07-07 David S. Miller <davem@davemloft.net>
25449 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25451 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25453 * sysdeps/i386/fpu/libm-test-ulps: Update.
25454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25456 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25458 * configure.in (--enable-lock-elision): Fix message text.
25459 * INSTALL: Regenerate.
25460 * configure: Regenerate.
25462 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25466 2013-07-03 Andreas Jaeger <aj@suse.de>
25468 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25470 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25471 (ptrace_peeksiginfo_args): Add.
25472 (__ptrace_peeksiginfo_flags): Add.
25473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25475 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25477 2013-07-03 Allan McRae <allan@archlinux.org>
25479 * sysdeps/i386/fpu/libm-test-ulps: Update.
25481 2013-07-02 David S. Miller <davem@davemloft.net>
25483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25485 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25489 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25491 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25494 2013-07-02 Andi Kleen <ak@linux.intel.com>
25496 * config.h.in (ENABLE_LOCK_ELISION): Add.
25497 * configure.in (--enable-lock-elision): Add option.
25498 * manual/install.texi: Document --enable lock elision.
25499 * configure: Regenerate
25500 * INSTALL: Regenerate.
25502 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25504 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25505 SSE4.2 strcasecmp for libc.a.
25506 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25508 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25511 * soft-fp/op-common.h (_FP_FMA): New macro.
25512 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25513 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25514 (_FP_MUL_MEAT_1_imm): ... here.
25515 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25516 (_FP_MUL_MEAT_1_wide): ... here.
25517 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25518 (_FP_MUL_MEAT_1_hard): ... here.
25519 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25520 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25521 (_FP_MUL_MEAT_2_wide): ... here.
25522 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25523 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25524 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25525 (_FP_MUL_MEAT_2_gmp): ... here.
25526 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25527 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25528 (_FP_MUL_MEAT_4_wide): ... here.
25529 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25530 (_FP_MUL_MEAT_4_gmp): ... here.
25531 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25532 (_FP_WFRACBITS_DW_S): Likewise.
25533 (_FP_WFRACXBITS_DW_S): Likewise.
25534 (_FP_HIGHBIT_DW_S): Likewise.
25535 (FP_FMA_S): Likewise.
25536 (_FP_FRAC_HIGH_DW_S): Likewise.
25537 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25538 (_FP_WFRACBITS_DW_D): Likewise.
25539 (_FP_WFRACXBITS_DW_D): Likewise.
25540 (_FP_HIGHBIT_DW_D): Likewise.
25541 (FP_FMA_D): Likewise.
25542 (_FP_FRAC_HIGH_DW_D): Likewise.
25543 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25544 (_FP_WFRACBITS_DW_E): Likewise.
25545 (_FP_WFRACXBITS_DW_E): Likewise.
25546 (_FP_HIGHBIT_DW_E): Likewise.
25547 (FP_FMA_E): Likewise.
25548 (_FP_FRAC_HIGH_DW_E): Likewise.
25549 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25550 (_FP_WFRACBITS_DW_Q): Likewise.
25551 (_FP_WFRACXBITS_DW_Q): Likewise.
25552 (_FP_HIGHBIT_DW_Q): Likewise.
25553 (FP_FMA_Q): Likewise.
25554 (_FP_FRAC_HIGH_DW_Q): Likewise.
25555 * soft-fp/fmasf4.c: New file.
25556 * soft-fp/fmadf4.c: Likewise.
25557 * soft-fp/fmatf4.c: Likewise.
25559 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25562 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25564 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25566 (index_Slow_SSE4_2): Likewise.
25567 (index_Prefer_PMINUB_for_stringop): Likewise.
25568 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25569 bit_Slow_SSE4_2 is set.
25570 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25571 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25573 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25575 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25576 rtld_global._dl_hwcap2.
25577 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25579 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25580 POWER8 feature descriptions defined in _dl_hwcap2.
25581 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25582 string handling for POWER8 feature bits.
25583 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25584 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25585 _dl_powerpc_cap_flags.
25586 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25587 * sysdeps/powerpc/rtld-global-offsets.sym
25588 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25589 _dl_hwcap2 in the rtld_global_ro structure.
25591 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25593 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25594 hardware capabilities in support of AT_HWCAP2.
25595 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25596 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25598 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25599 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25600 explicitly the unknown a_type display mechanism is used.
25601 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25602 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25604 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25605 to macro prototype for AT_HWCAP2 support.
25606 * sysdeps/i386/dl-procinfo.h: Likewise.
25607 * sysdeps/s390/dl-procinfo.h: Likewise.
25608 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25609 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25610 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25611 return -1 for unknown a_type display fallback.
25612 * sysdeps/sparc/dl-procinfo.h: Likewise.
25613 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25614 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25616 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25618 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25619 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25621 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25624 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25625 mprotect making __stack_prot writable.
25627 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25628 Joseph Myers <joseph@codesourcery.com>
25630 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25631 as being properly aligned.
25633 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25635 * dlfcn/modstatic5.c: New file.
25636 * dlfcn/tststatic5.c: New file.
25637 * dlfcn/Makefile (tests): Add tststatic5.
25638 (tests-static): Likewise.
25639 (modules-names): Add modstatic5.
25640 (tststatic5-ENV): New variable.
25641 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25644 * elf/dl-support.c (_dl_main_map): New variable.
25645 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25646 (_dl_nns, _dl_load_adds): Set to 1.
25647 (_dl_initial_searchlist): Refer to _dl_main_map.
25648 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25649 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25650 call to _dl_get_origin.
25651 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25653 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25654 * dlfcn/modstatic3.c: New file.
25655 * dlfcn/tststatic3.c: New file.
25656 * dlfcn/tststatic4.c: New file.
25657 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25658 (tests-static): Likewise.
25659 (modules-names): Add modstatic3.
25660 (tststatic3-ENV, tststatic4-ENV): New variables.
25661 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25662 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25664 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25666 * configure.in (CC): Require GCC version 4.4 or later.
25667 * configure: Regenerated.
25668 * manual/install.texi (Tools for Compilation): Update GCC version
25670 * INSTALL: Regenerated.
25672 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25675 * string/test-memcmp.c (check2): New.
25676 (main): Call check2.
25678 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25680 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25683 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25685 (dl_open_worker) [!SHARED]: ... here.
25687 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25689 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25691 2013-06-25 Richard Henderson <rth@redhat.com>
25693 * locale/programs/locarchive.c: Include <libc-internal.h>
25695 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25697 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25698 trailing whitespace removed.
25700 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25703 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25704 * locale/programs/locarchive.c: Include libc-mmap.h.
25705 (prepare_address_space): Take two new outputs (the mmap base and len).
25706 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25708 (create_archive): Declare new mmap base and len values for
25709 prepare_address_space, and store the result in ah.
25710 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25711 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25712 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25713 Declare new mmap base and len values for
25714 prepare_address_space, and store the result in new_ah.
25715 (open_archive): Declare new mmap base and len values for
25716 prepare_address_space, and store the result in ah.
25717 (close_archive): If ah->mmap_base is not NULL, use that and
25718 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25719 * sysdeps/generic/libc-mmap.h: New file.
25721 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25723 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25724 (ALIGN_UP): Likewise.
25725 (PTR_ALIGN_DOWN): Likewise.
25726 (PTR_ALIGN_UP): Likewise.
25728 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25730 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25731 entry mapped to PPC_PLATFORM_POWER8.
25732 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25734 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25735 (_dl_string_platform): Add case for exporting platform position for
25737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25738 search path to sysdeps/powerpc/powerpc32/power8 directory.
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25740 search path to sysdeps/powerpc/powerpc64/power8 directory.
25741 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25742 power7 directories.
25743 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25744 power7 directories.
25746 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25748 * INSTALL: Regenerate.
25750 * nscd/connections.c (nscd_init): Fix comment.
25752 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25754 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25757 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25758 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25760 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25762 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25764 (DL_DST_REQ_STATIC): Remove macro.
25766 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25769 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25770 with a shift of 0 bits.
25772 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25774 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25777 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25780 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25782 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25784 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25785 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25786 accepts -fno-tree-loop-distribute-patterns.
25787 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25788 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25790 * string/memset.c (memset): Likewise.
25791 * string/test-memmove.c (simple_memmove): Disable loop transformation
25793 * string/test-memset.c (simple_memset): Likewise.
25794 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25795 * benchtests/bench-memset.c (simple_memset): Likewise.
25796 * configure: Regenerated.
25798 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25800 * math/test-misc.c (main): Ignore fesetround failure when failures
25801 of subsequent rounding tests would be ignored.
25804 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25805 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25806 * math/fegetenv.c (__fegetenv): Return 0.
25807 * math/fegetexcept.c (fegetexcept): Return 0.
25808 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25810 * math/feholdexcpt.c (feholdexcept): Return 0.
25811 * math/fesetenv.c (__fesetenv): Return 0.
25812 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25813 argument FE_TONEAREST.
25814 * math/feupdateenv.c (__feupdateenv): Return 0.
25815 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25817 2013-06-18 Roland McGrath <roland@hack.frob.com>
25819 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25820 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25821 ($(objpfx)rtld-%.os rules): Use them.
25823 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25825 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25828 2013-06-17 Roland McGrath <roland@hack.frob.com>
25830 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25831 length of target pattern, then descending length of dependency pattern.
25832 * configure.in (AWK): Require gawk 3.1.2 or newer.
25833 * manual/install.texi (Tools for Compilation): Say that we do.
25834 * configure: Regenerated.
25836 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25837 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25838 * scripts/sysd-rules.awk: ... this new script.
25839 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25840 than a glob-style pattern.
25842 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25844 * math/test-misc.c (main): Do not treat incorrectly rounded
25845 conversions as failure unless ROUNDING_TESTS passes.
25847 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25850 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25851 restore exception state around main square root computation, then
25852 check for inexactness explicitly.
25854 * math/libm-test.inc (fma_test_data): Add another test.
25856 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25858 * manual/threads.texi (Non-POSIX Extensions): New document
25859 node. Document pthread_getattr_default_np and
25860 pthread_setattr_default_np.
25862 * Versions.def (libpthread): Add GLIBC_2.18.
25863 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25872 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25883 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25886 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25888 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25889 H.J. Lu <hjl.tools@gmail.com>
25892 * sysdeps/x86_64/rtld-memset.c: Remove file.
25893 * sysdeps/x86_64/rtld-memset.S: New file.
25895 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25897 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25898 (test_in_one_mode): Take arguments for whether the rounding mode
25899 is supported for each floating-point type.
25900 (do_test): Pass new arguments to test_in_one_mode using
25903 2013-06-13 Roland McGrath <roland@hack.frob.com>
25905 * posix/tst-waitid.c (do_test): Distinguish different instances of
25906 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25907 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25908 before entering the kernel for waitpid.
25910 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25912 * NEWS: Fix note on clock function precision. Text by Roland
25915 2013-06-13 Roland McGrath <roland@hack.frob.com>
25917 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25918 it into place only when and if the sanity check passes.
25920 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25922 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25923 output for whether conversion result is exact. Take argument
25924 indicating whether type is IBM long double.
25925 (round_for_all): Change need_exact field to ibm_ld.
25926 * stdlib/tst-strtod-round.c (struct exactness): New type.
25927 (struct test): Change bool ld_ok field to struct exactness exact.
25928 (TEST): Update all definitions for change to field.
25929 (tests): Regenerate array contents.
25930 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25931 field value. Check for IBM long double here.
25932 (do_test): Update calls to test_in_one_mode.
25934 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25937 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25938 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25940 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25943 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25944 generated by the compiler on loop optimizations.
25945 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25946 general definitions.
25948 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25950 * math/bug-nextafter.c: Include <math-tests.h>.
25951 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25953 * math/bug-nexttoward.c: Include <math-tests.h>.
25954 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25956 * math/test-misc.c: Include <math-tests.h>.
25957 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25960 2013-06-12 Andreas Jaeger <aj@suse.de>
25962 * po/ia.po: Update Interlingua translation from translation
25965 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25967 * include/fenv.h: Include stdbool.h.
25968 (struct rm_ctx): New structure.
25969 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25971 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25972 (SET_RESTORE_ROUNDF): Likewise.
25973 (SET_RESTORE_ROUNDL): Likewise.
25974 (SET_RESTORE_ROUND_NOEX): Likewise.
25975 (SET_RESTORE_ROUND_NOEXF): Likewise.
25976 (SET_RESTORE_ROUND_NOEXL): Likewise.
25977 (SET_RESTORE_ROUND_53BIT): Likewise.
25978 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25979 (libc_feresetround_noexf_ctx): Likewise.
25980 (libc_feresetround_noexl_ctx): Likewise.
25981 (libc_feholdsetround_53bit_ctx): Likewise.
25982 (libc_feresetround_53bit_ctx): Likewise.
25983 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25984 (libc_feholdexcept_setround_sse_ctx): New function.
25985 (libc_fesetenv_sse_ctx): Likewise.
25986 (libc_feupdateenv_sse_ctx): Likewise.
25987 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25988 (libc_feholdexcept_setround_387_ctx): Likewise.
25989 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25990 (libc_feholdsetround_387_prec_ctx): Likewise.
25991 (libc_feholdsetround_387_ctx): Likewise.
25992 (libc_feholdsetround_387_53bit_ctx): Likewise.
25993 (libc_feholdsetround_sse_ctx): Likewise.
25994 (libc_feresetround_sse_ctx): Likewise.
25995 (libc_feresetround_387_ctx): Likewise.
25996 (libc_feupdateenv_387_ctx): Likewise.
25997 (libc_feholdexcept_setroundf_ctx): Define macro.
25998 (libc_fesetenvf_ctx): Likewise.
25999 (libc_feupdateenvf_ctx): Likewise.
26000 (libc_feholdsetroundf_ctx): Likewise.
26001 (libc_feresetroundf_ctx): Likewise.
26002 (libc_feholdexcept_setround_ctx): Likewise.
26003 (libc_fesetenv_ctx): Likewise.
26004 (libc_feupdateenv_ctx): Likewise.
26005 (libc_feholdsetround_ctx): Likewise.
26006 (libc_feresetround_ctx): Likewise.
26007 (libc_feholdexcept_setroundl_ctx): Likewise.
26008 (libc_feupdateenvl_ctx): Likewise.
26009 (libc_feholdsetroundl_ctx): Likewise.
26010 (libc_feresetroundl_ctx): Likewise.
26011 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26012 (libc_feresetround_53bit_ctx): Likewise.
26014 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26016 * locale/iso-639.def: Convert to UTF-8.
26018 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26020 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26021 (EXCEPTION_TESTS_double): Likewise.
26022 (EXCEPTION_TESTS_long_double): Likewise.
26023 (EXCEPTION_TESTS): Likewise.
26024 * math/libm-test.inc (test_exceptions): Only test exceptions if
26025 EXCEPTION_TESTS (FLOAT).
26027 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26029 * benchtests/Makefile (string-bench): Add strcpy_chk and
26031 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26032 * benchtests/bench-stpcpy_chk.c: New file.
26033 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26034 * benchtests/bench-strcpy_chk.c: New file.
26035 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26037 (do_test): Likewise.
26039 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26041 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26042 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26043 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26044 with tabs where appropriate.
26045 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26047 [PPC_PLATFORM_PPC440]: Likewise.
26048 [PPC_PLATFORM_PPC464]: Likewise.
26049 [PPC_PLATFORM_PPC476]: Likewise.
26050 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26051 ppc464, and ppc476 platform strings merging from ports/
26054 2013-06-11 Andreas Schwab <schwab@suse.de>
26057 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26058 (from_ucs4_idx): Regenerate.
26059 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26060 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26061 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26062 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26063 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26064 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26065 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26066 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26067 from FROM_LOOP and TO_LOOP specific macros.
26068 (BODY): Handle combining characters.
26069 * iconvdata/BIG5HKSCS.irreversible: Update.
26070 * iconvdata/BIG5HKSCS.precomposed: New file.
26071 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26073 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26075 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26077 * include/sys/time.h: Fix indentation and add copyright header.
26079 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26080 (do_test): Likewise.
26081 * string/test-memchr.c (do_one_test): Likewise.
26082 (do_test): Likewise.
26083 * string/test-memcmp.c (do_one_test): Likewise.
26084 (do_test): Likewise.
26085 * string/test-memcpy.c (do_one_test): Likewise.
26086 (do_test): Likewise.
26087 * string/test-memmem.c (do_one_test): Likewise.
26088 (do_test): Likewise.
26089 (do_random_tests): Likewise.
26090 * string/test-memmove.c (do_one_test): Likewise.
26091 (do_test): Likewise.
26092 * string/test-memset.c (do_one_test): Likewise.
26093 (do_test): Likewise.
26094 * string/test-rawmemchr.c (do_one_test): Likewise.
26095 (do_test): Likewise.
26096 * string/test-strcasecmp.c (do_one_test): Likewise.
26097 (do_test): Likewise.
26098 * string/test-strcasestr.c (do_one_test): Likewise.
26099 (do_test): Likewise.
26100 * string/test-strcat.c (do_one_test): Likewise.
26101 (do_test): Likewise.
26102 * string/test-strchr.c (do_one_test): Likewise.
26103 (do_test): Likewise.
26104 * string/test-strcmp.c (do_one_test): Likewise.
26105 (do_test): Likewise.
26106 * string/test-strcpy.c (do_one_test): Likewise.
26107 (do_test): Likewise.
26108 * string/test-string.h: Likewise.
26109 (test_init): Likewise.
26110 * string/test-strlen.c (do_one_test): Likewise.
26111 (do_test): Likewise.
26112 * string/test-strncasecmp.c (do_one_test): Likewise.
26113 (do_test): Likewise.
26114 * string/test-strncat.c (do_one_test): Likewise.
26115 (do_test): Likewise.
26116 * string/test-strncmp.c (do_one_test): Likewise.
26117 (do_test_limit): Likewise.
26118 (do_test): Likewise.
26119 * string/test-strncpy.c (do_one_test): Likewise.
26120 (do_test): Likewise.
26121 * string/test-strnlen.c (do_one_test): Likewise.
26122 (do_test): Likewise.
26123 * string/test-strpbrk.c (do_one_test): Likewise.
26124 (do_test): Likewise.
26125 * string/test-strrchr.c (do_one_test): Likewise.
26126 (do_test): Likewise.
26127 * string/test-strspn.c (do_one_test): Likewise.
26128 (do_test): Likewise.
26129 * string/test-strstr.c (do_one_test): Likewise.
26130 (do_test): Likewise.
26132 * benchtests/Makefile (string-bench): Add string benchmarks.
26133 * benchtests/bench-bcopy-ifunc.c: New file.
26134 * benchtests/bench-bcopy.c: New file.
26135 * benchtests/bench-bzero-ifunc.c: New file.
26136 * benchtests/bench-bzero.c: New file.
26137 * benchtests/bench-memccpy-ifunc.c: New file.
26138 * benchtests/bench-memccpy.c: New file.
26139 * benchtests/bench-memchr-ifunc.c: New file.
26140 * benchtests/bench-memchr.c: New file.
26141 * benchtests/bench-memcmp-ifunc.c: New file.
26142 * benchtests/bench-memcmp.c: New file.
26143 * benchtests/bench-memmem-ifunc.c: New file.
26144 * benchtests/bench-memmem.c: New file.
26145 * benchtests/bench-memmove-ifunc.c: New file.
26146 * benchtests/bench-memmove.c: New file.
26147 * benchtests/bench-mempcpy-ifunc.c: New file.
26148 * benchtests/bench-mempcpy.c: New file.
26149 * benchtests/bench-memset-ifunc.c: New file.
26150 * benchtests/bench-memset.c: New file.
26151 * benchtests/bench-rawmemchr-ifunc.c: New file.
26152 * benchtests/bench-rawmemchr.c: New file.
26153 * benchtests/bench-stpcpy-ifunc.c: New file.
26154 * benchtests/bench-stpcpy.c: New file.
26155 * benchtests/bench-stpncpy-ifunc.c: New file.
26156 * benchtests/bench-stpncpy.c: New file.
26157 * benchtests/bench-strcasecmp-ifunc.c: New file.
26158 * benchtests/bench-strcasecmp.c: New file.
26159 * benchtests/bench-strcasestr-ifunc.c: New file.
26160 * benchtests/bench-strcasestr.c: New file.
26161 * benchtests/bench-strcat-ifunc.c: New file.
26162 * benchtests/bench-strcat.c: New file.
26163 * benchtests/bench-strchr-ifunc.c: New file.
26164 * benchtests/bench-strchr.c: New file.
26165 * benchtests/bench-strchrnul-ifunc.c: New file.
26166 * benchtests/bench-strchrnul.c: New file.
26167 * benchtests/bench-strcmp-ifunc.c: New file.
26168 * benchtests/bench-strcmp.c: New file.
26169 * benchtests/bench-strcpy-ifunc.c: New file.
26170 * benchtests/bench-strcpy.c: New file.
26171 * benchtests/bench-strcspn-ifunc.c: New file.
26172 * benchtests/bench-strcspn.c: New file.
26173 * benchtests/bench-strlen-ifunc.c: New file.
26174 * benchtests/bench-strlen.c: New file.
26175 * benchtests/bench-strncasecmp-ifunc.c: New file.
26176 * benchtests/bench-strncasecmp.c: New file.
26177 * benchtests/bench-strncat-ifunc.c: New file.
26178 * benchtests/bench-strncat.c: New file.
26179 * benchtests/bench-strncmp-ifunc.c: New file.
26180 * benchtests/bench-strncmp.c: New file.
26181 * benchtests/bench-strncpy-ifunc.c: New file.
26182 * benchtests/bench-strncpy.c: New file.
26183 * benchtests/bench-strnlen-ifunc.c: New file.
26184 * benchtests/bench-strnlen.c: New file.
26185 * benchtests/bench-strpbrk-ifunc.c: New file.
26186 * benchtests/bench-strpbrk.c: New file.
26187 * benchtests/bench-strrchr-ifunc.c: New file.
26188 * benchtests/bench-strrchr.c: New file.
26189 * benchtests/bench-strspn-ifunc.c: New file.
26190 * benchtests/bench-strspn.c: New file.
26191 * benchtests/bench-strstr-ifunc.c: New file.
26192 * benchtests/bench-strstr.c: New file.
26194 * benchtests/Makefile: Disable parallel execution of targets.
26195 (string-bench): Add memcpy.
26196 (benchset): New variable to store a list of benchmark sets.
26197 (bench-func): Renamed from bench.
26198 (bench-set): New target.
26199 (bench): Depend on bench-func and bench-set.
26200 * benchtests/README: Add section on benchmark sets.
26201 * benchtests/bench-memcpy-ifunc.c: New file.
26202 * benchtests/bench-memcpy.c: New file.
26203 * benchtests/bench-string.h: New file.
26205 2013-06-11 Andreas Schwab <schwab@suse.de>
26208 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26209 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26210 values in the triple.
26211 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26212 terminator in the group key.
26214 2013-06-11 Andreas Jaeger <aj@suse.de>
26216 * po/zh_TW.po: Update Chinese (traditional) translation from
26217 translation project.
26219 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26221 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26222 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26223 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26224 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26225 (clock_getcpuclockid): Likewise.
26226 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26227 Add weak_alias and libc_hidden_def.
26228 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26229 * rt/clock_gettime.c (clock_gettime): Rename to
26230 __clock_gettime. Add weak_alias and libc_hidden_def.
26231 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26232 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26233 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26234 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26235 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26237 * rt/clock_settime.c (clock_settime): Rename to
26238 __clock_settime. Add weak_alias and libc_hidden_def.
26239 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26241 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26243 * mach/err_boot.sub: Remove trailing whitespace.
26244 * mach/err_ipc.sub: Likewise.
26245 * mach/err_mach.sub: Likewise.
26247 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26248 (ROUNDING_TESTS_double): Likewise.
26249 (ROUNDING_TESTS_long_double): Likewise.
26250 (ROUNDING_TESTS): Likewise.
26251 * math/libm-test.inc: Include <math-tests.h>.
26252 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26253 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26254 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26255 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26257 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26259 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26262 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26264 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26265 otherwise empty TRANS lines.
26266 * sysdeps/gnu/errlist.c: Regenerated.
26268 * catgets/gencat.c (error_print): Use (void) in function
26270 * crypt/crypt_util.c (__init_des): Likewise.
26271 * crypt/speeds.c (Stop): Likewise.
26273 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26274 * inet/ruserpass.c (token): Likewise.
26275 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26276 * intl/localealias.c (extend_alias_table): Likewise.
26277 * intl/plural-exp.c (init_germanic_plural): Likewise.
26278 * libio/fcloseall.c (__fcloseall): Likewise.
26279 * libio/genops.c (_IO_flush_all): Likewise.
26280 (_IO_flush_all_linebuffered): Likewise.
26281 (_IO_cleanup): Likewise.
26282 (_IO_iter_begin): Likewise.
26283 (_IO_iter_end): Likewise.
26284 (_IO_list_lock): Likewise.
26285 (_IO_list_unlock): Likewise.
26286 (_IO_list_resetlock): Likewise.
26287 * libio/getchar.c (getchar): Likewise.
26288 * libio/getchar_u.c (getchar_unlocked): Likewise.
26289 * libio/getwchar.c (getwchar): Likewise.
26290 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26291 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26292 * login/getpt.c (__getpt): Likewise.
26293 * login/tst-utmp.c (main): Likewise.
26294 * malloc/hooks.c (__malloc_check_init): Likewise.
26295 * malloc/malloc.c (__malloc_stats): Likewise.
26296 * malloc/mtrace.c (tr_break): Likewise.
26297 (mtrace): Likewise.
26298 (muntrace): Likewise.
26299 * misc/fstab.c (endfsent): Likewise.
26300 * misc/getclktck.c (__getclktck): Likewise.
26301 * misc/getdtsz.c (__getdtablesize): Likewise.
26302 * misc/gethostid.c (gethostid): Likewise.
26303 * misc/getpagesize.c (__getpagesize): Likewise.
26304 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26305 (__get_nprocs): Likewise.
26306 (__get_phys_pages): Likewise.
26307 (__get_avphys_pages): Likewise.
26308 * misc/getttyent.c (getttyent): Likewise.
26309 (setttyent): Likewise.
26310 (endttyent): Likewise.
26311 * misc/getusershell.c (getusershell): Likewise.
26312 (endusershell): Likewise.
26313 (setusershell): Likewise.
26314 (initshells): Likewise.
26315 * misc/hsearch.c (__hdestroy): Likewise.
26316 * misc/sync.c (sync): Likewise.
26317 * misc/syslog.c (closelog_internal): Likewise.
26318 (closelog): Likewise.
26319 * misc/ttyslot.c (ttyslot): Likewise.
26320 * misc/vhangup.c (vhangup): Likewise.
26321 * posix/fork.c (__fork): Likewise.
26322 * posix/getegid.c (__getegid): Likewise.
26323 * posix/geteuid.c (__geteuid): Likewise.
26324 * posix/getgid.c (__getgid): Likewise.
26325 * posix/getpid.c (__getpid): Likewise.
26326 * posix/getppid.c (__getppid): Likewise.
26327 * posix/getuid.c (__getuid): Likewise.
26328 * posix/pause.c (pause): Likewise.
26329 * posix/setpgrp.c (setpgrp): Likewise.
26330 * posix/setsid.c (__setsid): Likewise.
26331 * posix/test-vfork.c (noop): Likewise.
26332 * resolv/gethnamaddr.c (_endhtent): Likewise.
26333 (_gethtent): Likewise.
26334 (ht_endhostent): Likewise.
26335 (gethostent): Likewise.
26336 (dns_service): Likewise.
26337 * stdlib/drand48.c (drand48): Likewise.
26338 * stdlib/lrand48.c (lrand48): Likewise.
26339 * stdlib/mrand48.c (mrand48): Likewise.
26340 * stdlib/rand.c (rand): Likewise.
26341 * stdlib/random.c (__random): Likewise.
26342 * stdlib/setenv.c (clearenv): Likewise.
26343 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26344 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26345 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26346 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26347 (__get_nprocs): Likewise.
26348 (__get_phys_pages): Likewise.
26349 (__get_avphys_pages): Likewise.
26350 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26351 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26352 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26353 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26354 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26355 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26356 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26357 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26358 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26359 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26360 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26361 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26362 * sysdeps/posix/clock.c (clock): Likewise.
26363 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26364 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26365 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26366 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26367 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26369 (__get_nprocs_conf): Likewise.
26370 (__get_phys_pages): Likewise.
26371 (__get_avphys_pages): Likewise.
26372 * time/clock.c (clock): Likewise.
26373 * time/tzset.c (__tzname_max): Likewise.
26375 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26377 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26378 (__bswap_32): Do not use "register".
26379 * crypt/crypt.c (_ufc_doit_r): Likewise.
26380 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26381 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26382 * gmon/gmon.c (__monstartup): Likewise.
26383 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26384 * hurd/hurdmalloc.c (more_memory): Likewise.
26385 (malloc): Likewise.
26387 (realloc): Likewise.
26388 (malloc_fork_prepare): Likewise.
26389 (malloc_fork_parent): Likewise.
26390 (malloc_fork_child): Likewise.
26391 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26392 (_svcauth_des): Likewise.
26393 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26394 * inet/inet_net.c (inet_network): Likewise.
26395 * inet/inet_netof.c (inet_netof): Likewise.
26396 * inet/rcmd.c (__validuser2_sa): Likewise.
26397 * io/fts.c (fts_open): Likewise.
26398 (fts_load): Likewise.
26399 (fts_close): Likewise.
26400 (fts_read): Likewise.
26401 (fts_children): Likewise.
26402 (fts_build): Likewise.
26403 (fts_stat): Likewise.
26404 (fts_sort): Likewise.
26405 (fts_alloc): Likewise.
26406 (fts_lfree): Likewise.
26407 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26408 (_IO_file_xsgetn): Likewise.
26409 (_IO_file_xsgetn_mmap): Likewise.
26410 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26411 (_IO_cookie_write): Likewise.
26412 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26413 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26414 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26415 * malloc/obstack.c (_obstack_begin): Likewise.
26416 (_obstack_begin_1): Likewise.
26417 (_obstack_newchunk): Likewise.
26418 (_obstack_allocated_p): Likewise.
26419 (obstack_free): Likewise.
26420 (_obstack_memory_used): Likewise.
26421 * misc/getttyent.c (getttynam): Likewise.
26422 (getttyent): Likewise.
26425 * misc/getusershell.c (initshells): Likewise.
26426 * misc/syslog.c (__vsyslog_chk): Likewise.
26427 * misc/ttyslot.c (ttyslot): Likewise.
26428 * nis/nis_hash.c (__nis_hash): Likewise.
26429 * posix/fnmatch_loop.c (FCT): Likewise.
26430 * posix/getconf.c (print_all): Likewise.
26432 * posix/getopt.c (exchange): Likewise.
26433 * posix/glob.c (globfree): Likewise.
26434 (prefix_array): Likewise.
26435 (__glob_pattern_type): Likewise.
26436 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26437 (NS_GET32): Likewise.
26438 (NS_PUT16): Likewise.
26439 (NS_PUT32): Likewise.
26440 * resolv/gethnamaddr.c (getanswer): Likewise.
26441 (gethostbyname2): Likewise.
26442 (gethostbyaddr): Likewise.
26443 (_gethtent): Likewise.
26444 (_gethtbyname2): Likewise.
26445 (_gethtbyaddr): Likewise.
26446 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26447 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26448 * resolv/res_init.c (__res_vinit): Likewise.
26449 (net_mask): Likewise.
26450 * resolv/res_mkquery.c (outchar): Likewise.
26452 * stdio-common/printf_fp.c (outchar): Likewise.
26454 * stdio-common/printf_fphex.c (outchar): Likewise.
26456 * stdio-common/printf_size.c (outchar): Likewise.
26458 * stdio-common/test_rdwr.c (main): Likewise.
26459 * stdio-common/tfformat.c (matches): Likewise.
26460 * stdio-common/vfprintf.c (outchar): Likewise.
26461 (printf_unknown): Likewise.
26462 (buffered_vfprintf): Likewise.
26463 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26464 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26465 (ReadFile): Likewise.
26466 * stdlib/qsort.c (SWAP): Likewise.
26467 (_quicksort): Likewise.
26468 * stdlib/setenv.c (__add_to_environ): Likewise.
26469 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26470 * stdlib/strtol_l.c (__strtol_l): Likewise.
26471 * stdlib/tst-strtod.c (main): Likewise.
26472 * stdlib/tst-strtol.c (main): Likewise.
26473 * stdlib/tst-strtoll.c (main): Likewise.
26474 * string/bits/string2.h (__strcmp_cc): Likewise.
26475 (__strcmp_cg): Likewise.
26476 (__strcspn_c1): Likewise.
26477 (__strcspn_c2): Likewise.
26478 (__strcspn_c3): Likewise.
26479 (__strspn_c1): Likewise.
26480 (__strspn_c2): Likewise.
26481 (__strspn_c3): Likewise.
26482 (__strsep_1c): Likewise.
26483 (__strsep_2c): Likewise.
26484 (__strsep_3c): Likewise.
26485 * string/memccpy.c (__memccpy): Likewise.
26486 * string/stpcpy.c (__stpcpy): Likewise.
26487 * string/strcmp.c (strcmp): Likewise.
26488 * string/strrchr.c (strrchr): Likewise.
26489 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26491 * sysdeps/mach/hurd/getcwd.c
26492 (_hurd_canonicalize_directory_name_internal): Likewise.
26493 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26494 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26495 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26496 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26497 Likewise, in both definitions.
26498 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26500 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26501 64] (__bswap_64): Likewise.
26502 * time/test_time.c (main): Likewise.
26503 * time/tzfile.c (__tzfile_read): Likewise.
26504 (__tzfile_compute): Likewise.
26505 * time/tzset.c (__tzset_parse_tz): Likewise.
26506 (tzset_internal): Likewise.
26507 (compute_change): Likewise.
26508 * wcsmbs/wcscat.c (__wcscat): Likewise.
26509 * wcsmbs/wcschr.c (wcschr): Likewise.
26510 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26511 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26512 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26513 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26514 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26515 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26516 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26517 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26518 * wcsmbs/wmemset.c (wmemset): Likewise.
26520 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26522 * scripts/config.guess: Update to version 2013-05-16.
26523 * scripts/config.sub: Update to version 2013-04-24.
26524 * scripts/install-sh: Update to version 2011-11-20.07.
26525 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26526 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26528 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26530 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26531 * elf/sln.c: Likewise.
26532 * hurd/hurd/ioctl.h: Likewise.
26533 * hurd/hurdmalloc.c: Likewise.
26534 * hurd/xattr.c: Likewise.
26535 * include/shlib-compat.h: Likewise.
26536 * inet/ruserpass.c: Likewise.
26537 * libio/iofgets_u.c: Likewise.
26538 * libio/iofgetws_u.c: Likewise.
26539 * locale/programs/ld-identification.c: Likewise.
26540 * locale/programs/ld-time.c: Likewise.
26541 * mach/msg-destroy.c: Likewise.
26542 * nss/nss_files/files-netgrp.c: Likewise.
26543 * resolv/res_data.c: Likewise.
26544 * soft-fp/op-1.h: Likewise.
26545 * soft-fp/op-2.h: Likewise.
26546 * soft-fp/op-4.h: Likewise.
26547 * soft-fp/op-common.h: Likewise.
26548 * stdio-common/printf_fphex.c: Likewise.
26549 * stdlib/strtod_l.c: Likewise.
26550 * sunrpc/rpc/clnt.h: Likewise.
26551 * sysdeps/generic/framestate.c: Likewise.
26552 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26553 * sysdeps/i386/bsd-setjmp.S: Likewise.
26554 * sysdeps/i386/__longjmp.S: Likewise.
26555 * sysdeps/i386/setjmp.S: Likewise.
26556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26557 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26558 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26574 * sysdeps/ieee754/support.c: Likewise.
26575 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26576 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26577 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26578 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26579 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26580 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26581 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26582 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26583 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26584 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26585 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26586 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26587 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26588 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26589 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26590 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26591 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26594 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26596 * posix/transbug.c: Remove executable mode.
26598 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26600 * crypt/speeds.c: Remove trailing whitespace.
26601 * dlfcn/default.c: Likewise.
26602 * elf/ifuncdep2.c: Likewise.
26603 * elf/ifuncmain1.c: Likewise.
26604 * elf/ifuncmain1vis.c: Likewise.
26605 * elf/testobj.h: Likewise.
26606 * elf/tst-stackguard1.c: Likewise.
26607 * gmon/sys/gmon.h: Likewise.
26608 * hurd/hurdmsg.c: Likewise.
26609 * hurd/new-fd.c: Likewise.
26610 * hurd/ports-get.c: Likewise.
26611 * iconvdata/ibm1008_420.c: Likewise.
26612 * inet/tst-getni1.c: Likewise.
26613 * inet/tst-getni2.c: Likewise.
26614 * libio/ioungetc.c: Likewise.
26615 * libio/wfiledoalloc.c: Likewise.
26616 * manual/libm-err-tab.pl: Likewise.
26617 * math/w_dremf.c: Likewise.
26618 * misc/ftruncate.c: Likewise.
26619 * posix/bug-glob2.c: Likewise.
26620 * posix/tst-pcre.c: Likewise.
26621 * posix/wait4.c: Likewise.
26622 * resolv/README: Likewise.
26623 * resolv/res_debug.h: Likewise.
26624 * resolv/tst-inet_ntop.c: Likewise.
26625 * setjmp/bug269-setjmp.c: Likewise.
26626 * soft-fp/extended.h: Likewise.
26627 * soft-fp/op-1.h: Likewise.
26628 * soft-fp/op-2.h: Likewise.
26629 * soft-fp/op-4.h: Likewise.
26630 * soft-fp/op-8.h: Likewise.
26631 * soft-fp/testit.c: Likewise.
26632 * stdio-common/bug16.c: Likewise.
26633 * stdlib/random.c: Likewise.
26634 * sunrpc/rpcsvc/rquota.x: Likewise.
26635 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26636 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26637 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26638 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26639 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26640 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26641 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26642 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26643 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26644 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26645 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26664 * sysdeps/ieee754/s_lib_version.c: Likewise.
26665 * sysdeps/mach/hurd/check_fds.c: Likewise.
26666 * sysdeps/mach/hurd/getsockname.c: Likewise.
26667 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26668 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26669 * sysdeps/powerpc/bits/link.h: Likewise.
26670 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26671 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26672 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26673 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26674 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26675 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26676 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26677 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26678 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26679 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26680 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26681 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26682 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26683 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26684 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26685 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26686 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26687 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26688 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26690 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26691 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26692 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26693 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26694 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26695 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26696 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26697 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26698 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26699 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26700 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26701 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26702 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26703 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26704 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26705 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26706 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26707 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26708 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26709 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26710 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26711 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26712 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26713 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26714 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26715 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26716 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26717 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26718 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26719 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26720 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26721 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26722 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26723 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26724 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26725 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26726 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26727 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26728 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26729 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26730 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26731 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26732 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26733 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26734 * sysdeps/powerpc/sysdep.h: Likewise.
26735 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26736 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26737 * sysdeps/sh/dl-trampoline.S: Likewise.
26738 * sysdeps/sh/memset.S: Likewise.
26739 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26740 * sysdeps/sh/strlen.S: Likewise.
26741 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26742 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26743 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26744 * sysdeps/sparc/sparc32/rem.S: Likewise.
26745 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26746 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26747 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26748 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26749 * sysdeps/sparc/sparc32/urem.S: Likewise.
26750 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26751 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26752 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26753 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26754 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26755 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26756 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26757 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26758 * sysdeps/unix/bsd/times.c: Likewise.
26759 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26760 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26764 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26765 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26766 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26767 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26768 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26769 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26770 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26771 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26772 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26773 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26774 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26775 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26776 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26777 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26778 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26779 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26780 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26781 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26782 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26783 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26784 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26785 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26786 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26787 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26788 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26789 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26790 * sysdeps/x86_64/strcspn.S: Likewise.
26792 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26794 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26795 generated file. Regenerate properly from gen-translit.pl.
26796 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26797 locale/C-translit.h.
26799 2013-06-05 Andreas Schwab <schwab@suse.de>
26802 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26803 week as 6 instead of -1.
26804 * time/tst-strptime.c (day_tests): Add test case.
26806 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26808 * sysdeps/generic/math_private.h
26809 (libc_feholdexcept_setround_53bit): Replace with
26810 libc_feholdsetround_53bit.
26811 (libc_feupdateenv_53bit): Replace with
26812 libc_feresetround_53bit.
26813 (SET_RESTORE_ROUND_53BIT): Adjust.
26815 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26817 * string/test-strchrnul.c: Add copyright header.
26819 * posix/tst-getaddrinfo4.c: Increase test timeout.
26821 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26824 * math/libm-test.inc (MAX_EXP): Remove
26826 (ulp): Use MIN_EXP - MANT_DIG.
26827 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26829 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26831 * po/be.po: Revert last change.
26832 * po/zh_CN.po: Likewise.
26833 * po/header.pot: Likewise.
26835 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26837 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26838 link-libc-deps to empty as target-specific variable.
26839 * Makerules (link-libc-args): New variable.
26840 (libc-for-link): Likewise.
26841 (link-libc-deps): Likewise.
26842 (lib%.so): Depend on $(link-libc-deps). Link with
26844 (build-module): Link with $(link-libc-args).
26845 (build-module-asneeded): Likewise.
26846 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26848 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26849 target-specific variable.
26850 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26851 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26852 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26854 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26856 ($(objpfx)libpcprofile.so): Likewise.
26857 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26859 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26860 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26861 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26863 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26864 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26865 * login/Makefile ($(objpfx)libutil.so): Likewise.
26866 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26867 * math/Makefile ($(objpfx)libm.so): Likewise.
26868 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26869 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26870 variable instead of depending directly on libc.
26871 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26872 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26874 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26876 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26877 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26878 ($(objpfx)libanl.so): Likewise.
26879 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26881 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26883 * sysdeps/i386/fpu/Makefile: Remove file.
26884 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26885 ($(objpfx)libm.so): Remove dependency on ld.so.
26887 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26890 * nis/yp_xdr.c (XDRMAXNAME): Define.
26891 (XDRMAXRECORD): Define.
26892 (xdr_domainname): Use XDRMAXNAME.
26893 (xdr_mapname): Likewise.
26894 (xdr_peername): Likewise.
26895 (xdr_keydat): Use XDRMAXRECORD.
26896 (xdr_valdat): Likewise.
26898 2013-05-30 Jeff Law <law@redhat.com>
26901 * manual/errno.texi (ESTALE): Update to account for more than
26902 just NFS file systems.
26903 * sysdeps/gnu/errlist.c: Regenerated.
26905 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26908 * elf/Makefile (tests): Add tst-null-argv.
26909 (modules-names): Add tst-null-argv-lib.
26910 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26911 (tst-null-argv-ENV): Set environment for tst-null-argv.
26912 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26913 (RTLD_PROGNAME): New macro.
26914 * elf/tst-null-argv.c: New test case.
26915 * elf/tst-null-argv-lib.c: Library for test case.
26916 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26917 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26918 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26919 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26920 * elf/dl-init.c (call_init): Likewise.
26921 (_dl_init): Likewise.
26922 * elf/dl-load.c (print_search_path): Likewise.
26923 (_dl_map_object): Likewise.
26924 * elf/dl-lookup.c (do_lookup_x): Likewise.
26925 (add_dependency): Likewise.
26926 (_dl_lookup_symbol_x): Likewise.
26927 (_dl_debug_bindings): Likewise.
26928 * elf/dl-open.c (_dl_show_scope): Likewise.
26929 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26930 * elf/dl-version.c (match_symbol): Likewise.
26931 (_dl_check_map_versions): Likewise.
26932 * elf/rtld.c (dl_main): Likewise.
26933 (print_unresolved): Use RTLD_PROGNAME.
26934 (print_missing_version): Likewise.
26935 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26936 (elf_machine_rela): Likewise.
26937 * sysdeps/powerpc/powerpc32/dl-machine.c
26938 (__process_machine_rela): Likewise.
26939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26941 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26943 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26945 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26950 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26952 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26954 * po/be.po: Add descriptive title.
26955 * po/zh_CN.po: Likewise.
26956 * po/header.pot: Likewise.
26958 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26960 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26962 (enlarge_archive): Likewise.
26964 2013-05-28 Ben North <ben@redfrontdoor.org>
26966 * manual/arith.texi (frexp): It is the magnitude of the return
26967 value which lies in [0.5, 1), not the return value itself.
26969 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26973 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26975 * stdio-common/bug26.c (main): Correct fscanf template.
26977 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26978 declare _dl_skip_args.
26980 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26983 * manual/platform.texi: Add missing @end deftypefun.
26985 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26988 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26989 bit of mantissa of 2^16382.
26990 * math/libm-test.inc (hypot_test_data): Add more tests.
26992 * math/libm-test.inc: Add drem and pow10 to list of tested
26994 (pow10_test): New function.
26995 (drem_test): Likewise.
26996 (drem_test_tonearest): Likewise.
26997 (drem_test_towardzero): Likewise.
26998 (drem_test_downward): Likewise.
26999 (drem_test_upward): Likewise.
27000 (main): Call the new functions.
27002 * math/libm-test.inc (finite_test_data): Remove.
27003 (finite_test): Run tests from isfinite_test_data.
27004 (gamma_test_data): Remove.
27005 (gamma_test): Run tests from lgamma_test_data.
27006 * sysdeps/i386/fpu/libm-test-ulps: Update.
27007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27009 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27011 * manual/platform.texi: Add PowerPC PPR function set documentation.
27012 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27015 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27017 * math/libm-test.inc (MAX_EXP): Define.
27019 (ulp): New function.
27020 (check_float_internal): Use ULPDIFF.
27021 (cpow_test): Disable failing test.
27022 (check_ulp): Test ulp() implemetnation.
27023 (main): Call check_ulp before starting tests.
27025 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27027 * math/gen-libm-test.pl (generate_testfile): Do not handle
27028 START_DATA and END_DATA.
27029 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27031 (acos_tonearest_test_data): Likewise.
27032 (acos_towardzero_test_data): Likewise.
27033 (acos_downward_test_data): Likewise.
27034 (acos_upward_test_data): Likewise.
27035 (acosh_test_data): Likewise.
27036 (asin_test_data): Likewise.
27037 (asin_tonearest_test_data): Likewise.
27038 (asin_towardzero_test_data): Likewise.
27039 (asin_downward_test_data): Likewise.
27040 (asin_upward_test_data): Likewise.
27041 (asinh_test_data): Likewise.
27042 (atan_test_data): Likewise.
27043 (atanh_test_data): Likewise.
27044 (atan2_test_data): Likewise.
27045 (cabs_test_data): Likewise.
27046 (cacos_test_data): Likewise.
27047 (cacosh_test_data): Likewise.
27048 (carg_test_data): Likewise.
27049 (casin_test_data): Likewise.
27050 (casinh_test_data): Likewise.
27051 (catan_test_data): Likewise.
27052 (catanh_test_data): Likewise.
27053 (cbrt_test_data): Likewise.
27054 (ccos_test_data): Likewise.
27055 (ccosh_test_data): Likewise.
27056 (ceil_test_data): Likewise.
27057 (cexp_test_data): Likewise.
27058 (cimag_test_data): Likewise.
27059 (clog_test_data): Likewise.
27060 (clog10_test_data): Likewise.
27061 (conj_test_data): Likewise.
27062 (copysign_test_data): Likewise.
27063 (cos_test_data): Likewise.
27064 (cos_tonearest_test_data): Likewise.
27065 (cos_towardzero_test_data): Likewise.
27066 (cos_downward_test_data): Likewise.
27067 (cos_upward_test_data): Likewise.
27068 (cosh_test_data): Likewise.
27069 (cosh_tonearest_test_data): Likewise.
27070 (cosh_towardzero_test_data): Likewise.
27071 (cosh_downward_test_data): Likewise.
27072 (cosh_upward_test_data): Likewise.
27073 (cpow_test_data): Likewise.
27074 (cproj_test_data): Likewise.
27075 (creal_test_data): Likewise.
27076 (csin_test_data): Likewise.
27077 (csinh_test_data): Likewise.
27078 (csqrt_test_data): Likewise.
27079 (ctan_test_data): Likewise.
27080 (ctan_tonearest_test_data): Likewise.
27081 (ctan_towardzero_test_data): Likewise.
27082 (ctan_downward_test_data): Likewise.
27083 (ctan_upward_test_data): Likewise.
27084 (ctanh_test_data): Likewise.
27085 (ctanh_tonearest_test_data): Likewise.
27086 (ctanh_towardzero_test_data): Likewise.
27087 (ctanh_downward_test_data): Likewise.
27088 (ctanh_upward_test_data): Likewise.
27089 (erf_test_data): Likewise.
27090 (erfc_test_data): Likewise.
27091 (exp_test_data): Likewise.
27092 (exp_tonearest_test_data): Likewise.
27093 (exp_towardzero_test_data): Likewise.
27094 (exp_downward_test_data): Likewise.
27095 (exp_upward_test_data): Likewise.
27096 (exp10_test_data): Likewise.
27097 (exp2_test_data): Likewise.
27098 (expm1_test_data): Likewise.
27099 (fabs_test_data): Likewise.
27100 (fdim_test_data): Likewise.
27101 (finite_test_data): Likewise.
27102 (floor_test_data): Likewise.
27103 (fma_test_data): Likewise.
27104 (fma_towardzero_test_data): Likewise.
27105 (fma_downward_test_data): Likewise.
27106 (fma_upward_test_data): Likewise.
27107 (fmax_test_data): Likewise.
27108 (fmin_test_data): Likewise.
27109 (fmod_test_data): Likewise.
27110 (fpclassify_test_data): Likewise.
27111 (frexp_test_data): Likewise.
27112 (gamma_test_data): Likewise.
27113 (hypot_test_data): Likewise.
27114 (ilogb_test_data): Likewise.
27115 (isfinite_test_data): Likewise.
27116 (isgreater_test_data): Likewise.
27117 (isgreaterequal_test_data): Likewise.
27118 (isinf_test_data): Likewise.
27119 (isless_test_data): Likewise.
27120 (islessequal_test_data): Likewise.
27121 (islessgreater_test_data): Likewise.
27122 (isnan_test_data): Likewise.
27123 (isnormal_test_data): Likewise.
27124 (issignaling_test_data): Likewise.
27125 (isunordered_test_data): Likewise.
27126 (j0_test_data): Likewise.
27127 (j1_test_data): Likewise.
27128 (jn_test_data): Likewise.
27129 (ldexp_test_data): Likewise.
27130 (lgamma_test_data): Likewise.
27131 (lrint_test_data): Likewise.
27132 (lrint_tonearest_test_data): Likewise.
27133 (lrint_towardzero_test_data): Likewise.
27134 (lrint_downward_test_data): Likewise.
27135 (lrint_upward_test_data): Likewise.
27136 (llrint_test_data): Likewise.
27137 (llrint_tonearest_test_data): Likewise.
27138 (llrint_towardzero_test_data): Likewise.
27139 (llrint_downward_test_data): Likewise.
27140 (llrint_upward_test_data): Likewise.
27141 (log_test_data): Likewise.
27142 (log10_test_data): Likewise.
27143 (log1p_test_data): Likewise.
27144 (log2_test_data): Likewise.
27145 (logb_test_data): Likewise.
27146 (logb_downward_test_data): Likewise.
27147 (lround_test_data): Likewise.
27148 (llround_test_data): Likewise.
27149 (modf_test_data): Likewise.
27150 (nearbyint_test_data): Likewise.
27151 (nextafter_test_data): Likewise.
27152 (nexttoward_test_data): Likewise.
27153 (pow_test_data): Likewise.
27154 (pow_tonearest_test_data): Likewise.
27155 (pow_towardzero_test_data): Likewise.
27156 (pow_downward_test_data): Likewise.
27157 (pow_upward_test_data): Likewise.
27158 (remainder_test_data): Likewise.
27159 (remainder_tonearest_test_data): Likewise.
27160 (remainder_towardzero_test_data): Likewise.
27161 (remainder_downward_test_data): Likewise.
27162 (remainder_upward_test_data): Likewise.
27163 (remquo_test_data): Likewise.
27164 (rint_test_data): Likewise.
27165 (rint_tonearest_test_data): Likewise.
27166 (rint_towardzero_test_data): Likewise.
27167 (rint_downward_test_data): Likewise.
27168 (rint_upward_test_data): Likewise.
27169 (round_test_data): Likewise.
27170 (scalb_test_data): Likewise.
27171 (scalbn_test_data): Likewise.
27172 (scalbln_test_data): Likewise.
27173 (signbit_test_data): Likewise.
27174 (sin_test_data): Likewise.
27175 (sin_tonearest_test_data): Likewise.
27176 (sin_towardzero_test_data): Likewise.
27177 (sin_downward_test_data): Likewise.
27178 (sin_upward_test_data): Likewise.
27179 (sincos_test_data): Likewise.
27180 (sinh_test_data): Likewise.
27181 (sinh_tonearest_test_data): Likewise.
27182 (sinh_towardzero_test_data): Likewise.
27183 (sinh_downward_test_data): Likewise.
27184 (sinh_upward_test_data): Likewise.
27185 (sqrt_test_data): Likewise.
27186 (tan_test_data): Likewise.
27187 (tan_tonearest_test_data): Likewise.
27188 (tan_towardzero_test_data): Likewise.
27189 (tan_downward_test_data): Likewise.
27190 (tan_upward_test_data): Likewise.
27191 (tanh_test_data): Likewise.
27192 (tgamma_test_data): Likewise.
27193 (trunc_test_data): Likewise.
27194 (y0_test_data): Likewise.
27195 (y1_test_data): Likewise.
27196 (yn_test_data): Likewise.
27197 (significand_test_data): Likewise.
27199 * math/gen-libm-test.pl (@functions): Remove variable.
27200 (generate_testfile): Don't handle START and END lines.
27201 * math/libm-test.inc (START): New macro.
27203 (END_COMPLEX): Likewise.
27204 (acos_test): Use END macro without arguments.
27205 (acos_test_tonearest): Likewise.
27206 (acos_test_towardzero): Likewise.
27207 (acos_test_downward): Likewise.
27208 (acos_test_upward): Likewise.
27209 (acosh_test): Likewise.
27210 (asin_test): Likewise.
27211 (asin_test_tonearest): Likewise.
27212 (asin_test_towardzero): Likewise.
27213 (asin_test_downward): Likewise.
27214 (asin_test_upward): Likewise.
27215 (asinh_test): Likewise.
27216 (atan_test): Likewise.
27217 (atanh_test): Likewise.
27218 (atan2_test): Likewise.
27219 (cabs_test): Likewise.
27220 (cacos_test): Use END_COMPLEX macro without arguments.
27221 (cacosh_test): Likewise.
27222 (carg_test): Use END macro without arguments.
27223 (casin_test): Use END_COMPLEX macro without arguments.
27224 (casinh_test): Likewise.
27225 (catan_test): Likewise.
27226 (catanh_test): Likewise.
27227 (cbrt_test): Use END macro without arguments.
27228 (ccos_test): Use END_COMPLEX macro without arguments.
27229 (ccosh_test): Likewise.
27230 (ceil_test): Use END macro without arguments.
27231 (cexp_test): Use END_COMPLEX macro without arguments.
27232 (cimag_test): Use END macro without arguments.
27233 (clog_test): Use END_COMPLEX macro without arguments.
27234 (clog10_test): Likewise.
27235 (conj_test): Likewise.
27236 (copysign_test): Use END macro without arguments.
27237 (cos_test): Likewise.
27238 (cos_test_tonearest): Likewise.
27239 (cos_test_towardzero): Likewise.
27240 (cos_test_downward): Likewise.
27241 (cos_test_upward): Likewise.
27242 (cosh_test): Likewise.
27243 (cosh_test_tonearest): Likewise.
27244 (cosh_test_towardzero): Likewise.
27245 (cosh_test_downward): Likewise.
27246 (cosh_test_upward): Likewise.
27247 (cpow_test): Use END_COMPLEX macro without arguments.
27248 (cproj_test): Likewise.
27249 (creal_test): Use END macro without arguments.
27250 (csin_test): Use END_COMPLEX macro without arguments.
27251 (csinh_test): Likewise.
27252 (csqrt_test): Likewise.
27253 (ctan_test): Likewise.
27254 (ctan_test_tonearest): Likewise.
27255 (ctan_test_towardzero): Likewise.
27256 (ctan_test_downward): Likewise.
27257 (ctan_test_upward): Likewise.
27258 (ctanh_test): Likewise.
27259 (ctanh_test_tonearest): Likewise.
27260 (ctanh_test_towardzero): Likewise.
27261 (ctanh_test_downward): Likewise.
27262 (ctanh_test_upward): Likewise.
27263 (erf_test): Use END macro without arguments.
27264 (erfc_test): Likewise.
27265 (exp_test): Likewise.
27266 (exp_test_tonearest): Likewise.
27267 (exp_test_towardzero): Likewise.
27268 (exp_test_downward): Likewise.
27269 (exp_test_upward): Likewise.
27270 (exp10_test): Likewise.
27271 (exp2_test): Likewise.
27272 (expm1_test): Likewise.
27273 (fabs_test): Likewise.
27274 (fdim_test): Likewise.
27275 (finite_test): Likewise.
27276 (floor_test): Likewise.
27277 (fma_test): Likewise.
27278 (fma_test_towardzero): Likewise.
27279 (fma_test_downward): Likewise.
27280 (fma_test_upward): Likewise.
27281 (fmax_test): Likewise.
27282 (fmin_test): Likewise.
27283 (fmod_test): Likewise.
27284 (fpclassify_test): Likewise.
27285 (frexp_test): Likewise.
27286 (gamma_test): Likewise.
27287 (hypot_test): Likewise.
27288 (ilogb_test): Likewise.
27289 (isfinite_test): Likewise.
27290 (isgreater_test): Likewise.
27291 (isgreaterequal_test): Likewise.
27292 (isinf_test): Likewise.
27293 (isless_test): Likewise.
27294 (islessequal_test): Likewise.
27295 (islessgreater_test): Likewise.
27296 (isnan_test): Likewise.
27297 (isnormal_test): Likewise.
27298 (issignaling_test): Likewise.
27299 (isunordered_test): Likewise.
27300 (j0_test): Likewise.
27301 (j1_test): Likewise.
27302 (jn_test): Likewise.
27303 (ldexp_test): Likewise.
27304 (lgamma_test): Likewise.
27305 (lrint_test): Likewise.
27306 (lrint_test_tonearest): Likewise.
27307 (lrint_test_towardzero): Likewise.
27308 (lrint_test_downward): Likewise.
27309 (lrint_test_upward): Likewise.
27310 (llrint_test): Likewise.
27311 (llrint_test_tonearest): Likewise.
27312 (llrint_test_towardzero): Likewise.
27313 (llrint_test_downward): Likewise.
27314 (llrint_test_upward): Likewise.
27315 (log_test): Likewise.
27316 (log10_test): Likewise.
27317 (log1p_test): Likewise.
27318 (log2_test): Likewise.
27319 (logb_test): Likewise.
27320 (logb_test_downward): Likewise.
27321 (lround_test): Likewise.
27322 (llround_test): Likewise.
27323 (modf_test): Likewise.
27324 (nearbyint_test): Likewise.
27325 (nextafter_test): Likewise.
27326 (nexttoward_test): Likewise.
27327 (pow_test): Likewise.
27328 (pow_test_tonearest): Likewise.
27329 (pow_test_towardzero): Likewise.
27330 (pow_test_downward): Likewise.
27331 (pow_test_upward): Likewise.
27332 (remainder_test): Likewise.
27333 (remainder_test_tonearest): Likewise.
27334 (remainder_test_towardzero): Likewise.
27335 (remainder_test_downward): Likewise.
27336 (remainder_test_upward): Likewise.
27337 (remquo_test): Likewise.
27338 (rint_test): Likewise.
27339 (rint_test_tonearest): Likewise.
27340 (rint_test_towardzero): Likewise.
27341 (rint_test_downward): Likewise.
27342 (rint_test_upward): Likewise.
27343 (round_test): Likewise.
27344 (scalb_test): Likewise.
27345 (scalbn_test): Likewise.
27346 (scalbln_test): Likewise.
27347 (signbit_test): Likewise.
27348 (sin_test): Likewise.
27349 (sin_test_tonearest): Likewise.
27350 (sin_test_towardzero): Likewise.
27351 (sin_test_downward): Likewise.
27352 (sin_test_upward): Likewise.
27353 (sincos_test): Likewise.
27354 (sinh_test): Likewise.
27355 (sinh_test_tonearest): Likewise.
27356 (sinh_test_towardzero): Likewise.
27357 (sinh_test_downward): Likewise.
27358 (sinh_test_upward): Likewise.
27359 (sqrt_test): Likewise.
27360 (tan_test): Likewise.
27361 (tan_test_tonearest): Likewise.
27362 (tan_test_towardzero): Likewise.
27363 (tan_test_downward): Likewise.
27364 (tan_test_upward): Likewise.
27365 (tanh_test): Likewise.
27366 (tgamma_test): Likewise.
27367 (trunc_test): Likewise.
27368 (y0_test): Likewise.
27369 (y1_test): Likewise.
27370 (yn_test): Likewise.
27371 (significand_test): Likewise.
27373 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27376 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27378 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27381 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27382 __ppc_mdoio and __ppc_mdoom.
27383 * manual/platform.texi: Document new functions __ppc_yield,
27384 __ppc_mdoio and __ppc_mdoom.
27386 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27388 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27389 (main): Mention "tls" pseudo-hwcap is legacy.
27390 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27392 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27394 * math/gen-libm-test.pl (parse_args): Output only string of
27395 arguments as text for test name, not full call or descriptions of
27396 tests for extra outputs.
27397 (generate_testfile): Do not pass function name to parse_args.
27398 Generate this_func variable from START.
27399 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27401 (struct test_ff_f_data): Likewise.
27402 (test_ff_f_data_nexttoward): Likewise.
27403 (struct test_fi_f_data): Likewise.
27404 (struct test_fl_f_data): Likewise.
27405 (struct test_if_f_data): Likewise.
27406 (struct test_fff_f_data): Likewise.
27407 (struct test_c_f_data): Likewise.
27408 (struct test_f_f1_data): Likewise. Remove field extra_name.
27409 (struct test_fF_f1_data): Likewise.
27410 (struct test_ffI_f1_data): Likewise.
27411 (struct test_c_c_data): Rename test_name field to arg_str.
27412 (struct test_cc_c_data): Likewise.
27413 (struct test_f_i_data): Likewise.
27414 (struct test_ff_i_data): Likewise.
27415 (struct test_f_l_data): Likewise.
27416 (struct test_f_L_data): Likewise.
27417 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27419 (COMMON_TEST_SETUP): New macro.
27420 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27421 (COMMON_TEST_CLEANUP): Likewise.
27422 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27423 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27425 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27426 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27428 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27429 (RUN_TEST_fff_f): Take argument string. Call new setup and
27431 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27432 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27434 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27435 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27437 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27438 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27440 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27441 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27443 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27444 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27446 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27447 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27449 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27450 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27452 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27453 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27455 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27456 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27458 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27459 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27461 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27462 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27464 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27465 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27467 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27468 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27470 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27471 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27473 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27474 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27476 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27478 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27480 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27481 to _sifields.sigfault.
27482 (si_addr_lsb): Define new macro.
27483 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27484 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27485 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27487 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27490 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27492 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27494 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27495 loading the domain.
27497 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27499 * math/gen-libm-test.pl (parse_args): Do not include expected
27500 result in test name.
27501 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27502 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27503 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27505 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27508 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27510 * benchtests/Makefile: Sort function entries.
27512 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27513 tanh, asinh, acosh, atanh.
27514 * benchtests/acos-inputs: New file.
27515 * benchtests/acosh-inputs: New file.
27516 * benchtests/asin-inputs: New file.
27517 * benchtests/asinh-inputs: New file.
27518 * benchtests/atanh-inputs: New file.
27519 * benchtests/cosh-inputs: New file.
27520 * benchtests/log-inputs: New file.
27521 * benchtests/sinh-inputs: New file.
27522 * benchtests/tanh-inputs: New file.
27524 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27527 * posix/tst-getaddrinfo4.c: New test.
27528 * posix/Makefile (tests): Add it.
27530 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27533 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27534 when no services were used.
27535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27536 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27538 2013-05-21 Andreas Schwab <schwab@suse.de>
27541 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27542 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27544 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27545 redundant variable declarations and reallocation of buffer when
27546 parsing as IPv6 address. Always set NSS status when called from
27547 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27548 buffer too small. Correct computation of needed size.
27549 * nss/Makefile (tests): Add test-digits-dots.
27550 * nss/test-digits-dots.c: New test.
27552 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27554 * benchtests/Makefile: Remove instructions for adding
27556 * benchtests/README: New file to explain how to execute and
27557 enhance the benchmark tests.
27559 2013-05-21 Andreas Schwab <schwab@suse.de>
27562 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27563 * setjmp/tst-sigsetjmp.c: New test.
27565 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27567 * sysdeps/x86_64/memset.S (memset): New implementation.
27568 (__bzero): Likewise.
27569 (__memset_tail): New function.
27571 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27573 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27574 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27575 __memcpy_sse2_unaligned ifunc selection.
27576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27577 Add memcpy-sse2-unaligned.S.
27578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27579 Add: __memcpy_sse2_unaligned.
27581 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27584 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27585 math_force_eval before restoring floating-point envrionment.
27586 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27589 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27591 (__nearbyintl): Use math_force_eval before restoring
27592 floating-point environment.
27593 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27595 * math/gen-libm-test.pl (special_functions): Remove.
27596 (parse_args): Don't handle TEST_extra. Handle functions with no
27598 * math/libm-test.inc (struct test_sincos_data): Replace with
27599 struct test_fFF_11_data.
27600 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27601 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27602 (sincos_test_data): Change element type to struct
27603 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27604 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27605 RUN_TEST_LOOP_sincos.
27606 * math/README.libm-test: Don't mention special handling of
27607 individual functions.
27608 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27610 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27611 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27612 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27615 * math/gen-libm-test.pl (get_variable): Remove function.
27616 (parse_args): Don't show pointer parameters to call in test
27617 names. Use "extra output N" in test names for extra outputs
27618 rather than naming variables.
27620 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27623 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27624 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27625 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27627 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27629 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27632 * math/gen-libm-test.pl (@tests): Remove variable.
27633 ($count): Likewise.
27634 (new_test): Remove function.
27635 (show_exceptions): New function.
27636 (special_functions): Use show_exceptions instead of new_test.
27637 (parse_args): Likewise.
27638 (generate_testfile): Pass only function name in generated call to
27639 print_max_error or print_complex_max_error.
27640 (get_ulps): Do not handle complex tests specially.
27641 (output_test): Rename to ...
27642 (get_all_ulps_for_test): ... this. Return a string rather than
27643 printing to a file. Require ulps to be present.
27644 (output_ulps): Generate arrays rather than #defines.
27645 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27646 (struct ulp_data): New type.
27647 (BUILD_COMPLEX_ULP): Remove macro.
27648 (compare_ulp_data): New function.
27649 (find_ulps): Likewise.
27650 (find_test_ulps): Likewise.
27651 (find_function_ulps): Likewise.
27652 (find_complex_function_ulps): Likewise.
27653 (print_max_error): Determine allowed ulps using
27654 find_function_ulps.
27655 (print_complex_max_error): Determine allowed ulps using
27656 find_complex_function_ulps.
27657 (check_float_internal): Determine max ulps using find_test_ulps.
27658 (check_float): Do not take max_ulp parameter. Update call to
27659 check_float_internal.
27660 (check_complex): Likewise.
27661 (check_int): Do not take max_ulp parameter.
27662 (check_long): Likewise.
27663 (check_bool): Likewise.
27664 (check_longlong): Likewise.
27665 (struct test_f_f_data): Remove max_ulp field.
27666 (struct test_ff_f_data): Likewise.
27667 (struct test_ff_f_data_nexttoward): Likewise.
27668 (struct test_fi_f_data): Likewise.
27669 (struct test_fl_f_data): Likewise.
27670 (struct test_if_f_data): Likewise.
27671 (struct test_fff_f_data): Likewise.
27672 (struct test_c_f_data): Likewise.
27673 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27674 (struct test_fF_f1_data): Likewise.
27675 (struct test_ffI_f1_data): Likewise.
27676 (struct test_c_c_data): Remove max_ulp field.
27677 (struct test_cc_c_data): Likewise.
27678 (struct test_f_i_data): Likewise.
27679 (struct test_ff_i_data): Likewise.
27680 (struct test_f_l_data): Likewise.
27681 (struct test_f_L_data): Likewise.
27682 (struct test_sincos_data): Likewise.
27683 (RUN_TEST_f_f): Do not handle ulps.
27684 (RUN_TEST_LOOP_f_f): Likewise.
27685 (RUN_TEST_2_f): Likewise.
27686 (RUN_TEST_LOOP_2_f): Likewise.
27687 (RUN_TEST_fff_f): Likewise.
27688 (RUN_TEST_LOOP_fff_f): Likewise.
27689 (RUN_TEST_c_f): Likewise.
27690 (RUN_TEST_LOOP_c_f): Likewise.
27691 (RUN_TEST_f_f1): Likewise.
27692 (RUN_TEST_LOOP_f_f1): Likewise.
27693 (RUN_TEST_fF_f1): Likewise.
27694 (RUN_TEST_LOOP_fF_f1): Likewise.
27695 (RUN_TEST_fI_f1): Likewise.
27696 (RUN_TEST_LOOP_fI_f1): Likewise.
27697 (RUN_TEST_ffI_f1): Likewise.
27698 (RUN_TEST_LOOP_ffI_f1): Likewise.
27699 (RUN_TEST_c_c): Likewise.
27700 (RUN_TEST_LOOP_c_c): Likewise.
27701 (RUN_TEST_cc_c): Likewise.
27702 (RUN_TEST_LOOP_cc_c): Likewise.
27703 (RUN_TEST_f_i): Likewise.
27704 (RUN_TEST_LOOP_f_i): Likewise.
27705 (RUN_TEST_f_i_tg): Likewise.
27706 (RUN_TEST_LOOP_f_i_tg): Likewise.
27707 (RUN_TEST_ff_i_tg): Likewise.
27708 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27709 (RUN_TEST_f_b): Likewise.
27710 (RUN_TEST_LOOP_f_b): Likewise.
27711 (RUN_TEST_f_b_tg): Likewise.
27712 (RUN_TEST_LOOP_f_b_tg): Likewise.
27713 (RUN_TEST_f_l): Likewise.
27714 (RUN_TEST_LOOP_f_l): Likewise.
27715 (RUN_TEST_f_L): Likewise.
27716 (RUN_TEST_LOOP_f_L): Likewise.
27717 (RUN_TEST_sincos): Likewise.
27718 (RUN_TEST_LOOP_sincos): Likewise.
27720 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27724 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27725 main case of finite arguments, set rounding mode to FE_TONEAREST
27726 and discard exceptions.
27727 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27729 (remainder_tonearest_test_data): New variable.
27730 (remainder_test_tonearest): New function.
27731 (remainder_towardzero_test_data): New variable.
27732 (remainder_test_towardzero): New function.
27733 (remainder_downward_test_data): New variable.
27734 (remainder_test_downward): New function.
27735 (remainder_upward_test_data): New variable.
27736 (remainder_test_upward): New function.
27737 (main): Call the new test functions.
27739 * math/libm-test.inc (struct test_f_f1_data): Remove field
27741 (struct test_fF_f1_data): Likewise.
27742 (struct test_ffI_f1_data): Likewise.
27743 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27744 based on value of EXTRA_EXPECTED.
27745 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27746 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27747 EXTRA_VAR based on value of EXTRA_EXPECTED.
27748 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27749 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27750 EXTRA_VAR based on value of EXTRA_EXPECTED.
27751 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27752 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27753 EXTRA_VAR based on value of EXTRA_EXPECTED.
27754 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27755 * math/gen-libm-test.pl (parse_args): Don't output initializers
27756 for extra output values.
27758 * math/libm-test.inc (check_int): Expect result to be exactly
27759 equal to expected value and do not handle ulps.
27760 (check_long): Likewise.
27761 (check_longlong): Likewise.
27763 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27765 (cimag_test_data): Likewise.
27766 (conj_test_data): Likewise.
27767 (copysign_test_data): Likewise.
27768 (cproj_test_data): Likewise.
27769 (creal_test_data): Likewise.
27770 (fabs_test_data): Likewise.
27771 (fdim_test_data): Likewise.
27772 (finite_test_data): Likewise.
27773 (floor_test_data): Likewise.
27774 (fmax_test_data): Likewise.
27775 (fmin_test_data): Likewise.
27776 (fmod_test_data): Likewise.
27777 (fpclassify_test_data): Likewise.
27778 (frexp_test_data): Likewise.
27779 (ilogb_test_data): Likewise.
27780 (isfinite_test_data): Likewise.
27781 (isgreater_test_data): Likewise.
27782 (isgreaterequal_test_data): Likewise.
27783 (isinf_test_data): Likewise.
27784 (isless_test_data): Likewise.
27785 (islessequal_test_data): Likewise.
27786 (islessgreater_test_data): Likewise.
27787 (isnan_test_data): Likewise.
27788 (isnormal_test_data): Likewise.
27789 (issignaling_test_data): Likewise.
27790 (isunordered_test_data): Likewise.
27791 (ldexp_test_data): Likewise.
27792 (lrint_test_data): Likewise.
27793 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27794 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27795 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27796 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27797 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27798 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27800 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27801 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27802 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27803 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27805 (lrint_downward_test_data): Test for "inexact" exceptions.
27806 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27807 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27808 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27810 (lrint_upward_test_data): Test for "inexact" exceptions.
27811 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27813 (llrint_test_data): Test for "inexact" exceptions.
27814 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27815 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27816 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27817 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27818 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27819 (llrint_downward_test_data): Test for "inexact" exceptions.
27820 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27821 (llrint_upward_test_data): Test for "inexact" exceptions.
27822 (logb_test_data): Likewise.
27823 (logb_downward_test_data): Likewise.
27824 (nextafter_test_data): Likewise.
27825 (nexttoward_test_data): Likewise.
27826 (remainder_test_data): Likewise.
27827 (remquo_test_data): Likewise.
27828 (scalbn_test_data): Likewise.
27829 (scalbln_test_data): Likewise.
27830 (signbit_test_data): Likewise.
27831 (sqrt_test_data): Likewise.
27832 (significand_test_data): Likewise.
27834 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27837 * benchtests/bench-modf.c (struct args): Mark arg0 as
27839 * scripts/bench.pl: Mark members of struct args as volatile.
27841 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27844 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27845 negative infinity on POWER6 or lower.
27846 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27848 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27851 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27852 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27853 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27854 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27855 (_FP_SETQNAN): New macro.
27856 (_FP_SETQNAN_SEMIRAW): Likewise.
27857 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27858 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27859 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27860 (FP_EXTEND): Use _FP_FRAC_SNANP.
27861 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27862 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27869 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27871 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27872 with DIVIDE_BY_ZERO_EXCEPTION.
27873 (gamma_test_data): Likewise.
27874 (lgamma_test_data): Likewise.
27875 (log_test_data): Likewise.
27876 (log10_test_data): Likewise.
27877 (log2_test_data): Likewise.
27878 (tgamma_test_data): Likewise.
27880 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27881 (acos_test_tonearest): Likewise.
27882 (acos_test_towardzero): Likewise.
27883 (acos_test_downward): Likewise.
27884 (acos_test_upward): Likewise.
27885 (acosh_test): Likewise.
27886 (asin_test): Likewise.
27887 (asin_test_tonearest): Likewise.
27888 (asin_test_towardzero): Likewise.
27889 (asin_test_downward): Likewise.
27890 (asin_test_upward): Likewise.
27891 (asinh_test): Likewise.
27892 (atan_test): Likewise.
27893 (atanh_test): Likewise.
27894 (atan2_test): Likewise.
27895 (cabs_test): Likewise.
27896 (cacos_test): Likewise.
27897 (cacosh_test): Likewise.
27898 (casin_test): Likewise.
27899 (casinh_test): Likewise.
27900 (catan_test): Likewise.
27901 (catanh_test): Likewise.
27902 (cbrt_test): Likewise.
27903 (ccos_test): Likewise.
27904 (ccosh_test): Likewise.
27905 (cexp_test): Likewise.
27906 (clog_test): Likewise.
27907 (clog10_test): Likewise.
27908 (cos_test): Likewise.
27909 (cos_test_tonearest): Likewise.
27910 (cos_test_towardzero): Likewise.
27911 (cos_test_downward): Likewise.
27912 (cos_test_upward): Likewise.
27913 (cosh_test): Likewise.
27914 (cosh_test_tonearest): Likewise.
27915 (cosh_test_towardzero): Likewise.
27916 (cosh_test_downward): Likewise.
27917 (cosh_test_upward): Likewise.
27918 (cpow_test): Likewise.
27919 (csin_test): Likewise.
27920 (csinh_test): Likewise.
27921 (csqrt_test): Likewise.
27922 (ctan_test): Likewise.
27923 (ctan_test_tonearest): Likewise.
27924 (ctan_test_towardzero): Likewise.
27925 (ctan_test_downward): Likewise.
27926 (ctan_test_upward): Likewise.
27927 (ctanh_test): Likewise.
27928 (ctanh_test_tonearest): Likewise.
27929 (ctanh_test_towardzero): Likewise.
27930 (ctanh_test_downward): Likewise.
27931 (ctanh_test_upward): Likewise.
27932 (erf_test): Likewise.
27933 (erfc_test): Likewise.
27934 (exp_test): Likewise.
27935 (exp_test_tonearest): Likewise.
27936 (exp_test_towardzero): Likewise.
27937 (exp_test_downward): Likewise.
27938 (exp_test_upward): Likewise.
27939 (exp10_test): Likewise.
27940 (exp2_test): Likewise.
27941 (expm1_test): Likewise.
27942 (fmod_test): Likewise.
27943 (gamma_test): Likewise.
27944 (hypot_test): Likewise.
27945 (j0_test): Likewise.
27946 (j1_test): Likewise.
27947 (jn_test): Likewise.
27948 (lgamma_test): Likewise.
27949 (log_test): Likewise.
27950 (log10_test): Likewise.
27951 (log1p_test): Likewise.
27952 (log2_test): Likewise.
27953 (logb_test_downward): Likewise.
27954 (pow_test): Likewise.
27955 (pow_test_tonearest): Likewise.
27956 (pow_test_towardzero): Likewise.
27957 (pow_test_downward): Likewise.
27958 (pow_test_upward): Likewise.
27959 (remainder_test): Likewise.
27960 (remquo_test): Likewise.
27961 (sin_test): Likewise.
27962 (sin_test_tonearest): Likewise.
27963 (sin_test_towardzero): Likewise.
27964 (sin_test_downward): Likewise.
27965 (sin_test_upward): Likewise.
27966 (sincos_test): Likewise.
27967 (sinh_test): Likewise.
27968 (sinh_test_tonearest): Likewise.
27969 (sinh_test_towardzero): Likewise.
27970 (sinh_test_downward): Likewise.
27971 (sinh_test_upward): Likewise.
27972 (sqrt_test): Likewise.
27973 (tan_test): Likewise.
27974 (tan_test_tonearest): Likewise.
27975 (tan_test_towardzero): Likewise.
27976 (tan_test_downward): Likewise.
27977 (tan_test_upward): Likewise.
27978 (tanh_test): Likewise.
27979 (tgamma_test): Likewise.
27980 (y0_test): Likewise.
27981 (y1_test): Likewise.
27982 (yn_test): Likewise.
27984 * math/gen-libm-test.pl (adjust_arg): Remove function.
27985 (special_function): Remove argument $in_func. Only handle
27986 generating output for tables of tests, not inside functions.
27987 (parse_args): Likewise.
27988 (generate_testfile): Remove variable $in_func. Update call to
27990 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27991 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27992 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27993 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27994 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27995 (MAX_VALUE_INIT): Rename macro to max_value.
27996 (MIN_VALUE_INIT): Rename macro to min_value.
27997 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27998 (plus_zero): Remove variable.
27999 (minus_zero): Likewise.
28000 (plus_infty): Likewise.
28001 (minus_infty): Likewise.
28002 (qnan_value): Likewise.
28003 (max_value): Likewise.
28004 (min_value): Likewise.
28005 (min_subnorm_value): Likewise.
28007 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28009 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28010 uint64_t or uint32_t usage.
28011 * crypt/sha256-block.c: Likewise.
28012 * crypt/sha256-crypt.c: Likewise.
28013 * crypt/sha256.c: Likewise.
28014 * crypt/sha512-block.c: Likewise.
28015 * crypt/sha512-crypt.c: Likewise.
28016 * crypt/sha512.c: Likewise.
28017 * debug/backtrace-tst.c: Likewise.
28018 * debug/pcprofiledump.c: Likewise.
28019 * elf/cache.c: Likewise.
28020 * elf/dl-cache.c: Likewise.
28021 * elf/dl-misc.c: Likewise.
28022 * elf/dl-profile.c: Likewise.
28023 * elf/dl-support.c: Likewise.
28024 * elf/ldconfig.c: Likewise.
28025 * elf/sprof.c: Likewise.
28026 * iconv/dummy-repertoire.c: Likewise.
28027 * iconv/iconv_charmap.c: Likewise.
28028 * iconv/skeleton.c: Likewise.
28029 * iconvdata/8bit-generic.c: Likewise.
28030 * iconvdata/cp737.h: Likewise.
28031 * iconvdata/cp775.h: Likewise.
28032 * iconvdata/ibm1008.h: Likewise.
28033 * iconvdata/ibm1025.h: Likewise.
28034 * iconvdata/ibm1046.h: Likewise.
28035 * iconvdata/ibm1097.h: Likewise.
28036 * iconvdata/ibm1112.h: Likewise.
28037 * iconvdata/ibm1122.h: Likewise.
28038 * iconvdata/ibm1123.h: Likewise.
28039 * iconvdata/ibm1124.h: Likewise.
28040 * iconvdata/ibm1129.h: Likewise.
28041 * iconvdata/ibm1130.h: Likewise.
28042 * iconvdata/ibm1132.h: Likewise.
28043 * iconvdata/ibm1133.h: Likewise.
28044 * iconvdata/ibm1137.h: Likewise.
28045 * iconvdata/ibm1140.h: Likewise.
28046 * iconvdata/ibm1141.h: Likewise.
28047 * iconvdata/ibm1142.h: Likewise.
28048 * iconvdata/ibm1143.h: Likewise.
28049 * iconvdata/ibm1144.h: Likewise.
28050 * iconvdata/ibm1145.h: Likewise.
28051 * iconvdata/ibm1146.h: Likewise.
28052 * iconvdata/ibm1147.h: Likewise.
28053 * iconvdata/ibm1148.h: Likewise.
28054 * iconvdata/ibm1149.h: Likewise.
28055 * iconvdata/ibm1153.h: Likewise.
28056 * iconvdata/ibm1154.h: Likewise.
28057 * iconvdata/ibm1155.h: Likewise.
28058 * iconvdata/ibm1156.h: Likewise.
28059 * iconvdata/ibm1157.h: Likewise.
28060 * iconvdata/ibm1158.h: Likewise.
28061 * iconvdata/ibm1160.h: Likewise.
28062 * iconvdata/ibm1161.h: Likewise.
28063 * iconvdata/ibm1162.h: Likewise.
28064 * iconvdata/ibm1163.h: Likewise.
28065 * iconvdata/ibm1164.h: Likewise.
28066 * iconvdata/ibm1166.h: Likewise.
28067 * iconvdata/ibm1167.h: Likewise.
28068 * iconvdata/ibm12712.h: Likewise.
28069 * iconvdata/ibm1390.h: Likewise.
28070 * iconvdata/ibm1399.h: Likewise.
28071 * iconvdata/ibm16804.h: Likewise.
28072 * iconvdata/ibm4517.h: Likewise.
28073 * iconvdata/ibm4899.h: Likewise.
28074 * iconvdata/ibm4909.h: Likewise.
28075 * iconvdata/ibm4971.h: Likewise.
28076 * iconvdata/ibm5347.h: Likewise.
28077 * iconvdata/ibm803.h: Likewise.
28078 * iconvdata/ibm856.h: Likewise.
28079 * iconvdata/ibm901.h: Likewise.
28080 * iconvdata/ibm902.h: Likewise.
28081 * iconvdata/ibm9030.h: Likewise.
28082 * iconvdata/ibm9066.h: Likewise.
28083 * iconvdata/ibm921.h: Likewise.
28084 * iconvdata/ibm922.h: Likewise.
28085 * iconvdata/ibm9448.h: Likewise.
28086 * iconvdata/isiri-3342.h: Likewise.
28087 * iconvdata/jis0201.h: Likewise.
28088 * include/link.h: Likewise.
28089 * include/netdb.h: Likewise.
28090 * inet/check_native.c: Likewise.
28091 * inet/check_pf.c: Likewise.
28092 * inet/getipv4sourcefilter.c: Likewise.
28093 * inet/getnameinfo.c: Likewise.
28094 * inet/getsourcefilter.c: Likewise.
28095 * inet/htonl.c: Likewise.
28096 * inet/setipv4sourcefilter.c: Likewise.
28097 * inet/setsourcefilter.c: Likewise.
28098 * inet/test-inet6_opt.c: Likewise.
28099 * inet/tst-network.c: Likewise.
28100 * locale/C-collate.c: Likewise.
28101 * locale/C-ctype.c: Likewise.
28102 * locale/C-time.c: Likewise.
28103 * locale/C-translit.h: Likewise.
28104 * locale/loadarchive.c: Likewise.
28105 * locale/programs/3level.h: Likewise.
28106 * locale/programs/charmap.c: Likewise.
28107 * locale/programs/charmap.h: Likewise.
28108 * locale/programs/ld-address.c: Likewise.
28109 * locale/programs/ld-collate.c: Likewise.
28110 * locale/programs/ld-ctype.c: Likewise.
28111 * locale/programs/ld-identification.c: Likewise.
28112 * locale/programs/ld-measurement.c: Likewise.
28113 * locale/programs/ld-messages.c: Likewise.
28114 * locale/programs/ld-monetary.c: Likewise.
28115 * locale/programs/ld-name.c: Likewise.
28116 * locale/programs/ld-numeric.c: Likewise.
28117 * locale/programs/ld-paper.c: Likewise.
28118 * locale/programs/ld-telephone.c: Likewise.
28119 * locale/programs/ld-time.c: Likewise.
28120 * locale/programs/linereader.c: Likewise.
28121 * locale/programs/locale.c: Likewise.
28122 * locale/programs/locarchive.c: Likewise.
28123 * locale/programs/locfile.h: Likewise.
28124 * locale/programs/repertoire.c: Likewise.
28125 * locale/programs/simple-hash.c: Likewise.
28126 * locale/programs/simple-hash.h: Likewise.
28127 * malloc/memusage.c: Likewise.
28128 * malloc/memusagestat.c: Likewise.
28129 * nis/nis_defaults.c: Likewise.
28130 * nis/nis_hash.c: Likewise.
28131 * nis/nis_print.c: Likewise.
28132 * nis/nis_xdr.c: Likewise.
28133 * nscd/connections.c: Likewise.
28134 * nscd/hstcache.c: Likewise.
28135 * nscd/nscd_gethst_r.c: Likewise.
28136 * nscd/nscd_getserv_r.c: Likewise.
28137 * nscd/nscd_helper.c: Likewise.
28138 * nscd/servicescache.c: Likewise.
28139 * nss/makedb.c: Likewise.
28140 * nss/nss_db/db-XXX.c: Likewise.
28141 * nss/nss_db/db-initgroups.c: Likewise.
28142 * nss/nss_db/db-netgrp.c: Likewise.
28143 * nss/nss_files/files-network.c: Likewise.
28144 * nss/nss_files/files-parse.c: Likewise.
28145 * posix/bug-regex5.c: Likewise.
28146 * posix/fnmatch_loop.c: Likewise.
28147 * posix/regcomp.c: Likewise.
28148 * posix/regexec.c: Likewise.
28149 * posix/tst-rfc3484-2.c: Likewise.
28150 * posix/tst-rfc3484-3.c: Likewise.
28151 * posix/tst-rfc3484.c: Likewise.
28152 * resolv/nss_dns/dns-canon.c: Likewise.
28153 * resolv/nss_dns/dns-network.c: Likewise.
28154 * resolv/res_init.c: Likewise.
28155 * resolv/res_mkquery.c: Likewise.
28156 * resolv/tst-aton.c: Likewise.
28157 * stdlib/cxa_atexit.c: Likewise.
28158 * stdlib/cxa_finalize.c: Likewise.
28159 * stdlib/gen-fpioconst.c: Likewise.
28160 * stdlib/strtol_l.c: Likewise.
28161 * string/tst-endian.c: Likewise.
28162 * sunrpc/auth_des.c: Likewise.
28163 * sunrpc/clnt_udp.c: Likewise.
28164 * sunrpc/rtime.c: Likewise.
28165 * sunrpc/svcauth_des.c: Likewise.
28166 * sunrpc/xdr.c: Likewise.
28167 * sunrpc/xdr_intXX_t.c: Likewise.
28168 * sunrpc/xdr_rec.c: Likewise.
28169 * sysdeps/generic/ldconfig.h: Likewise.
28170 * sysdeps/generic/ldsodefs.h: Likewise.
28171 * sysdeps/generic/memusage.h: Likewise.
28172 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28173 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28174 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28178 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28179 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28182 * sysdeps/posix/getaddrinfo.c: Likewise.
28183 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28184 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28185 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28186 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28187 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28188 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28189 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28190 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28191 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28192 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28193 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28194 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28195 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28196 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28197 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28198 * sysdeps/x86_64/dl-tls.h: Likewise.
28199 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28200 * time/alt_digit.c: Likewise.
28201 * time/era.c: Likewise.
28202 * wcsmbs/tst-c16c32-1.c: Likewise.
28204 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28206 * math/libm-test.inc (struct test_sincos_data): New type.
28207 (RUN_TEST_LOOP_sincos): New macro.
28208 (sincos_test_data): New variable.
28209 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28211 2013-05-16 Richard Henderson <rth@redhat.com>
28213 * math/atest-exp2.c (LIMB64): New macro.
28214 (CONSTSZ): New macro.
28215 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28217 (print_mpn_fp): ... to function scope.
28218 (read_mpn_hex): Remove.
28219 (get_log2): Remove.
28220 (exp2_mpn): Use mp_log2.
28221 (main): Use mp_exp1.
28223 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28225 * math/libm-test.inc: Remove comment about not testing "inexact"
28227 (INEXACT_EXCEPTION): New macro.
28228 (NO_INEXACT_EXCEPTION): Likewise.
28229 (INVALID_EXCEPTION_OK): Update value.
28230 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28231 (OVERFLOW_EXCEPTION_OK): Likewise.
28232 (UNDERFLOW_EXCEPTION_OK): Likewise.
28233 (IGNORE_ZERO_INF_SIGN): Likewise.
28234 (ERRNO_UNCHANGED): Likewise.
28235 (ERRNO_EDOM): Likewise.
28236 (ERRNO_ERANGE): Likewise.
28237 (test_exceptions): Handle testing "inexact" exceptions.
28238 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28239 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28240 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28241 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28243 (rint_towardzero_test_data): Likewise.
28244 (rint_downward_test_data): Likewise.
28245 (rint_upward_test_data): Likewise.
28247 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28248 with OVERFLOW_EXCEPTION.
28249 (exp10_test_data): Likewise.
28250 (exp2_test_data): Likewise.
28251 (expm1_test_data): Likewise.
28252 (lgamma_test_data): Likewise.
28253 (pow_test_data): Likewise.
28254 (tgamma_test_data): Likewise.
28255 (yn_test_data): Remove duplicate test of overflow.
28257 * math/libm-test.inc (struct test_cc_c_data): New type.
28258 (RUN_TEST_LOOP_cc_c): New macro.
28259 (cpow_test_data): New variable.
28260 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28262 * math/libm-test.inc (struct test_f_L_data): New type.
28263 (RUN_TEST_LOOP_f_L): New macro.
28264 (llrint_test_data): New variable.
28265 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28266 (llrint_tonearest_test_data): New variable.
28267 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28268 (llrint_towardzero_test_data): New variable.
28269 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28270 (llrint_downward_test_data): New variable.
28271 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28272 (llrint_upward_test_data): New variable.
28273 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28274 (llround_test_data): New variable.
28275 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28277 2013-05-13 Peter Collingbourne <pcc@google.com>
28279 * math/atest-exp2.c (get_log2): Remove const attribute.
28281 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28283 * math/libm-test.inc (struct test_f_l_data): New type.
28284 (RUN_TEST_LOOP_f_l): New macro.
28285 (lrint_test_data): New variable.
28286 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28287 (lrint_tonearest_test_data): New variable.
28288 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28289 (lrint_towardzero_test_data): New variable.
28290 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28291 (lrint_downward_test_data): New variable.
28292 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28293 (lrint_upward_test_data): New variable.
28294 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28295 (lround_test_data): New variable.
28296 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28298 2013-05-15 Peter Collingbourne <pcc@google.com>
28300 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28301 (EXTRACT_WORDS64) Use where appropriate.
28302 (INSERT_WORDS64) Likewise.
28304 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28305 constraints with x constraints.
28306 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28308 * malloc/obstack.c (_obstack_compat): Add initializer.
28310 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28312 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28313 si_trapno and add si_addr_lsb to _sifields.sigfault.
28314 (si_trapno): Remove macro.
28315 (si_addr_lsb): Define new macro.
28316 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28318 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28320 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28321 instead of TEST_f_l.
28322 (llrint_test_tonearest): Likewise.
28323 (llrint_test_towardzero): Likewise.
28324 (llrint_test_downward): Likewise.
28325 (llrint_test_upward): Likewise.
28326 (llround_test): Likewise.
28328 * math/libm-test.inc (struct test_f_i_data): Add comment.
28329 (RUN_TEST_LOOP_f_b): New macro.
28330 (RUN_TEST_LOOP_f_b_tg): Likewise.
28331 (finite_test_data): New variable.
28332 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28333 (isfinite_test_data): New variable.
28334 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28335 (isinf_test_data): New variable.
28336 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28337 (isnan_test_data): New variable.
28338 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28339 (isnormal_test_data): New variable.
28340 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28341 (issignaling_test_data): New variable.
28342 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28343 (signbit_test_data): New variable.
28344 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28346 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28347 with INVALID_EXCEPTION.
28348 (acosh_test_data): Likewise.
28349 (asin_test_data): Likewise.
28350 (atanh_test_data): Likewise.
28351 (fmod_test_data): Likewise.
28352 (log_test_data): Likewise.
28353 (log10_test_data): Likewise.
28354 (log2_test_data): Likewise.
28355 (pow_test_data): Likewise.
28356 (sqrt_test_data): Likewise.
28357 (y0_test_data): Likewise.
28358 (y1_test_data): Likewise.
28359 (yn_test_data): Likewise.
28361 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28364 * math/libm-test.inc (struct test_ff_i_data): New type.
28365 (RUN_TEST_LOOP_ff_i_tg): New macro.
28366 (isgreater_test_data): New variable.
28367 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28368 (isgreaterequal_test_data): New variable.
28369 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28370 (isless_test_data): New variable.
28371 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28372 (islessequal_test_data): New variable.
28373 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28374 (islessgreater_test_data): New variable.
28375 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28376 (isunordered_test_data): New variable.
28377 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28379 2013-05-14 David S. Miller <davem@davemloft.net>
28381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28383 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28385 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28387 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28389 (struct test_f_i_data): Change type of max_ulp to int.
28391 * math/libm-test.inc (test_ffI_f1_data): New type.
28392 (RUN_TEST_LOOP_ffI_f1): New macro.
28393 (remquo_test_data): New variable.
28394 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28396 * setjmp/tst-setjmp-fp.c: New file.
28397 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28398 (link-libm): New variable.
28399 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28401 * math/libm-test.inc (struct test_f_i_data): New type.
28402 (RUN_TEST_LOOP_f_i): New macro.
28403 (RUN_TEST_LOOP_f_i_tg): Likewise.
28404 (fpclassify_test_data): New variable.
28405 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28406 (ilogb_test_data): New variable.
28407 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28409 * math/libm-test.inc (scalbln_test): Correct function name in END
28412 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28413 (RUN_TEST_LOOP_fI_f1): New macro.
28414 (frexp_test_data): New variable.
28415 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28417 * math/libm-test.inc (struct test_fF_f1_data): New type.
28418 (RUN_TEST_LOOP_fF_f1): New macro.
28419 (modf_test_data): New variable.
28420 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28422 * math/libm-test.inc (struct test_f_f1_data): New type.
28423 (RUN_TEST_LOOP_f_f1): New macro.
28424 (gamma_test_data): New variable.
28425 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28426 (lgamma_test_data): New variable.
28427 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28429 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28431 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28432 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28433 (main): Comment "tls" pseudo-hwcap.
28435 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28437 * math/libm-test.inc (struct test_fl_f_data): New type.
28438 (RUN_TEST_LOOP_fl_f): New variable.
28439 (scalbln_test_data): New variable.
28440 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28442 * math/libm-test.inc (struct test_fi_f_data): New type.
28443 (RUN_TEST_LOOP_fi_f): New macro.
28444 (ldexp_test_data): New variable.
28445 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28446 (scalbn_test_data): New variable.
28447 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28449 * math/libm-test.inc (struct test_c_f_data): New type.
28450 (RUN_TEST_LOOP_c_f): New macro.
28451 (cabs_test_data): New variable.
28452 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28453 (carg_test_data): New variable.
28454 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28455 (cimag_test_data): New variable.
28456 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28457 (creal_test_data): New variable.
28458 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28460 * math/libm-test.inc (struct test_if_f_data): New type.
28461 (RUN_TEST_LOOP_if_f): New macro.
28462 (jn_test_data): New variable.
28463 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28464 (yn_test_data): New variable.
28465 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28467 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28469 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28471 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28472 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28474 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28476 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28477 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28478 (bench-deps): Add bench-timing.h.
28479 * benchtests-bench-skeleton.c: Include bench-timing.h.
28480 (main): Use TIMING_* macros instead of clock_gettime.
28481 * benchtests/bench-timing.h: New file.
28484 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28485 Renamed from _LIB_VERSION.
28486 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28488 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28490 * math/libm-test.inc (struct test_fff_f_data): New type.
28491 (RUN_TEST_LOOP_fff_f): New macro.
28492 (fma_test_data): New variable.
28493 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28494 (fma_towardzero_test_data): New variable.
28495 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28496 (fma_downward_test_data): New variable.
28497 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28498 (fma_upward_test_data): New variable.
28499 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28501 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28502 (struct test_c_c_data): New type.
28503 (RUN_TEST_LOOP_c_c): New macro.
28504 (cacos_test_data): New variable.
28505 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28506 (cacosh_test_data): New variable.
28507 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28508 (casin_test_data): New variable.
28509 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28510 (casinh_test_data): New variable.
28511 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28512 (catan_test_data): New variable.
28513 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28514 (catanh_test_data): New variable.
28515 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28516 (ccos_test_data): New variable.
28517 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28518 (ccosh_test_data): New variable.
28519 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28520 (cexp_test_data): New variable.
28521 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28522 (clog_test_data): New variable.
28523 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28524 (clog10_test_data): New variable.
28525 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28526 (conj_test_data): New variable.
28527 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28528 (cproj_test_data): New variable.
28529 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28530 (csin_test_data): New variable.
28531 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28532 (csinh_test_data): New variable.
28533 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28534 (csqrt_test_data): New variable.
28535 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28536 (ctan_test_data): New variable.
28537 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28538 (ctan_tonearest_test_data): New variable.
28539 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28540 (ctan_towardzero_test_data): New variable.
28541 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28542 (ctan_downward_test_data): New variable.
28543 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28544 (ctan_upward_test_data): New variable.
28545 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28546 (ctanh_test_data): New variable.
28547 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28548 (ctanh_tonearest_test_data): New variable.
28549 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28550 (ctanh_towardzero_test_data): New variable.
28551 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28552 (ctanh_downward_test_data): New variable.
28553 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28554 (ctanh_upward_test_data): New variable.
28555 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28556 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28559 * math/libm-test.inc (struct test_ff_f_data): New type.
28560 (struct test_ff_f_data_nexttoward): Likewise.
28561 (RUN_TEST_LOOP_2_f): New macro.
28562 (RUN_TEST_LOOP_ff_f): Likewise.
28563 (atan2_test_data): New variable.
28564 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28565 (copysign_test_data): New variable.
28566 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28567 (fdim_test_data): New variable.
28568 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28569 (fmax_test_data): New variable.
28570 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28571 (fmin_test_data): New variable.
28572 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28573 (fmod_test_data): New variable.
28574 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28575 (hypot_test_data): New variable.
28576 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28577 (nextafter_test_data): New variable.
28578 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28579 (nexttoward_test_data): New variable.
28580 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28581 (pow_test_data): New variable.
28582 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28583 (pow_tonearest_test_data): New variable.
28584 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28585 (pow_towardzero_test_data): New variable.
28586 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28587 (pow_downward_test_data): New variable.
28588 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28589 (pow_upward_test_data): New variable.
28590 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28591 (remainder_test_data): New variable.
28592 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28593 (scalb_test_data): New variable.
28594 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28595 * sysdeps/i386/fpu/libm-test-ulps: Update.
28597 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28599 * math/libm-test.inc (fma_test): Use max_value instead of local
28601 (nextafter_test): Likewise.
28603 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28604 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28605 (acos_downward_test_data): New variable.
28606 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28607 (acos_upward_test_data): New variable.
28608 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28609 (acosh_test_data): New variable.
28610 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28611 (asin_test_data): New variable.
28612 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28613 (asin_tonearest_test_data): New variable.
28614 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28615 (asin_towardzero_test_data): New variable.
28616 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28617 (asin_downward_test_data): New variable.
28618 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28619 (asin_upward_test_data): New variable.
28620 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28621 (asinh_test_data): New variable.
28622 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28623 (atan_test_data): New variable.
28624 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28625 (atanh_test_data): New variable.
28626 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28627 (cbrt_test_data): New variable.
28628 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28629 (ceil_test_data): New variable.
28630 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28631 (cos_test_data): New variable.
28632 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28633 (cos_tonearest_test_data): New variable.
28634 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28635 (cos_towardzero_test_data): New variable.
28636 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28637 (cos_downward_test_data): New variable.
28638 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28639 (cos_upward_test_data): New variable.
28640 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28641 (cosh_test_data): New variable.
28642 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28643 (cosh_tonearest_test_data): New variable.
28644 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28645 (cosh_towardzero_test_data): New variable.
28646 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28647 (cosh_downward_test_data): New variable.
28648 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28649 (cosh_upward_test_data): New variable.
28650 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28651 (erf_test_data): New variable.
28652 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28653 (erfc_test_data): New variable.
28654 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28655 (exp_test_data): New variable.
28656 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28657 (exp_tonearest_test_data): New variable.
28658 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28659 (exp_towardzero_test_data): New variable.
28660 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28661 (exp_downward_test_data): New variable.
28662 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28663 (exp_upward_test_data): New variable.
28664 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28665 (exp10_test_data): New variable.
28666 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28667 (exp2_test_data): New variable.
28668 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28669 (expm1_test_data): New variable.
28670 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28671 (fabs_test_data): New variable.
28672 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28673 (floor_test_data): New variable.
28674 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28675 (j0_test_data): New variable.
28676 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28677 (j1_test_data): New variable.
28678 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28679 (log_test_data): New variable.
28680 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28681 (log10_test_data): New variable.
28682 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28683 (log1p_test_data): New variable.
28684 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28685 (log2_test_data): New variable.
28686 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28687 (logb_test_data): New variable.
28688 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28689 (logb_downward_test_data): New variable.
28690 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28691 (nearbyint_test_data): New variable.
28692 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28693 (rint_test_data): New variable.
28694 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28695 (rint_tonearest_test_data): New variable.
28696 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28697 (rint_towardzero_test_data): New variable.
28698 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28699 (rint_downward_test_data): New variable.
28700 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28701 (rint_upward_test_data): New variable.
28702 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28703 (round_test_data): New variable.
28704 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28705 (sin_test_data): New variable.
28706 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28707 (sin_tonearest_test_data): New variable.
28708 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28709 (sin_towardzero_test_data): New variable.
28710 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28711 (sin_downward_test_data): New variable.
28712 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28713 (sin_upward_test_data): New variable.
28714 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28715 (sinh_test_data): New variable.
28716 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28717 (sinh_tonearest_test_data): New variable.
28718 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28719 (sinh_towardzero_test_data): New variable.
28720 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28721 (sinh_downward_test_data): New variable.
28722 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28723 (sinh_upward_test_data): New variable.
28724 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28725 (sqrt_test_data): New variable.
28726 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28727 (tan_test_data): New variable.
28728 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28729 (tan_tonearest_test_data): New variable.
28730 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28731 (tan_towardzero_test_data): New variable.
28732 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28733 (tan_downward_test_data): New variable.
28734 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28735 (tan_upward_test_data): New variable.
28736 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28737 (tanh_test_data): New variable.
28738 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28739 (tgamma_test_data): New variable.
28740 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28741 (trunc_test_data): New variable.
28742 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28743 (y0_test_data): New variable.
28744 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28745 (y1_test_data): New variable.
28746 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28747 (significand_test_data): New variable.
28748 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28750 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28753 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28755 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28757 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28759 2013-05-10 Andreas Jaeger <aj@suse.de>
28762 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28763 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28765 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28767 * math/gen-libm-test.pl (adjust_arg): New function.
28768 (special_functions): Handle generating output in both functions
28770 (parse_args): Likewise.
28771 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28772 $in_func argument to parse_args.
28773 * math/libm-test.inc (struct test_f_f_data): New type.
28774 (IF_ROUND_INIT_): New macro.
28775 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28776 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28777 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28778 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28779 (ROUND_RESTORE_): Likewise.
28780 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28781 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28782 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28783 (ROUND_RESTORE_FE_UPWARD): Likewise.
28784 (RUN_TEST_LOOP_f_f): New macro.
28785 (acos_test_data): New variable.
28786 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28787 (acos_tonearest_test_data): New variable.
28788 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28790 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28792 * benchtests/bench-skeleton.c (startup): Fix coding style.
28794 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28797 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28798 negative infinity argument.
28799 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28800 negative infinity argument.
28801 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28802 negative infinity argument.
28803 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28806 2013-05-10 Florian Weimer <fweimer@redhat.com>
28808 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28809 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28810 * iconv/iconv_prog.c (main): Likewise.
28811 * locale/programs/charmap-dir.c (charmap_readdir)
28812 (fopen_uncompressed): Likewise.
28813 * locale/programs/locfile.c (siblings_uncached)
28814 (write_locale_data): Use lstat64 instead of lstat.
28815 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28818 2013-05-10 Andreas Jaeger <aj@suse.de>
28821 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28823 Include <locale.h>.
28825 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28827 * elf/dl-close.c (_dl_close_worker): Add comments.
28829 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28832 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28834 (__ieee754_rem_pio2l): Update comments.
28837 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28839 (__ieee754_rem_pio2l): Update comments.
28841 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28842 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28844 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28847 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28848 (M_PI_34_LOG10El): Likewise.
28849 (M_PI2_LOG10El): Likewise.
28850 (M_PI4_LOG10El): Likewise.
28851 (M_PI_LOG10El): Likewise.
28853 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28857 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28859 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28860 (MINUS_ZERO_INIT): Likewise.
28861 (PLUS_INFTY_INIT): Likewise.
28862 (MINUS_INFTY_INIT): Likewise.
28863 (QNAN_VALUE_INIT): Likewise.
28864 (MAX_VALUE_INIT): Likewise.
28865 (MIN_VALUE_INIT): Likewise.
28866 (MIN_SUBNORM_VALUE_INIT): Likewise.
28867 (plus_zero): Initialize with PLUS_ZERO_INIT.
28868 (minus_zero): Initialize with MINUS_ZERO_INIT.
28869 (plus_infty): Initialize with PLUS_INFTY_INIT.
28870 (minus_infty): Initialize with MINUS_INFTY_INIT.
28871 (qnan_value): Initialize with QNAN_VALUE_INIT.
28872 (max_value): Initialize with MAX_VALUE_INIT.
28873 (min_value): Initialize with MIN_VALUE_INIT.
28874 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28876 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28877 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28878 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28879 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28881 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28882 (RUN_TEST_2_f): Likewise.
28883 (RUN_TEST_ff_f): Likewise.
28884 (RUN_TEST_fi_f): Likewise.
28885 (RUN_TEST_fl_f): Likewise.
28886 (RUN_TEST_fff_f): Likewise.
28887 (RUN_TEST_c_f): Likewise.
28888 (RUN_TEST_f_f1): Likewise.
28889 (RUN_TEST_fF_f1): Likewise.
28890 (RUN_TEST_fI_f1): Likewise.
28891 (RUN_TEST_ffI_f1): Likewise.
28892 (RUN_TEST_c_c): Likewise.
28893 (RUN_TEST_cc_c): Likewise.
28894 (RUN_TEST_f_i): Likewise.
28895 (RUN_TEST_f_i_tg): Likewise.
28896 (RUN_TEST_ff_i_tg): Likewise.
28897 (RUN_TEST_f_b): Likewise.
28898 (RUN_TEST_f_b_tg): Likewise.
28899 (RUN_TEST_f_l): Likewise.
28900 (RUN_TEST_f_L): Likewise.
28901 (RUN_TEST_sincos): Likewise.
28902 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28903 whether to show exceptions. Do not include ");\n" in return
28905 (special_functions): Output call to RUN_TEST_sincos instead of
28906 check_float calls. Update calls to new_test.
28907 (parse_args): Output call to single RUN_TEST_* macro instead of
28908 check_* calls and other assignments. Update calls to new_test.
28914 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28915 input to result for tgamma overflow.
28916 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28917 (gamma_coeff): New variable.
28918 (NCOEFF): New macro.
28919 (gamma_positive): New function.
28920 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28921 underflow here. Use gamma_positive instead of exp (lgamma) for
28923 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28924 (gamma_coeff): New variable.
28925 (NCOEFF): New macro.
28926 (gammaf_positive): New function.
28927 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28928 underflow here. Use gamma_positive instead of exp (lgamma) for
28930 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28931 (gamma_coeff): New variable.
28932 (NCOEFF): New macro.
28933 (gammal_positive): New function.
28934 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28935 underflow here. Use gamma_positive instead of exp (lgamma) for
28937 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28938 (gamma_coeff): New variable.
28939 (NCOEFF): New macro.
28940 (gammal_positive): New function.
28941 (__ieee754_gammal_r): Handle positive infinity, overflow and
28942 underflow here. Handle NaN the same as positive infinity. Remove
28943 check x < 0xffffffff for negative integers. Use gamma_positive
28944 instead of exp (lgamma) for other arguments.
28945 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28946 (gamma_coeff): New variable.
28947 (NCOEFF): New macro.
28948 (gammal_positive): New function.
28949 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28950 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28953 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28954 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28955 * sysdeps/generic/math_private.h (__gamma_productf): New
28957 (__gamma_product): Likewise.
28958 (__gamma_productl): Likewise.
28959 * math/Makefile (libm-calls): Add gamma_product.
28960 * math/libm-test.inc (tgamma_test): Add more tests.
28961 * sysdeps/i386/fpu/libm-test-ulps: Update.
28962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28964 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28966 * benchtests/bench-skeleton.c (main): Preheat CPU.
28968 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28970 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28972 2013-05-07 Roland McGrath <roland@hack.frob.com>
28974 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28975 and _dl_skip_args_internal.
28977 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28979 * manual/message.texi (Message Translation): Talk about users.
28980 Message to key mapping impacts design.
28982 2013-05-06 Roland McGrath <roland@hack.frob.com>
28984 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28986 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28988 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28989 * sysdeps/wordsize-64/glob64.c: ... here.
28991 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28992 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28995 * debug/getlogin_r_chk.c: Moved to ...
28996 * login/getlogin_r_chk.c: ... here.
28997 * debug/Makefile (routines): Move getlogin_r_chk to ...
28998 * login/Makefile (routines): ... here.
28999 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29000 * login/Versions (libc: GLIBC_2.4): ... here.
29002 * io/poll.c (__poll): Renamed from poll.
29003 Add libc_hidden_def.
29004 (poll): Define as weak alias.
29006 * debug/ptsname_r_chk.c: Moved to ...
29007 * login/ptsname_r_chk.c: ... here.
29008 * debug/Makefile (routines): Move ptsname_r_chk to ...
29009 * login/Makefile (routines): ... here.
29010 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29011 * login/Versions (libc: GLIBC_2.4): ... here.
29013 * posix/getlogin.c: Moved to ...
29014 * login/getlogin.c: ... here.
29015 * posix/getlogin_r.c: Moved to ...
29016 * login/getlogin_r.c: ... here.
29017 * posix/getlogin_r.c: Moved to ...
29018 * login/getlogin_r.c: ... here.
29019 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29020 * login/Makefile (routines): ... here.
29021 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29022 * login/Versions (libc: GLIBC_2.0): ... here.
29024 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29025 (setrlimit): Define as weak alias.
29027 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29028 Call __ names for open, ftruncate, and close.
29029 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29030 (truncate): Define as weak alias.
29032 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29034 * math/gen-libm-test.pl (parse_args): Initialize x before each
29035 test of frexp, modf and remquo.
29037 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29038 test signgam value.
29040 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29044 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29046 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29048 2013-05-06 Roland McGrath <roland@hack.frob.com>
29050 * elf/dl-writev.h: New file.
29051 * elf/dl-misc.c: Include it.
29052 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29053 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29055 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29057 * math/libm-test.inc (noXFails): Remove variable.
29058 (noXPasses): Likewise.
29059 (BUILD_COMPLEX_INT): Remove macro.
29060 (print_screen): Remove xfail argument.
29061 (print_screen_max_error): Likewise.
29062 (update_stats): Likewise.
29063 (print_max_error): Likewise. Update calls to other affected
29065 (print_complex_max_error): Likewise.
29066 (test_single_exception): Update calls to print_screen.
29067 (test_single_errno): Likewise.
29068 (check_float_internal): Remove xfail argument. Update calls to
29069 other affected functions.
29070 (check_float): Likewise.
29071 (check_complex): Likewise.
29072 (check_int): Likewise.
29073 (check_long): Likewise.
29074 (check_bool): Likewise.
29075 (check_longlong): Likewise.
29076 (main): Don't print noXFails and noXPasses.
29077 * math/gen-libm-test.pl (top level): Don't mention expected
29078 failure handling in comment.
29079 (new_test): Don't handle expected failures.
29080 (parse_args): Don't mention expected failure handling in comment.
29081 (generate_testfile): Don't handle expected failures.
29082 (parse_ulps): Likewise.
29083 (print_ulps_file): Likewise.
29084 (get_failure): Remove function.
29085 (output_test): Don't handle expected failures.
29086 * make/README.libm-test: Don't mention expected failure handling.
29088 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29089 (minus_zero): Likewise.
29090 (plus_infty): Likewise.
29091 (minus_infty): Likewise.
29092 (qnan_value): Likewise.
29093 (max_value): Likewise.
29094 (min_value): Likewise.
29095 (min_subnorm_value): Likewise.
29096 (initialize): Do not initialize those variables dynamically.
29098 2013-05-03 Roland McGrath <roland@hack.frob.com>
29100 * io/open.c (__open_2): Moved to ...
29101 * io/open_2.c: ... this new file.
29102 * io/open64.c (__open64_2): Moved to ...
29103 * io/open64_2.c: ... this new file.
29104 * io/openat.c (__openat_2): Moved to ...
29105 * io/openat_2.c: ... this new file.
29106 * io/openat64.c (__openat64_2): Moved to ...
29107 * io/openat64_2.c: ... this new file.
29108 * io/Makefile (routines): Add them.
29109 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29110 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29111 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29112 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29113 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29114 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29115 (__openat64): Add hidden_ver.
29116 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29117 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29119 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29120 Separately conditionalize setting of GLRO(dl_sysinfo) so
29121 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29122 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29124 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29126 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29127 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29129 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29130 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29131 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29132 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29133 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29135 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29137 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29138 test signgam value.
29140 * math/libm-test.inc (hypot_test): Do not use
29141 IGNORE_ZERO_INF_SIGN.
29143 2013-05-03 Andreas Jaeger <aj@suse.de>
29145 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29147 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29148 (PF_MAX): Adjust for VSOCK change.
29150 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29154 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29157 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29158 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29159 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29161 2013-05-02 David S. Miller <davem@davemloft.net>
29163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29165 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29167 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29169 2013-05-01 Roland McGrath <roland@hack.frob.com>
29171 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29173 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29176 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29177 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29178 Use __attribute__ ((__gnu_inline__)).
29179 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29180 Don't use __attribute__ ((__gnu_inline__)).
29182 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29185 * math/s_catan.c (__catan): Handle small real or imaginary part of
29186 input specially to avoid spurious underflow.
29187 * math/s_catanf.c (__catanf): Likewise.
29188 * math/s_catanh.c (__catanh): Likewise.
29189 * math/s_catanhf.c (__catanhf): Likewise.
29190 * math/s_catanhl.c (__catanhl): Likewise.
29191 * math/s_catanl.c (__catanl): Likewise.
29192 * math/libm-test.inc (catan_test): Add more tests.
29193 (catanh_test): Likewise.
29194 * sysdeps/i386/fpu/libm-test-ulps: Update.
29195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29197 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29201 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29204 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29205 accurately for denominator in atan2.
29206 * math/s_catanf.c (__catanf): Likewise.
29207 * math/s_catanh.c (__catanh): Likewise.
29208 * math/s_catanhf.c (__catanhf): Likewise.
29209 * math/s_catanhl.c (__catanhl): Likewise.
29210 * math/s_catanl.c (__catanl): Likewise.
29211 * math/libm-test.inc (catan_test): Add more tests.
29212 (catanh_test): Likewise.
29213 * sysdeps/i386/fpu/libm-test-ulps: Update.
29214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29216 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29218 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29220 * benchtests/Makefile (bench): Remove slow benchmarks.
29221 * benchtests/atan-inputs: Add slow benchmark inputs.
29222 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29223 (BENCH_FUNC): Accept variant offset.
29225 * benchtests/bench-skeleton.c (main): Run benchmark for each
29227 * benchtests/cos-inputs: Add slow benchmark inputs.
29228 * benchtests/exp-inputs: Likewise.
29229 * benchtests/pow-inputs: Likewise.
29230 * benchtests/sin-inputs: Likewise.
29231 * benchtests/slowatan-inputs: Remove.
29232 * benchtests/slowatan.c: Remove.
29233 * benchtests/slowcos-inputs: Remove.
29234 * benchtests/slowcos.c: Remove.
29235 * benchtests/slowexp-inputs: Remove.
29236 * benchtests/slowexp.c: Remove.
29237 * benchtests/slowpow-inputs: Remove.
29238 * benchtests/slowpow.c: Remove.
29239 * benchtests/slowsin-inputs: Remove.
29240 * benchtests/slowsin.c: Remove.
29241 * benchtests/slowtan-inputs: Remove.
29242 * benchtests/slowtan.c: Remove.
29243 * benchtests/tan-inputs: Add slow benchmark inputs.
29244 * scripts/bench.pl: Parse comments and directives.
29246 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29248 ($(objpfx)bench-%.c): Remove *-ITER.
29249 * benchtests/bench-modf.c: Remove definition of ITER.
29250 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29251 (main): Loop for DURATION seconds instead of fixed number of
29253 * scripts/bench.pl: Don't expect iterations in parameters.
29255 2013-04-29 Roland McGrath <roland@hack.frob.com>
29257 * io/fchdir.c (__fchdir): Renamed from fchdir.
29258 (fchdir): Define as weak alias.
29260 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29262 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29263 (ERRNO_EDOM): Likewise.
29264 (ERRNO_ERANGE): Likewise.
29265 (noErrnoTests): New variable.
29266 (init_max_error): Set errno to 0.
29267 (test_single_errno): New function.
29268 (test_errno): Likewise.
29269 (check_float_internal): Call test_errno. Set errno to 0.
29270 (check_complex): Refer to errno tests in comment.
29271 (check_int): Call test_errno. Set errno to 0.
29272 (check_long): Likewise.
29273 (check_bool): Likewise.
29274 (check_longlong): Likewise.
29275 (cos_test): Use ERRNO_* flags for errno tests instead of
29277 (expm1_test): Likewise.
29278 (fmod_test): Likewise.
29279 (ilogb_test): Likewise.
29280 (lgamma_test): Likewise.
29281 (pow_test): Likewise.
29282 (remainder_test): Likewise.
29283 (sin_test): Likewise.
29284 (tan_test): Likewise.
29285 (yn_test): Likewise.
29286 (initialize): Set errno to 0.
29287 (main): Print number of errno tests.
29288 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29290 2013-04-29 Andreas Jaeger <aj@suse.de>
29293 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29297 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29298 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29302 * stdlib/random.c (__initstate): Return NULL if
29306 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29307 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29310 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29314 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29316 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29317 of individual tests.
29318 (casin_test): Likewise.
29319 (casinh_test): Likewise.
29321 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29324 * math/s_catan.c (__catan): Handle arguments with large real or
29325 imaginary part separately without squaring.
29326 * math/s_catanf.c (__catanf): Likewise.
29327 * math/s_catanh.c (__catanh): Likewise.
29328 * math/s_catanhf.c (__catanhf): Likewise.
29329 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29331 (__catanhl): Handle arguments with large real or imaginary part
29332 separately without squaring.
29333 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29335 (__catanl): Handle arguments with large real or imaginary part
29336 separately without squaring.
29337 * math/libm-test.inc (catan_test): Add more tests.
29338 (catanh_test): Likewise.
29339 * sysdeps/i386/fpu/libm-test-ulps: Update.
29340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29342 2013-04-27 Andreas Jaeger <aj@suse.de>
29345 * stdlib/stdlib.h: Update guards for qecvt.
29346 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29349 2013-04-27 Allan McRae <allan@archlinux.org>
29351 * sysdeps/i386/fpu/libm-test-ulps: Update.
29353 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29356 * math/s_catan.c: Include <float.h>.
29357 (__catan): Ensure underflow exception occurs for underflowed
29359 * math/s_catanf.c: Include <float.h>.
29360 (__catanf): Ensure underflow exception occurs for underflowed
29362 * math/s_catanh.c: Include <float.h>.
29363 (__catanh): Ensure underflow exception occurs for underflowed
29365 * math/s_catanhf.c: Include <float.h>.
29366 (__catanhf): Ensure underflow exception occurs for underflowed
29368 * math/s_catanhl.c: Include <float.h>.
29369 (__catanhl): Ensure underflow exception occurs for underflowed
29371 * math/s_catanl.c: Include <float.h>.
29372 (__catanl): Ensure underflow exception occurs for underflowed
29374 * math/libm-test.inc (catan_test): Add more tests.
29375 (catanh_test): Likewise.
29378 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29379 underflowed result.
29380 * math/s_ccoshf.c (__ccoshf): Likewise.
29381 * math/s_ccoshl.c (__ccoshl): Likewise.
29382 * math/s_csin.c (__csin): Likewise.
29383 * math/s_csinf.c (__csinf): Likewise.
29384 * math/s_csinh.c (__csinh): Likewise.
29385 * math/s_csinhf.c (__csinhf): Likewise.
29386 * math/s_csinhl.c (__csinhl): Likewise.
29387 * math/s_csinl.c (__csinl): Likewise.
29388 * math/libm-test.inc (ccos_test): Add more tests.
29389 (ccosh_test): Likewise.
29390 (csin_test): Likewise.
29391 (csinh_test): Likewise.
29393 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29395 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29396 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29397 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29398 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29399 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29400 powerpc/power5+/fpu folders.
29401 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29404 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29408 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29410 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29411 additions to variable.
29412 [$(config-machine) = x86_64] (modules-names): Likewise.
29413 ($(objpfx)tst-audit3): Remove dependency.
29414 ($(objpfx)tst-audit3.out): Likewise.
29415 ($(objpfx)tst-audit4): Likewise.
29416 ($(objpfx)tst-audit4.out): Likewise.
29417 ($(objpfx)tst-audit5): Likewise.
29418 ($(objpfx)tst-audit5.out): Likewise.
29419 ($(objpfx)tst-audit6): Likewise.
29420 ($(objpfx)tst-audit6.out): Likewise.
29421 ($(objpfx)tst-audit7): Likewise.
29422 ($(objpfx)tst-audit7.out): Likewise.
29423 (tst-audit3-ENV): Remove variable.
29424 (tst-audit4-ENV): Likewise.
29425 (tst-audit5-ENV): Likewise.
29426 (tst-audit6-ENV): Likewise.
29427 (tst-audit7-ENV): Likewise.
29428 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29429 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29430 addition to variable.
29431 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29432 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29433 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29434 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29435 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29436 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29437 tst-audit3, tst-audit4 and tst-audit5.
29438 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29439 tst-audit6 and tst-audit7.
29440 [$(subdir) = elf] (modules-names): Add audit modules for those
29442 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29443 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29444 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29445 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29446 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29447 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29448 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29449 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29450 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29451 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29452 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29453 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29454 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29455 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29456 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29457 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29459 [$(subdir) = elf && $(config-cflags-avx) = yes]
29460 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29461 [$(subdir) = elf && $(config-cflags-avx) = yes]
29462 (CFLAGS-tst-auditmod4a.c): Likewise.
29463 [$(subdir) = elf && $(config-cflags-avx) = yes]
29464 (CFLAGS-tst-auditmod4b.c): Likewise.
29465 [$(subdir) = elf && $(config-cflags-avx) = yes]
29466 (CFLAGS-tst-auditmod6b.c): Likewise.
29467 [$(subdir) = elf && $(config-cflags-avx) = yes]
29468 (CFLAGS-tst-auditmod6c.c): Likewise.
29469 [$(subdir) = elf && $(config-cflags-avx) = yes]
29470 (CFLAGS-tst-auditmod7b.c): Likewise.
29471 * elf/tst-audit3.c: Move to ...
29472 * sysdeps/x86_64/tst-audit3.c: ... here.
29473 * elf/tst-audit4.c: Move to ...
29474 * sysdeps/x86_64/tst-audit4.c: ... here.
29475 * elf/tst-audit5.c: Move to ...
29476 * sysdeps/x86_64/tst-audit5.c: ... here.
29477 * elf/tst-audit6.c: Move to ...
29478 * sysdeps/x86_64/tst-audit6.c: ... here.
29479 * elf/tst-audit7.c: Move to ...
29480 * sysdeps/x86_64/tst-audit7.c: ... here.
29481 * elf/tst-auditmod3a.c: Move to ...
29482 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29483 * elf/tst-auditmod3b.c: Move to ...
29484 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29485 * elf/tst-auditmod4a.c: Move to ...
29486 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29487 * elf/tst-auditmod4b.c: Move to ...
29488 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29489 * elf/tst-auditmod5a.c: Move to ...
29490 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29491 * elf/tst-auditmod5b.c: Move to ...
29492 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29493 * elf/tst-auditmod6a.c: Move to ...
29494 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29495 * elf/tst-auditmod6b.c: Move to ...
29496 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29497 * elf/tst-auditmod6c.c: Move to ...
29498 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29499 * elf/tst-auditmod7a.c: Move to ...
29500 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29501 * elf/tst-auditmod7b.c: Move to ...
29502 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29504 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29507 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29508 define unconditionally.
29509 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29510 define unconditionally.
29511 (INT8_C, INT16_C, etc.): Likewise.
29513 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29515 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29516 __ehdr_start with hidden visibility.
29518 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29520 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29522 * math/libm-test.inc (cos_test): Use accurate hex constants.
29523 (sincost_test): Likewise.
29525 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29527 * math/libm-test.inc (catan_test): Add more tests.
29528 (catanh_test): Likewise.
29530 * math/s_catanf.c (__catanf): Use suffixed floating-point
29532 * math/s_catanhf.c (__catanhf): Likewise.
29533 * math/s_catanhl.c (__catanhl): Likewise.
29534 * math/s_catanl.c (__catanl): Likewise.
29537 * math/s_catan.c (__catan): Calculate imaginary part of result
29538 with log1p not log unless computing log of number close to 0.
29539 * math/s_catanf.c (__catanf): Likewise.
29540 * math/s_catanl.c (__catanl): Likewise.
29541 * math/s_catanh.c (__catanh): Calculate real part of result with
29542 log1p not log unless computing log of number close to 0.
29543 * math/s_catanhf.c (__catanhf): Likewise.
29544 * math/s_catanhl.c (__catanhl): Likewise.
29545 * math/libm-test.inc (catan_test): Add more tests.
29546 (catanh_test): Likewise.
29547 * sysdeps/i386/fpu/libm-test-ulps: Update.
29548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29550 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29552 * benchtests/Makefile: Mention files in which fast and slow
29553 paths of math functions are implemented.
29555 2013-04-23 Roland McGrath <roland@hack.frob.com>
29557 * sysdeps/posix/timespec_get.c: New file.
29559 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29561 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29563 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29565 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29566 powerpc/power5/fpu folders.
29567 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29568 * benchtests/Makefile: Add modf testcase.
29569 * benchtests/bench-modf.c: New file: Benchmark test for mo
29571 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29574 * time/Makefile (tests): Add tst-strptime-whitespace.
29575 * time/strptime_l.c (get_number): Use ISSPACE.
29576 (__strptime_internal): Likewise.
29577 * time/tst-strptime-whitespace.c: New test case.
29579 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29581 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29583 (_nss_files_init): Set it here.
29585 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29587 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29588 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29591 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29593 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29595 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29600 2013-04-21 David S. Miller <davem@davemloft.net>
29602 * po/ru.po: Update Russion translation from translation project.
29604 2013-04-17 Adam Conrad <adconrad@0c3.net>
29606 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29609 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29611 * configure.in: Remove i386 configure warning. Remove i386 case.
29612 * configure: Regenerate.
29613 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29614 Add example to error message.
29615 * sysdeps/i386/configure: Regenerate.
29617 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29619 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29621 * benchtests/cos-inputs: New file.
29622 * benchtests/slowcos-inputs: New file.
29623 * benchtests/slowcos.c: New file.
29624 * benchtests/slowtan-inputs: New file.
29625 * benchtests/slowtan.c: New file.
29626 * benchtests/tan-inputs: New file.
29628 2013-04-16 Roland McGrath <roland@hack.frob.com>
29630 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29633 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29635 * benchtests/Makefile: Include cppflags-iterator.mk to add
29636 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29638 * Makefile.in (bench-clean): New target.
29639 * benchtests/Makefile (bench-clean): Likewise.
29641 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29643 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29645 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29647 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29649 2013-04-15 Andreas Schwab <schwab@suse.de>
29651 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29653 * nscd/pwdcache.c (cache_addpw): Likewise.
29654 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29657 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29659 * benchtests/Makefile (bench): Write all output to
29660 bench-out.tmp together.
29662 2013-04-15 Andreas Schwab <schwab@suse.de>
29664 * nscd/nscd.c (main): Don't fork again after closing files.
29666 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29668 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29670 * benchtests/Rules (bench-deps): Collect dependencies into a
29671 single variable. Add Makefile to dependencies.
29672 ($(objpfx)bench-%.c): Depend on bench-deps.
29674 2013-04-12 Roland McGrath <roland@hack.frob.com>
29675 Xavier Roche <roche+kml2@exalead.com>
29678 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29679 just that it's a file descriptor.
29680 * manual/llio.texi (Synchronizing AIO Operations): Update description
29681 for EBADF error from aio_fsync.
29683 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29685 * Rules (bench): Move target definition...
29686 * benchtests/Makefile: ... here.
29688 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29690 * math/libm-test.inc (cos_test): Fix PI/2 test.
29691 (sincos_test): Likewise.
29692 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29693 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29695 2013-04-11 Andreas Schwab <schwab@suse.de>
29698 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29699 accept exponent character only when digits were seen.
29700 * stdio-common/Makefile (tests): Add bug26.
29701 * stdio-common/bug26.c: New file.
29704 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29707 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29709 * Makeconfig (rtld-prefix): Define built linker prefix.
29710 * Rules (run-bench): Use it.
29711 * math/Makefile (run-regen-ulps): Likewise.
29713 * Rules (bench): Remove eval.
29715 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29716 Roland McGrath <roland@hack.frob.com>
29717 Ondrej Bilka <neleai@seznam.cz>
29720 * time/getdate.c: Include ctype.h and alloca.h.
29721 (__getdate_r): Trim leading and trailing spaces of input.
29722 * time/tst-getdate.c (tests): Add tests with leading and
29725 2013-04-08 Roland McGrath <roland@hack.frob.com>
29728 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29729 when computing value.
29731 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29733 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29734 Use testrun.sh to run libm tests.
29737 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29739 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29742 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29744 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29746 * Makefile.in (regen-ulps): New target.
29747 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29748 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29749 [ifneq (no,$(PERL)] (regen-ulps): New target.
29750 [ifeq (no,$(PERL)] (regen-ulps): New target.
29751 * math/libm-test.inc (ulps_file_name): Define.
29752 (output_dir): New variable.
29753 (options): Add "output-dir" option.
29754 (parse_opt): Handle 'o' case.
29755 (main): If output_dir is non-NULL use it as a prefix
29757 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29759 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29761 [BZ #10060, #10062]
29762 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29763 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29764 fail configure if __sync_val_compare_and_swap is not inlined.
29765 * sysdeps/i386/configure: Regenerate.
29766 * configure.in: Build for i686 when configured for i386.
29767 * configure: Regenerate.
29768 * README: Remove i386 reference.
29770 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29772 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29773 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29775 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29777 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29778 (lmsnanval): New variables.
29779 (F): Add conversion tests.
29780 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29781 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29783 * stdio-common/tstdiomisc.c (F): Properly collect individual
29786 [BZ #14686, #15336]
29787 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29788 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29789 Instead, use input NaN values or generate a qNaN by arithmetic
29790 operation. Also fix bugs to comply with the standard.
29791 * math/libm-test.inc (remainder_test): Add more tests.
29793 [BZ #15335, #15342]
29794 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29796 input NaN values or generate a qNaN by arithmetic operation.
29798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29801 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29804 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29807 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29808 underflowed result.
29809 * math/s_cexpf.c (__cexpf): Likewise.
29810 * math/s_cexpl.c (__cexpl): Likewise.
29811 * math/libm-test.inc (cexp_test): Add more tests.
29813 2013-04-03 Andreas Schwab <schwab@suse.de>
29816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29817 order arrays from heap if bigger than alloca cutoff.
29819 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29821 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29822 (SNAN_TESTS_double): Refer to GCC PR56831.
29823 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29826 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29828 * Rules (bench): Move bench.out after the run is complete.
29830 * Rules (bench): Echo currently running benchmark.
29832 * benchtests/Makefile (bench): Add atan and slowatan.
29833 * benchtests/atan-inputs: New file.
29834 * benchtests/slowatan-inputs: New file.
29835 * benchtests/slowatan.c: New file.
29837 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29842 * sysdeps/unix/sysv/linux/kernel-features.h
29843 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29844 __ASSUME_XFS_RESTRICTED_CHOWN.
29845 * sysdeps/unix/sysv/linux/pathconf.c
29846 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29847 Save and restore errno.
29849 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29852 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29853 arguments using __kernel_casinh.
29854 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29855 arguments using __kernel_casinhf.
29856 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29857 arguments using __kernel_casinhl.
29858 * math/libm-test.inc (cacosh_test): Add more tests.
29859 * sysdeps/i386/fpu/libm-test-ulps: Update.
29860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29862 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29864 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29867 * bench/Makefile (bench): Add sin and slowsin.
29868 * benchtests/sin-inputs: New file.
29869 * benchtests/slowsin-inputs: New file.
29870 * benchtests/slowsin.c: New file.
29872 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29873 (bench): Add slowexp and slowpow.
29874 (exp-ITER): Increase iterations.
29875 (pow-ITER): Likewise.
29876 * benchtests/exp-inputs: Change input.
29877 * benchtests/pow-inputs: Likewise.
29878 * benchtests/slowexp-inputs: New file.
29879 * benchtests/slowexp.c: New file.
29880 * benchtests/slowpow-inputs: New file.
29881 * benchtests/slowpow.c: New file.
29883 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29885 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29887 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29888 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29889 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29890 * benchtests/Makefile: Add rint benchtest.
29891 * benchtests/rint-inputs: Input for rint benchtest.
29893 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29895 * Versions.def (libm): Add GLIBC_2.18.
29896 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29897 hidden libm prototypes.
29898 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29899 * math/Makefile (libm-calls): Add s_issignaling.
29900 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29901 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29902 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29904 * math/math.h [__USE_GNU] (issignaling): New macro.
29905 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29906 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29908 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29909 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29910 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29911 * manual/arith.texi (issignaling): New section.
29912 * manual/libm-err-tab.pl (@all_functions): Update comment.
29913 * math/gen-libm-test.pl (parse_args): Apply special handling for
29915 * math/libm-test.inc (print_float, issignaling_test): New
29917 (check_float_internal): Add issignaling checks.
29918 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29919 default definition.
29920 * sysdeps/powerpc/math-tests.h: New file.
29921 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29923 * math/test-snan.c (TEST_FUNC): Likewise.
29925 2013-03-30 David S. Miller <davem@davemloft.net>
29927 * po/de.po: Update from translation team.
29929 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29932 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29933 imaginary part less than 1.0 and real part less than 0.5
29935 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29936 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29937 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29938 (cacos_test): Add more tests.
29939 (casin_test): Likewise.
29940 (casinh_test): Likewise.
29941 * sysdeps/i386/fpu/libm-test-ulps: Update.
29942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29944 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29946 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29947 ONE with its value.
29949 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29950 (__pow_mp): Replace ONE and MONE with their values.
29951 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29953 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29954 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29955 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29956 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29958 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29960 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29961 (__pow_mp): Replace ZERO and MZERO with their values.
29962 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29963 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29964 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29966 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29967 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29970 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29972 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29974 2013-03-28 Roland McGrath <roland@hack.frob.com>
29976 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29977 Declare with __attribute__ ((weak)).
29978 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29979 Call __call_tls_dtors only if it's not NULL.
29981 2013-03-28 Roland McGrath <roland@hack.frob.com>
29983 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29984 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29985 magic __ehdr_start linker symbol if it's defined.
29986 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29987 them up here if it was already done.
29989 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29990 (_dl_aux_init): Use const in cast when setting it.
29991 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29992 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29993 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29995 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29997 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29998 * csu/libc-tls.c: Nor here.
29999 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30001 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30002 (__libc_message): Never call vsyslog.
30004 2013-03-28 Alan Modra <amodra@gmail.com>
30006 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30008 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30011 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30014 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30018 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30021 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30022 Don't add gid passed as argument.
30024 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30026 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30029 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30030 imaginary part between 1.0 and 1.5 and real part less than 0.5
30032 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30033 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30034 * math/libm-test.inc (cacos_test): Add more tests.
30035 (casin_test): Likewise.
30036 (casinh_test): Likewise.
30037 * sysdeps/i386/fpu/libm-test-ulps: Update.
30038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30040 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30042 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30045 (denorm): Likewise.
30046 (__dbl_mp): Likewise.
30047 (add_magnitudes): Likewise.
30048 (sub_magnitudes): Likewise.
30056 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30058 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30059 (__dubcos): Likewise.
30060 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30061 (__ieee754_acos): Likewise.
30062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30063 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30064 (__exp1): Likewise.
30065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30068 (my_log2): Likewise.
30069 (checkint): Likewise.
30070 * sysdeps/ieee754/dbl-64/e_remainder.c
30071 (__ieee754_remainder): Likewise.
30072 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30074 (bsloww): Likewise.
30075 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30077 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30078 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30079 MANTISSA_STORE_T to store computations on mantissa. Use
30080 macros for rounding and division.
30081 (denorm): Likewise.
30082 (__dbl_mp): Likewise.
30083 (add_magnitudes): Likewise.
30084 (sub_magnitudes): Likewise.
30087 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30088 powers of two in terms of TWOPOW macro.
30089 (mp_no): Make type of mantissa as MANTISSA_T.
30090 [!RADIXI]: Define RADIXI.
30091 [!TWO52]: Define TWO52.
30092 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30094 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30096 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30097 llroundl symbol when building for PPC32.
30099 2013-03-24 Mark H Weaver <mhw@netris.org>
30101 * manual/arith.texi (Normalization Functions): Fix prototypes for
30102 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30104 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30107 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30108 high value to check if expl overflow.
30109 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30110 to check for underflow and overflow.
30111 * math/libm-test.inc: Add exp test.
30113 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30116 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30119 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30121 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30124 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30126 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30127 wrap blocks consisting of several statements.
30129 * sysdeps/generic/math-tests.h: New file.
30130 * sysdeps/i386/fpu/math-tests.h: Likewise.
30131 * math/test-snan.c: Include it.
30132 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30134 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30137 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30138 (__ieee754_j0l): Do not improve calculations using cos of twice
30139 input for inputs above LDBL_MAX / 2.0L.
30140 (__ieee754_y0l): Likewise.
30141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30142 (__ieee754_j1l): Do not improve calculations using cos of twice
30143 input for inputs above LDBL_MAX / 2.0L.
30144 (__ieee754_y1l): Likewise.
30145 * math/libm-test.inc (j0_test): Add another test.
30146 (j1_test): Likewise.
30147 (y0_test): Likewise.
30148 (y1_test): Likewise.
30149 * sysdeps/i386/fpu/libm-test-ulps: Update.
30151 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30153 * Rules ($(objpfx)bench-%.c): Include code from a C source
30156 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30159 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30160 imaginary part 1.0 and real part less than 0.5 specially.
30161 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30162 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30163 * math/libm-test.inc (cacos_test): Add more tests.
30164 (casin_test): Likewise.
30165 (casinh_test): Likewise.
30166 * sysdeps/i386/fpu/libm-test-ulps: Update.
30167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30169 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30171 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30172 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30174 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30176 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30177 * config.make.in (config-cflags-sse4): Remove variable.
30178 (config-cflags-avx): Likewise.
30179 (config-cflags-sse2avx): Likewise.
30180 (config-cflags-novzeroupper): Likewise.
30181 (config-asflags-i686): Likewise.
30182 (have-mfma4): Likewise.
30183 (have-as-vis3): Likewise.
30185 * configure.in (MIG): Do not AC_SUBST.
30186 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30187 (libc_cv_cc_sse4): Do not AC_SUBST.
30188 (libc_cv_cc_avx): Likewise.
30189 (libc_cv_cc_sse2avx): Likewise.
30190 (libc_cv_cc_novzeroupper): Likewise.
30191 (libc_cv_cc_fma4): Likewise.
30192 (libc_cv_as_i686): Likewise.
30193 (libc_cv_sparc_as_vis3): Likewise.
30194 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30196 (config-asflags-i686): Likewise.
30197 (config-cflags-avx): Likewise.
30198 (config-cflags-sse2avx): Likewise.
30199 (have-mfma4): Likewise.
30200 (config-cflags-novzeroupper): Likewise.
30201 * sysdeps/mach/configure.in (MIG): Likewise.
30202 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30203 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30205 (config-cflags-avx): Likewise.
30206 (config-cflags-sse2avx): Likewise.
30207 (have-mfma4): Likewise.
30208 (config-cflags-novzeroupper): Likewise.
30209 * configure: Regenerated.
30210 * sysdeps/i386/configure: Likewise.
30211 * sysdeps/mach/configure: Likewise.
30212 * sysdeps/sparc/configure: Likewise.
30213 * sysdeps/x86_64/configure: Likewise.
30215 2013-03-20 Roland McGrath <roland@hack.frob.com>
30218 * locale/programs/localedef.c (options): Put N_ translation marker
30219 on argument names, not just descriptions.
30221 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30223 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30225 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30228 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30230 2013-03-19 Roland McGrath <roland@hack.frob.com>
30232 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30233 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30234 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30235 [!BEFORE_ABORT] (before_abort): New function.
30236 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30237 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30238 (writev_for_fatal): New function.
30239 (WRITEV_FOR_FATAL): New macro; call that.
30240 (backtrace_and_maps): New function.
30241 (BEFORE_ABORT): New macro; call that.
30242 (struct str_list): Type removed.
30243 (__libc_message, __libc_fatal): Functions removed.
30244 Include <sysdeps/posix/libc_fatal.c> instead.
30246 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30248 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30250 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30253 2013-03-19 Andreas Schwab <schwab@suse.de>
30255 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30256 * sysdeps/gnu/configure: Regenerate.
30258 * configure.in: Substitute libc_cv_rtlddir.
30259 * configure: Regenerate.
30260 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30261 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30262 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30263 * elf/Makefile (install-others, CFLAGS-interp.c)
30264 (ldso_install, common-ldd-rewrite): Likewise.
30265 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30266 $(inst_slibdir)/$(rtld-installed-name).
30267 * scripts/rellns-sh: Add -p option.
30268 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30271 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30273 * manual/nptl.texi: Renamed to ...
30274 * manual/threads.texi: ... this.
30275 * manual/Makefile (chapters): Update.
30277 2013-03-18 Roland McGrath <roland@hack.frob.com>
30280 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30281 on argument names, not just descriptions.
30282 * malloc/memusagestat.c (options): Likewise.
30283 * nss/getent.c (options): Likewise.
30285 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30288 * iconv/iconv_prog.c (options): Put N_ translation marker
30289 on argument names, not just descriptions.
30290 * iconv/iconvconfig.c (options): Likewise.
30292 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30294 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30295 implementation which is faster on all x86_64 architectures.
30296 Tested on AMD, Intel Nehalem, SNB, IVB.
30297 * sysdeps/x86_64/strnlen.S: Likewise.
30299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30300 Remove all multiarch strlen and strnlen versions.
30301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30302 Remove strlen and strnlen related parts.
30304 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30305 Inline strlen part.
30306 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30308 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30309 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30310 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30311 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30312 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30313 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30315 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30317 * manual/memory.texi (Malloc Tunable Parameters):
30318 Sort parameters alphabetically. Add comments for missing entries.
30320 2013-03-17 David S. Miller <davem@davemloft.net>
30322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30324 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30327 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30328 for arguments at most half maximum finite value.
30329 * math/libm-test.inc (j0_test): Add more tests.
30330 (j1_test): Likewise.
30331 (y0_test): Likewise.
30332 (y1_test): Likewise.
30333 * sysdeps/i386/fpu/libm-test-ulps: Update.
30334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30337 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30338 1 / x and functions P and Q for arguments above 0x1p256L.
30339 (__ieee754_y0l): Likewise.
30340 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30341 (__ieee754_y1l): Likewise.
30342 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30343 (j1_test): Likewise.
30344 (y0_test): Likewise.
30345 (y1_test): Likewise.
30347 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30349 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30352 2013-03-15 Roland McGrath <roland@hack.frob.com>
30354 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30355 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30356 zero since it's initialized to EXEC_PAGESIZE.
30358 * sysdeps/unix/sysv/linux/ldsodefs.h
30359 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30360 * sysdeps/generic/ldsodefs.h: ... here.
30362 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30364 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30366 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30368 * math/test-snan.c: Renamed from
30369 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30370 * math/Makefile (tests): Add test-snan.
30371 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30374 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30375 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30377 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30378 __builtin_nan family of functions.
30379 * math/libm-test.inc (initialize): Initialize qnan_value with
30380 __builtin_nan family of functions.
30381 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30383 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30385 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30386 storage class. Initialize qNaN_var and sNaN_var with
30387 __builtin_nan and __builtin_nans families of functions,
30390 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30391 (sqrt_test): Remove duplicate test with qNaN input.
30392 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30393 (round_test, signbit_test, significand_test): Note missing +/-Inf
30394 as well as qNaN tests.
30396 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30397 qNaN_var. Fix a few strings, too.
30398 * math/libm-test.inc (nan_value): Rename to qnan_value.
30399 * math/gen-libm-test.pl (%beautify): Adjust to that.
30400 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30401 * math/test-misc.c (main): Likewise.
30402 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30403 to __qnan_bytes, and __qnan_union, respectively.
30404 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30406 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30407 and lqnanval, respectively.
30408 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30409 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30410 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30411 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30413 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30414 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30417 * math/test-misc.c (main): Fix copy'n'pastos.
30418 * misc/tst-efgcvt.c (special): Likewise.
30420 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30421 Remove declarations.
30423 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30425 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30426 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30427 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30428 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30430 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30433 macro to return vdso values correctly in IFUNC implementations.
30434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30435 Optimization by using IFUNC.
30437 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30438 Richard Henderson <rth@redhat.com>
30439 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30441 * Makefile.in (bench): New target.
30442 * NEWS: Mention the benchmark framework.
30443 * Rules (bench): Likewise.
30444 (binaries-bench): Generate binaries for functions to
30446 * benchtests/Makefile: New makefile for benchmark tests.
30447 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30449 * benchtests/exp-inputs: New input file for EXP function.
30450 * benchtests/pow-inputs: New input file for POW function.
30451 * scripts/bench.pl: New script to generate source files for
30452 benchmark programs.
30454 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30456 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30457 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30458 computations on mantissa. Use macros for rounding and
30460 (denorm): Likewise.
30461 (__dbl_mp): Likewise.
30462 (add_magnitudes): Likewise.
30463 (sub_magnitudes): Likewise.
30466 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30467 powers of two in terms of TWOPOW macro.
30468 (mp_no): Make type of mantissa as MANTISSA_T.
30469 [!RADIXI]: Define RADIXI.
30470 [!TWO52]: Define TWO52.
30471 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30473 * manual/nptl.texi (cindex): Modify threads to pthreads.
30475 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30477 * sysdeps/x86_64/preconfigure: Regenerated.
30479 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30482 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30484 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30485 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30487 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30488 * math/libm-test.inc (j0_test): Do not allow one spurious
30489 underflow exception.
30490 (y1_test): Likewise.
30492 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30494 * manual/Makefile (chapters): Add nptl.
30495 * manual/debug.texi (Debugging Support): Add link to Threads
30497 * manual/nptl.texi: New file.
30499 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30501 2013-03-14 Petr Baudis <pasky@ucw.cz>
30503 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30504 for non-NULL pointer before the memory validity test. Pointed
30505 out by Holger Brunck <holger.brunck@keymile.com>.
30507 2013-03-13 Andreas Schwab <schwab@suse.de>
30509 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30512 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30514 * timezone/zic.c: Update from tzcode 2013b.
30516 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30518 * manual/install.texi (Configuring and compiling):
30519 Mention i686 and i586.
30520 * INSTALL: Regenerate.
30522 2013-03-12 Roland McGrath <roland@hack.frob.com>
30524 * sysdeps/init_array/elf-init.c: New file.
30526 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30527 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30529 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30530 __gmon_start__ as global, but as static with a .preinit_array pointer.
30531 * sysdeps/init_array/gmon-start.c: New file. Use that.
30532 * sysdeps/init_array/crti.S: New file, empty except for comments.
30533 * sysdeps/init_array/crtn.S: Likewise.
30535 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30537 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30540 Remove Prefer_SSE_for_memop.
30541 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30542 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30543 HAS_PREFER_SSE_FOR_MEMOP.
30544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30547 Remove bzero, memset ifunc support.
30548 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30549 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30550 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30551 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30553 2013-03-11 Andreas Schwab <schwab@suse.de>
30556 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30559 (GLIBC_2.16): Remove pthread_atfork.
30561 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30563 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30564 (ptestcases.h): Likewise.
30566 2013-03-08 Roland McGrath <roland@hack.frob.com>
30568 * Makeconfig ($(common-objpfx)config.status): Depend on
30569 sysdeps/*/preconfigure{,.in} too.
30571 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30573 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30574 (__free_hook): Use void * instead of __malloc_ptr_t.
30575 (__malloc_hook): Likewise.
30576 (__realloc_hook): Likewise.
30577 (__memalign_hook): Likewise.
30578 (__after_morecore_hook): Likewise.
30579 * malloc/arena.c (save_malloc_hook): Likewise.
30580 (save_free_hook): Likewise.
30581 * malloc/hooks.c (malloc_hook_ini): Likewise.
30582 (realloc_hook_ini): Likewise.
30583 (memalign_hook_ini): Likewise.
30584 * malloc/malloc.c (malloc_hook_ini): Likewise.
30585 (realloc_hook_ini): Likewise.
30586 (memalign_hook_ini): Likewise.
30587 (__free_hook): Likewise.
30588 (__malloc_hook): Likewise.
30589 (__realloc_hook): Likewise.
30590 (__memalign_hook): Likewise.
30591 (__libc_malloc): Likewise.
30592 (__libc_free): Likewise.
30593 (__libc_realloc): Likewise.
30594 (__libc_memalign): Likewise.
30595 (__libc_valloc): Likewise.
30596 (__libc_pvalloc): Likewise.
30597 (__libc_calloc): Likewise.
30598 (__posix_memalign): Likewise.
30599 * malloc/morecore.c (__sbrk): Likewise.
30600 (__default_morecore): Likewise.
30602 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30604 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30605 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30606 __malloc_ptrdiff_t.
30608 * malloc/malloc.h (__malloc_size_t): Remove macro.
30609 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30611 (old_memalign_hook): Likewise.
30612 (old_realloc_hook): Likewise.
30613 (struct hdr): Likewise.
30615 (mallochook): Likewise.
30616 (memalignhook): Likewise.
30617 (reallochook): Likewise.
30618 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30619 (tr_old_realloc_hook): Likewise.
30620 (tr_old_memalign_hook): Likewise.
30621 (tr_mallochook): Likewise.
30622 (tr_reallochook): Likewise.
30623 (tr_memalignhook): Likewise.
30625 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30628 default_ldbl_pack and using as default implementation.
30629 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30631 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30632 redundant definition.
30633 (ldbl_insert_mantissa): Likewise.
30634 (ldbl_canonicalize): Likewise.
30635 (ldbl_nearbyint): Likewise.
30636 (ldbl_pack): Rename to ldbl_pack_ppc.
30637 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30638 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30639 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30641 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30644 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30645 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30646 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30648 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30649 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30650 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30652 2013-03-07 Andreas Jaeger <aj@suse.de>
30654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30657 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30659 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30660 Include mpa.h and declare __MPEXP.
30661 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30662 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30663 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30664 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30665 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30666 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30667 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30669 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30670 (__slowpow): Use long double EXPL and LOGL functions to
30672 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30673 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30674 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30675 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30676 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30677 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30680 intermediate variable to calculate exponent.
30682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30686 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30687 [!NO__SQR]: Define __sqr.
30688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30689 and NO__SQR. Remove all code except __mul and __sqr. Include
30690 sysdeps/ieee754/dbl-64/mpa.c.
30691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30694 * posix/Makefile (tests): Add tst-pathconf.
30695 * posix/tst-pathconf.c: New test case.
30696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30698 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30700 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30702 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30704 2013-03-06 Andreas Jaeger <aj@suse.de>
30706 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30707 definition via __MAP_ANONYMOUS.
30709 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30710 it's not part of Linux headers.
30712 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30713 (MAP_HUGE_MASK): Define.
30715 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30717 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30718 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30720 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30721 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30723 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30724 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30726 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30728 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30729 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30730 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30731 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30732 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30733 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30739 Handle f2fs and efivarfs.
30741 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30744 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30745 (EFIVARFS_MAGIC): Add.
30746 (F2FS_LINK_MAX): Add.
30748 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30750 * stdio-common/vfprintf.c: Replace __builtin_expect with
30753 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30756 * sysdeps/generic/bp-sym.h: Remove file.
30757 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30758 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30759 <bp-sym.h> and <bp-asm.h>.
30760 (__longjmp): Don't use BP_SYM.
30761 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30763 (memcpy): Don't use BP_SYM.
30764 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30765 <bp-sym.h> and <bp-asm.h>.
30766 (memcpy): Don't use BP_SYM.
30767 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30769 (memcpy): Don't use BP_SYM.
30770 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30772 (memset): Don't use BP_SYM.
30773 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30774 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30775 (__bzero): Don't use BP_SYM.
30776 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30777 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30778 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30779 <bp-sym.h> and <bp-asm.h>.
30780 (memcmp): Don't use BP_SYM. Remove comment about bounded
30782 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30783 <bp-sym.h> and <bp-asm.h>.
30784 (memcpy): Don't use BP_SYM.
30785 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30786 <bp-sym.h> and <bp-asm.h>.
30787 (memset): Don't use BP_SYM.
30788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30790 (__bzero): Don't use BP_SYM.
30791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30793 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30794 <bp-sym.h> and <bp-asm.h>.
30795 (strncmp): Don't use BP_SYM. Remove comment about bounded
30797 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30798 <bp-sym.h> and <bp-asm.h>.
30799 (memcpy): Don't use BP_SYM.
30800 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30801 <bp-sym.h> and <bp-asm.h>.
30802 (memset): Don't use BP_SYM.
30803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30805 (__bzero): Don't use BP_SYM.
30806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30808 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30809 <bp-sym.h> and <bp-asm.h>.
30810 (__memchr): Don't use BP_SYM.
30811 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30812 <bp-sym.h> and <bp-asm.h>.
30813 (memcmp): Don't use BP_SYM. Remove comment about bounded
30815 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30816 <bp-sym.h> and <bp-asm.h>.
30817 (memcpy): Don't use BP_SYM.
30818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30819 <bp-sym.h> and <bp-asm.h>.
30820 (__mempcpy): Don't use BP_SYM.
30821 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30822 <bp-sym.h> and <bp-asm.h>.
30823 (__memrchr): Don't use BP_SYM.
30824 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30825 <bp-sym.h> and <bp-asm.h>.
30826 (memset): Don't use BP_SYM.
30827 (__bzero): Likewise.
30828 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30829 <bp-sym.h> and <bp-asm.h>.
30830 (__rawmemchr): Don't use BP_SYM.
30831 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30832 <bp-sym.h> and <bp-asm.h>.
30833 (__STRCMP): Don't use BP_SYM.
30834 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30835 <bp-sym.h> and <bp-asm.h>.
30836 (strchr): Don't use BP_SYM.
30837 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30838 <bp-sym.h> and <bp-asm.h>.
30839 (__strchrnul): Don't use BP_SYM.
30840 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30841 <bp-sym.h> and <bp-asm.h>.
30842 (strlen): Don't use BP_SYM.
30843 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30844 <bp-sym.h> and <bp-asm.h>.
30845 (strncmp): Don't use BP_SYM. Remove comment about bounded
30847 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30848 <bp-sym.h> and <bp-asm.h>.
30849 (__strnlen): Don't use BP_SYM.
30850 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30851 <bp-sym.h> and <bp-asm.h>.
30852 (__GI__setjmp): Don't use BP_SYM.
30853 (_setjmp): Likewise.
30854 (__sigsetjmp): Likewise.
30855 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30856 (L(start_addresses)): Don't use BP_SYM.
30857 (_start): Likewise.
30858 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30860 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30861 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30862 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30863 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30864 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30866 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30867 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30868 about bounded pointers.
30869 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30870 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30871 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30873 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30874 about bounded pointers. Remove GKM FIXME comments.
30875 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30876 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30878 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30879 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30880 Remove GKM FIXME comments.
30881 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30882 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30883 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30885 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30886 about bounded pointers. Remove GKM FIXME comment.
30887 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30889 (strncmp): Don't use BP_SYM. Remove comment about bounded
30891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30892 <bp-sym.h> and <bp-asm.h>.
30893 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30895 <bp-sym.h> and <bp-asm.h>.
30896 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30899 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30901 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30904 2013-03-05 David S. Miller <davem@davemloft.net>
30906 * po/es.po: Update from translation team.
30908 2013-03-05 Andreas Jaeger <aj@suse.de>
30910 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30911 <bits/mman-linux.h>.
30912 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30914 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30915 <bits/mman-linux.h> to end of file.
30916 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30918 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30919 <bits/mman-linux.h> to end of file.
30920 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30922 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30923 <bits/mman-linux.h> to end of file.
30925 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30926 (MCL_CURRENT, MCL_FUTURE): Define here.
30928 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30933 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30935 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30937 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30938 fourth parameter needed for rt_sigprocmask syscall.
30939 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30940 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30941 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30942 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30943 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30944 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30946 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30949 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30950 comment about bounded pointers.
30951 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30952 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30954 2013-03-04 Andreas Jaeger <aj@suse.de>
30956 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30957 common definitions.
30959 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30960 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30961 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30962 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30963 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30964 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30966 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30969 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30970 __ieee754_sqrl instead of __sqrl.
30972 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30974 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30975 * sysdeps/powerpc/fpu_control.h: ... here.
30976 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30977 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30978 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30979 * sysdeps/powerpc/bits/mathinline.h: ... here.
30981 2013-03-01 Roland McGrath <roland@hack.frob.com>
30983 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30984 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30985 to just [NEED_DL_SYSINFO_DSO].
30986 * elf/dl-support.c: Likewise.
30987 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30988 * elf/rtld.c (dl_main): Likewise.
30989 * elf/setup-vdso.h (setup_vdso): Likewise.
30990 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30991 * sysdeps/unix/sysv/linux/dl-sysdep.c
30992 (_dl_discover_osversion): Likewise.
30994 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30996 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30997 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30999 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31001 * NEWS: Mention libm performance improvements and non-x86 PI
31004 * csu/libc-start.c (__pthread_initialize_minimal): Change
31005 function arguments.
31006 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31008 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31011 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31012 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31013 <bp-sym.h> and <bp-asm.h>.
31014 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31015 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31017 (memcpy): Don't use BP_SYM.
31018 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31020 (__mpn_add_n): Don't use BP_SYM.
31021 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31022 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31024 (__mpn_addmul_1): Don't use BP_SYM.
31025 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31026 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31028 (_setjmp): Don't use BP_SYM.
31029 (__novmx_setjmp): Likewise.
31030 (__GI__setjmp): Likewise.
31031 (__vmx_setjmp): Likewise.
31032 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31034 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31035 (__bzero): Don't use BP_SYM.
31036 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31037 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31038 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31039 <bp-sym.h> and <bp-asm.h>.
31040 (memcpy): Don't use BP_SYM.
31041 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31042 <bp-sym.h> and <bp-asm.h>.
31043 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31044 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31045 <bp-sym.h> and <bp-asm.h>.
31046 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31047 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31049 (__mpn_lshift): Don't use BP_SYM.
31050 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31051 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31053 (memset): Don't use BP_SYM.
31054 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31055 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31056 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31058 (__mpn_mul_1): Don't use BP_SYM.
31059 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31060 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31061 <bp-sym.h> and <bp-asm.h>.
31062 (memcmp): Don't use BP_SYM.
31063 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31064 <bp-sym.h> and <bp-asm.h>.
31065 (memcpy): Don't use BP_SYM.
31066 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31067 <bp-sym.h> and <bp-asm.h>.
31068 (memset): Don't use BP_SYM.
31069 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31070 <bp-sym.h> and <bp-asm.h>.
31071 (strncmp): Don't use BP_SYM.
31072 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31073 <bp-sym.h> and <bp-asm.h>.
31074 (memcpy): Don't use BP_SYM.
31075 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31076 <bp-sym.h> and <bp-asm.h>.
31077 (memset): Don't use BP_SYM.
31078 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31079 <bp-sym.h> and <bp-asm.h>.
31080 (__memchr): Don't use BP_SYM.
31081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31082 <bp-sym.h> and <bp-asm.h>.
31083 (memcmp): Don't use BP_SYM.
31084 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31085 <bp-sym.h> and <bp-asm.h>.
31086 (memcpy): Don't use BP_SYM.
31087 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31088 <bp-sym.h> and <bp-asm.h>.
31089 (__mempcpy): Don't use BP_SYM.
31090 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31091 <bp-sym.h> and <bp-asm.h>.
31092 (__memrchr): Don't use BP_SYM.
31093 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31094 <bp-sym.h> and <bp-asm.h>.
31095 (memset): Don't use BP_SYM.
31096 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31097 <bp-sym.h> and <bp-asm.h>.
31098 (__rawmemchr): Don't use BP_SYM.
31099 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31100 <bp-sym.h> and <bp-asm.h>.
31101 (__STRCMP): Don't use BP_SYM.
31102 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31103 <bp-sym.h> and <bp-asm.h>.
31104 (strchr): Don't use BP_SYM.
31105 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31106 <bp-sym.h> and <bp-asm.h>.
31107 (__strchrnul): Don't use BP_SYM.
31108 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31109 <bp-sym.h> and <bp-asm.h>.
31110 (strlen): Don't use BP_SYM.
31111 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31112 <bp-sym.h> and <bp-asm.h>.
31113 (strncmp): Don't use BP_SYM.
31114 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31115 <bp-sym.h> and <bp-asm.h>.
31116 (__strnlen): Don't use BP_SYM.
31117 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31119 (__mpn_rshift): Don't use BP_SYM.
31120 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31121 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31122 <bp-sym.h> and <bp-asm.h>.
31123 (__sigsetjmp): Don't use BP_SYM.
31124 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31125 (L(start_addresses)): Don't use BP_SYM.
31126 (_start): Likewise.
31127 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31129 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31130 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31131 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31132 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31134 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31135 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31136 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31137 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31139 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31141 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31142 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31144 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31146 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31147 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31148 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31150 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31152 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31154 (strncmp): Don't use BP_SYM,
31155 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31157 (__mpn_sub_n): Don't use BP_SYM.
31158 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31159 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31161 (__mpn_submul_1): Don't use BP_SYM.
31162 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31164 <bp-sym.h> and <bp-asm.h>.
31165 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31167 <bp-sym.h> and <bp-asm.h>.
31168 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31171 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31174 Use ZK to minimize writes to Z.
31175 (sub_magnitudes): Simplify code a bit.
31176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31177 Use ZK to minimize writes to Z.
31178 (sub_magnitudes): Simplify code a bit.
31180 2013-02-27 Roland McGrath <roland@hack.frob.com>
31182 * csu/gmon-start.c: Add special exception to license text.
31184 2013-02-27 Richard Henderson <rth@redhat.com>
31186 * scripts/config.guess: Update from config.git.
31187 * scripts/config.sub: Likewise.
31189 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31191 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31193 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31195 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31197 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31199 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31201 2013-02-26 Roland McGrath <roland@hack.frob.com>
31203 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31204 [$(build-shared = yes].
31206 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31208 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31209 (__mul): Reduce iterations for calculating mantissa.
31211 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31213 (__mpranred): Likewise.
31216 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31217 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31219 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31221 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31222 Define __attribute__.
31224 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31226 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31228 * posix/regex_internal.h (__attribute): Remove.
31229 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31230 (re_string_context_at): Likewise.
31231 (bitset_not): Use __attribute__ and mark function as possibly
31233 (bitset_merge): Likewise.
31234 (bitset_mask): Likewise.
31235 (re_string_char_size_at): Likewise.
31236 (re_string_wchar_at): Likewise.
31237 (re_string_elem_size_at): Likewise.
31239 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31241 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31245 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31249 (denorm): Likewise.
31250 (__dbl_mp): Likewise.
31251 (add_magnitudes): Likewise.
31252 (sub_magnitudes): Likewise.
31256 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31259 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31262 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31266 up changes with default code.
31267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31270 2013-02-24 Allan McRae <allan@archlinux.org>
31272 * manual/socket.texi (The Internet Namespace): Order menu items
31273 to match that in the file.
31275 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31276 node listing of the info page menu.
31278 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31281 * sysdeps/i386/bp-asm.h: Remove file.
31282 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31283 (PARMS): Do not use macros from bp-asm.h.
31287 (__mpn_add_n): Do not use BP_SYM
31288 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31290 (PARMS): Do not use macros from bp-asm.h.
31293 (__mpn_addmul_1): Do not use BP_SYM
31294 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31296 (PARMS): Do not use macros from bp-asm.h.
31297 (SIGMSK): Likewise.
31298 (_setjmp): Likewise. Do not use BP_SYM.
31299 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31301 (PARMS): Do not use macros from bp-asm.h.
31302 (SIGMSK): Likewise.
31303 (setjmp): Likewise. Do not use BP_SYM.
31304 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31306 (PARMS): Do not use macros from bp-asm.h.
31307 (__frexp): Do not use BP_SYM.
31309 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31311 (PARMS): Do not use macros from bp-asm.h.
31312 (__frexpf): Do not use BP_SYM.
31313 (frexpf): Likewise.
31314 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31316 (PARMS): Do not use macros from bp-asm.h.
31317 (__frexpl): Do not use BP_SYM.
31318 (frexpl): Likewise.
31319 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31321 (PARMS): Do not use macros from bp-asm.h.
31322 (__remquo): Do not use BP_SYM.
31323 (remquo): Likewise.
31324 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31326 (PARMS): Do not use macros from bp-asm.h.
31327 (__remquof): Do not use BP_SYM.
31328 (remquof): Likewise.
31329 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31331 (PARMS): Do not use macros from bp-asm.h.
31332 (__remquol): Do not use BP_SYM.
31333 (remquol): Likewise.
31334 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31336 (PARMS): Do not use macros from bp-asm.h.
31339 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31340 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31342 (PARMS): Do not use macros from bp-asm.h.
31343 (strlen): Do not use BP_SYM.
31344 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31346 (PARMS): Do not use macros from bp-asm.h.
31350 (__mpn_add_n): Do not use BP_SYM.
31351 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31353 (PARMS): Do not use macros from bp-asm.h.
31356 (__mpn_addmul_1): Do not use BP_SYM.
31357 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31360 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31362 (PARMS): Do not use macros from bp-asm.h.
31365 (__mpn_lshift): Do not use BP_SYM.
31366 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31368 (PARMS): Do not use macros from bp-asm.h.
31372 (memcpy): Likewise. Do not use BP_SYM.
31373 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31374 libc_hidden_def and weak_alias.
31375 (mempcpy): Do not use BP_SYM in weak_alias.
31376 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31378 (PARMS): Do not use macros from bp-asm.h.
31381 [!BZERO_P] (CHR): Likewise.
31382 (memset): Likewise. Do not use BP_SYM.
31383 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31385 (PARMS): Do not use macros from bp-asm.h.
31388 (__mpn_mul_1): Do not use BP_SYM.
31389 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31391 (PARMS): Do not use macros from bp-asm.h.
31394 (__mpn_rshift): Do not use BP_SYM.
31395 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31397 (PARMS): Do not use macros from bp-asm.h.
31400 (strchr): Likewise. Do not use BP_SYM.
31401 (index): Do not use BP_SYM in weak_alias.
31402 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31404 (PARMS): Do not use macros from bp-asm.h.
31407 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31408 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31410 (PARMS): Do not use macros from bp-asm.h.
31411 (strlen): Do not use BP_SYM.
31412 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31414 (PARMS): Do not use macros from bp-asm.h.
31418 (__mpn_sub_n): Do not use BP_SYM.
31419 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31421 (PARMS): Do not use macros from bp-asm.h.
31424 (__mpn_submul_1): Do not use BP_SYM.
31425 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31427 (PARMS): Do not use macros from bp-asm.h.
31431 (__mpn_add_n): Do not use BP_SYM.
31432 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31435 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31437 (PARMS): Do not use macros from bp-asm.h.
31440 (memcmp): Do not use BP_SYM.
31441 (bcmp): Do not use BP_SYM in weak_alias.
31442 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31444 (PARMS): Do not use macros from bp-asm.h.
31448 (memcpy): Likewise. Do not use BP_SYM.
31449 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31451 (PARMS): Do not use macros from bp-asm.h.
31455 (memmove): Likewise. Do not use BP_SYM.
31456 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31458 (PARMS): Do not use macros from bp-asm.h.
31462 (__mempcpy): Likewise. Do not use BP_SYM.
31463 (mempcpy): Do not use BP_SYM in weak_alias.
31464 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31466 (PARMS): Do not use macros from bp-asm.h.
31469 [!BZERO_P] (CHR): Likewise.
31470 (memset): Likewise. Do not use BP_SYM.
31471 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31473 (PARMS): Do not use macros from bp-asm.h.
31475 (strcmp): Do not use BP_SYM.
31476 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31478 (PARMS): Do not use macros from bp-asm.h.
31481 [USE_AS_STRTOK_R] (SAVE): Likewise.
31482 (FUNCTION): Likewise. Do not use BP_SYM.
31483 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31485 (strtok_r): Likewise.
31486 (__GI___strtok_r): Likewise.
31487 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31488 (PARMS): Do not use macros from bp-asm.h.
31491 (__mpn_lshift): Do not use BP_SYM.
31492 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31493 (PARMS): Do not use macros from bp-asm.h.
31496 (__memchr): Do not use BP_SYM.
31497 (memchr): Do not use BP_SYM in weak_alias.
31498 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31499 (PARMS): Do not use macros from bp-asm.h.
31502 (memcmp): Do not use BP_SYM.
31503 (bcmp): Do not use BP_SYM in weak_alias.
31504 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31505 (PARMS): Do not use macros from bp-asm.h.
31508 (__mpn_mul_1): Do not use BP_SYM.
31509 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31511 (PARMS): Do not use macros from bp-asm.h.
31514 (__rawmemchr): Do not use BP_SYM.
31515 (rawmemchr): Do not use BP_SYM in weak_alias.
31516 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31517 (PARMS): Do not use macros from bp-asm.h.
31520 (__mpn_rshift): Do not use BP_SYM.
31521 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31522 (PARMS): Do not use macros from bp-asm.h.
31523 (SIGMSK): Likewise.
31524 (__sigsetjmp): Likewise. Do not use BP_SYM.
31525 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31526 (_start): Do not use BP_SYM.
31527 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31528 (PARMS): Do not use macros from bp-asm.h.
31531 (__stpcpy): Likewise. Do not use BP_SYM.
31532 (stpcpy): Do not use BP_SYM in weak_alias.
31533 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31535 (PARMS): Do not use macros from bp-asm.h.
31539 (__stpncpy): Likewise. Do not use BP_SYM.
31540 (stpncpy): Do not use BP_SYM in weak_alias.
31541 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31542 (PARMS): Do not use macros from bp-asm.h.
31545 (strchr): Likewise. Do not use BP_SYM.
31546 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31548 (PARMS): Do not use macros from bp-asm.h.
31551 (__strchrnul): Likewise. Do not use BP_SYM.
31552 (strchrnul): Do not use BP_SYM in weak_alias.
31553 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31555 (PARMS): Do not use macros from bp-asm.h.
31557 (strcspn): Do not use BP_SYM.
31558 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31560 (PARMS): Do not use macros from bp-asm.h.
31563 (strpbrk): Likewise. Do not use BP_SYM.
31564 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31566 (PARMS): Do not use macros from bp-asm.h.
31569 (strrchr): Likewise. Do not use BP_SYM.
31570 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31571 (PARMS): Do not use macros from bp-asm.h.
31573 (strspn): Do not use BP_SYM.
31574 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31575 (PARMS): Do not use macros from bp-asm.h.
31579 (FUNCTION): Likewise. Do not use BP_SYM.
31580 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31582 (strtok_r): Likewise.
31583 (__GI___strtok_r): Likewise.
31584 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31585 (PARMS): Do not use macros from bp-asm.h.
31589 (__mpn_sub_n): Do not use BP_SYM.
31590 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31592 (PARMS): Do not use macros from bp-asm.h.
31595 (__mpn_submul_1): Do not use BP_SYM.
31596 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31598 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31600 (PARMS): Do not use macros from bp-asm.h.
31605 (__clone): Do not use BP_SYM.
31606 (clone): Do not use BP_SYM in weak_alias.
31607 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31609 (PARMS): Do not use macros from bp-asm.h.
31611 (__mmap64): Do not use BP_SYM.
31612 (mmap64): Do not use BP_SYM in weak_alias.
31613 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31614 <bp-sym.h> and <bp-asm.h>.
31615 (PARMS): Do not use macros from bp-asm.h.
31616 (__posix_fadvise64_l64): Do not use BP_SYM.
31617 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31618 (PARMS): Do not use macros from bp-asm.h.
31620 (semtimedop): Do not use BP_SYM.
31621 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31624 2013-02-21 Allan McRae <allan@archlinux.org>
31626 * manual/message.texi (Charset conversion in gettext):
31627 Move @end statement to beginning of line.
31629 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31636 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31637 (denorm): Likewise.
31638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31641 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31643 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31644 tail-call to the resolved function if pltexit isn't needed.
31646 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31649 or Y being zero as being unlikely.
31650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31653 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31655 * manual/nss.texi (System Databases and Name Service Switch):
31656 Remove frobnicate @pxref.
31658 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31660 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31661 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31663 2013-02-20 Petr Machata <pmachata@redhat.com>
31665 * elf/elf.h (R_ARM_TARGET1): New macro.
31666 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31667 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31668 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31669 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31670 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31671 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31672 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31673 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31674 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31675 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31676 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31677 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31678 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31679 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31680 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31681 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31682 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31683 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31684 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31685 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31686 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31687 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31688 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31689 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31690 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31691 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31692 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31693 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31694 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31695 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31696 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31697 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31698 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31699 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31700 (R_ARM_THM_GOT_BREL12): Likewise.
31701 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31702 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31703 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31704 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31705 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31706 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31707 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31708 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31709 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31711 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31713 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31714 __attribute_used__ to __attribute__ ((unused)).
31716 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31718 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31721 comment formatting.
31722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31724 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31727 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31729 (ENTER): Remove both macro definitions.
31731 (CHECK_BOUNDS_LOW): Likewise.
31732 (CHECK_BOUNDS_HIGH): Likewise.
31733 (CHECK_BOUNDS_BOTH): Likewise.
31734 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31735 (RETURN_BOUNDED_POINTER): Likewise.
31736 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31737 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31738 (POP_ERRNO_LOCATION_RETURN): Likewise.
31739 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31740 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31741 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31743 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31744 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31745 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31746 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31747 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31748 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31749 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31750 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31751 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31752 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31753 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31754 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31755 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31756 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31758 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31759 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31761 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31762 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31763 * sysdeps/i386/i586/memset.S (memset): Likewise.
31764 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31765 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31766 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31768 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31769 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31770 Change uses of L(2) to L(out).
31771 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31772 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31773 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31774 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31775 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31777 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31778 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31780 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31781 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31782 (RETURN): Do not use macro LEAVE.
31783 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31784 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31785 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31786 * sysdeps/i386/i686/memset.S (memset): Likewise.
31787 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31788 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31789 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31790 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31792 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31793 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31794 L(1_2) and L(1_3) into L(1).
31795 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31796 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31797 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31798 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31799 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31800 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31801 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31802 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31803 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31805 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31806 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31807 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31808 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31809 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31810 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31811 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31812 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31813 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31814 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31815 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31816 * sysdeps/i386/strspn.S (strspn): Likewise.
31817 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31819 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31820 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31821 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31822 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31823 L(1_3) into L(1_1).
31824 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31825 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31826 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31828 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31830 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31832 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31835 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31837 * math/atest-exp.c (exp_mpn): Remove ROUND.
31838 * math/atest-exp2.c (exp_mpn): Likewise.
31839 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31841 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31842 * stdlib/tst-tls-atexit-lib.c: Likewise.
31843 * stdlib/tst-tls-atexit.c: Likewise.
31845 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31847 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31848 and __attribute_alloc_size__.
31850 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31852 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31853 __attribute_alloc_size__.
31854 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31855 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31857 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31859 * include/programs/xmalloc.h: New file.
31860 * catgets/gencat.c: Include it.
31861 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31862 * elf/pldd.c: Likewise.
31863 * iconv/iconv_charmap.c: Likewise.
31864 * iconv/iconvconfig.c: Likewise.
31865 * iconv/strtab.c: Likewise.
31866 * locale/programs/locale.c: Likewise.
31867 * locale/programs/localedef.h: Likewise.
31868 * locale/programs/simple-hash.c: Likewise.
31869 * nscd/nscd.h: Likewise.
31870 * nss/makedb.c: Likewise.
31871 * sysdeps/generic/ldconfig.h: Likewise.
31873 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31875 * Versions.def: Add GLIBC_2.18.
31876 * include/link.h (struct link_map): New member l_tls_dtor_count.
31877 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31878 (__call_tls_dtors): Likewise.
31879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31880 __cxa_thread_atexit_impl.
31881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31889 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31897 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31898 (tests): Add test case tst-tls-atexit.
31899 (modules-names): Add shared library for tst-tls-atexit.
31900 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31901 (GLIBC_PRIVATE): Add __call_tls_dtors.
31902 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31904 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31905 * stdlib/tst-tls-atexit.c: New test case.
31906 * stdlib/tst-tls-atexit-lib.c: New test case.
31908 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31910 * elf/Versions (ld): Add _dl_find_dso_for_object.
31911 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31912 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31913 (dl_open_worker): Use _dl_find_dso_for_object.
31914 * elf/dl-sym.c (do_sym): Likewise.
31915 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31917 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31919 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31920 Syntactic changes only.
31921 (_dl_runtime_profile): Do a tail-call to the resolved function.
31923 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31926 * sysdeps/x86_64/bp-asm.h: Remove file.
31927 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31928 <bp-sym.h> and <bp-asm.h>.
31929 (__clone): Do not use BP_SYM.
31930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31931 <bp-sym.h> and <bp-asm.h>.
31932 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31933 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31935 (_setjmp): Do not use BP_SYM.
31936 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31938 (setjmp): Do not use BP_SYM.
31939 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31941 (mempcpy): Do not use BP_SYM in weak_alias.
31942 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31944 (strchr): Do not use BP_SYM.
31945 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31947 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31948 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31949 (_start): Do not use BP_SYM.
31950 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31952 (strcat): Do not use BP_SYM.
31953 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31955 (STRCMP): Do not use BP_SYM.
31956 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31958 (STRCPY): Do not use BP_SYM.
31959 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31961 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31963 (FUNCTION): Do not use BP_SYM.
31964 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31966 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31968 2013-02-17 Andreas Jaeger <aj@suse.de>
31970 * time/Versions: Sort entries.
31971 * string/Versions: Likewise.
31972 * resolv/Versions: Likewise.
31973 * posix/Versions: Likewise.
31974 * iconv/Versions: Likewise.
31975 * elf/Versions: Likewise.
31976 * wcsmbs/Versions: Likewise.
31978 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31980 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31981 loop termination condition.
31983 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31984 variable to calculate EZ.
31987 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31988 the lower precision input.
31990 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31993 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31994 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31995 (run-via-rtld-prefix): Do not handle %-bp tests.
31996 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31997 (all-object-suffixes): Remove .ob.
31998 (bppfx): Remove variable.
31999 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32000 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32001 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32002 [$(build-bounded) = yes] (libtype.ob): Likewise.
32003 * Makerules (elide-routines.ob): Remove variable.
32004 (do-tests-clean): Do not handle *-bp.out.
32005 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32006 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32007 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32008 (tests): Do not include $(tests-bp.out).
32009 (xtests): Do not include $(xtests-bp.out).
32010 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32011 [$(build-bounded) = yes] ($(addprefix
32012 $(objpfx),$(binaries-bounded))): Remove rule.
32013 ($(objpfx)%-bp.out): Remove rule.
32014 * config.make.in (build-bounded): Remove variable.
32015 * crypt/Makefile [$(build-bounded) = yes]
32016 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32017 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32018 append to variable.
32019 [$(build-bounded) = yes] (install-lib): Likewise.
32020 [$(build-bounded) = yes] (generated): Likewise.
32021 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32023 * intl/Makefile [$(build-bounded) = yes]
32024 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32025 * math/Makefile [$(build-bounded) = yes]
32026 ($(tests:%=$(objpfx)%-bp): Likewise.
32027 * misc/Makefile [$(build-bounded) = yes]
32028 ($(objpfx)tst-tsearch-bp): Likewise.
32029 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32030 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32032 * string/Makefile (o-objects.ob): Remove variable.
32033 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32034 (CFLAGS-.ob): Remove variable.
32035 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32036 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32037 both definitions of variable.
32038 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32039 (ASFLAGS-.ob): Remove variable.
32041 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32044 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32045 Remove __BOUNDED_POINTERS__ from condition.
32046 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32047 * string/bits/string2.h [!__NO_STRING_INLINES &&
32048 !__BOUNDED_POINTERS__]: Likewise.
32049 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32051 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32052 Remove conditional code.
32053 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32054 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32055 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32059 * csu/libc-start.c: Do not include <bp-sym.h>.
32060 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32061 * elf/dl-open.c: Do not include <bp-sym.h>.
32062 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32063 * math/fegetenv.c: Do not include <bp-sym.h>.
32064 (fegetenv): Do not use BP_SYM in versioned symbols.
32065 * nptl/sysdeps/pthread/bits/libc-lockP.h
32066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32069 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32071 (__pthread_mutex_destroy): Likewise.
32072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32073 (__pthread_mutex_lock): Likewise.
32074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32075 (__pthread_mutex_trylock): Likewise.
32076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32077 (__pthread_mutex_unlock): Likewise.
32078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32079 (__pthread_mutexattr_init): Likewise.
32080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32081 (__pthread_mutexattr_destroy): Likewise.
32082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32083 (__pthread_mutexattr_settype): Likewise.
32084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32085 (__pthread_rwlock_init): Likewise.
32086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32087 (__pthread_rwlock_destroy): Likewise.
32088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32089 (__pthread_rwlock_rdlock): Likewise.
32090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32091 (__pthread_rwlock_tryrdlock): Likewise.
32092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32093 (__pthread_rwlock_wrlock): Likewise.
32094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32095 (__pthread_rwlock_trywrlock): Likewise.
32096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32097 (__pthread_rwlock_unlock): Likewise.
32098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32099 (__pthread_key_create): Likewise.
32100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32101 (__pthread_setspecific): Likewise.
32102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32103 (__pthread_getspecific): Likewise.
32104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32107 (_pthread_cleanup_push_defer): Likewise.
32108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32109 (_pthread_cleanup_pop_restore): Likewise.
32110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32111 (pthread_setcancelstate): Likewise.
32112 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32114 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32115 (memchr): Do not use BP_SYM in weak_alias.
32116 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32117 (fegetenv): Do not use BP_SYM in versioned symbols.
32118 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32119 (fesetenv): Do not use BP_SYM in versioned symbols.
32120 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32121 (feupdateenv): Do not use BP_SYM in versioned symbols.
32122 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32123 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32124 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32125 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32126 (open64): Do not use BP_SYM in weak_alias.
32127 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32128 (fegetenv): Do not use BP_SYM in versioned symbols.
32129 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32130 (fesetenv): Do not use BP_SYM in versioned symbols.
32131 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32132 (feupdateenv): Do not use BP_SYM in versioned symbols.
32133 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32134 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32135 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32136 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32137 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32138 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32139 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32141 (__libc_start_main): Do not use BP_SYM.
32143 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32146 redundant return line.
32148 (denorm): Likewise.
32149 (dbl_mp): Likewise.
32150 (sub_magnitudes): Likewise.
32156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32158 (denorm): Likewise.
32159 (dbl_mp): Likewise.
32160 (sub_magnitudes): Likewise.
32167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32169 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32170 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32173 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32174 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32176 of __mul for squares.
32177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32181 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32184 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32187 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32189 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32190 prototype or function definition. Rename ubp_* variables and
32191 parameters. Remove argv definitions conditional on
32192 [__BOUNDED_POINTERS__].
32193 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32194 * elf/dl-runtime.c (_dl_fixup): Likewise.
32195 * include/set-hooks.h (RUN_HOOK): Likewise.
32196 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32198 * string/strcpy.c (strcpy): Do not use __unbounded.
32199 * sysdeps/generic/frame.h (struct layout): Likewise.
32200 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32201 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32202 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32203 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32204 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32205 (__backtrace): Likewise.
32206 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32208 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32209 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32210 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32212 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32213 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32214 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32215 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32216 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32217 Do not use __unbounded.
32218 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32219 Rename __unboundedrlimits parameter to rlimits in prototype.
32220 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32221 Do not use __unbounded.
32222 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32223 not use __ptrvalue.
32224 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32225 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32226 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32227 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32228 __ptrvalue or __unbounded.
32229 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32230 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32232 (__new_msgctl): Do not use __ptrvalue.
32233 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32235 (__libc_msgrcv): Do not use __ptrvalue.
32236 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32237 startup_info): Do not use __unbounded.
32238 (__libc_start_main): Likewise. Rename ubp_* variables and
32239 parameters. Remove argv definitions conditional on
32240 [__BOUNDED_POINTERS__].
32241 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32243 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32245 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32247 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32249 (__new_shmctl): Do not use __ptrvalue.
32250 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32251 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32253 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32255 (__libc_sigaction): Likewise.
32256 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32257 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32259 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32261 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32263 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32265 * string/mempcpy.c: Implement by calling memcpy.
32267 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32275 values in the mantissa.
32277 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32278 minimize writes to Z.
32279 (sub_magnitudes): Simplify code a bit.
32281 2013-02-12 Roland McGrath <roland@hack.frob.com>
32283 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32284 from the message. The linker prefixes all warnings with that already.
32286 2013-02-12 Andreas Schwab <schwab@suse.de>
32289 * posix/regexec.c (extend_buffers): Add parameter min_len.
32290 (check_matching): Pass minimum needed length.
32291 (clean_state_log_if_needed): Likewise.
32292 (get_subexp): Likewise.
32293 * posix/Makefile (tests): Add bug-regex34.
32294 (bug-regex34-ENV): Define.
32295 * posix/bug-regex34.c: New file.
32298 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32299 elements compare against the byte sequence of it, not its name.
32300 * posix/Makefile (tests): Add bug-regex35.
32301 (bug-regex35-ENV): Define.
32302 * posix/bug-regex35.c: New file.
32304 2013-02-11 Tom de Vries <tom@codesourcery.com>
32306 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32308 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32309 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32310 (CHECK_EOL): Add undef.
32312 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32314 * bits/stdlib-bsearch.h: New file.
32315 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32316 * stdlib/stdlib.h: Likewise.
32318 2013-02-11 Roland McGrath <roland@hack.frob.com>
32320 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32321 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32323 * manual/search.texi (Array Search Function): Add missing const in
32325 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32326 declaration to use rlim_t.
32327 (Basic Scheduling Functions): Remove erroneous const from
32328 sched_getparam prototype. Remove erroneous * from
32329 sched_get_priority_max and sched_get_priority_min prototypes.
32330 (Resource Usage): Fix summary @comment on vtimes to refer to
32331 sys/vtimes.h rather than vtimes.h.
32332 Add missing *s in vtimes prototype.
32333 (Limits on Resources): Fix ulimit prototype to return long int.
32334 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32335 prototypes to use long int rather than double.
32336 (BSD Random): Fix initstate and setstate to use char *, not void *.
32337 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32338 prototype to make second argument 'struct aiocb64 *const[]'.
32339 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32340 (Status of AIO Operations): Remove erroneous const in aio_return and
32341 aio_return64 prototypes.
32342 (Synchronizing I/O): Fix sync prototype to return void.
32343 * manual/startup.texi (Suboptions): Remove an erroneous const in
32344 getsubopt prototype.
32345 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32346 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32347 use size_t rather than int.
32348 (Scanning All Users): Likewise for getpwent_r.
32349 (Setting Groups): Add missing const to setgroups prototype.
32350 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32351 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32352 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32353 'const void *' rather than 'const char *'.
32354 (Host Address Functions): Likewise for inet_ntop.
32355 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32356 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32357 ssize_t for return value.
32358 (Sending Data): Likewise for send, sendto, sendmsg.
32359 (Socket Option Functions): Add a missing const in setsockopt prototype.
32360 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32361 use wchar_t for the argument.
32362 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32363 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32365 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32366 double/float/long double for second argument.
32367 Fix return types of significand, significandf, significandl.
32368 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32369 argument in fchmod prototype.
32370 (File Owner): Use uid_t and gid_t in fchown prototype.
32371 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32372 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32373 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32374 use 'const struct dirent **' as argument types to CMP function pointer
32376 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32377 (File Times): Fix summary magic @comment for struct utimbuf and utime
32378 to refer to utime.h, not time.h.
32379 * manual/string.texi (Argz Functions): Add missing const in
32380 argz_extract and argz_next prototypes.
32381 (Finding Tokens in a String): Likewise for basename.
32382 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32383 (Copying and Concatenation): Fix typo in wmemmove prototype.
32384 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32385 (Signal Stack): Remove erroneous const in sigstack prototype.
32386 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32388 (Simple Calendar Time): Likewise for stime.
32389 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32391 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32392 say sys/sysctl.h instead.
32393 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32394 and vsyslog prototypes.
32396 2013-02-11 Tom de Vries <tom@codesourcery.com>
32398 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32401 2013-02-11 Roland McGrath <roland@hack.frob.com>
32403 * misc/sys/mman.h: Fix typo in mremap comment.
32405 2013-02-08 Roland McGrath <roland@hack.frob.com>
32407 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32408 the '\0' terminator.
32410 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32413 * debug/segfault.c: Don't include <bp-checks.h>.
32414 * sysdeps/generic/bp-checks.h: Remove file.
32415 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32416 (__GETDENTS): Don't use CHECK_N.
32417 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32418 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32419 (__getgroups): Don't use CHECK_N.
32420 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32421 (setgroups): Don't use CHECK_N.
32422 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32423 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32424 (__libc_msgrcv): Don't use CHECK_N.
32425 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32426 (__libc_msgsnd): Don't use CHECK_N.
32427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32429 (__libc_pread): Don't use CHECK_N.
32430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32431 include <bp-checks.h>.
32432 (__libc_pread64): Don't use CHECK_N.
32433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32434 include <bp-checks.h>.
32435 (__libc_pwrite): Don't use CHECK_N.
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32437 include <bp-checks.h>.
32438 (__libc_pwrite64): Don't use CHECK_N.
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32441 (__libc_pread): Don't use CHECK_N.
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32443 include <bp-checks.h>.
32444 (__libc_pread64): Don't use CHECK_N.
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32446 include <bp-checks.h>.
32447 (__libc_pwrite): Don't use CHECK_N.
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32449 include <bp-checks.h>.
32450 (__libc_pwrite64): Don't use CHECK_N.
32451 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32452 (do_pread): Don't use CHECK_N.
32453 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32454 (do_pread64): Don't use CHECK_N.
32455 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32456 (do_pwrite): Don't use CHECK_N.
32457 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32458 (do_pwrite64): Don't use CHECK_N.
32459 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32460 (__libc_readv): Don't use CHECK_N.
32461 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32462 (semop): Don't use CHECK_N.
32463 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32465 (semtimedop): Don't use CHECK_N.
32466 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32467 (__libc_pread): Don't use CHECK_N.
32468 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32470 (__libc_pread64): Don't use CHECK_N.
32471 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32473 (__libc_pwrite): Don't use CHECK_N.
32474 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32476 (__libc_pwrite64): Don't use CHECK_N.
32477 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32479 (__libc_msgrcv): Don't use CHECK_N.
32480 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32481 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32482 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32483 (__libc_writev): Don't use CHECK_N.
32485 2013-02-08 Roland McGrath <roland@hack.frob.com>
32487 * string/strcpy.c: Removed unused variable.
32489 * Makeconfig (+sysdep-includes): Define with := rather than =.
32490 Use an existing include/ subdir of each sysdeps dir before it.
32492 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32494 * nscd/connection.c (register_traced_file): Comment function.
32495 [HAVE_INOTIFY] (union __inev): Define.
32496 [HAVE_INOTIFY] (inotify_check_files): New function.
32497 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32498 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32500 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32502 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32504 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32505 loaded if not already and that a failure is permanent.
32507 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32510 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32511 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32513 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32516 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32517 (CHECK_1_NULL_OK): Likewise.
32518 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32519 (__fxstat): Do not use CHECK_1.
32520 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32522 (___fxstat64): Do not use CHECK_1.
32523 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32525 (__fxstatat): Do not use CHECK_1.
32526 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32528 (__fxstatat64): Do not use CHECK_1.
32529 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32531 (__fxstat): Do not use CHECK_1.
32532 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32534 (__fxstatat): Do not use CHECK_1.
32535 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32537 (__getresgid): Do not use CHECK_1.
32538 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32540 (__getresuid): Do not use CHECK_1.
32541 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32543 (__lxstat): Do not use CHECK_1.
32544 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32546 (__old_msgctl): Do not use CHECK_1.
32547 (__new_msgctl): Likewise.
32548 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32550 (__new_setrlimit): Do not use CHECK_1.
32551 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32553 (__old_shmctl): Do not use CHECK_1.
32554 (__new_shmctl): Likewise.
32555 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32557 (__xstat): Do not use CHECK_1.
32558 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32559 (__lxstat): Do not use CHECK_1.
32560 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32562 (___lxstat64): Do not use CHECK_1.
32563 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32564 (__old_msgctl): Do not use CHECK_1.
32565 (__new_msgctl): Likewise.
32566 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32568 (__gettimeofday): Do not use CHECK_1.
32569 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32570 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32571 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32573 (__gettimeofday): Do not use CHECK_1.
32574 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32575 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32576 (__new_shmctl): Do not use CHECK_1.
32577 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32579 (do_sigtimedwait): Do not use CHECK_1.
32580 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32582 (do_sigwaitinfo): Do not use CHECK_1.
32583 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32585 (msgctl): Do not use CHECK_1.
32586 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32588 (shmctl): Do not use CHECK_1.
32589 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32590 (ustat): Do not use CHECK_1.
32591 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32593 (__fxstat): Do not use CHECK_1.
32594 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32596 (__fxstatat): Do not use CHECK_1.
32597 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32599 (__lxstat): Do not use CHECK_1.
32600 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32602 (__xstat): Do not use CHECK_1.
32603 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32604 (__xstat): Do not use CHECK_1.
32605 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32606 (___xstat64): Do not use CHECK_1.
32609 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32611 (CHECK_BOUNDS_HIGH): Likewise.
32612 * string/strcpy.c: Do not include <bp-checks.h>.
32613 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32615 2013-02-07 Roland McGrath <roland@hack.frob.com>
32617 * nscd/nscd-client.h (__nscd_drop_map_ref):
32618 Add __attribute__ ((unused)).
32619 * nis/nss-nisplus.h (niserr2nss): Likewise.
32621 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32622 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32624 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32625 Remove inline keyword.
32626 * include/rounding-mode.h (round_away): Likewise.
32627 * libio/wfileops.c (adjust_wide_data): Likewise.
32628 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32629 (__m128i_strloadu_tolower): Likewise.
32630 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32631 (__m128i_strloadu_tolower): Likewise.
32632 * time/mktime.c (ydhms_diff): Likewise.
32633 * locale/elem-hash.h (elem_hash): Likewise.
32634 * locale/setlocale.c (setdata): Likewise.
32635 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32636 (re_string_wchar_at): Likewise.
32637 (bitset_not, bitset_merge, bitset_mask): Likewise.
32638 [!(__GNUC__ > 3)] (inline): Remove macro.
32639 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32640 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32641 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32642 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32643 * string/memcmp.c (memcmp_bytes): Likewise.
32644 * locale/programs/locarchive.c (compute_hashval): Likewise.
32645 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32646 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32647 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32648 * nss/getent.c (print_rpc, print_protocols): Likewise.
32649 (print_passwd, print_group, print_aliases): Likewise.
32650 * nis/nss-nisplus.h (niserr2nss): Likewise.
32651 * nscd/connections.c (restart_p): Likewise.
32652 Change return type to bool.
32654 2013-02-05 Roland McGrath <roland@hack.frob.com>
32656 * Makeconfig (all-Depend-files): Add existing
32657 $(sorted-subdirs:=/Depend) files.
32658 (all-subdirs): Remove nss.
32659 * sysdeps/unix/inet/Subdirs: Add it here instead.
32660 * hesiod/Depend: New file.
32662 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32663 instead of calling alloca.
32665 * io/lseek.c (__lseek): Rename to __libc_lseek.
32666 Define __lseek as an alias.
32668 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32670 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32672 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32673 else clause and remove check for non-standard endianness.
32675 2013-02-04 David S. Miller <davem@davemloft.net>
32677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32679 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32682 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32683 (__ubp_memchr): Remove prototype.
32684 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32685 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32686 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32687 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32688 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32690 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32691 (__ubp_memchr): Likewise.
32692 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32693 (__ubp_memchr): Likewise.
32694 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32695 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32696 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32697 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32699 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32700 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32701 (__getcwd): Do not use CHECK_STRING.
32702 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32704 (__real_chown): Do not use CHECK_STRING.
32705 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32707 (fchownat): Do not use CHECK_STRING.
32708 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32710 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32712 (__lchown): Do not use CHECK_STRING.
32713 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32714 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32715 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32716 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32718 include <bp-checks.h>.
32719 (truncate64): Do not use CHECK_STRING.
32720 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32722 (__real_chown): Do not use CHECK_STRING.
32723 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32725 (__lchown): Do not use CHECK_STRING.
32726 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32728 (__chown): Do not use CHECK_STRING.
32729 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32731 (truncate64): Do not use CHECK_STRING.
32732 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32734 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32735 (__xmknod): Do not use CHECK_STRING.
32736 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32738 (__xmknodat): Do not use CHECK_STRING.
32739 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32740 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32742 2013-02-04 Andreas Schwab <schwab@suse.de>
32745 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32746 * include/netdb.h: Likewise for h_errno.
32747 * elf/tst-stackguard1.c: Include <tls.h>.
32749 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32751 * elf/link.h (struct link_map): Extend the l_addr comment.
32752 * include/link.h (struct link_map): Likewise.
32754 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32757 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32758 (BOUNDED_1): Remove macro.
32759 * debug/backtrace.c: Don't include <bp-checks.h>.
32760 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32761 (__backtrace): Likewise.
32762 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32764 (__backtrace): Don't use BOUNDED_1.
32765 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32767 (__backtrace): Don't use BOUNDED_1.
32768 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32769 (__backtrace): Don't use BOUNDED_1.
32770 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32771 (shmat): Don't use BOUNDED_N.
32773 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32776 * sysdeps/generic/bp-start.h: Remove file.
32777 * csu/libc-start.c: Don't include <bp-start.h>.
32778 (LIBC_START_MAIN): Set up __environ directly instead of using
32779 INIT_ARGV_and_ENVIRON.
32780 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32784 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32786 (CHECK_FCNTL): Likewise.
32787 (CHECK_N_PAGES): Likewise.
32790 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32792 (CHECK_SIGSET_NULL_OK): Likewise.
32793 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32795 (sigpending): Don't use CHECK_SIGSET.
32796 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32798 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32799 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32801 (do_sigsuspend): Don't use CHECK_SIGSET.
32802 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32804 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32805 (do_sigwait): Don't use CHECK_SIGSET.
32806 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32809 include <bp-checks.h>.
32810 (sigpending): Don't use CHECK_SIGSET.
32811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32812 include <bp-checks.h>.
32813 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32814 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32816 (sigpending): Don't use CHECK_SIGSET.
32817 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32819 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32822 * sysdeps/generic/bp-semctl.h: Remove file.
32823 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32824 <bp-checks.h> and <bp-semctl.h>.
32825 (__old_semctl): Don't use CHECK_SEMCTL.
32826 (__new_semctl): Likewise.
32827 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32829 (__old_semctl): Don't use CHECK_SEMCTL.
32830 (__new_semctl): Likewise.
32831 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32832 <bp-checks.h> and <bp-semctl.h>.
32833 (__old_semctl): Don't use CHECK_SEMCTL.
32834 (__new_semctl): Likewise.
32835 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32836 <bp-checks.h> and <bp-semctl.h>.
32837 (semctl): Don't use CHECK_SEMCTL.
32840 * Makerules (elide-bp-thunks): Remove variable.
32841 (elide-routines.oS): Don't use $(elide-bp-thunks).
32842 (elide-routines.os): Likewise.
32843 (elide-routines.o): Likewise.
32844 (elide-routines.op): Likewise.
32845 (elide-routines.og): Likewise.
32846 (objects): Don't use $(bp-thunks).
32847 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32849 (common-generated): Do not add s-proto-bp.d.
32850 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32853 Do not generate makefile rules for bounded-pointer thunks.
32854 * sysdeps/generic/bp-thunks.h: Remove file.
32855 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32856 * sysdeps/unix/s-proto-bp.S: Likewise.
32859 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32860 parts of result separately when argument is not close to line from
32861 -i to i and one part of argument is small.
32862 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32863 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32864 * math/libm-test.inc (cacos_test): Add more tests.
32865 (casin_test): Likewise.
32866 (casinh_test): Likewise.
32867 * sysdeps/i386/fpu/libm-test-ulps: Update.
32868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870 2013-01-31 David S. Miller <davem@davemloft.net>
32872 * po/de.po: Update from translation team.
32874 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32876 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32878 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32880 * configure.in (_AC_PROG_CC_C89): New definition.
32881 * configure: Regenerate.
32883 * configure.in (AC_PROG_CPP): New definition.
32884 * configure: Regenerate.
32886 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32888 * debug/tst-backtrace.h: New file.
32889 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32890 (ret): Remove variable.
32892 (FAIL): Remove macro.
32893 (NO_INLINE): Likewise.
32894 (fn1): Use match function instead of strstr.
32895 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32896 (ret): Remove variable.
32898 (FAIL): Remove macro.
32899 (NO_INLINE): Likewise.
32900 (fn): Use match function instead of strstr.
32901 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32902 (ret): Remove variable.
32904 (FAIL): Remove macro.
32905 (NO_INLINE): Likewise.
32906 (handle_signal): Use match function instead of strstr.
32907 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32908 (ret): Remove variable.
32910 (FAIL): Remove macro.
32911 (NO_INLINE): Likewise.
32912 (handle_signal): Use match function instead of strstr.
32914 2013-01-23 Roland McGrath <roland@hack.frob.com>
32916 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32918 2013-01-23 David S. Miller <davem@davemloft.net>
32920 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32921 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32922 argument of CAS if possible.
32923 * sysdeps/sparc/sparc64/bits/atomic.h
32924 (__arch_compare_and_exchange_val_32_acq): Likewise.
32925 (__arch_compare_and_exchange_val_64_acq): Likewise.
32927 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32929 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32930 * sysdeps/posix/ulimit.c: ... this.
32931 Include <limits.h>.
32932 * sysdeps/unix/bsd/ulimit.c: Remove file.
32934 2013-01-23 Adam Conrad <adconrad@0c3.net>
32936 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32937 (LDFLAGS-tst-array5): Likewise.
32939 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32942 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32943 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32944 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32945 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32947 2013-01-21 David S. Miller <davem@davemloft.net>
32949 * sysdeps/sparc/backtrace.c: New file.
32950 * sysdeps/sparc/sparc32/backtrace.h: New file.
32951 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32952 * sysdeps/sparc/sparc64/backtrace.h: New file.
32953 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32954 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32957 2013-01-21 Andreas Schwab <schwab@suse.de>
32960 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32963 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32969 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32970 Mark Mitchell <mark@codesourcery.com>
32971 Tom de Vries <tom@codesourcery.com>
32972 Paul Pluzhnikov <ppluzhnikov@google.com>
32974 * debug/tst-backtrace2.c: New file.
32975 * debug/tst-backtrace3.c: Likewise.
32976 * debug/tst-backtrace4.c: Likewise.
32977 * debug/tst-backtrace5.c: Likewise.
32978 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32979 (CFLAGS-tst-backtrace3.c): Likewise.
32980 (CFLAGS-tst-backtrace4.c): Likewise.
32981 (CFLAGS-tst-backtrace5.c): Likewise.
32982 (LDFLAGS-tst-backtrace2): Likewise.
32983 (LDFLAGS-tst-backtrace3): Likewise.
32984 (LDFLAGS-tst-backtrace4): Likewise.
32985 (LDFLAGS-tst-backtrace5): Likewise.
32986 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32987 tst-backtrace4 and tst-backtrace5.
32989 2013-01-18 Anton Blanchard <anton@samba.org>
32990 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32992 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32993 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32994 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32995 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32997 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32998 "+r" and remove output regs list as redundant. Add explicit inline
32999 asm to specify register of return val to work around compiler codegen
33000 bug. Remove (int) cast on return value. Add return type parameter to
33001 use in macro so that this macro does not truncate return value for
33003 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33004 pass to INTERNAL_VSYSCALL_NCS.
33005 (INLINE_VSYSCALL): Add 'long int' as return type to
33006 INTERNAL_VSYSCALL_NCS macro invocation.
33007 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33008 INTERNAL_VSYSCALL_NCS macro invocation.
33009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33011 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33014 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33015 Fix application of SIMD FP exception mask.
33017 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33018 mp_no from a power of two.
33019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33020 __mpexp_twomm1. Use __pow_mp.
33022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33025 2013-01-17 David S. Miller <davem@davemloft.net>
33027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33029 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33032 * include/complex.h: Condition contents on [!_COMPLEX_H].
33033 (__kernel_casinhf): New prototype.
33034 (__kernel_casinh): Likewise.
33035 (__kernel_casinhl): Likewise.
33036 * math/Makefile (libm_calls): Add k_casinh.
33037 * math/k_casinh.c: New file.
33038 * math/k_casinhf.c: Likewise.
33039 * math/k_casinhl.c: Likewise.
33040 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33041 finite nonzero arguments.
33042 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33043 finite nonzero arguments.
33044 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33045 finite nonzero arguments.
33046 * math/s_casinh.c: Do not include <float.h>.
33047 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33048 * math/s_casinhf.c: Do not include <float.h>.
33049 (__casinhf): Move code for finite nonzero arguments to
33051 * math/s_casinhl.c: Do not include <float.h>.
33052 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33054 (__casinhl): Move code for finite nonzero arguments to
33056 * math/libm-test.inc (cacos_test): Add more tests.
33057 * sysdeps/i386/fpu/libm-test-ulps: Update.
33058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33060 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33062 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33063 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33064 [!HAVE_MREMAP]: Remove [defined linux] case.
33065 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33067 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33069 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33071 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33073 * elf/elf.h (R_386_SIZE32): New relocation.
33074 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33076 (elf_machine_rela): Likewise.
33077 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33078 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33080 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33082 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33083 (FP_FAST_FMA): Do not define.
33084 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33085 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33086 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33087 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33088 !_SOFT_FLOAT]: Likewise.
33089 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33090 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33092 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33093 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33094 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33095 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33096 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33097 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33100 2013-01-16 Andreas Schwab <schwab@suse.de>
33103 * include/stdlib.h (__mktemp): Add declaration.
33104 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33105 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33107 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33109 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33111 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33112 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33113 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33115 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33116 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33118 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33120 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33121 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33122 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33124 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33125 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33127 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33129 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33131 2013-01-15 David S. Miller <davem@davemloft.net>
33133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33134 trunc{,f} to libm-sysdep_routes.
33135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33145 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33146 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33147 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33148 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33149 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33150 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33153 nearbyint{,f} to libm-sysdep_routes.
33154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33165 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33168 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33170 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33171 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33172 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33174 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33175 libc_feholdexcept and libc_fesetenv.
33177 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33179 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33181 2013-01-14 David S. Miller <davem@davemloft.net>
33183 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33184 (SPARC_ASM_VIS2_IFUNC): Likewise.
33185 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33187 use of 'siam' instruction.
33188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33221 routines to libm-sysdep_routines.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33225 fdim/fdimf to libm-sysdep_routines.
33226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33234 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33235 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33239 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33241 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33242 to optimize copies.
33244 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33249 local variable MPTWO.
33250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33253 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33255 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33258 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33260 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33262 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33264 * manual/pattern.texi (glob_t): Document gl_flags.
33265 (glob64_t): Likewise.
33267 2013-01-11 David S. Miller <davem@davemloft.net>
33269 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33270 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33271 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33272 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33273 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33274 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33275 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33276 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33277 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33278 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33279 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33280 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33281 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33283 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33284 sparc V9 rather than using V8 code.
33285 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33286 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33290 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33293 2013-01-11 Roland McGrath <roland@hack.frob.com>
33295 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33296 not in the main loop.
33297 * configure: Regenerated.
33299 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33301 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33302 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33304 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33305 [!__GLIBC_HAVE_LONG_LONG] case.
33306 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33307 condition to just #else.
33308 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33309 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33310 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33311 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33313 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33314 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33315 #elif condition to just #else.
33316 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33317 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33318 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33319 #elif condition to just #else.
33321 2013-01-11 Steve Ellcey <sellcey@mips.com>
33323 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33324 (EF_MIPS_ARCH_64): Fix value.
33325 (EF_MIPS_ARCH_32R2): New.
33326 (EF_MIPS_ARCH_64R2): New.
33328 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33330 * Makeconfig (+link-pie-before-libc): New.
33331 (+link-pie-after-libc): Likewise.
33332 (+link-pie-tests): Likewise.
33333 (+link-pie): Rewritten.
33334 (link-before-libc): Remove $(config-LDFLAGS).
33335 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33336 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33337 (config-LDFLAGS): Renamed to ...
33338 (rtld-LDFLAGS): This.
33339 (rtld-tests-LDFLAGS): New macro.
33340 (link-libc-rpath-link): Likewise.
33341 (link-libc-tests-rpath-link): Likewise.
33342 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33343 (link-libc): Prepand $(link-libc-rpath-link).
33344 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33345 (test-program-prefix): New macro.
33346 (test-via-rtld-prefix): Likewise.
33347 (test-program-cmd): Likewise.
33348 (host-test-program-cmd): Likewise.
33349 * Makefile ($(common-objpfx)testrun.sh): Replace
33350 $(run-program-prefix) with $(test-program-prefix).
33351 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33353 ($(common-objpfx)shlib.lds): Likewise.
33354 (build-module-helper): Likewise.
33355 ($(common-objpfx)format.lds): Likewise.
33356 * Rules (binaries-pie-tests): New.
33357 (binaries-pie-notests): Likewise.
33358 (binaries-pie): Rewritten.
33359 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33360 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33361 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33362 (make-test-out): Replace $(host-built-program-cmd) with
33363 $(host-test-program-cmd).
33364 * config.make.in (build-hardcoded-path-in-tests): New variable.
33365 * configure.in (--enable-hardcoded-path-in-tests): New configure
33367 (hardcoded_path_in_tests): New AC_SUBST.
33368 * configure: Regenerated.
33369 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33370 $(built-program-cmd) with $(test-program-cmd).
33371 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33372 (test_program_cmd): This.
33373 * elf/Makefile ($(objpfx)order.out): Run test with
33374 $(test-program-prefix).
33375 ($(objpfx)order2.out): Likewise.
33376 ($(objpfx)tst-initorder.out): Likewise.
33377 ($(objpfx)tst-initorder2.out): Likewise.
33378 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33379 $(test-program-cmd).
33380 ($(objpfx)tst-array1-static.out): Likewise.
33381 ($(objpfx)tst-array2.out): Likewise.
33382 ($(objpfx)tst-array3.out): Likewise.
33383 ($(objpfx)tst-array4.out): Likewise.
33384 ($(objpfx)tst-array5.out): Likewise.
33385 ($(objpfx)tst-array5-static.out): Likewise.
33386 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33387 $(test-program-cmd).
33388 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33389 $(run-program-prefix) with $(test-program-prefix).
33390 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33391 (test_program_prefix): This.
33392 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33393 $(run-program-prefix) with $(test-program-prefix).
33394 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33395 (test_program_prefix): This.
33396 * iconvdata/tst-tables.sh: Likewise.
33397 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33398 $(run-program-prefix) with $(test-program-prefix).
33399 ($(objpfx)tst-translit.out): Likewise.
33400 ($(objpfx)tst-gettext2.out): Likewise.
33401 ($(objpfx)tst-gettext4.out): Likewise.
33402 ($(objpfx)tst-gettext6.out): Likewise.
33403 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33404 (test_program_prefix): This.
33405 * intl/tst-gettext2.sh: Likewise.
33406 * intl/tst-gettext4.sh Likewise.
33407 * intl/tst-gettext6.sh: Likewise.
33408 * intl/tst-translit.sh: Likewise.
33409 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33410 with $(test-program-cmd).
33411 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33412 $(run-program-prefix) with $(test-program-prefix).
33413 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33414 (test_program_prefix): This.
33415 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33416 $(run-program-prefix) with $(test-program-prefix).
33417 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33418 (test_program_prefix): This.
33419 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33420 * posix/Makefile ($(objpfx)globtest.out): Replace
33421 $(run-via-rtld-prefix) and $(test-wrapper) with
33422 $(test-program-prefix) and $(test-via-rtld-prefix).
33423 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33424 $(test-program-prefix).
33425 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33426 $(host-test-program-cmd).
33427 (tst-spawn-ARGS): Likewise.
33428 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33429 $(test-program-prefix).
33430 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33431 (test_via_rtld_prefix): This.
33432 (test_wrapper): Renamed to ...
33433 (test_program_prefix): This.
33434 (run_program_prefix): Replaced by test_program_prefix.
33435 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33436 (test_program_prefix): This.
33437 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33438 with $(host-test-program-cmd).
33439 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33440 $(run-program-prefix) with $(test-program-prefix).
33441 ($(objpfx)tst-printf.out): Likewise.
33442 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33443 $(test-program-cmd).
33444 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33445 (test_program_prefix): This.
33446 * stdio-common/tst-unbputc.sh: Likewise.
33447 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33448 $(run-program-prefix) with $(test-program-prefix).
33449 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33450 (test_program_prefix): This.
33451 * string/Makefile ($(objpfx)tst-svc.out): Replace
33452 $(built-program-cmd) with $(test-program-cmd).
33454 2013-01-11 Andreas Jaeger <aj@suse.de>
33457 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33458 value. Sync with Linux 3.7.
33460 2013-01-10 David S. Miller <davem@davemloft.net>
33462 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33463 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33464 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33466 2013-01-10 Roland McGrath <roland@hack.frob.com>
33468 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33470 * configure: Regenerated.
33472 2013-01-10 David S. Miller <davem@davemloft.net>
33474 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33475 sparc V9 rather than using V8 code.
33476 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33477 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33479 2013-01-10 Roland McGrath <roland@hack.frob.com>
33481 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33482 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33483 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33484 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33485 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33486 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33487 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33488 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33489 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33490 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33491 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33492 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33493 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33494 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33495 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33496 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33497 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33498 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33499 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33500 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33501 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33502 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33503 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33504 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33505 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33506 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33507 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33509 2013-01-10 David S. Miller <davem@davemloft.net>
33511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33513 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33515 * posix/Makefile (tests-static): New variable.
33516 (tests): Add $(tests-static).
33517 (tst-exec-static-ARGS): New variable.
33518 (tst-spawn-static-ARGS): Likewise.
33519 * posix/tst-exec-static.c: New file.
33520 * posix/tst-spawn-static.c: Likewise.
33521 * posix/tst-exec.c: Support run directly.
33522 * posix/tst-spawn.c: Likewise.
33524 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33526 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33528 * math/bits/mathcalls.h (llrint): Likewise.
33529 (llround): Likewise.
33530 * stdlib/stdlib.h (struct drand48_data): Likewise.
33531 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33532 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33533 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33535 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33537 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33538 (elf_greg_t): Likewise.
33539 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33540 (__jmp_buf): Likewise.
33541 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33543 (llrint): Likewise, for all definitions.
33544 (llrintl): Likewise.
33546 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33547 Remove [__GNUC__] condition.
33548 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33549 condition to just [__USE_ISOC99].
33550 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33552 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33555 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33556 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33558 (_POSIX_V6_ILP32_OFF32): Likewise.
33559 (_XBS5_ILP32_OFF32): Likewise.
33560 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33561 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33563 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33565 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33568 doubles __mpexp_twomm1. Adjust usage.
33569 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33572 2013-01-10 Andreas Schwab <schwab@suse.de>
33575 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33576 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33578 2013-01-09 David S. Miller <davem@davemloft.net>
33581 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33582 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33583 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33584 (TCP_FASTOPEN): Define.
33585 (tcp_repair_opt): New structure.
33586 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33588 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33589 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33590 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33591 (tcp_cookie_transactions): New structure.
33593 2013-01-09 Anton Blanchard <anton@samba.org>
33595 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33596 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33597 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33598 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33600 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33602 * include/features.h (__USE_ANSI): Remove.
33604 2013-01-09 Roland McGrath <roland@hack.frob.com>
33606 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33608 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33610 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33612 * sysdeps/s390/fpu/libm-test-ulps: Update.
33614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33616 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33620 (denorm): Likewise.
33621 (__mp_dbl): Likewise.
33622 (__dbl_mp): Likewise.
33623 (add_magnitudes): Likewise.
33624 (sub_magnitudes): Likewise.
33630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33634 (denorm): Likewise.
33635 (__mp_dbl): Likewise.
33636 (__dbl_mp): Likewise.
33637 (add_magnitudes): Likewise.
33638 (sub_magnitudes): Likewise.
33644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33648 (denorm): Likewise.
33649 (__mp_dbl): Likewise.
33650 (__dbl_mp): Likewise.
33651 (add_magnitudes): Likewise.
33652 (sub_magnitudes): Likewise.
33659 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33661 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33662 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33663 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33664 2 && __USE_EXTERN_INLINES]: Likewise.
33666 2013-01-08 Andreas Jaeger <aj@suse.de>
33669 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33671 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33672 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33674 2013-01-07 Anton Blanchard <anton@samba.org>
33676 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33677 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33678 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33679 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33680 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33681 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33682 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33683 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33686 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33687 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33689 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33690 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33691 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33692 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33693 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33694 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33695 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33696 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33697 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33698 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33699 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33700 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33701 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33702 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33703 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33704 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33705 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33706 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33708 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33709 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33710 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33711 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33712 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33713 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33714 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33715 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33716 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33717 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33718 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33720 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33722 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33723 (__MALLOC_PMT): Likewise.
33724 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33725 [__GNUC__], only on [_LIBC].
33726 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33727 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33728 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33729 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33730 forward declaration.
33731 (realloc_hook_ini): Likewise.
33732 (memalign_hook_ini): Likewise.
33733 (__libc_memalign): Do not use __MALLOC_PMT in variable
33735 (__libc_valloc): Likewise.
33736 (__libc_pvalloc): Likewise.
33737 (__libc_calloc): Likewise.
33738 (__posix_memalign): Likewise.
33741 * math/s_casinh.c: Include <float.h>.
33742 (__casinh): Do not do computation with squaring and square root
33743 for large arguments.
33744 * math/s_casinhf.c: Include <float.h>.
33745 (__casinhf): Do not do computation with squaring and square root
33746 for large arguments.
33747 * math/s_casinhl.c: Include <float.h>.
33748 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33749 (__casinhl): Do not do computation with squaring and square root
33750 for large arguments.
33751 * math/libm-test.inc (casin_test): Add more tests.
33752 (casinh_test): Likewise.
33753 * sysdeps/i386/fpu/libm-test-ulps: Update.
33754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33756 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33758 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33759 (__x86_64_raw_data_cache_size): Likewise.
33760 (__x86_64_data_cache_size_half): Likewise.
33761 (__x86_64_raw_data_cache_size_half): Likewise.
33762 (__x86_64_shared_cache_size): Likewise.
33763 (__x86_64_raw_shared_cache_size): Likewise.
33764 (__x86_64_shared_cache_size_half): Likewise.
33765 (__x86_64_raw_shared_cache_size_half): Likewise.
33766 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33768 (__x86_data_cache_size): This.
33769 (__x86_64_raw_data_cache_size): Renamed to ...
33770 (__x86_raw_data_cache_size): This.
33771 (__x86_64_data_cache_size_half): Renamed to ...
33772 (__x86_data_cache_size_half): This.
33773 (__x86_64_raw_data_cache_size_half): Renamed to ...
33774 (__x86_raw_data_cache_size_half): This.
33775 (__x86_64_shared_cache_size): Renamed to ...
33776 (__x86_shared_cache_size): This.
33777 (__x86_64_raw_shared_cache_size): Renamed to ...
33778 (__x86_raw_shared_cache_size): This.
33779 (__x86_64_shared_cache_size_half): Renamed to ...
33780 (__x86_shared_cache_size_half): This.
33781 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33782 (__x86_raw_shared_cache_size_half): This.
33783 * sysdeps/x86_64/memcpy.S: Updated.
33784 * sysdeps/x86_64/memset.S: Likewise.
33785 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33786 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33789 2013-01-04 David S. Miller <davem@davemloft.net>
33791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33793 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33795 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33796 1 to avoid redefinition warning.
33797 (__USE_GNU): Don't define.
33798 (init_signaling_nan): Protoize.
33800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33802 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33804 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33806 (__cpymn): Likewise.
33807 (norm): Remove commented code.
33808 (denorm): Likewise.
33809 (__mp_dbl): Likewise.
33811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33812 (__cpymn): Likewise.
33813 (norm): Remove commented code.
33814 (denorm): Likewise.
33815 (__mp_dbl): Likewise.
33818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33819 mp_no value for 1.0 and 2.0.
33820 (norm): Use RADIXI instead of radixi.d.
33821 (denorm): Likewise.
33822 (__mul): Use 0.0 instead of zero.d.
33823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33824 mp_no value for 1.0 and 2.0.
33825 (norm): Use RADIXI instead of radixi.d.
33826 (denorm): Likewise.
33827 (__mul): Use 0.0 instead of zero.d.
33829 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33832 * math/s_casinh.c (__casinh): Reduce finite argument to first
33833 quadrant then set signs of results at the end.
33834 * math/s_casinhf.c (__casinhf): Likewise.
33835 * math/s_casinhl.c (__casinhl): Likewise.
33836 * math/libm-test.inc (casin_test): Add more tests.
33837 (casinh_test): Likewise.
33838 * sysdeps/i386/fpu/libm-test-ulps: Update.
33839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33841 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33843 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33845 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33847 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33849 (denorm): Likewise.
33850 (__mp_dbl): Likewise.
33853 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33854 and adjust the header comment.
33856 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33857 variable name from declaration.
33859 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33862 Initialize COMMON_CPUID_INDEX_7 element.
33863 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33864 (CPUID_RTM): Likewise.
33865 (HAS_RTM): Likewise.
33866 (COMMON_CPUID_INDEX_7): New enum.
33868 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33871 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33872 size is zero, record memory as freed.
33874 2013-01-03 Andreas Jaeger <aj@suse.de>
33876 * po/ia.po: Add new Interlingua translation.
33878 2012-01-03 Allan McRae <allan@archlinux.org>
33880 * locale/programs/localedef.c: Fix description of '--posix' flag.
33882 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33884 * NEWS: Update dates in second copyright notice.
33885 * README: Update copyright dates in example.
33886 * manual/libc.texinfo: Update copyright dates.
33887 * scripts/test-installation.pl: Update copyright date in --version
33890 * hurd/ctty-input.c: Fix copyright notice formatting.
33891 * hurd/ctty-output.c: Likewise.
33892 * hurd/dtable.c: Likewise.
33893 * hurd/hurd-raise.c: Likewise.
33894 * hurd/hurdprio.c: Likewise.
33895 * hurd/msgportdemux.c: Likewise.
33896 * misc/sys/file.h: Likewise.
33897 * misc/sys/ioctl.h: Likewise.
33898 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33899 * sysdeps/mach/hurd/chdir.c: Likewise.
33900 * sysdeps/mach/hurd/fchdir.c: Likewise.
33901 * sysdeps/mach/hurd/rename.c: Likewise.
33902 * sysdeps/mach/hurd/rmdir.c: Likewise.
33903 * sysdeps/mach/hurd/seekdir.c: Likewise.
33904 * sysdeps/mach/hurd/setsid.c: Likewise.
33905 * sysdeps/posix/wait3.c: Likewise.
33907 * All files with FSF copyright notices: Update copyright dates
33908 using scripts/update-copyrights.
33909 * intl/plural.c: Regenerated.
33910 * locale/programs/charmap-kw.h: Likewise.
33911 * locale/programs/locfile-kw.h: Likewise.
33913 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33915 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33918 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33919 calculation loop and add branch prediction.
33921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33922 check access beyond bounds of m1np.
33924 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33926 (__inv): Remove local variable MPTWO to use the global
33928 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33931 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33932 MP3HALFS static const.
33934 2013-01-01 David S. Miller <davem@davemloft.net>
33936 * po/ca.po: Update from translation team.
33938 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33940 * scripts/update-copyrights: New file.
33941 * Makeconfig: Reformat copyright notice.
33942 * ctype/ctype.h: Likewise.
33943 * debug/swprintf_chk.c: Likewise.
33944 * elf/dl-cache.c: Likewise.
33945 * elf/dl-debug.c: Likewise.
33946 * elf/dl-object.c: Likewise.
33947 * grp/initgroups.c: Likewise.
33948 * hurd/Makefile: Likewise.
33949 * hurd/hurd/signal.h: Likewise.
33950 * hurd/hurdfault.c: Likewise.
33951 * hurd/hurdioctl.c: Likewise.
33952 * hurd/hurdlookup.c: Likewise.
33953 * hurd/intr-msg.c: Likewise.
33954 * iconv/gconv_open.c: Likewise.
33955 * libio/swprintf.c: Likewise.
33956 * locale/lc-ctype.c: Likewise.
33957 * locale/nl_langinfo.c: Likewise.
33958 * mach/Machrules: Likewise.
33959 * mach/Makefile: Likewise.
33960 * malloc/obstack.h: Likewise.
33961 * manual/Makefile: Likewise.
33962 * manual/tsort.awk: Likewise.
33963 * misc/bits/stab.def: Likewise.
33964 * nis/nis_print_group_entry.c: Likewise.
33965 * nis/nis_table.c: Likewise.
33966 * nis/nss_compat/compat-pwd.c: Likewise.
33967 * nis/nss_compat/compat-spwd.c: Likewise.
33968 * po/Makefile: Likewise.
33969 * posix/fnmatch.c: Likewise.
33970 * posix/regex.h: Likewise.
33971 * resolv/Makefile: Likewise.
33972 * resolv/nss_dns/dns-network.c: Likewise.
33973 * resolv/res_hconf.c: Likewise.
33974 * scripts/gen-sorted.awk: Likewise.
33975 * soft-fp/soft-fp.h: Likewise.
33976 * stdio-common/printf.h: Likewise.
33977 * stdlib/monetary.h: Likewise.
33978 * stdlib/random.c: Likewise.
33979 * stdlib/random_r.c: Likewise.
33980 * sysdeps/generic/Makefile: Likewise.
33981 * sysdeps/gnu/Makefile: Likewise.
33982 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33986 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33994 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33995 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33998 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34000 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34001 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34002 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34003 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34010 * sysdeps/mach/hurd/errnos.awk: Likewise.
34011 * sysdeps/mach/hurd/fork.c: Likewise.
34012 * sysdeps/mach/hurd/getcwd.c: Likewise.
34013 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34014 * sysdeps/mach/hurd/mmap.c: Likewise.
34015 * sysdeps/mach/hurd/utimes.c: Likewise.
34016 * sysdeps/mach/hurd/xmknod.c: Likewise.
34017 * sysdeps/posix/profil.c: Likewise.
34018 * sysdeps/posix/readdir_r.c: Likewise.
34019 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34020 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34021 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34022 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34024 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34025 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34026 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34028 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34029 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34030 * sysdeps/pthread/lio_listio.c: Likewise.
34031 * sysdeps/sparc/dl-procinfo.h: Likewise.
34032 * sysdeps/unix/i386/sysdep.S: Likewise.
34033 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34034 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34035 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34036 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34038 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34039 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34040 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34041 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34042 * sysdeps/wordsize-32/divdi3.c: Likewise.
34043 * time/sys/time.h: Likewise.
34044 * wcsmbs/Makefile: Likewise.
34046 2013-01-01 David S. Miller <davem@davemloft.net>
34048 * po/fr.po: Update from translation team.
34050 * catgets/gencat.c: Update copyright year.
34051 * csu/version.c: Likewise.
34052 * debug/catchsegv.sh: Likewise.
34053 * debug/pcprofiledump.c: Likewise.
34054 * debug/xtrace.sh: Likewise.
34055 * elf/ldconfig.c: Likewise.
34056 * elf/ldd.bash.in: Likewise.
34057 * elf/pldd.c: Likewise.
34058 * elf/sotruss.ksh: Likewise.
34059 * elf/sprof.c: Likewise.
34060 * iconv/iconv_prog.c: Likewise.
34061 * iconv/iconvconfig.c: Likewise.
34062 * locale/programs/locale.c: Likewise.
34063 * locale/programs/localedef.c: Likewise.
34064 * login/programs/pt_chown.c: Likewise.
34065 * malloc/memusage.sh: Likewise.
34066 * malloc/memusagestat.c: Likewise.
34067 * malloc/mtrace.pl: Likewise.
34068 * nscd/nscd.c: Likewise.
34069 * nss/getent.c: Likewise.
34070 * nss/makedb.c: Likewise.
34071 * posix/getconf.c: Likewise.
34073 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34075 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34078 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34080 * math/bits/mathcalls.h (modf): Use __nonnull.
34082 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34084 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34085 (split): Use macro CN instead of the bare value.
34086 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34089 instead of the bare value.
34090 (power1): Likewise.
34092 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34094 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34096 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34098 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34100 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34101 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34102 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34103 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34105 2012-12-28 Andreas Jaeger <aj@suse.de>
34107 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34108 values are from Linux 3.7.
34110 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34111 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34113 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34115 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34118 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34120 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34121 variables with preprocessor constants.
34122 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34123 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34124 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34126 2012-12-27 Bruno Haible <bruno@clisp.org>
34129 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34132 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34135 and use variable directly.
34136 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34138 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34140 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34143 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34145 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34146 include directive. Remove local variable MPONE.
34147 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34148 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34149 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34151 2012-12-25 David S. Miller <davem@davemloft.net>
34153 * version.h (RELEASE): Set to "development".
34154 (VERSION): Set to "2.17.90".
34155 * NEWS: Add 2.18 section.
34157 2012-12-21 David S. Miller <davem@davemloft.net>
34159 * po/hr.po: Update from translation team.
34161 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34163 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34165 2012-12-19 Steve Ellcey <sellcey@mips.com>
34167 * NEWS: Mention new memcpy for MIPS.
34169 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34171 * manual/contrib.texi (Contributors): Spelling correction.
34173 2012-12-15 David S. Miller <davem@davemloft.net>
34175 * po/ru.po: Update from translation team.
34177 2012-12-13 David S. Miller <davem@davemloft.net>
34179 * NEWS: Mention IFUNC testsuite enhancements.
34181 * po/pl.po: Update from translation team.
34182 * po/bg.po: Likewise.
34184 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34185 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34187 2012-12-11 David S. Miller <davem@davemloft.net>
34189 * po/sv.po: Update from translation team.
34191 * po/vi.po: Update from translation team.
34193 * po/cs.po: Update from translation team.
34195 * po/de.po: Update from translation team.
34196 * po/eo.po: Likewise.
34197 * po/nl.po: Likewise.
34199 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34202 * manual/argp.texi (Argp Helper Functions): Move node to follow
34203 Argp Parsing State.
34206 * manual/conf.texi (Limits on File System Capacity): Mention if
34207 terminating null is included in the max size.
34209 2012-12-10 Andreas Jaeger <aj@suse.de>
34211 * po/cs.po: Update from translation team.
34213 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34215 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34216 void pointer and cast to uintptr_t.
34217 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34219 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34220 * sysdeps/s390/s390-64/memset.S: Likewise.
34222 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34225 * menual/message.texi (Message Translation): Fix typos.
34226 (Helper programs for gettext): Likewise.
34228 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34231 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34234 2012-12-07 David S. Miller <davem@davemloft.net>
34236 * po/libc.pot: Update.
34238 2012-12-07 Richard Henderson <rth@redhat.com>
34241 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34242 normal/normal case to before the switch.
34243 (_FP_DIV): Likewise.
34245 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34246 Mike Frysinger <vapier@gentoo.org>
34248 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34249 check for __NR_fadvise64_64.
34251 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34253 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34254 0, not just to plain "0" as a statement.
34255 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34258 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34260 * NEWS: Use sourceware.org in Bugzilla URL.
34262 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34265 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34267 * stdio-common/tst-put-error.c (do_test): Add newline to the
34268 padded test to ensure flush.
34270 2012-12-05 Jeff Law <law@redhat.com>
34272 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34274 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34276 * README: Don't refer to ports add-on as distributed separately.
34277 Mention AArch64 in list of systems supported in the ports add-on.
34279 * LICENSES: Add more non-FSF copyright and license notices.
34281 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34284 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34286 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34287 10000 as width of padded output.
34289 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34291 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34294 variable LX with __attribute__ ((unused)).
34295 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34297 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34298 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34299 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34300 with __attribute__ ((unused)).
34302 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34304 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34306 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34308 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34309 (CFLAGS-nldbl-acos.c): New variable.
34310 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34311 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34312 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34313 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34314 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34315 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34316 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34317 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34318 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34319 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34320 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34321 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34322 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34323 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34324 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34325 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34326 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34327 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34328 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34329 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34330 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34331 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34332 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34333 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34334 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34335 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34336 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34337 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34338 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34339 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34340 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34341 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34342 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34343 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34344 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34345 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34346 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34347 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34348 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34349 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34350 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34351 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34352 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34353 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34354 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34355 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34356 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34357 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34358 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34359 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34360 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34361 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34362 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34363 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34364 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34365 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34366 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34367 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34368 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34369 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34370 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34371 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34372 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34373 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34374 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34375 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34376 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34377 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34378 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34379 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34380 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34381 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34382 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34383 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34384 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34385 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34386 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34387 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34388 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34389 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34390 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34391 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34392 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34393 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34394 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34395 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34396 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34397 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34398 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34399 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34400 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34401 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34402 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34403 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34404 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34405 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34406 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34409 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34412 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34413 whole low double instead of just low 47 bits when splitting values
34416 2012-12-03 Allan McRae <allan@archlinux.org>
34418 * manual/stdio.texi (Predefined Printf Handlers): Remove
34419 @hsep and @vsep usage.
34421 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34423 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34424 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34426 2012-12-03 Jeff Law <law@redhat.com>
34428 * time/sys/time.h (settimeofday): Do not mark TV argument
34431 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34433 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34434 when currently writing and seek to current position when not.
34435 * libio/Makefile (tests): Remove bug-fclose1.
34436 * libio/bug-fclose1.c: Delete.
34438 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34440 * manual/arith.texi (feenableexcept): Fix typo.
34441 (fedisableexcept): Likewise.
34443 2012-11-30 Roland McGrath <roland@hack.frob.com>
34445 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34446 second, differently-typed declaration, rather than a cast.
34448 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34450 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34451 * include/rpc/svc.h: ... here.
34453 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34456 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34457 depending n and resplen2 to catch cases where answer
34460 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34462 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34463 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34465 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34467 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34469 2012-11-29 Roland McGrath <roland@hack.frob.com>
34471 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34473 2012-11-28 Jeff Law <law@redhat.com>
34476 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34477 dataset_temporary. Track alloca usage into alloca_used.
34478 If dataset is large allocate and release it via malloc/free.
34480 2012-06-04 Florian Weimer <fweimer@redhat.com>
34483 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34485 2012-11-28 David S. Miller <davem@davemloft.net>
34487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34489 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34492 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34493 of pi/2 rounded to nearest to 64 bits.
34494 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34495 nearest to 64 bits.
34496 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34499 2012-11-28 Jeff Law <law@redhat.com>
34500 Martin Osvald <mosvald@redhat.com>
34503 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34504 * sunrpc/svc.c: Include time.h.
34505 (__svc_accept_failed): New function.
34506 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34507 any reason other than EINTR, call __svc_accept_failed.
34508 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34509 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34511 2012-11-28 Andreas Schwab <schwab@suse.de>
34513 * scripts/abilist.awk: Also handle indirect functions in .opd
34516 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34519 * sysdeps/x86/fpu/powl_helper.c: New file.
34520 * sysdeps/x86/fpu/Makefile: Likewise.
34521 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34523 (__ieee754_powl): Use __powl_helper for finite arguments except
34524 integer exponents below 8.
34525 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34527 (__ieee754_powl): Use __powl_helper for finite arguments except
34528 integer exponents below 8.
34529 * math/libm-test.inc (pow_test): Add more tests and enable some
34530 previously disabled tests.
34531 * sysdeps/i386/fpu/libm-test-ulps: Update.
34532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34534 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34535 Carlos O'Donell <carlos_odonell@mentor.com>
34537 * nss/makedb.c (is_prime): Assert that input is odd and greater
34538 than 4. Note that fact in a comment too.
34539 (next_prime): Add 4 to input.
34541 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34544 * libio/Makefile (tests): Add test case tst-fwrite-error.
34545 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34546 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34547 * libio/tst-fwrite-error.c: New test case.
34549 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34551 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34552 before casting to void *.
34553 * include/libc-internal.h (__pointer_type): New macro.
34554 (__integer_if_pointer_type_sub): Likewise.
34555 (__integer_if_pointer_type): Likewise.
34556 (cast_to_integer): Likewise.
34557 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34558 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34559 before casting to atomic64_t.
34560 (atomic_exchange_acq): Likewise.
34561 (__arch_exchange_and_add_body): Likewise.
34562 (__arch_add_body): Likewise.
34563 (atomic_add_negative): Likewise.
34564 (atomic_add_zero): Likewise.
34566 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34568 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34569 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34570 (add_fdes): Likewise.
34571 (linear_search_fdes): Likewise.
34572 (binary_search_unencoded_fdes): Likewise.
34574 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34576 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34578 2012-11-24 Adam Conrad <adconrad@0c3.net>
34580 * configure.in: Autodetect C++ header directories.
34581 * configure: Regenerated.
34583 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34585 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34587 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34591 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34593 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34594 LDBL_MANT_DIG == 106]: Disable some tests.
34595 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34597 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34601 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34602 input for small inputs. Return +/- pi/2 for large inputs.
34603 * math/libm-test.inc (atan_test): Add more tests.
34605 * sysdeps/generic/unwind-dw2-fde-glibc.c
34606 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34607 __attribute__ ((unused)).
34610 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34611 x * y if x and y are nonzero and z is zero.
34614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34615 nonzero exponents with absolute value below 0x1p-117 to +/-
34619 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34620 up arguments below 2**-450, not just those below 2**-500.
34621 * math/libm-test.inc (hypot_test): Add another test.
34624 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34625 Return a+b for ratio over 2**120, not 2**60.
34626 * math/libm-test.inc (hypot_test): Add another test.
34628 * math/libm-test.inc (clog_test): Use
34629 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34630 (clog10_test): Likewise.
34633 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34635 2012-11-22 Andreas Schwab <schwab@suse.de>
34637 * sysdeps/i386/fpu/libm-test-ulps: Update.
34639 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34641 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34642 printf output with newline.
34644 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34647 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34648 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34649 -z nodlopen, -z initfirst and -z execstack support.
34650 * configure: Regenerated.
34652 * elf/elf.h (DF_1_NODIRECT): New macro.
34653 (DF_1_IGNMULDEF): Likewise.
34654 (DF_1_NOKSYMS): Likewise.
34655 (DF_1_NOHDR): Likewise.
34656 (DF_1_EDITED): Likewise.
34657 (DF_1_NORELOC): Likewise.
34658 (DF_1_SYMINTPOSE): Likewise.
34659 (DF_1_GLOBAUDIT): Likewise.
34660 (DF_1_SINGLETON): Likewise.
34661 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34662 DT_1_SUPPORTED_MASK bits.
34663 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34665 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34667 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34669 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34671 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34674 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34675 (sendmmsg): Move declarations...
34676 * socket/sys/socket.h: ... here.
34677 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34678 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34680 * socket/recvmmsg.c: ... this new file.
34681 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34682 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34683 definition of __sendmmsg hidden.
34684 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34685 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34686 Move ENOSYS stub into and include it from...
34687 * socket/sendmmsg.c: ... this new file.
34688 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34689 (sysdep_routines): Move recvmmsg and sendmmsg...
34690 * socket/Makefile (routines): ... here.
34691 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34692 (GLIBC_PRIVATE): Add __sendmmsg.
34693 * include/sys/socket.h (__sendmmsg): Add declarations.
34694 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34697 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34699 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34700 variable I1 with __attribute__ ((unused)).
34701 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34703 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34705 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34706 DUMMY variables with __attribute__ ((unused)).
34708 * bits/byteswap.h: Include <bits/types.h>.
34709 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34711 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34713 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34714 string_t. Do not manually set errno.
34715 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34716 length with __strnlen. Make sure to both set errno and return it on
34719 2012-11-19 David S. Miller <davem@davemloft.net>
34721 With help from Joseph Myers.
34722 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34723 very large arguments properly.
34724 * math/libm-test.inc (atan_test): New tests.
34725 (atan2_test): New tests.
34726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34729 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34732 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34735 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34736 [POSIX] (EADDRNOTAVAIL): Likewise.
34737 [POSIX] (EAFNOSUPPORT): Likewise.
34738 [POSIX] (EALREADY): Likewise.
34739 [POSIX] (ECONNABORTED): Likewise.
34740 [POSIX] (ECONNREFUSED): Likewise.
34741 [POSIX] (ECONNRESET): Likewise.
34742 [POSIX] (EDESTADDRREQ): Likewise.
34743 [POSIX] (EDQUOT): Likewise.
34744 [POSIX] (EHOSTUNREACH): Likewise.
34745 [POSIX] (EIDRM): Likewise.
34746 [POSIX] (EISCONN): Likewise.
34747 [POSIX] (ELOOP): Likewise.
34748 [POSIX] (EMULTIHOP): Likewise.
34749 [POSIX] (ENETDOWN): Likewise.
34750 [POSIX] (ENETUNREACH): Likewise.
34751 [POSIX] (ENOBUFS): Likewise.
34752 [POSIX] (ENODATA): Likewise.
34753 [POSIX] (ENOLINK): Likewise.
34754 [POSIX] (ENOMSG): Likewise.
34755 [POSIX] (ENOPROTOOPT): Likewise.
34756 [POSIX] (ENOSR): Likewise.
34757 [POSIX] (ENOSTR): Likewise.
34758 [POSIX] (ENOTCONN): Likewise.
34759 [POSIX] (ENOTSOCK): Likewise.
34760 [POSIX] (EOPNOTSUPP): Likewise.
34761 [POSIX] (EOVERFLOW): Likewise.
34762 [POSIX] (EPROTO): Likewise.
34763 [POSIX] (EPROTONOSUPPORT): Likewise.
34764 [POSIX] (EPROTOTYPE): Likewise.
34765 [POSIX] (ESTALE): Likewise.
34766 [POSIX] (ETIME): Likewise.
34767 [POSIX] (ETXTBSY): Likewise.
34768 [POSIX] (EWOULDBLOCK): Likewise.
34769 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34770 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34771 [POSIX] (SEEK_CUR): Likewise.
34772 [POSIX] (SEEK_END): Likewise.
34773 [POSIX || UNIX98] (mode_t): Do not require.
34774 [POSIX] (off_t): Likewise.
34775 [POSIX] (pid_t): Likewise.
34776 [POSIX] (sys/stat.h): Do not allow header.
34777 [POSIX] (unistd.h): Likewise.
34778 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34779 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34780 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34781 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34783 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34784 sigevent): Specify elements.
34785 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34787 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34788 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34790 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34791 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34792 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34793 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34794 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34795 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34796 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34797 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34798 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34799 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34800 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34801 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34802 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34803 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34805 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34807 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34809 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34811 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34812 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34813 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34814 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34815 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34816 Specify lower bound on value.
34817 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34818 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34819 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34820 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34821 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34822 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34823 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34824 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34826 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34828 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34829 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34830 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34831 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34832 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34833 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34834 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34835 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34836 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34837 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34838 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34839 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34840 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34841 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34842 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34843 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34845 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34847 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34848 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34849 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34850 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34851 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34852 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34854 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34855 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34856 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34857 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34858 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34859 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34860 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34862 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34863 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34864 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34865 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34866 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34867 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34868 specify as optional.
34869 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34870 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34871 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34872 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34873 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34874 [XPG3] (NL_LANGMAX): Likewise.
34875 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34876 [POSIX || XPG3] (NL_NMAX): Likewise.
34877 [POSIX || XPG3] (NL_SETMAX): Likewise.
34878 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34879 [XPG3] (NZERO): Likewise.
34880 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34881 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34882 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34883 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34884 (REG_ERANGE): Expect.
34885 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34887 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34888 Use (void) in prototype.
34889 [POSIX] (*_t): Allow.
34890 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34891 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34892 (WRDE_BADVAL): Expect.
34894 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34896 [XPG3 || XPG4] (O_RSYNC): Likewise.
34897 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34899 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34900 [XPG3 || XPG4] (sigqueue): Likewise.
34901 [XPG3 || XPG4] (sigtimedwait): Likewise.
34902 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34903 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34904 [XPG3 || XPG4] (vsnprintf): Likewise.
34905 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34907 [XPG3 || XPG4] (blksize_t): Likewise.
34908 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34910 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34911 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34912 [XPG3 || XPG4] (struct itimerspec): Likewise.
34913 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34914 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34915 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34916 [XPG3 || XPG4] (clockid_t): Likewise.
34917 [XPG3 || XPG4] (timer_t): Likewise.
34918 [XPG3 || XPG4] (clock_getres): Likewise.
34919 [XPG3 || XPG4] (clock_gettime): Likewise.
34920 [XPG3 || XPG4] (clock_settime): Likewise.
34921 [XPG3 || XPG4] (nanosleep): Likewise.
34922 [XPG3 || XPG4] (timer_create): Likewise.
34923 [XPG3 || XPG4] (timer_delete): Likewise.
34924 [XPG3 || XPG4] (timer_gettime): Likewise.
34925 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34926 [XPG3 || XPG4] (timer_settime): Likewise.
34927 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34928 [XPG3 || XPG4] (getlogin_r): Likewise.
34929 [XPG3 || XPG4] (pread): Likewise.
34930 [XPG3 || XPG4] (pthread_atfork): Likewise.
34931 [XPG3 || XPG4] (pwrite): Likewise.
34934 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34937 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34939 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34940 finalizing MALLSTREAM.
34942 * sysdeps/mach/hurd/syncfs.c: New file.
34944 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34947 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34948 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34949 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34950 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34951 (_nss_dns_gethostbyname4_r): Likewise.
34952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34953 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34955 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34958 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34960 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34962 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34963 * elf/cache.c (print_entry): Print ",AArch64" for
34966 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34967 * elf/cache.c (print_entry): Print ",hard-float" for
34970 2012-11-18 David S. Miller <davem@davemloft.net>
34972 With help from Joseph Myers.
34973 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34975 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34977 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34978 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34980 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34981 * math/libm-test.inc (y0_test): New tests.
34982 (y1_test): New tests.
34983 * sysdeps/i386/fpu/libm-test-ulps: Update.
34984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34987 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34989 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34991 * configure: Regenerated.
34993 2012-11-17 David S. Miller <davem@davemloft.net>
34996 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34997 nonzero exponents with absolute value below 0x1p-128 to +/-
35000 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35002 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35004 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35006 * posix/getconf-speclist.c: New file.
35007 * posix/posix-envs.def: Likewise.
35008 * posix/confstr.c (START_ENV_GROUP): New macro.
35009 (END_ENV_GROUP): Likewise.
35010 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35011 (KNOWN_PRESENT_ENV_STRING): Likewise.
35012 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35013 (UNKNOWN_ENVIRONMENT): Likewise.
35014 (confstr): Include posix-envs.def instead of handling
35015 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35016 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35017 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35018 (END_ENV_GROUP): Likewise.
35019 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35020 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35021 (UNKNOWN_ENVIRONMENT): Likewise.
35022 (__sysconf): Include posix-envs.def instead of handling associated
35023 cases directly here.
35024 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35025 preprocessing getconf-speclist.c rather than running getconf or
35026 generating empty file.
35028 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35030 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35032 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35035 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35037 2012-11-16 David S. Miller <davem@davemloft.net>
35039 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35040 smaller than LDBL_EPSILON/2.0L, just return xm1.
35042 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35044 * elf/tst-array1.c (init): Set constructor priority to 1000.
35045 (fini): Set destructor priority to 1000.
35046 * elf/tst-array2dep.c: Likewise.
35048 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35051 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35052 (_IO_new_file_xsputn): Also return EOF if none of the input
35053 data was written when overflow failed.
35054 * libio/iopadn.c (_IO_padn): Likewise.
35055 * libio/iowpadn.c (_IO_wpadn): Likewise.
35056 * stdio-common/tst-put-error.c: Add copyright notice.
35057 (do_test): Add case for printing padded string.
35058 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35059 _IO_padn returned error.
35060 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35061 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35064 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35066 * libio/libioP.h: Add comment note that the references to C++
35067 bits are now obsolete.
35069 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35071 * math/libm-test.inc (check_complex): Use asprintf.
35073 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35075 * debug/pcprofiledump.c (print_version): Update copyright year.
35076 * malloc/memusagestat.c (print_version): Likewise.
35078 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35081 * elf/Makefile (tests): Add tst-audit8.
35082 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35083 ($(objpfx)tst-audit8.out): New target.
35084 (tst-audit8-ENV): New variable.
35085 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35086 audit if l_reloc_result is NULL.
35087 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35088 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35089 * elf/tst-audit8.c: New file.
35091 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35093 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35094 * misc/Makefile (CFLAGS-select.c): Define.
35095 * posix/Makefile (CFLAGS-pause.c): Define.
35097 2012-11-13 David S. Miller <davem@davemloft.net>
35099 * crypt/Makefile: Move test targets after toplevel Rules
35100 inclusion. Grab any necessary sysdep routines when linking.
35101 * crypt/md5.c (md5_process_block): Remove define, we will always
35102 name it __md5_process_block.
35103 (md5_finish_ctx): Update md5_process_block call.
35104 (md5_stream): Likewise.
35105 (md5_process_bytes): Likewise.
35106 (md5_process_block): Rename to __md5_process_block and move to ...
35107 * crypt/md5-block.c: ... here.
35108 * crypt/sha256.c (sha256_process_block): Move to ...
35109 * crypt/sha256-block.c: ... here.
35110 * crypt/sha512.c (sha512_process_block): Move to ...
35111 * crypt/sha512-block.c: ... here.
35112 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35114 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35115 * sysdeps/sparc/sparc64/multiarch/Makefile
35116 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35118 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35119 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35121 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35122 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35123 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35124 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35125 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35126 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35127 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35128 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35129 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35131 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35132 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35134 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35136 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35138 * timezone/tzselect.ksh: Update from tzcode git revision
35139 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35140 * timezone/zdump.c: Likewise.
35141 * timezone/zic.c: Likewise.
35142 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35143 in TZVERSION setting, not $(PKGVERSION).
35144 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35145 REPORT_BUGS_TO settings.
35148 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35151 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35153 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35154 detection to immediately after _FP_ROUND().
35155 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35158 2012-11-11 David S. Miller <davem@davemloft.net>
35160 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35162 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35163 __close rather than their public counterparts.
35165 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35167 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35169 [UNIX98] (sem_timedwait): Do not expect.
35170 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35171 [XPG4 || UNIX98] (sockatmark): Do not expect.
35172 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35173 (clock_getcpuclockid): Do not expect.
35174 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35175 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35177 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35178 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35179 [UNIX98] (vwscanf): Likewise.
35180 [UNIX98] (vswscanf): Likewise.
35182 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35184 * timezone/version.h: Remove file.
35185 * timezone/README: Do not refer to version.h.
35186 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35187 $(objpfx)version.h.
35188 ($(objpfx)zdump.o): Likewise.
35189 ($(objpfx)version.h): New target.
35191 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35193 * timezone/README: Don't mention modification to tzselect.ksh.
35194 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35195 work on unmodified tzselect.ksh. Substitute version numbers in
35198 * Makefile (format-me): Remove.
35199 (INSTALL): Adjust indentation. Use commands directly instead of
35200 using $(format-me).
35202 * aclocal.m4 (ACX_PKGVERSION): New macro.
35203 (ACX_BUGURL): Likewise.
35204 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35205 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35206 (REPORT_BUGS_TO): Likewise.
35207 * configure: Regenerated.
35208 * config.h.in (PKGVERSION): New macro.
35209 (REPORT_BUGS_TO): Likewise.
35210 * config.make.in (PKGVERSION): New variable.
35211 (PKGVERSION_TEXI): Likewise.
35212 (REPORT_BUGS_TO): Likewise.
35213 (REPORT_BUGS_TEXI): Likewise.
35214 * Makefile (format-me): Use -I$(common-objpfx)manual.
35215 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35216 ($(common-objpfx)manual/%): New target.
35217 (manual/%): Remove target.
35218 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35219 (print_version): Use PKGVERSION.
35220 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35221 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35222 and REPORT_BUGS_TO.
35223 ($(objpfx)xtrace): Likewise.
35224 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35225 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35226 (print_version): Use PKGVERSION.
35227 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35228 (do_version): Use PKGVERSION.
35229 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35231 (common-ldd-rewrite): Likewise.
35232 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35233 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35234 (print_version): Use PKGVERSION.
35235 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35236 * elf/pldd.c (argp_program_bug_address): Remove variable.
35237 (more_help): New function.
35238 (argp): Use more_help.
35239 (print_version): Use PKGVERSION.
35240 * elf/sln.c (main): Use PKGVERSION.
35241 (usage): Use REPORT_BUGS_TO.
35242 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35243 (top level): Use PKGVERSION.
35244 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35245 (print_version): Use PKGVERSION.
35246 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35247 (print_version): Use PKGVERSION.
35248 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35249 (print_version): Use PKGVERSION.
35250 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35251 (print_version): Use PKGVERSION.
35252 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35253 (print_version): Use PKGVERSION.
35254 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35255 (print_version): Use PKGVERSION.
35256 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35258 ($(objpfx)memusage): Likewise.
35259 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35260 (do_version): Use PKGVERSION.
35261 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35262 (print_version): Use PKGVERSION.
35263 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35264 ($PKGVERSION): New variable.
35265 ($REPORT_BUGS_TO): Likewise.
35266 (usage): Use $REPORT_BUGS_TO.
35267 (top level): Use $PKGVERSION.
35268 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35269 ($(objpfx)pkgvers.texi): New rule.
35270 ($(objpfx)stamp-pkgvers): Likewise.
35271 * manual/install.texi: Include pkgvers.texi.
35272 (--with-pkgversion): Document new configure option.
35273 (--with-bugurl): Likewise.
35274 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35275 than necessarily for this particular distribution. Use
35276 REPORT_BUGS_TO for where to report bugs.
35277 * INSTALL: Regenerated.
35278 * manual/libc.texinfo: Include pkgvers.texi.
35279 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35280 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35281 (print_version): Use PKGVERSION.
35282 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35283 (print_version): Use PKGVERSION.
35284 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35285 (print_version): Use PKGVERSION.
35286 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35287 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35289 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35290 (print_version): Use PKGVERSION.
35291 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35292 (print_version): Use PKGVERSION.
35293 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35296 * timezone/checktab.awk: Update from tzcode 2012i.
35297 * timezone/ialloc.c: Likewise.
35298 * timezone/private.h: Likewise.
35299 * timezone/scheck.c: Likewise.
35300 * timezone/tzfile.h: Likewise.
35301 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35302 (TZVERSION): Hardcode tzcode version number.
35303 * timezone/zdump.c: Update from tzcode 2012i.
35304 * timezone/zic.c: Likewise.
35305 * timezone/version.h: New file.
35306 * timezone/README: Describe version.h. Update upstream location.
35309 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35310 (mktemp): Enable declaration.
35311 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35328 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35329 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35330 for copies of such integer values.
35331 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35332 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35334 2012-11-09 Andreas Jaeger <aj@suse.de>
35336 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35337 definitions and declarations that are provided by
35338 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35340 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35342 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35343 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35344 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35347 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35349 * elf/elf.h: Update comment before AArch64 relocations.
35351 2012-11-07 David S. Miller <davem@davemloft.net>
35353 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35354 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35355 (__start_context): Declare.
35356 (__makecontext_ret): Delete.
35357 (__makecontext): Hook up __start_context instead of
35359 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35360 (sysdep_routines): Add __start_context when in stdlib.
35362 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35364 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35365 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35366 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35368 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35369 (READELF): New variable. Use it instead of hardcoded "readelf".
35371 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35373 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35374 * sysdeps/x86/Makefile: Here.
35375 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35376 * sysdeps/x86/tst-xmmymm.sh: This.
35378 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35380 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35382 [UNIX98] (pthread_barrier_t): Do not expect.
35383 [UNIX98] (pthread_barrierattr_t): Likewise.
35384 [UNIX98] (pthread_spinlock_t): Likewise.
35385 [UNIX98] (pthread_barrier_destroy): Likewise.
35386 [UNIX98] (pthread_barrier_init): Likewise.
35387 [UNIX98] (pthread_barrier_wait): Likewise.
35388 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35389 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35390 [UNIX98] (pthread_barrierattr_init): Likewise.
35391 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35392 [UNIX98] (pthread_getcpuclockid): Likewise.
35393 [UNIX98] (pthread_mutex_timedlock): Likewise.
35394 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35395 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35396 [UNIX98] (pthread_sigmask): Likewise.
35397 [UNIX98] (pthread_spin_destroy): Likewise.
35398 [UNIX98] (pthread_spin_init): Likewise.
35399 [UNIX98] (pthread_spin_lock): Likewise.
35400 [UNIX98] (pthread_spin_trylock): Likewise.
35401 [UNIX98] (pthread_spin_unlock): Likewise.
35402 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35404 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35405 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35406 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35407 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35408 [XPG3 || XPG4] (pthread_key_t): Likewise.
35409 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35410 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35411 [XPG3 || XPG4] (pthread_once_t): Likewise.
35412 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35413 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35414 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35415 [XPG3 || XPG4] (pthread_t): Likewise.
35417 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35419 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35421 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35422 Change function return type to int.
35424 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35425 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35426 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35427 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35428 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35429 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35430 [!POSIX] (posix_madvise): Likewise.
35431 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35433 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35434 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35435 (mode_t): Likewise.
35436 (posix_mem_offset): Likewise.
35437 (posix_typed_mem_get_info): Likewise.
35438 (posix_typed_mem_open): Likewise.
35440 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35441 Change condition to [XOPEN2K8].
35443 * conform/conformtest.pl: Preprocess allow-header data with -x c
35444 instead of from stdin.
35445 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35446 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35447 [C99-based standards] (cerfc): Likewise.
35448 [C99-based standards] (cexp2): Likewise.
35449 [C99-based standards] (cexpm1): Likewise.
35450 [C99-based standards] (clog10): Likewise.
35451 [C99-based standards] (clog1p): Likewise.
35452 [C99-based standards] (clog2): Likewise.
35453 [C99-based standards] (clgamma): Likewise.
35454 [C99-based standards] (ctgamma): Likewise.
35455 [C99-based standards] (cerff): Likewise.
35456 [C99-based standards] (cerfcf): Likewise.
35457 [C99-based standards] (cexp2f): Likewise.
35458 [C99-based standards] (cexpm1f): Likewise.
35459 [C99-based standards] (clog10f): Likewise.
35460 [C99-based standards] (clog1pf): Likewise.
35461 [C99-based standards] (clog2f): Likewise.
35462 [C99-based standards] (clgammaf): Likewise.
35463 [C99-based standards] (ctgammaf): Likewise.
35464 [C99-based standards] (cerfl): Likewise.
35465 [C99-based standards] (cerfcl): Likewise.
35466 [C99-based standards] (cexp2l): Likewise.
35467 [C99-based standards] (cexpm1l): Likewise.
35468 [C99-based standards] (clog10l): Likewise.
35469 [C99-based standards] (clog1pl): Likewise.
35470 [C99-based standards] (clog2l): Likewise.
35471 [C99-based standards] (clgammal): Likewise.
35472 [C99-based standards] (ctgammal): Likewise.
35473 * conform/data/inttypes.h-data [C99-based standards]: Include
35474 stdint.h-data. Remove all expectations for stdint.h contents.
35475 [C99-based standards] (PRI*): Do not allow.
35476 [C99-based standards] (SCN*): Likewise.
35477 [C99-based standards] (*_t): Likewise.
35478 [C99-based-standards] (PRId8): Expect macro.
35479 [C99-based-standards] (PRIi8): Likewise.
35480 [C99-based-standards] (PRIo8): Likewise.
35481 [C99-based-standards] (PRIu8): Likewise.
35482 [C99-based-standards] (PRIx8): Likewise.
35483 [C99-based-standards] (PRIX8): Likewise.
35484 [C99-based-standards] (SCNd8): Likewise.
35485 [C99-based-standards] (SCNi8): Likewise.
35486 [C99-based-standards] (SCNo8): Likewise.
35487 [C99-based-standards] (SCNu8): Likewise.
35488 [C99-based-standards] (SCNx8): Likewise.
35489 [C99-based-standards] (PRIdLEAST8): Likewise.
35490 [C99-based-standards] (PRIiLEAST8): Likewise.
35491 [C99-based-standards] (PRIoLEAST8): Likewise.
35492 [C99-based-standards] (PRIuLEAST8): Likewise.
35493 [C99-based-standards] (PRIxLEAST8): Likewise.
35494 [C99-based-standards] (PRIXLEAST8): Likewise.
35495 [C99-based-standards] (SCNdLEAST8): Likewise.
35496 [C99-based-standards] (SCNiLEAST8): Likewise.
35497 [C99-based-standards] (SCNoLEAST8): Likewise.
35498 [C99-based-standards] (SCNuLEAST8): Likewise.
35499 [C99-based-standards] (SCNxLEAST8): Likewise.
35500 [C99-based-standards] (PRIdFAST8): Likewise.
35501 [C99-based-standards] (PRIiFAST8): Likewise.
35502 [C99-based-standards] (PRIoFAST8): Likewise.
35503 [C99-based-standards] (PRIuFAST8): Likewise.
35504 [C99-based-standards] (PRIxFAST8): Likewise.
35505 [C99-based-standards] (PRIXFAST8): Likewise.
35506 [C99-based-standards] (SCNdFAST8): Likewise.
35507 [C99-based-standards] (SCNiFAST8): Likewise.
35508 [C99-based-standards] (SCNoFAST8): Likewise.
35509 [C99-based-standards] (SCNuFAST8): Likewise.
35510 [C99-based-standards] (SCNxFAST8): Likewise.
35511 [C99-based-standards] (PRId16): Likewise.
35512 [C99-based-standards] (PRIi16): Likewise.
35513 [C99-based-standards] (PRIo16): Likewise.
35514 [C99-based-standards] (PRIu16): Likewise.
35515 [C99-based-standards] (PRIx16): Likewise.
35516 [C99-based-standards] (PRIX16): Likewise.
35517 [C99-based-standards] (SCNd16): Likewise.
35518 [C99-based-standards] (SCNi16): Likewise.
35519 [C99-based-standards] (SCNo16): Likewise.
35520 [C99-based-standards] (SCNu16): Likewise.
35521 [C99-based-standards] (SCNx16): Likewise.
35522 [C99-based-standards] (PRIdLEAST16): Likewise.
35523 [C99-based-standards] (PRIiLEAST16): Likewise.
35524 [C99-based-standards] (PRIoLEAST16): Likewise.
35525 [C99-based-standards] (PRIuLEAST16): Likewise.
35526 [C99-based-standards] (PRIxLEAST16): Likewise.
35527 [C99-based-standards] (PRIXLEAST16): Likewise.
35528 [C99-based-standards] (SCNdLEAST16): Likewise.
35529 [C99-based-standards] (SCNiLEAST16): Likewise.
35530 [C99-based-standards] (SCNoLEAST16): Likewise.
35531 [C99-based-standards] (SCNuLEAST16): Likewise.
35532 [C99-based-standards] (SCNxLEAST16): Likewise.
35533 [C99-based-standards] (PRIdFAST16): Likewise.
35534 [C99-based-standards] (PRIiFAST16): Likewise.
35535 [C99-based-standards] (PRIoFAST16): Likewise.
35536 [C99-based-standards] (PRIuFAST16): Likewise.
35537 [C99-based-standards] (PRIxFAST16): Likewise.
35538 [C99-based-standards] (PRIXFAST16): Likewise.
35539 [C99-based-standards] (SCNdFAST16): Likewise.
35540 [C99-based-standards] (SCNiFAST16): Likewise.
35541 [C99-based-standards] (SCNoFAST16): Likewise.
35542 [C99-based-standards] (SCNuFAST16): Likewise.
35543 [C99-based-standards] (SCNxFAST16): Likewise.
35544 [C99-based-standards] (PRId32): Likewise.
35545 [C99-based-standards] (PRIi32): Likewise.
35546 [C99-based-standards] (PRIo32): Likewise.
35547 [C99-based-standards] (PRIu32): Likewise.
35548 [C99-based-standards] (PRIx32): Likewise.
35549 [C99-based-standards] (PRIX32): Likewise.
35550 [C99-based-standards] (SCNd32): Likewise.
35551 [C99-based-standards] (SCNi32): Likewise.
35552 [C99-based-standards] (SCNo32): Likewise.
35553 [C99-based-standards] (SCNu32): Likewise.
35554 [C99-based-standards] (SCNx32): Likewise.
35555 [C99-based-standards] (PRIdLEAST32): Likewise.
35556 [C99-based-standards] (PRIiLEAST32): Likewise.
35557 [C99-based-standards] (PRIoLEAST32): Likewise.
35558 [C99-based-standards] (PRIuLEAST32): Likewise.
35559 [C99-based-standards] (PRIxLEAST32): Likewise.
35560 [C99-based-standards] (PRIXLEAST32): Likewise.
35561 [C99-based-standards] (SCNdLEAST32): Likewise.
35562 [C99-based-standards] (SCNiLEAST32): Likewise.
35563 [C99-based-standards] (SCNoLEAST32): Likewise.
35564 [C99-based-standards] (SCNuLEAST32): Likewise.
35565 [C99-based-standards] (SCNxLEAST32): Likewise.
35566 [C99-based-standards] (PRIdFAST32): Likewise.
35567 [C99-based-standards] (PRIiFAST32): Likewise.
35568 [C99-based-standards] (PRIoFAST32): Likewise.
35569 [C99-based-standards] (PRIuFAST32): Likewise.
35570 [C99-based-standards] (PRIxFAST32): Likewise.
35571 [C99-based-standards] (PRIXFAST32): Likewise.
35572 [C99-based-standards] (SCNdFAST32): Likewise.
35573 [C99-based-standards] (SCNiFAST32): Likewise.
35574 [C99-based-standards] (SCNoFAST32): Likewise.
35575 [C99-based-standards] (SCNuFAST32): Likewise.
35576 [C99-based-standards] (SCNxFAST32): Likewise.
35577 [C99-based-standards] (PRId64): Likewise.
35578 [C99-based-standards] (PRIi64): Likewise.
35579 [C99-based-standards] (PRIo64): Likewise.
35580 [C99-based-standards] (PRIu64): Likewise.
35581 [C99-based-standards] (PRIx64): Likewise.
35582 [C99-based-standards] (PRIX64): Likewise.
35583 [C99-based-standards] (SCNd64): Likewise.
35584 [C99-based-standards] (SCNi64): Likewise.
35585 [C99-based-standards] (SCNo64): Likewise.
35586 [C99-based-standards] (SCNu64): Likewise.
35587 [C99-based-standards] (SCNx64): Likewise.
35588 [C99-based-standards] (PRIdLEAST64): Likewise.
35589 [C99-based-standards] (PRIiLEAST64): Likewise.
35590 [C99-based-standards] (PRIoLEAST64): Likewise.
35591 [C99-based-standards] (PRIuLEAST64): Likewise.
35592 [C99-based-standards] (PRIxLEAST64): Likewise.
35593 [C99-based-standards] (PRIXLEAST64): Likewise.
35594 [C99-based-standards] (SCNdLEAST64): Likewise.
35595 [C99-based-standards] (SCNiLEAST64): Likewise.
35596 [C99-based-standards] (SCNoLEAST64): Likewise.
35597 [C99-based-standards] (SCNuLEAST64): Likewise.
35598 [C99-based-standards] (SCNxLEAST64): Likewise.
35599 [C99-based-standards] (PRIdFAST64): Likewise.
35600 [C99-based-standards] (PRIiFAST64): Likewise.
35601 [C99-based-standards] (PRIoFAST64): Likewise.
35602 [C99-based-standards] (PRIuFAST64): Likewise.
35603 [C99-based-standards] (PRIxFAST64): Likewise.
35604 [C99-based-standards] (PRIXFAST64): Likewise.
35605 [C99-based-standards] (SCNdFAST64): Likewise.
35606 [C99-based-standards] (SCNiFAST64): Likewise.
35607 [C99-based-standards] (SCNoFAST64): Likewise.
35608 [C99-based-standards] (SCNuFAST64): Likewise.
35609 [C99-based-standards] (SCNxFAST64): Likewise.
35610 [C99-based-standards] (PRIdMAX): Likewise.
35611 [C99-based-standards] (PRIiMAX): Likewise.
35612 [C99-based-standards] (PRIoMAX): Likewise.
35613 [C99-based-standards] (PRIuMAX): Likewise.
35614 [C99-based-standards] (PRIxMAX): Likewise.
35615 [C99-based-standards] (PRIXMAX): Likewise.
35616 [C99-based-standards] (SCNdMAX): Likewise.
35617 [C99-based-standards] (SCNiMAX): Likewise.
35618 [C99-based-standards] (SCNoMAX): Likewise.
35619 [C99-based-standards] (SCNuMAX): Likewise.
35620 [C99-based-standards] (SCNxMAX): Likewise.
35621 [C99-based-standards] (PRIdPTR): Likewise.
35622 [C99-based-standards] (PRIiPTR): Likewise.
35623 [C99-based-standards] (PRIoPTR): Likewise.
35624 [C99-based-standards] (PRIuPTR): Likewise.
35625 [C99-based-standards] (PRIxPTR): Likewise.
35626 [C99-based-standards] (PRIXPTR): Likewise.
35627 [C99-based-standards] (SCNdPTR): Likewise.
35628 [C99-based-standards] (SCNiPTR): Likewise.
35629 [C99-based-standards] (SCNoPTR): Likewise.
35630 [C99-based-standards] (SCNuPTR): Likewise.
35631 [C99-based-standards] (SCNxPTR): Likewise.
35632 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35634 * conform/data/stdint.h-data: Update comments to clarify
35636 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35638 [C99-based standards] (INT8_MAX): Likewise.
35639 [C99-based standards] (INT16_MIN): Likewise.
35640 [C99-based standards] (INT16_MAX): Likewise.
35641 [C99-based standards] (INT32_MIN): Likewise.
35642 [C99-based standards] (INT32_MAX): Likewise.
35643 [C99-based standards] (INT64_MIN): Likewise.
35644 [C99-based standards] (INT64_MAX): Likewise.
35645 [C99-based standards] (UINT8_MAX): Likewise.
35646 [C99-based standards] (UINT16_MAX): Likewise.
35647 [C99-based standards] (UINT32_MAX): Likewise.
35648 [C99-based standards] (UINT64_MAX): Likewise.
35649 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35650 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35651 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35652 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35653 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35654 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35655 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35656 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35657 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35658 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35659 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35660 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35661 [C99-based standards] (INT_FAST8_MIN): Likewise.
35662 [C99-based standards] (INT_FAST8_MAX): Likewise.
35663 [C99-based standards] (INT_FAST16_MIN): Likewise.
35664 [C99-based standards] (INT_FAST16_MAX): Likewise.
35665 [C99-based standards] (INT_FAST32_MIN): Likewise.
35666 [C99-based standards] (INT_FAST32_MAX): Likewise.
35667 [C99-based standards] (INT_FAST64_MIN): Likewise.
35668 [C99-based standards] (INT_FAST64_MAX): Likewise.
35669 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35670 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35671 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35672 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35673 [C99-based standards] (INTPTR_MIN): Likewise.
35674 [C99-based standards] (INTPTR_MAX): Likewise.
35675 [C99-based standards] (UINTPTR_MAX): Likewise.
35676 [C99-based standards] (INTMAX_MIN): Likewise.
35677 [C99-based standards] (INTMAX_MAX): Likewise.
35678 [C99-based standards] (UINTMAX_MAX): Likewise.
35679 [C99-based standards] (PTRDIFF_MIN): Likewise.
35680 [C99-based standards] (PTRDIFF_MAX): Likewise.
35681 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35682 [C99-based standards] (SIZE_MAX): Likewise.
35683 [C99-based standards] (WCHAR_MAX): Likewise.
35684 [C99-based standards] (WINT_MAX): Likewise.
35685 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35686 constraint on value.
35687 [C99-based standards] (WCHAR_MIN): Likewise.
35688 [C99-based standards] (WINT_MIN): Likewise.
35689 [C99-based standards] (*_t): Allow.
35690 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35691 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35692 Include math.h-data and complex.h-data. Remove all expectations
35693 of math.h and complex.h contents.
35694 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35696 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35697 (struct tm): Expect tag.
35698 [C99-based-standards] (wcstof): Expect function.
35699 [C99-based-standards] (wcstold): Likewise.
35700 [C99-based-standards] (wcstoll): Likewise.
35701 [C99-based-standards] (wcstoull): Likewise.
35702 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35703 macro-int-constant. Specify type.
35704 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35705 constraint on value.
35706 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35708 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35710 [ISO C standards]: Do not allow headers.
35711 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35712 wcs[abcdefghijklmnopqrstuvwxyz]*.
35713 [ISO C standards] (*_t): Do not allow.
35714 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35716 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35717 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35719 [ISO C standards]: Do not allow headers.
35720 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35721 is[abcdefghijklmnopqrstuvwxyz]*.
35722 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35723 to[abcdefghijklmnopqrstuvwxyz]*.
35724 [ISO C standards] (*_t): Do not allow.
35725 * conform/data/stdalign.h-data: New file.
35726 * conform/data/stdbool.h-data: Likewise.
35727 * conform/data/stdnoreturn.h-data: Likewise.
35729 2012-11-07 Roland McGrath <roland@hack.frob.com>
35732 * manual/filesys.texi (Directory Entries): Typo fix.
35733 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35735 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35737 * elf/elf.h (EM_AARCH64): New macro.
35738 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35739 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35740 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35741 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35742 (R_AARCH64_TLSDESC): Likewise.
35743 (NT_ARM_TLS): Likewise.
35744 (NT_ARM_HW_BREAK): Likewise.
35745 (NT_ARM_HW_WATCH): Likewise.
35747 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35750 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35751 (__ieee754_powl): Saturate nonzero exponents with absolute value
35752 below 0x1p-79 to +/- 0x1p-79.
35753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35754 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35755 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35756 nonzero exponents with absolute value below 0x1p-32 to +/-
35758 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35759 (__ieee754_powl): Saturate nonzero exponents with absolute value
35760 below 0x1p-79 to +/- 0x1p-79.
35761 * math/libm-test.inc (pow_test): Add more tests.
35763 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35765 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35766 _dl_s390_cap_flags with kernel. Increase string length.
35767 (_dl_s390_platforms): Add z196 and zEC12.
35769 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35771 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35772 Change XOPEN21K to XOPEN2K.
35774 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35776 * string/memmove.c: Use memcpy when possible.
35778 2012-11-06 Andreas Jaeger <aj@suse.de>
35780 * po/eo.po: Update from translation team.
35782 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35786 exponent and small x and y exponents, scale x or y up. Increase
35787 by 2 the exponent used in scaling up.
35788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35790 * math/libm-test.inc (fma_test): Add more tests.
35791 (fma_test_towardzero): Likewise.
35792 (fma_test_downward): Likewise.
35793 (fma_test_upward): Likewise.
35795 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35798 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35802 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35803 namespace for names of struct fields.
35804 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35806 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35807 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35809 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35812 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35814 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35816 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35820 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35823 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35827 definitely overflow as x * y not x * y + z.
35828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35829 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35830 * math/libm-test.inc (fma_test): Add more tests.
35831 (fma_test_towardzero): Likewise.
35832 (fma_test_downward): Likewise.
35833 (fma_test_upward): Likewise.
35835 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35839 * include/stub-tag.h: Remove file.
35840 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35842 * manual/maint.texi (Porting): Don't reference it.
35843 * Makerules ($(objpfx)stubs): Likewise.
35844 * dirent/closedir.c: Don't include <stub-tag.h>.
35845 * dirent/dirfd.c: Likewise.
35846 * dirent/fdopendir.c: Likewise.
35847 * dirent/getdents.c: Likewise.
35848 * dirent/getdents64.c: Likewise.
35849 * dirent/opendir.c: Likewise.
35850 * dirent/readdir.c: Likewise.
35851 * dirent/readdir64.c: Likewise.
35852 * dirent/readdir64_r.c: Likewise.
35853 * dirent/readdir_r.c: Likewise.
35854 * dirent/rewinddir.c: Likewise.
35855 * dirent/seekdir.c: Likewise.
35856 * dirent/telldir.c: Likewise.
35857 * gmon/profil.c: Likewise.
35858 * grp/setgroups.c: Likewise.
35859 * inet/if_index.c: Likewise.
35860 * io/access.c: Likewise.
35861 * io/chdir.c: Likewise.
35862 * io/chmod.c: Likewise.
35863 * io/chown.c: Likewise.
35864 * io/close.c: Likewise.
35865 * io/dup.c: Likewise.
35866 * io/dup2.c: Likewise.
35867 * io/dup3.c: Likewise.
35868 * io/euidaccess.c: Likewise.
35869 * io/faccessat.c: Likewise.
35870 * io/fchdir.c: Likewise.
35871 * io/fchmod.c: Likewise.
35872 * io/fchmodat.c: Likewise.
35873 * io/fchown.c: Likewise.
35874 * io/fchownat.c: Likewise.
35875 * io/fcntl.c: Likewise.
35876 * io/flock.c: Likewise.
35877 * io/fstatfs.c: Likewise.
35878 * io/fstatfs64.c: Likewise.
35879 * io/fstatvfs.c: Likewise.
35880 * io/fstatvfs64.c: Likewise.
35881 * io/futimens.c: Likewise.
35882 * io/fxstat.c: Likewise.
35883 * io/fxstat64.c: Likewise.
35884 * io/fxstatat.c: Likewise.
35885 * io/fxstatat64.c: Likewise.
35886 * io/getcwd.c: Likewise.
35887 * io/isatty.c: Likewise.
35888 * io/lchmod.c: Likewise.
35889 * io/lchown.c: Likewise.
35890 * io/link.c: Likewise.
35891 * io/linkat.c: Likewise.
35892 * io/lseek.c: Likewise.
35893 * io/lseek64.c: Likewise.
35894 * io/lxstat64.c: Likewise.
35895 * io/mkdir.c: Likewise.
35896 * io/mkdirat.c: Likewise.
35897 * io/mkfifo.c: Likewise.
35898 * io/mkfifoat.c: Likewise.
35899 * io/open.c: Likewise.
35900 * io/open64.c: Likewise.
35901 * io/openat.c: Likewise.
35902 * io/openat64.c: Likewise.
35903 * io/pipe.c: Likewise.
35904 * io/pipe2.c: Likewise.
35905 * io/poll.c: Likewise.
35906 * io/posix_fadvise.c: Likewise.
35907 * io/posix_fadvise64.c: Likewise.
35908 * io/posix_fallocate.c: Likewise.
35909 * io/posix_fallocate64.c: Likewise.
35910 * io/read.c: Likewise.
35911 * io/readlink.c: Likewise.
35912 * io/readlinkat.c: Likewise.
35913 * io/rmdir.c: Likewise.
35914 * io/sendfile.c: Likewise.
35915 * io/sendfile64.c: Likewise.
35916 * io/statfs.c: Likewise.
35917 * io/statfs64.c: Likewise.
35918 * io/statvfs.c: Likewise.
35919 * io/statvfs64.c: Likewise.
35920 * io/symlink.c: Likewise.
35921 * io/symlinkat.c: Likewise.
35922 * io/ttyname.c: Likewise.
35923 * io/ttyname_r.c: Likewise.
35924 * io/umask.c: Likewise.
35925 * io/unlink.c: Likewise.
35926 * io/unlinkat.c: Likewise.
35927 * io/utime.c: Likewise.
35928 * io/utimensat.c: Likewise.
35929 * io/write.c: Likewise.
35930 * io/xmknod.c: Likewise.
35931 * io/xmknodat.c: Likewise.
35932 * io/xstat.c: Likewise.
35933 * io/xstat64.c: Likewise.
35934 * login/getpt.c: Likewise.
35935 * login/grantpt.c: Likewise.
35936 * login/unlockpt.c: Likewise.
35937 * math/e_acoshl.c: Likewise.
35938 * math/e_acosl.c: Likewise.
35939 * math/e_asinl.c: Likewise.
35940 * math/e_atan2l.c: Likewise.
35941 * math/e_atanhl.c: Likewise.
35942 * math/e_coshl.c: Likewise.
35943 * math/e_expl.c: Likewise.
35944 * math/e_fmodl.c: Likewise.
35945 * math/e_gammal_r.c: Likewise.
35946 * math/e_hypotl.c: Likewise.
35947 * math/e_j0l.c: Likewise.
35948 * math/e_j1l.c: Likewise.
35949 * math/e_jnl.c: Likewise.
35950 * math/e_lgammal_r.c: Likewise.
35951 * math/e_log10l.c: Likewise.
35952 * math/e_log2l.c: Likewise.
35953 * math/e_logl.c: Likewise.
35954 * math/e_powl.c: Likewise.
35955 * math/e_rem_pio2l.c: Likewise.
35956 * math/e_sinhl.c: Likewise.
35957 * math/e_sqrtl.c: Likewise.
35958 * math/fclrexcpt.c: Likewise.
35959 * math/fedisblxcpt.c: Likewise.
35960 * math/feenablxcpt.c: Likewise.
35961 * math/fegetenv.c: Likewise.
35962 * math/fegetexcept.c: Likewise.
35963 * math/fegetround.c: Likewise.
35964 * math/feholdexcpt.c: Likewise.
35965 * math/fesetenv.c: Likewise.
35966 * math/fesetround.c: Likewise.
35967 * math/feupdateenv.c: Likewise.
35968 * math/fgetexcptflg.c: Likewise.
35969 * math/fraiseexcpt.c: Likewise.
35970 * math/fsetexcptflg.c: Likewise.
35971 * math/ftestexcept.c: Likewise.
35972 * math/k_cosl.c: Likewise.
35973 * math/k_rem_pio2l.c: Likewise.
35974 * math/k_sinl.c: Likewise.
35975 * math/k_tanl.c: Likewise.
35976 * math/s_asinhl.c: Likewise.
35977 * math/s_atanl.c: Likewise.
35978 * math/s_cbrtl.c: Likewise.
35979 * math/s_erfl.c: Likewise.
35980 * math/s_expm1l.c: Likewise.
35981 * math/s_log1pl.c: Likewise.
35982 * math/s_tanhl.c: Likewise.
35983 * misc/acct.c: Likewise.
35984 * misc/brk.c: Likewise.
35985 * misc/chflags.c: Likewise.
35986 * misc/chroot.c: Likewise.
35987 * misc/fchflags.c: Likewise.
35988 * misc/fgetxattr.c: Likewise.
35989 * misc/flistxattr.c: Likewise.
35990 * misc/fremovexattr.c: Likewise.
35991 * misc/fsetxattr.c: Likewise.
35992 * misc/fsync.c: Likewise.
35993 * misc/ftruncate.c: Likewise.
35994 * misc/futimes.c: Likewise.
35995 * misc/futimesat.c: Likewise.
35996 * misc/getdomain.c: Likewise.
35997 * misc/getdtsz.c: Likewise.
35998 * misc/gethostid.c: Likewise.
35999 * misc/gethostname.c: Likewise.
36000 * misc/getloadavg.c: Likewise.
36001 * misc/getpagesize.c: Likewise.
36002 * misc/getsysstats.c: Likewise.
36003 * misc/getxattr.c: Likewise.
36004 * misc/gtty.c: Likewise.
36005 * misc/ioctl.c: Likewise.
36006 * misc/lgetxattr.c: Likewise.
36007 * misc/listxattr.c: Likewise.
36008 * misc/llistxattr.c: Likewise.
36009 * misc/lremovexattr.c: Likewise.
36010 * misc/lsetxattr.c: Likewise.
36011 * misc/lutimes.c: Likewise.
36012 * misc/madvise.c: Likewise.
36013 * misc/mincore.c: Likewise.
36014 * misc/mlock.c: Likewise.
36015 * misc/mlockall.c: Likewise.
36016 * misc/mmap.c: Likewise.
36017 * misc/mprotect.c: Likewise.
36018 * misc/msync.c: Likewise.
36019 * misc/munlock.c: Likewise.
36020 * misc/munlockall.c: Likewise.
36021 * misc/munmap.c: Likewise.
36022 * misc/preadv.c: Likewise.
36023 * misc/preadv64.c: Likewise.
36024 * misc/ptrace.c: Likewise.
36025 * misc/pwritev.c: Likewise.
36026 * misc/pwritev64.c: Likewise.
36027 * misc/readv.c: Likewise.
36028 * misc/reboot.c: Likewise.
36029 * misc/remap_file_pages.c: Likewise.
36030 * misc/removexattr.c: Likewise.
36031 * misc/revoke.c: Likewise.
36032 * misc/select.c: Likewise.
36033 * misc/setdomain.c: Likewise.
36034 * misc/setegid.c: Likewise.
36035 * misc/seteuid.c: Likewise.
36036 * misc/sethostid.c: Likewise.
36037 * misc/sethostname.c: Likewise.
36038 * misc/setregid.c: Likewise.
36039 * misc/setreuid.c: Likewise.
36040 * misc/setxattr.c: Likewise.
36041 * misc/sstk.c: Likewise.
36042 * misc/stty.c: Likewise.
36043 * misc/swapoff.c: Likewise.
36044 * misc/swapon.c: Likewise.
36045 * misc/sync.c: Likewise.
36046 * misc/syncfs.c: Likewise.
36047 * misc/syscall.c: Likewise.
36048 * misc/truncate.c: Likewise.
36049 * misc/ualarm.c: Likewise.
36050 * misc/usleep.c: Likewise.
36051 * misc/ustat.c: Likewise.
36052 * misc/utimes.c: Likewise.
36053 * misc/vhangup.c: Likewise.
36054 * misc/writev.c: Likewise.
36055 * posix/_exit.c: Likewise.
36056 * posix/alarm.c: Likewise.
36057 * posix/execve.c: Likewise.
36058 * posix/fexecve.c: Likewise.
36059 * posix/fork.c: Likewise.
36060 * posix/fpathconf.c: Likewise.
36061 * posix/getaddrinfo.c: Likewise.
36062 * posix/getegid.c: Likewise.
36063 * posix/geteuid.c: Likewise.
36064 * posix/getgid.c: Likewise.
36065 * posix/getgroups.c: Likewise.
36066 * posix/getlogin.c: Likewise.
36067 * posix/getlogin_r.c: Likewise.
36068 * posix/getpgid.c: Likewise.
36069 * posix/getpid.c: Likewise.
36070 * posix/getppid.c: Likewise.
36071 * posix/getresgid.c: Likewise.
36072 * posix/getresuid.c: Likewise.
36073 * posix/getsid.c: Likewise.
36074 * posix/getuid.c: Likewise.
36075 * posix/glob64.c: Likewise.
36076 * posix/nanosleep.c: Likewise.
36077 * posix/pathconf.c: Likewise.
36078 * posix/pause.c: Likewise.
36079 * posix/posix_madvise.c: Likewise.
36080 * posix/pread.c: Likewise.
36081 * posix/pread64.c: Likewise.
36082 * posix/pwrite.c: Likewise.
36083 * posix/pwrite64.c: Likewise.
36084 * posix/sched_getaffinity.c: Likewise.
36085 * posix/sched_getp.c: Likewise.
36086 * posix/sched_gets.c: Likewise.
36087 * posix/sched_primax.c: Likewise.
36088 * posix/sched_primin.c: Likewise.
36089 * posix/sched_rr_gi.c: Likewise.
36090 * posix/sched_setaffinity.c: Likewise.
36091 * posix/sched_setp.c: Likewise.
36092 * posix/sched_sets.c: Likewise.
36093 * posix/sched_yield.c: Likewise.
36094 * posix/setgid.c: Likewise.
36095 * posix/setlogin.c: Likewise.
36096 * posix/setpgid.c: Likewise.
36097 * posix/setresgid.c: Likewise.
36098 * posix/setresuid.c: Likewise.
36099 * posix/setsid.c: Likewise.
36100 * posix/setuid.c: Likewise.
36101 * posix/sleep.c: Likewise.
36102 * posix/spawni.c: Likewise.
36103 * posix/sysconf.c: Likewise.
36104 * posix/times.c: Likewise.
36105 * posix/wait.c: Likewise.
36106 * posix/wait3.c: Likewise.
36107 * posix/wait4.c: Likewise.
36108 * posix/waitpid.c: Likewise.
36109 * resolv/gai_sigqueue.c: Likewise.
36110 * resource/getpriority.c: Likewise.
36111 * resource/getrlimit.c: Likewise.
36112 * resource/getrusage.c: Likewise.
36113 * resource/nice.c: Likewise.
36114 * resource/setpriority.c: Likewise.
36115 * resource/setrlimit.c: Likewise.
36116 * resource/ulimit.c: Likewise.
36117 * rt/aio_cancel.c: Likewise.
36118 * rt/aio_fsync.c: Likewise.
36119 * rt/aio_read.c: Likewise.
36120 * rt/aio_sigqueue.c: Likewise.
36121 * rt/aio_suspend.c: Likewise.
36122 * rt/aio_write.c: Likewise.
36123 * rt/clock_getres.c: Likewise.
36124 * rt/clock_gettime.c: Likewise.
36125 * rt/clock_nanosleep.c: Likewise.
36126 * rt/clock_settime.c: Likewise.
36127 * rt/lio_listio.c: Likewise.
36128 * rt/mq_close.c: Likewise.
36129 * rt/mq_getattr.c: Likewise.
36130 * rt/mq_notify.c: Likewise.
36131 * rt/mq_open.c: Likewise.
36132 * rt/mq_receive.c: Likewise.
36133 * rt/mq_send.c: Likewise.
36134 * rt/mq_setattr.c: Likewise.
36135 * rt/mq_timedreceive.c: Likewise.
36136 * rt/mq_timedsend.c: Likewise.
36137 * rt/mq_unlink.c: Likewise.
36138 * rt/shm_open.c: Likewise.
36139 * rt/shm_unlink.c: Likewise.
36140 * rt/timer_create.c: Likewise.
36141 * rt/timer_delete.c: Likewise.
36142 * rt/timer_getoverr.c: Likewise.
36143 * rt/timer_gettime.c: Likewise.
36144 * rt/timer_settime.c: Likewise.
36145 * setjmp/__longjmp.c: Likewise.
36146 * setjmp/setjmp.c: Likewise.
36147 * signal/kill.c: Likewise.
36148 * signal/killpg.c: Likewise.
36149 * signal/raise.c: Likewise.
36150 * signal/sigaction.c: Likewise.
36151 * signal/sigaltstack.c: Likewise.
36152 * signal/sigblock.c: Likewise.
36153 * signal/sigignore.c: Likewise.
36154 * signal/sigintr.c: Likewise.
36155 * signal/signal.c: Likewise.
36156 * signal/sigpause.c: Likewise.
36157 * signal/sigpending.c: Likewise.
36158 * signal/sigqueue.c: Likewise.
36159 * signal/sigreturn.c: Likewise.
36160 * signal/sigset.c: Likewise.
36161 * signal/sigsetmask.c: Likewise.
36162 * signal/sigstack.c: Likewise.
36163 * signal/sigsuspend.c: Likewise.
36164 * signal/sigtimedwait.c: Likewise.
36165 * signal/sigvec.c: Likewise.
36166 * signal/sigwait.c: Likewise.
36167 * signal/sigwaitinfo.c: Likewise.
36168 * signal/sysv_signal.c: Likewise.
36169 * socket/accept.c: Likewise.
36170 * socket/accept4.c: Likewise.
36171 * socket/bind.c: Likewise.
36172 * socket/connect.c: Likewise.
36173 * socket/getpeername.c: Likewise.
36174 * socket/getsockname.c: Likewise.
36175 * socket/getsockopt.c: Likewise.
36176 * socket/isfdtype.c: Likewise.
36177 * socket/listen.c: Likewise.
36178 * socket/recv.c: Likewise.
36179 * socket/recvfrom.c: Likewise.
36180 * socket/recvmsg.c: Likewise.
36181 * socket/send.c: Likewise.
36182 * socket/sendmsg.c: Likewise.
36183 * socket/sendto.c: Likewise.
36184 * socket/setsockopt.c: Likewise.
36185 * socket/shutdown.c: Likewise.
36186 * socket/sockatmark.c: Likewise.
36187 * socket/socket.c: Likewise.
36188 * socket/socketpair.c: Likewise.
36189 * stdio-common/ctermid.c: Likewise.
36190 * stdio-common/cuserid.c: Likewise.
36191 * stdio-common/remove.c: Likewise.
36192 * stdio-common/rename.c: Likewise.
36193 * stdio-common/renameat.c: Likewise.
36194 * stdio-common/tempname.c: Likewise.
36195 * stdlib/getcontext.c: Likewise.
36196 * stdlib/makecontext.c: Likewise.
36197 * stdlib/setcontext.c: Likewise.
36198 * stdlib/swapcontext.c: Likewise.
36199 * stdlib/system.c: Likewise.
36200 * streams/fattach.c: Likewise.
36201 * streams/fdetach.c: Likewise.
36202 * streams/getmsg.c: Likewise.
36203 * streams/getpmsg.c: Likewise.
36204 * streams/putmsg.c: Likewise.
36205 * streams/putpmsg.c: Likewise.
36206 * sysdeps/unix/bsd/getpt.c: Likewise.
36207 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36208 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36209 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36212 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36213 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36214 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36215 * sysvipc/msgctl.c: Likewise.
36216 * sysvipc/msgget.c: Likewise.
36217 * sysvipc/msgrcv.c: Likewise.
36218 * sysvipc/msgsnd.c: Likewise.
36219 * sysvipc/semctl.c: Likewise.
36220 * sysvipc/semget.c: Likewise.
36221 * sysvipc/semop.c: Likewise.
36222 * sysvipc/semtimedop.c: Likewise.
36223 * sysvipc/shmat.c: Likewise.
36224 * sysvipc/shmctl.c: Likewise.
36225 * sysvipc/shmdt.c: Likewise.
36226 * sysvipc/shmget.c: Likewise.
36227 * termios/tcdrain.c: Likewise.
36228 * termios/tcflow.c: Likewise.
36229 * termios/tcflush.c: Likewise.
36230 * termios/tcgetattr.c: Likewise.
36231 * termios/tcgetpgrp.c: Likewise.
36232 * termios/tcsendbrk.c: Likewise.
36233 * termios/tcsetattr.c: Likewise.
36234 * termios/tcsetpgrp.c: Likewise.
36235 * time/adjtime.c: Likewise.
36236 * time/clock.c: Likewise.
36237 * time/getitimer.c: Likewise.
36238 * time/gettimeofday.c: Likewise.
36239 * time/setitimer.c: Likewise.
36240 * time/settimeofday.c: Likewise.
36241 * time/stime.c: Likewise.
36242 * time/time.c: Likewise.
36244 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36246 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36249 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36251 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36253 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36257 FE_TONEAREST before applying Dekker multiplication and Knuth
36258 addition. Clear inexact exceptions and check for exact zero
36259 results afterwards.
36260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36261 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36263 * math/libm-test.inc (fma_test): Add more tests.
36264 (fma_test_towardzero): Likewise.
36265 (fma_test_downward): Likewise.
36266 (fma_test_upward): Likewise.
36267 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36269 (libc_fesetround): New macro.
36270 (libc_fesetroundf): Likewise.
36271 (libc_fesetroundl): Likewise.
36272 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36274 (libc_fesetround_387): Likewise.
36275 (libc_fesetroundf): New macro.
36276 (libc_fesetround): Likewise.
36277 (libc_fesetroundl): Likewise.
36278 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36280 (libc_fesetroundf): New macro.
36281 (libc_fesetround): Likewise.
36282 (libc_fesetroundl): Likewise.
36283 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36284 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36285 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36287 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36288 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36290 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36291 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36293 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36297 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36298 integer constant usable in #if and use that to give value to enum
36300 (FE_DIVBYZERO): Likewise.
36301 (FE_UNDERFLOW): Likewise.
36302 (FE_OVERFLOW): Likewise.
36303 (FE_INVALID): Likewise.
36304 (FE_INVALID_SNAN): Likewise.
36305 (FE_INVALID_ISI): Likewise.
36306 (FE_INVALID_IDI): Likewise.
36307 (FE_INVALID_ZDZ): Likewise.
36308 (FE_INVALID_IMZ): Likewise.
36309 (FE_INVALID_COMPARE): Likewise.
36310 (FE_INVALID_SOFTWARE): Likewise.
36311 (FE_INVALID_SQRT): Likewise.
36312 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36313 (FE_TONEAREST): Likewise.
36314 (FE_TOWARDZERO): Likewise.
36315 (FE_UPWARD): Likewise.
36316 (FE_DOWNWARD): Likewise.
36317 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36318 (FE_DIVBYZERO): Likewise.
36319 (FE_OVERFLOW): Likewise.
36320 (FE_UNDERFLOW): Likewise.
36321 (FE_INEXACT): Likewise.
36322 (FE_TONEAREST): Likewise.
36323 (FE_DOWNWARD): Likewise.
36324 (FE_UPWARD): Likewise.
36325 (FE_TOWARDZERO): Likewise.
36326 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36327 (FE_UNDERFLOW): Likewise.
36328 (FE_OVERFLOW): Likewise.
36329 (FE_DIVBYZERO): Likewise.
36330 (FE_INVALID): Likewise.
36331 (FE_TONEAREST): Likewise.
36332 (FE_TOWARDZERO): Likewise.
36333 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36334 (FE_OVERFLOW): Likewise.
36335 (FE_UNDERFLOW): Likewise.
36336 (FE_DIVBYZERO): Likewise.
36337 (FE_INEXACT): Likewise.
36338 (FE_TONEAREST): Likewise.
36339 (FE_TOWARDZERO): Likewise.
36340 (FE_UPWARD): Likewise.
36341 (FE_DOWNWARD): Likewise.
36342 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36343 (FE_DIVBYZERO): Likewise.
36344 (FE_OVERFLOW): Likewise.
36345 (FE_UNDERFLOW): Likewise.
36346 (FE_INEXACT): Likewise.
36347 (FE_TONEAREST): Likewise.
36348 (FE_DOWNWARD): Likewise.
36349 (FE_UPWARD): Likewise.
36350 (FE_TOWARDZERO): Likewise.
36352 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36354 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36356 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36358 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36359 commands. Quote $PWD.
36360 (blacklist_exports): Don't use remove_newlines. Replace "declare
36362 (remove_newlines): Remove.
36364 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36366 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36367 * stdlib/stdlib.h (atof): Moved to ...
36368 * include/bits/stdlib-float.h: Here. New file.
36369 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36370 * stdlib/bits/stdlib-float.h: New file.
36371 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36373 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36376 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36378 * conform/conformtest.pl (@headers): Add fenv.h.
36379 * conform/data/fenv.h-data: New file.
36380 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36381 include of <math/fenv.h>.
36383 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36384 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36385 && !UNIX98]. Enables tests for XOPEN2K8.
36386 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36387 POSIX2008]: Likewise.
36389 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36390 (struct rusage): Do not expect type or its members.
36393 * math/math.h (FP_NAN): Define macro to integer constant usable in
36394 #if and use that to give value to enum constant.
36395 (FP_INFINITE): Likewise.
36396 (FP_ZERO): Likewise.
36397 (FP_SUBNORMAL): Likewise.
36398 (FP_NORMAL): Likewise.
36400 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36402 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36403 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36406 2012-11-02 Roland McGrath <roland@hack.frob.com>
36408 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36409 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36410 autoconf-time if not.
36411 * configure.in: Remove AC_PREREQ.
36413 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36415 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36416 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36417 of the internal implementation.
36419 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36421 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36422 except include of <misc/sys/syslog.h>.
36424 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36427 function returns with a NULL context exit with zero.
36429 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36431 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36433 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36435 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36436 (run_program_cmd): This.
36437 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36438 (tst_langinfo): New variable. Use it.
36440 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36442 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36443 floating point opcodes.
36445 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36447 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36450 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36452 * sysdeps/mach/hurd/powerpc: Remove directory.
36453 * sysdeps/mach/powerpc: Likewise.
36455 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36457 * scripts/check-local-headers.sh: Ignore c++ headers.
36459 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36461 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36462 __libc_cleanup_region_start argument.
36464 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36469 x * y using scaling, not as x * y + z.
36470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36472 * math/libm-test.inc (fma_test): Add more tests.
36473 (fma_test_towardzero): Likewise.
36474 (fma_test_downward): Likewise.
36475 (fma_test_upward): Likewise.
36477 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36479 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36481 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36483 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36486 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36488 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36490 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36497 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36500 Fix the order of the list for glibc 2.17.
36501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36504 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36508 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36511 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36512 for low part of x being zero before using __atanl (y).
36513 * math/libm-test.inc (atan2_test): Add another test.
36515 * manual/install.texi (Configuring and compiling): Document
36516 general use of test-wrapper and test-wrapper-env.
36517 * INSTALL: Regenerated.
36519 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36520 (__fma): Do not extract and scale down low bits on after-rounding
36521 systems when result rounded to normal precision would have normal
36523 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36524 (__fmal): Do not extract and scale down low bits on after-rounding
36525 systems when result rounded to normal precision would have normal
36527 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36528 (__fmal): Do not extract and scale down low bits on after-rounding
36529 systems when result rounded to normal precision would have normal
36531 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36533 (fma_test): Add more tests.
36534 (fma_test_towardzero): Likewise.
36535 (fma_test_downward): Likewise.
36536 (fma_test_upward): Likewise.
36538 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36540 * sysdeps/i386/tininess.h: Renamed to ...
36541 * sysdeps/x86/tininess.h: This.
36542 * sysdeps/x86_64/tininess.h: Removed.
36544 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36546 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36547 input. Use $(build-program-cmd).
36548 ($(objpfx)tst-array1-static.out): Likewise.
36549 ($(objpfx)tst-array2.out): Likewise.
36550 ($(objpfx)tst-array3.out): Likewise.
36551 ($(objpfx)tst-array4.out): Likewise.
36552 ($(objpfx)tst-array5.out): Likewise.
36553 ($(objpfx)tst-array5-static.out): Likewise.
36555 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36557 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36560 * nss/nsswitch.h (nss_interface_function): Provide new
36561 macro for use with NSS functions.
36562 * grp/initgroups.c: Use new macro.
36563 * nss/getXXbyYY.c: Likewise.
36564 * nss/getXXbyYY_r.c: Likewise.
36565 * nss/getXXent.c: Likewise.
36566 * nss/getXXent_r.c: Likewise.
36567 * sysdeps/posix/getaddrinfo.c: Likewise.
36569 2012-10-30 Andreas Jaeger <aj@suse.de>
36571 * po/ru.po: Update Russion translation from translation project.
36573 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36578 result and shift together with sticky bit instead of replicating
36579 round-to-nearest rounding.
36580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36582 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36583 missing underflow exceptions.
36584 (fma_test_towardzero): Add more tests.
36585 (fma_test_downward): Likewise.
36586 (fma_test_upward): Likewise.
36589 * sysdeps/generic/tininess.h: New file.
36590 * sysdeps/i386/tininess.h: Likewise.
36591 * sysdeps/sh/tininess.h: Likewise.
36592 * sysdeps/x86_64/tininess.h: Likewise.
36593 * stdlib/tst-strtod-underflow.c: Likewise.
36594 * stdlib/tst-tininess.c: Likewise.
36595 * stdlib/strtod_l.c: Include <tininess.h>.
36596 (round_and_return): Do not set errno for exact underflow cases.
36597 Force an underflow exception when setting errno for underflow.
36598 Determine underflow based on rounding to normal precision if
36599 TININESS_AFTER_ROUNDING.
36600 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36601 ERANGE for exact underflow cases.
36602 * stdlib/Makefile (tests): Add tst-tininess and
36603 tst-strtod-underflow.
36604 ($(objpfx)tst-tininess): Use $(link-libm).
36605 ($(objpfx)tst-strtod-underflow): Likewise.
36607 2012-10-30 Andreas Jaeger <aj@suse.de>
36610 * elf/Makefile (tests): Remove conditional for have-initfini-array
36611 since this is now always required and the variable does not exist
36613 (tests-static): Likewise.
36614 (modules-names): Likewise.
36616 * po/eo.po: Add Esperanto translation from translation project.
36618 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36619 merged with constructor/destructor.
36620 (init_array): Likewise.
36621 * elf/tst-array2dep.c (fini_array): Likewise.
36622 (init_array): Likewise.
36624 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36626 * manual/message.texi: Delete @cartouche tags.
36628 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36630 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36632 * sysdeps/mach/hurd/fsync.c: Likewise.
36634 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36635 [_POSIX_REALTIME_SIGNALS]: Change condition to
36636 [_POSIX_REALTIME_SIGNALS > 0].
36638 2012-10-27 Andreas Jaeger <aj@suse.de>
36640 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36641 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36643 [__WORDSIZE != 64]: Likewise.
36645 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36647 * iconvdata/tst-table.sh: Remove ${SHELL}.
36648 * iconvdata/tst-tables.sh: Likewise.
36650 2012-10-25 David S. Miller <davem@davemloft.net>
36652 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36653 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36659 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36660 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36663 2012-10-25 Roland McGrath <roland@hack.frob.com>
36665 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36666 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36669 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36670 Jim Blandy <jimb@codesourcery.com>
36672 * scripts/cross-test-ssh.sh: New file.
36673 * manual/install.texi (Configuring and compiling): Document use of
36675 * INSTALL: Regenerated.
36677 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36679 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36682 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36684 * Makeconfig (run-program-prefix): Fix comment.
36686 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36687 Jim Blandy <jimb@codesourcery.com>
36689 * Makeconfig (test-wrapper): New variable,
36690 (test-wrapper-env): Likewise.
36691 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36692 (run-built-tests): Define to yes.
36693 (run-program-prefix): Use $(test-wrapper).
36694 (built-program-cmd): Likewise.
36695 * Rules (make-test-out): Use $(test-wrapper-env) and
36696 $(host-built-program-cmd).
36697 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36698 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36700 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36701 $(test-wrapper-env) to tst-rtld-load-self.sh.
36702 ($(objpfx)order2.out): Use $(test-wrapper).
36703 ($(objpfx)tst-initorder.out): Likewise.
36704 ($(objpfx)tst-initorder2.out): Likewise.
36705 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36706 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36707 (test_wrapper_env): New variable. Use it to run ld.so.
36708 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36709 Use it to run ld.so.
36710 (test_wrapper_env): Likewise.
36711 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36712 $(test-wrapper) to run-iconv-test.sh.
36713 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36714 (ICONV): Use $test_wrapper.
36715 * posix/Makefile ($(objpfx)globtest.out): Pass
36716 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36717 globtest.sh, not $(run-program-prefix).
36718 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36719 (test_wrapper): Likewise.
36720 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36721 set together with run_via_rtld_prefix.
36722 (run_program_prefix): Define in terms of test_wrapper and
36723 run_via_rtld_prefix.
36725 2012-10-24 Roland McGrath <roland@hack.frob.com>
36727 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36728 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36732 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36733 Declare __clock_getres, __clock_gettime, __clock_settime,
36734 __clock_nanosleep, and __clock_getcpuclockid.
36735 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36736 Remove librt_hidden_def (clock_gettime).
36737 * sysdeps/unix/clock_gettime.c: Likewise.
36738 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36739 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36740 * rt/clock_getres.c: Define __clock_getres as an alias.
36741 * sysdeps/posix/clock_getres.c: Likewise.
36742 * rt/clock_settime.c: Define __clock_settime as an alias.
36743 * sysdeps/unix/clock_settime.c: Likewise.
36744 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36745 * sysdeps/unix/clock_nanosleep.c: Likewise.
36746 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36747 * rt/clock-compat.c: New file.
36748 * rt/Makefile (librt-routines): Add clock-compat and move
36749 $(clock-routines) to ...
36750 (routines): ... here, new variable.
36751 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36752 Don't add get_clockfreq here.
36753 * rt/Versions (libc: GLIBC_2.17): New version set.
36754 Add clock_* symbols here.
36755 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36756 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36757 (GLIBC_2.17): Add clock_* symbols.
36758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36769 * NEWS: Mention the move.
36771 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36772 Use __open, __read, __close rather than their public counterparts.
36773 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36774 (__get_clockfreq_via_cpuinfo): Likewise.
36775 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36776 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36778 * config.h.in (HAVE_IFUNC): New #undef.
36779 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36781 * configure: Regenerated.
36783 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36785 * configure.in: Move READELF check to start of file.
36786 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36787 libc_cv_asm_gnu_indirect_function in the process.
36788 * configure: Regenerated.
36790 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36792 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36793 send the output to /dev/null.
36794 (libc_cv_cc_with_libunwind): Likewise.
36795 (libc_cv_as_noexecstack): Likewise.
36796 * configure: Regenerate.
36798 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36800 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36802 * posix/globtest.sh (TMPDIR): Do not set.
36803 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36804 (testout): Likewise.
36806 2012-10-24 Andreas Jaeger <aj@suse.de>
36808 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36809 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36810 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36811 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36812 posix_fadvise64, posix_fallocate64.
36814 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36815 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36816 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36818 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36820 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36822 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36823 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36824 <bits/fcntl-linux.h>.
36825 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36828 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36829 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36830 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36831 [__WORDSIZE != 64]: Likewise.
36833 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36835 * Makeconfig (run-built-tests): New variable.
36836 * Rules [$(cross-compiling) = yes]: Change condition to
36837 [$(run-built-tests) = no].
36838 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36839 to [$(run-built-tests) = yes].
36840 * elf/Makefile [$(cross-compiling) = no]: Likewise
36841 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36842 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36843 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36844 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36845 * io/Makefile [$(cross-compiling) = no]: Likewise.
36846 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36847 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36848 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36849 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36850 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36851 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36852 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36853 * string/Makefile [$(cross-compiling) = no]: Likewise.
36855 * posix/Makefile ($(objpfx)globtest.out): Pass
36856 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36857 $(rtld-installed-name).
36858 * posix/globtest.sh (elf_objpfx): Remove variable.
36859 (rtld_installed_name): Likewise.
36860 (library_path): Likewise.
36861 (run_program_prefix): New variable. Use for running globtest
36864 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36865 Joseph Myers <joseph@codesourcery.com>
36867 * Makeconfig (host-built-program-cmd): New variable.
36868 * elf/Makefile (tst-stackguard1-ARGS): Use
36869 $(host-built-program-cmd).
36870 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36871 (tst-spawn-ARGS): Likewise.
36872 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36874 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36875 Jim Blandy <jimb@codesourcery.com>
36877 * Makeconfig (run-via-rtld-prefix): New variable.
36878 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36879 (built-program-cmd): Likewise.
36881 2012-10-22 Andreas Jaeger <aj@suse.de>
36883 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36884 __O_RSYNC if it exists, otherwise to O_SYNC.
36886 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36887 Joseph Myers <joseph@codesourcery.com>
36889 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36891 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36893 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36896 2012-10-22 Andreas Jaeger <aj@suse.de>
36898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36903 bits/fcntl-linux.h.
36905 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36906 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36913 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36914 Joseph Myers <joseph@codesourcery.com>
36916 * config.make.in (NM): New variable.
36918 2012-10-21 Andreas Jaeger <aj@suse.de>
36920 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36921 definitions and declarations that are provided by
36922 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36924 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36927 * elf/Makefile (tests-static): Add tst-leaks1-static.
36928 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36929 ($(objpfx)tst-leaks1-static): New rule.
36930 ($(objpfx)tst-leaks1-static-mem): Likewise.
36931 (tst-leaks1-static-ENV): New macro.
36932 * elf/dl-open.c (dl_open_worker): Check the main application
36933 only if SHARED is defined.
36934 * elf/tst-leaks1-static.c: New file.
36936 2012-10-20 Andreas Jaeger <aj@suse.de>
36938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36939 generic values for Linux.
36940 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36941 and declarations that are provided by <bits/fcntl-linux.h> and
36942 include <bits/fcntl-linux.h>.
36943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36946 2012-10-20 Roland McGrath <roland@hack.frob.com>
36948 * io/fcntl.h: Move include of <bits/types.h> to the top and
36949 include it unconditionally.
36951 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36953 * wcsmbs/Makefile (tests-ifunc): New variable.
36954 (tests): Add $(tests-ifunc).
36955 * wcsmbs/test-wcschr-ifunc.c: New file.
36956 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36957 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36958 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36959 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36960 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36962 * string/Makefile (tests-ifunc): New variable.
36963 (tests): Add $(tests-ifunc).
36964 * string/test-memccpy.c (TEST_NAME): New macro.
36965 * string/test-memchr.c (TEST_NAME): Likewise.
36966 * string/test-memcmp.c (TEST_NAME): Likewise.
36967 * string/test-memcpy.c (TEST_NAME): Likewise.
36968 * string/test-memmem.c (TEST_NAME): Likewise.
36969 * string/test-memmove.c (TEST_NAME): Likewise.
36970 * string/test-memset.c (TEST_NAME): Likewise.
36971 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36972 * string/test-stpcpy.c (TEST_NAME): Likewise.
36973 * string/test-stpncpy.c (TEST_NAME): Likewise.
36974 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36975 * string/test-strcasestr.c (TEST_NAME): Likewise.
36976 * string/test-strcat.c (TEST_NAME): Likewise.
36977 * string/test-strchr.c (TEST_NAME): Likewise.
36978 * string/test-strcmp.c(TEST_NAME): Likewise.
36979 * string/test-strcpy.c (TEST_NAME): Likewise.
36980 * string/test-strcspn.c (TEST_NAME): Likewise.
36981 * string/test-strlen.c (TEST_NAME): Likewise.
36982 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36983 * string/test-strncmp.c (TEST_NAME): Likewise.
36984 * string/test-strncpy.c (TEST_NAME): Likewise.
36985 * string/test-strnlen.c (TEST_NAME): Likewise.
36986 * string/test-strpbrk.c (TEST_NAME): Likewise.
36987 * string/test-strrchr.c (TEST_NAME): Likewise.
36988 * string/test-strspn.c (TEST_NAME): Likewise.
36989 * string/test-strstr.c (TEST_NAME): Likewise.
36990 * string/test-bcopy-ifunc.c: New file.
36991 * string/test-bzero-ifunc.c: Likewise.
36992 * string/test-memccpy-ifunc.c: Likewise.
36993 * string/test-memchr-ifunc.c: Likewise.
36994 * string/test-memcmp-ifunc.c: Likewise.
36995 * string/test-memcpy-ifunc.c: Likewise.
36996 * string/test-memmem-ifunc.c: Likewise.
36997 * string/test-memmove-ifunc.c: Likewise.
36998 * string/test-mempcpy-ifunc.c: Likewise.
36999 * string/test-memset-ifunc.c: Likewise.
37000 * string/test-rawmemchr-ifunc.c: Likewise.
37001 * string/test-stpcpy-ifunc.c: Likewise.
37002 * string/test-stpncpy-ifunc.c: Likewise.
37003 * string/test-strcasecmp-ifunc.c: Likewise.
37004 * string/test-strcasestr-ifunc.c: Likewise.
37005 * string/test-strcat-ifunc.c: Likewise.
37006 * string/test-strchr-ifunc.c: Likewise.
37007 * string/test-strchrnul-ifunc.c: Likewise.
37008 * string/test-strcmp-ifunc.c: Likewise.
37009 * string/test-strcpy-ifunc.c: Likewise.
37010 * string/test-strcspn-ifunc.c: Likewise.
37011 * string/test-strlen-ifunc.c: Likewise.
37012 * string/test-strncasecmp-ifunc.c: Likewise.
37013 * string/test-strncat-ifunc.c: Likewise.
37014 * string/test-strncmp-ifunc.c: Likewise.
37015 * string/test-strncpy-ifunc.c: Likewise.
37016 * string/test-strnlen-ifunc.c: Likewise.
37017 * string/test-strpbrk-ifunc.c: Likewise.
37018 * string/test-strrchr-ifunc.c: Likewise.
37019 * string/test-strspn-ifunc.c: Likewise.
37020 * string/test-strstr-ifunc.c: Likewise.
37022 * debug/Makefile (tests-ifunc): New variable.
37023 (tests): Add $(tests-ifunc).
37024 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37025 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37026 * debug/test-stpcpy_chk-ifunc.c: New file.
37027 * debug/test-strcpy_chk-ifunc.c: Likewise.
37029 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37032 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37033 header is not read in.
37035 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37037 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37038 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37039 directly. Pass built executable to script as
37040 $(built-program-cmd).
37041 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37042 $testprogram without using LD_LIBRARY_PATH and $ldso.
37044 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37045 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37046 $(rtld-installed-name).
37047 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37048 (rtld_installed_name): Likewise.
37049 (library_path): Likewise.
37050 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37051 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37052 $(run-program-prefix) to tst-tables.sh.
37053 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37054 it to run tst-table-from and tst-table-to.
37055 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37056 Pass it to tst-table.sh.
37057 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37058 $(run-program-prefix) to tst-gettext.sh.
37059 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37061 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37063 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37064 to run tst-gettext.
37065 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37066 to run tst-gettext2.
37067 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37068 to run tst-translit.
37069 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37070 $(run-program-prefix) to tst-mtrace.sh.
37071 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37073 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37074 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37075 $(rtld-installed-name).
37076 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37077 (rtld_installed_name): Likewise.
37078 (run_program_prefix): New variable. Use it to run wordexp-test.
37080 * Makeconfig (ARCH): Remove all definitions.
37081 (machine): Likewise.
37082 [ARCH]: Remove conditional code.
37083 [!objdir]: Give error.
37084 [!objdir] (objpfx): Remove.
37085 [!objdir] (common-objpfx): Likewise.
37086 [!objdir] (common-objdir): Likewise.
37087 * configure.in (config_makefile): Remove. Hardcode Makefile in
37088 AC_CONFIG_FILES call.
37089 * configure: Regenerated.
37092 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37094 (testout): Likewise.
37096 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37097 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37098 $(rtld-installed-name).
37099 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37100 (rtld_installed_name): Likwise.
37101 (runit): Remove function.
37102 (run_getconf): New variable, Use it for running getconf binary.
37104 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37107 * string/test-memmem.c (check_result): New function.
37108 (do_one_test): Use it.
37109 (check1): New function.
37110 (test_main): Use it.
37112 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37114 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37116 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37118 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37119 (_G_LSEEK64): Likewise.
37120 (_G_MMAP64): Likewise.
37121 (_G_FSTAT64): Likewise.
37122 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37123 (_G_LSEEK64): Likewise.
37124 (_G_MMAP64): Likewise.
37125 (_G_FSTAT64): Likewise.
37126 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37127 unconditional. Call __mmap64 directly.
37128 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37129 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37130 __lseek64 directly.
37131 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37132 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37134 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37135 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37136 __lseek64 directly.
37137 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37138 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37139 __lseek64 directly.
37140 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37141 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37142 __lseek64 directly.
37143 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37144 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37145 __fxstat64 directly.
37146 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37147 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37149 (freopen64) [!_G_OPEN64]: Remove conditional code.
37150 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37152 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37153 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37155 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37156 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37158 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37159 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37161 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37162 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37164 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37165 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37167 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37168 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37170 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37172 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37175 * manual/memory.texi (Malloc Tunable Parameters): Add note
37176 about free list pointers overwriting some perturb bytes.
37177 Wording suggested by Roland McGrath.
37179 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37181 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37182 (lgamma_test): Likewise.
37183 (tgamma_test): Likewise.
37185 2012-10-16 Florian Weimer <fweimer@redhat.com>
37188 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37189 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37191 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37193 * NEWS: Mention BZ #14716.
37194 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37195 when removing AVAILABLE1_USES_J macro.
37197 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37199 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37200 (__bswap_64): __uint64_t for unsigned 64-bit int.
37202 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37204 * include/string.h (memmem): Declare libc hidden alias.
37205 * string/memmem.c (memmem): Define libc hidden alias.
37206 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37207 __read, __close instead of open, read, close.
37209 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37212 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37214 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37215 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37216 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37218 (__rawmemchr_sse2): Likewise.
37219 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37220 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37221 (__strchr_sse2): Likewise.
37222 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37223 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37224 (__strcasecmp_sse2): Likewise.
37225 (__strncasecmp_sse2): Likewise.
37226 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37227 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37228 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37229 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37230 (__strrchr_sse2): Likewise.
37231 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37233 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37234 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37235 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37236 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37237 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37238 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37239 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37240 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37241 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37242 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37243 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37244 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37245 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37246 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37247 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37248 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37249 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37250 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37251 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37252 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37253 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37254 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37255 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37256 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37257 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37258 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37259 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37260 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37261 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37262 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37264 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37266 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37267 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37268 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37269 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37271 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37273 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37274 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37275 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37276 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37278 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37279 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37280 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37281 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37282 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37283 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37284 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37285 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37286 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37287 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37288 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37289 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37290 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37291 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37292 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37293 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37294 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37295 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37296 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37297 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37298 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37299 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37300 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37301 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37302 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37303 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37304 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37305 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37306 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37307 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37308 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37309 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37310 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37311 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37312 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37313 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37314 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37315 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37316 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37317 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37318 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37320 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37321 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37322 * include/ifunc-impl-list.h: New file.
37323 * misc/ifunc-impl-list.c: Likewise.
37324 * misc/Makefile (routines): Add ifunc-impl-list.
37325 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37326 * string/test-string.h: Include <ifunc-impl-list.h>.
37327 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37328 TEST_NAME]: New variables.
37329 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37331 (test_init): Call __libc_ifunc_impl_list to initialize
37332 func_list if TEST_IFUNC and TEST_NAME are defined.
37334 * string/Makefile (strop-tests): Add bcopy and bzero.
37335 * string/test-bcopy.c: New file.
37336 * string/test-bzero.c: Likewise.
37337 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37339 * string/test-memset.c: Support bzero test if TEST_BZERO is
37341 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37343 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37345 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37348 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37350 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37351 * configure: Regenerated.
37353 * Makeconfig (+link-static-before-libc): Don't include
37354 $(link-static-libc).
37356 * libio/libio.h (_IO_pos_t): Remove.
37358 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37360 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37363 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37365 * crypt/crypt-entry.c: Include fips-private.h.
37366 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37367 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37368 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37369 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37371 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37373 * crypt/crypt-private.h: Include stdbool.h.
37374 (_ufc_setup_salt_r): Return bool.
37375 * crypt/crypt-entry.c: Include errno.h.
37376 (__crypt_r): Return NULL with EINVAL for bad salt.
37377 * crypt/crypt_util.c (bad_for_salt): New.
37378 (_ufc_setup_salt_r): Check that salt is long enough and within
37379 the specified alphabet.
37380 * crypt/badsalttest.c: New file.
37381 * crypt/Makefile (tests): Add it.
37382 ($(objpfx)badsalttest): New.
37384 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37386 * NEWS: Add entry for BZ #14602.
37388 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37390 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37392 * math/libm-test.inc: Update comment listing what functions and
37394 (isgreater_test): New function.
37395 (isgreaterequal_test): Likewise.
37396 (isless_test): Likewise.
37397 (islessequal_test): Likewise.
37398 (islessgreater_test): Likewise.
37399 (isunordered_test): Likewise.
37400 (main): Call the new functions.
37402 2012-10-09 Roland McGrath <roland@hack.frob.com>
37404 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37405 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37406 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37407 * sysdeps/i386/configure: Regenerated.
37408 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37409 * sysdeps/mach/configure: Regenerated.
37410 * sysdeps/mach/hurd/configure: Regenerated.
37411 * sysdeps/powerpc/configure: Regenerated.
37412 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37413 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37414 * sysdeps/s390/s390-32/configure: Regenerated.
37415 * sysdeps/s390/s390-64/configure: Regenerated.
37416 * sysdeps/sh/configure: Regenerated.
37417 * sysdeps/sparc/configure: Regenerated.
37418 * sysdeps/unix/sysv/linux/configure: Regenerated.
37419 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37420 * sysdeps/x86_64/configure: Regenerated.
37422 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37423 defined. Don't check if MAP is NULL.
37425 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37427 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37428 (_G_stat64): Likewise.
37429 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37430 (_G_stat64): Likewise.
37431 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37432 instead of struct _G_stat64.
37433 * libio/fileops.c (mmap_remap_check): Likewise.
37434 (decide_maybe_mmap): Likewise.
37435 (_IO_new_file_seekoff): Likewise.
37436 (_IO_file_stat): Likewise.
37437 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37439 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37440 instead of struct _G_stat64.
37441 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37443 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37446 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37448 (CHECK_EOL): New macro.
37449 (two_way_short_needle): Check beginning of haystack for EOL. Use
37451 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37452 Replace with CHECK_EOL.
37453 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37454 Replace with CHECK_EOL.
37456 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37458 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37460 * math/libm-test.inc: Update comment listing what functions and
37462 (finite_test): New function.
37463 (isinf_test): Likewise.
37464 (isnan_test): Likewise.
37465 (fpclassify_test): Test subnormal input.
37466 (isfinite_test): Likewise.
37467 (isnormal_test): Likewise.
37468 (main): Call the new functions.
37470 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37473 * Makerules (%.dynsym): Force C locale when running
37474 $(OBJDUMP) --dynamic-syms.
37476 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37478 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37481 2012-10-06 David S. Miller <davem@davemloft.net>
37483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37484 upper 32-bits of the length value in %o2 since we use branch-on-register
37485 tests which consider the entire 64-bit register.
37487 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37489 * string/test-strstr.c (check2): Add a test for page boundary.
37491 2012-10-05 David S. Miller <davem@davemloft.net>
37493 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37494 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37496 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37498 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37499 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37500 and bzero when HWCAP_SPARC_CRYPTO is present.
37502 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37505 * string/test-strstr.c (check2): New function.
37506 (test_main): Call check2.
37508 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37510 * string/bug-strcasestr1.c (do_test): Moved to ...
37511 * string/test-strcasestr.c (check1): Here. New function.
37512 (do_one_test): Break out result checking code into ...
37513 (check_result): This. New function.
37514 (do_one_test): Call check_result.
37515 (test_main): Call check1.
37516 * string/bug-strchr1.c (do_test): Moved to ...
37517 * string/test-strchr.c (check1): Here. New function.
37518 (do_one_test): Break out result checking code into ...
37519 (check_result): This. New function.
37520 (do_one_test): Call check_result.
37521 (test_main): Call check1.
37522 * string/bug-strstr1.c (main): Moved to ...
37523 * string/test-strstr.c (check1): Here. New function.
37524 (do_one_test): Break out result checking code into ...
37525 (check_result): This. New function.
37526 (do_one_test): Call check_result.
37527 (test_main): Call check1.
37528 * string/bug-strcasestr1.c: Removed.
37529 * string/bug-strchr1.c: Likewise.
37530 * string/bug-strstr1.c: Likewise.
37532 * elf/Makefile (dl-routines): Add hwcaps.
37533 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37534 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37535 (_dl_important_hwcaps): Moved to ...
37536 * elf/dl-hwcaps.c: Here. New file.
37537 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37540 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37541 if IS_IN_rtld isn't defined.
37543 * elf/dl-support.c (_dl_sysinfo_map): New.
37544 Include "get-dynamic-info.h" and "setup-vdso.h".
37545 (_dl_non_dynamic_init): Call setup_vdso.
37546 * elf/dynamic-link.h: Don't include <assert.h>.
37547 (elf_get_dynamic_info): Moved to ...
37548 * elf/get-dynamic-info.h: Here. New file.
37549 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37550 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37551 * elf/setup-vdso.h: Here. New file.
37552 * elf/rtld.c: Include "setup-vdso.h".
37553 (dl_main): Call setup_vdso.
37555 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37557 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37558 creal in comment listing functions tested. List finite, isinf,
37559 isnan, isless, islessequal, isgreater, isgreaterequal,
37560 islessgreater, isunordered, lgamma_r and pow10 as functions and
37561 macros not tested. Mention which functions not tested are aliases
37562 for other functions. Fix typo. Note that signs of NaNs are not
37565 * scripts/config.guess: Update from config.git.
37566 * scripts/config.sub: Likewise.
37568 2012-10-04 Roland McGrath <roland@hack.frob.com>
37570 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37571 * misc/madvise.c (madvise): Renamed to __madvise.
37572 Make madvise a weak alias.
37573 * include/sys/mman.h: Declare __madvise.
37574 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37575 * sysdeps/unix/syscalls.list
37576 (madvise): Make __madvise the strong name, and madvise a weak alias.
37577 * sysdeps/unix/sysv/linux/syscalls.list
37578 (madvise, mmap): Remove redundant entries.
37579 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37580 * malloc/malloc.c (mtrim): Likewise.
37581 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37583 2012-10-03 Roland McGrath <roland@hack.frob.com>
37585 * sysdeps/mach/hurd/dl-cache.c: File removed.
37586 * config.h.in (USE_LDCONFIG): New #undef.
37587 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37588 * configure: Regenerated.
37589 * elf/Makefile (dl-routines): Add dl-cache only under
37590 [$(use-ldconfig) = yes].
37591 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37592 cache on [USE_LDCONFIG].
37593 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37595 * elf/rtld.c (dl_main): Likewise.
37597 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37599 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37600 _SC_LEVEL4_CACHE_LINESIZE.
37602 2012-10-03 Roland McGrath <roland@hack.frob.com>
37604 * sysdeps/unix/bsd/confstr.h: File removed.
37606 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37608 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37611 2012-10-02 Roland McGrath <roland@hack.frob.com>
37613 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37614 Make 'mapoff' field ElfW(Off) rather than off_t.
37616 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37618 * nscd/Makefile: Remove nscd-cflags and all its users.
37619 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37620 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37623 * malloc.c (malloc_printerr): Clarify error message.
37625 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37629 Set bit_FMA_Usable if FMA is supported.
37630 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37632 (bit_FMA4_Usable): Updated.
37633 (index_FMA_Usable): New macro.
37634 (CPUID_FMA): Likewise
37635 (HAS_FMA): Defined with bit_FMA_Usable.
37637 2012-10-01 Roland McGrath <roland@hack.frob.com>
37639 * bits/types.h (__swblk_t): Type removed.
37640 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37641 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37643 (__SWBLK_T_TYPE): Likewise.
37644 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37645 (__SWBLK_T_TYPE): Likewise.
37646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37647 (__SWBLK_T_TYPE): Likewise.
37648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37649 (__SWBLK_T_TYPE): Likewise.
37651 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37652 Honza Horak <hhorak@redhat.com>
37654 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37655 (xdr_mapname): Use YPMAXMAP as maxsize.
37656 (xdr_peername): Use YPMAXPEER as maxsize.
37657 (xdr_keydat): Use YPAXRECORD as maxsize.
37658 (xdr_valdat): Use YPMAXRECORD as maxsize.
37660 2012-10-01 Roland McGrath <roland@hack.frob.com>
37662 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37664 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37665 * csu/init-first.c: ... here.
37666 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37667 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37668 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37669 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37670 * sysdeps/i386/init-first.c: File removed.
37671 * sysdeps/sh/init-first.c: File removed.
37673 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37677 if x * y might underflow to zero and z is zero.
37678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37680 * math/libm-test.inc (min_subnorm_value): New variable.
37681 (fma_test): Add more tests.
37682 (fma_test_towardzero): Likewise.
37683 (fma_test_downward): Likewise
37684 (fma_test_upward): Likewise.
37685 (initialize): Set min_subnorm_value.
37687 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37692 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37693 mode for addition resulting in exact zero.
37694 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37697 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37698 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37699 * math/libm-test.inc (fma_test): Add more tests.
37700 (fma_test_towardzero): New function.
37701 (fma_test_downward): Likewise.
37702 (fma_test_upward): Likewise.
37703 (main): Call the new functions.
37705 2012-09-28 David S. Miller <davem@davemloft.net>
37707 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37709 2012-09-28 Roland McGrath <roland@hack.frob.com>
37711 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37712 instead of SIGALRM.
37714 * sysdeps/gnu/_G_config.h: Moved to ...
37715 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37716 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37717 * sysdeps/generic/_G_config.h: ... here.
37719 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37721 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37723 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37724 Conditionalize target on [libnss_test1.so-version].
37726 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37728 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37729 (elfobjdir): Move out of conditionals.
37731 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37732 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37733 (__nss_lookup_function): Conditionalize label remove_from_tree on
37734 [!DO_STATIC_NSS || SHARED], matching its only use.
37736 2012-09-28 David S. Miller <davem@davemloft.net>
37738 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37739 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37741 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37743 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37745 when HWCAP_SPARC_CRYPTO is present.
37747 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37749 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37751 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37754 * stdio-common/vfprintf.c (process_string_arg): Revert
37757 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37759 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37761 * stdio-common/tst-sprintf.c: Include <locale.h>
37762 (main): Test sprintf's handling of incomplete multibyte
37765 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37767 * elf/dl-runtime.c (VERSYMIDX): Removed.
37768 * elf/dl-version.c (VERSYMIDX): Likewise.
37769 * elf/do-rel.h (VERSYMIDX): Likewise.
37770 (VALIDX): Likewise.
37771 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37772 * elf/rtld.c (VALIDX): Likewise.
37773 (ADDRIDX): Likewise.
37774 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37775 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37776 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37777 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37778 (VALIDX): Likewise.
37779 (ADDRIDX): Likewise.
37781 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37783 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37785 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37788 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37790 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37791 addresses are in the same scope as 192.0.2/24.
37792 * posix/gai.conf: Document new scope table defaults.
37794 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37797 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37798 for ftell. Compute offsets from write pointers instead.
37799 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37801 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37804 * libio/Makefile (tests): New test case tst-fseek.
37805 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37806 combination works in wide mode.
37807 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37808 state when the external buffer state changes.
37810 2012-09-27 David S. Miller <davem@davemloft.net>
37813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37814 pass reloc->r_addend in as the 'high' argument to
37815 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37819 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37821 * rt/tst-aio2.c: Include <pthread.h>.
37822 * rt/tst-aio3.c: Likewise.
37824 2012-09-27 Steve Ellcey <sellcey@mips.com>
37826 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37828 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37830 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37831 contents on [SHARED].
37833 2012-09-26 Marek Polacek <polacek@redhat.com>
37837 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37838 for C++ and GCC <4.3 as well as for non GCC compilers.
37840 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37844 2012-09-25 Roland McGrath <roland@hack.frob.com>
37846 * Makefile.in (all, install): Declare with .PHONY.
37847 Reported by Michael Hope <michael.hope@linaro.org>.
37849 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37851 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37852 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37854 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37856 (sydep_routines): Add the new and the internal functions.
37857 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37858 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37860 (GLIBC_2.17): Add the new function.
37861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37862 (GLIBC_2.17): Likewise.
37863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37864 (GLIBC_2.17): Likewise.
37865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37866 (GLIBC_2.17): Likewise.
37867 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37869 2012-09-25 Alan Modra <amodra@gmail.com>
37871 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37872 Add release barrier before setting once_control to say
37873 initialisation is done. Add hints on lwarx. Use macro in
37875 (clear_once_control): Add release barrier.
37877 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37880 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37882 * math/s_clog10.c (__clog10): Likewise.
37883 * math/s_clog10f.c (__clog10f): Likewise.
37884 * math/s_clog10l.c (__clog10l): Likewise.
37885 * math/s_clogf.c (__clogf): Likewise.
37886 * math/s_clogl.c (__clogl): Likewise.
37887 * math/Makefile (libm-calls): Add x2y2m1.
37888 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37889 (__x2y2m1): Likewise.
37890 (__x2y2m1l): Likewise.
37891 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37892 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37895 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37896 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37897 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37898 * sysdeps/i386/fpu/libm-test-ulps: Update.
37899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37902 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37903 int as type of variable DEPTH.
37904 (glob): Use size_t instead of int as type of variables NEWCOUNT
37907 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37909 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37910 Add s_sincosf-sse2.
37911 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37912 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37913 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37914 macros for using routine as __sincosf_ia32.
37915 Use macro for function declaration and weak_alias.
37916 * sysdeps/i386/fpu/libm-test-ulps: Update.
37918 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37921 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37922 subnormal argument.
37923 * math/s_cexpf.c (__cexpf): Likewise.
37924 * math/s_csinf.c (__csinf): Likewise.
37925 * math/s_csinhf.c (__csinhf): Likewise.
37926 * math/s_ctanf.c (__ctanf): Likewise.
37927 * math/s_ctanhf.c (__ctanhf): Likewise.
37928 * math/s_ccosh.c (__ccoshf): Likewise.
37929 * math/s_cexp.c (__cexpl): Likewise.
37930 * math/s_csin.c (__csin): Likewise.
37931 * math/s_csinh.c (__csinh): Likewise.
37932 * math/s_ctan.c (__ctan): Likewise.
37933 * math/s_ctanh.c (ctanh): Likewise.
37934 * math/s_ccoshl.c (__ccoshl): Likewise.
37935 * math/s_cexpl.c (__cexpl): Likewise.
37936 * math/s_csinl.c (__csinl): Likewise.
37937 * math/s_csinhl.c (__csinhl): Likewise.
37938 * math/s_ctanl.c (__ctanl): Likewise.
37939 * math/s_ctanhl.c (__ctanhl): Likewise.
37941 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37943 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37944 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37945 (_IO_off_t): Define to __off_t, not _G_off_t.
37946 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37947 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37948 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37949 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37950 type of __dummy and __dummy2 fields.
37951 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37952 (_G_ssize_t): Likewise.
37953 (_G_off_t): Likewise.
37954 (_G_pid_t): Likewise.
37955 (_G_uid_t): Likewise.
37956 (_G_wchar_t): Likewise.
37957 (_G_wint_t): Likewise.
37958 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37959 (_G_ssize_t): Likewise.
37960 (_G_off_t): Likewise.
37961 (_G_pid_t): Likewise.
37962 (_G_uid_t): Likewise.
37963 (_G_wchar_t): Likewise.
37964 (_G_wint_t): Likewise.
37965 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37966 (_G_ssize_t): Likewise.
37967 (_G_off_t): Likewise.
37968 (_G_pid_t): Likewise.
37969 (_G_uid_t): Likewise.
37970 (_G_wchar_t): Likewise.
37971 (_G_wint_t): Likewise.
37973 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37975 * malloc/arena.c: Include malloc-sysdep.h.
37976 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37977 is sufficient to shrink the heap or an unmap is needed.
37978 * sysdeps/generic/malloc-sysdep.h: New file. Define
37979 new function check_may_shrink_heap.
37980 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37981 new function check_may_shrink_heap.
37983 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37985 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37988 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37990 * catgets/test-gencat.sh: Add "set -e".
37991 * elf/tst-pathopt.sh: Likewise.
37992 * grp/tst_fgetgrent.sh: Likewise.
37993 * iconvdata/run-iconv-test.sh: Likewise.
37994 * intl/tst-gettext.sh: Likewise.
37995 * intl/tst-gettext2.sh: Likewise.
37996 * intl/tst-gettext4.sh: Likewise.
37997 * intl/tst-gettext6.sh: Likewise.
37998 * intl/tst-translit.sh: Likewise.
37999 * io/ftwtest-sh: Likewise.
38000 * libio/test-freopen.sh: Likewise.
38001 * malloc/tst-mtrace.sh: Likewise.
38002 * posix/globtest.sh: Likewise.
38003 * posix/tst-getconf.sh: Likewise.
38004 * posix/wordexp-tst.sh: Likewise.
38005 * stdio-common/tst-printf.sh: Likewise.
38006 * stdio-common/tst-unbputc.sh: Likewise.
38007 * stdlib/tst-fmtmsg.sh: Likewise.
38008 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38009 * catgets/Makefile: Do not specify -e option when running
38010 testsuite shell scripts.
38011 * elf/Makefile: Likewise.
38012 * grp/Makefile: Likewise.
38013 * iconvdata/Makefile: Likewise.
38014 * intl/Makefile: Likewise.
38015 * io/Makefile: Likewise.
38016 * libio/Makefile: Likewise.
38017 * malloc/Makefile: Likewise.
38018 * posix/Makefile: Likewise.
38019 * stdio-common/Makefile: Likewise.
38020 * stdlib/Makefile: Likewise.
38021 * sysdeps/x86_64/Makefile: Likewise.
38023 * io/ftwtest-sh: Add copyright header.
38024 * posix/globtest.sh: Likewise.
38025 * posix/tst-getconf.sh: Likewise.
38026 * posix/wordexp-tst.sh: Likewise.
38027 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38029 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38032 * Makeconfig (+link): Defined as $(+link-static) if
38033 $(build-shared) isn't yes.
38034 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38036 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38038 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38041 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38042 new chunk size with MALLOC_ALIGN_MASK.
38044 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38047 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38049 (__printf_fphex): Determine rounding using get_rounding_mode and
38051 * stdio-common/tst-printf-round.c (struct hex_test): New
38053 (hex_tests): New variable.
38054 (test_hex_in_one_mode): New function.
38055 (do_test): Also run tests for hex float output.
38057 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38059 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38060 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38061 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38062 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38063 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38064 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38065 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38066 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38068 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38070 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38071 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38072 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38073 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38075 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38078 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38080 * elf/tst-rtld-load-self.sh: New test.
38081 * elf/Makefile: Run it.
38083 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38085 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38086 (tst-writev-ENV): Remove.
38087 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38089 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38091 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38093 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38095 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38097 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38099 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38100 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38101 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38104 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38107 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38108 * config.make.in (have-cpp-asm-debuginfo): Removed.
38109 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38110 * configure: Regenerated.
38112 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38115 * stdio-common/printf_fp.c: Include <stdbool.h> and
38117 (___printf_fp): Determine rounding using get_rounding_mode and
38119 * stdio-common/tst-printf-round.c: New file.
38120 * stdio-common/Makefile (tests): Add tst-printf-round.
38121 (link-libm): New variable.
38122 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38124 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38127 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38128 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38130 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38133 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38135 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38136 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38137 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38138 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38140 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38143 * include/rounding-mode.h: New file.
38144 * sysdeps/generic/get-rounding-mode.h: Likewise.
38145 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38146 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38147 (MAX_VALUE): New macro.
38148 (MIN_VALUE): Likewise.
38149 (overflow_value): New function.
38150 (underflow_value): Likewise.
38151 (round_and_return): Use overflow_value and underflow_value to
38152 determine return values in overflow and underflow cases. Use
38153 round_away to determine rounding depending on rounding mode.
38154 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38155 determine return values in overflow and underflow cases.
38156 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38157 (struct test_results): New structure.
38158 (struct test): Use struct test_results to store expected results
38159 for all rounding modes.
38160 (TEST): Include expected results for all rounding modes.
38161 (test_in_one_mode): New function.
38162 (do_test): Use test_in_one_mode to compute and check results.
38163 Check results for all rounding modes.
38164 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38167 2012-12-09 Allan McRae <allan@archlinux.org>
38169 * sysdeps/i386/fpu/libm-test-ulps: Update
38171 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38173 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38174 (_G_int32_t): Likewise.
38175 (_G_uint16_t): Likewise.
38176 (_G_uint32_t): Likewise.
38177 (_G_HAVE_BOOL): Likewise.
38178 (_G_HAVE_ATEXIT): Likewise.
38179 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38180 (_G_HAVE_IO_FILE_OPEN): Likewise.
38181 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38182 (_G_int32_t): Likewise.
38183 (_G_uint16_t): Likewise.
38184 (_G_uint32_t): Likewise.
38185 (_G_HAVE_BOOL): Likewise.
38186 (_G_HAVE_ATEXIT): Likewise.
38187 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38188 (_G_HAVE_IO_FILE_OPEN): Likewise.
38189 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38190 (_G_int32_t): Likewise.
38191 (_G_uint16_t): Likewise.
38192 (_G_uint32_t): Likewise.
38193 (_G_HAVE_BOOL): Likewise.
38194 (_G_HAVE_ATEXIT): Likewise.
38195 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38196 (_G_HAVE_IO_FILE_OPEN): Likewise.
38198 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38200 * csu/libc-tls.c: Update copyright years.
38202 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38204 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38205 [!_G_USING_THUNKS]: Remove conditional code.
38206 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38207 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38209 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38210 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38211 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38212 (_G_VTABLE_LABEL_PREFIX): Likewise.
38213 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38214 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38215 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38216 (_G_VTABLE_LABEL_PREFIX): Likewise.
38217 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38218 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38219 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38220 (_G_VTABLE_LABEL_PREFIX): Likewise.
38221 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38223 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38225 * libio/Makefile: Include ../Makeconfig before tests.
38226 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38227 only if $(build-shared) is yes.
38229 * iconv/gconv_db.c: Update copyright years.
38231 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38233 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38234 unwind info if defined PIC. Fix special cases description.
38235 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38237 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38239 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38241 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38243 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38245 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38248 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38249 (LDLIBS-tst-chk4): This.
38250 (LDFLAGS-tst-chk5): Renamed to ...
38251 (LDLIBS-tst-chk5): This.
38252 (LDFLAGS-tst-chk6): Renamed to ...
38253 (LDLIBS-tst-chk6): This.
38254 (LDFLAGS-tst-lfschk4): Renamed to ...
38255 (LDLIBS-tst-lfschk4): This.
38256 (LDFLAGS-tst-lfschk5): Renamed to ...
38257 (LDLIBS-tst-lfschk5): This.
38258 (LDFLAGS-tst-lfschk6): Renamed to ...
38259 (LDLIBS-tst-lfschk6): This.
38261 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38262 on $(common-objpfx)soversions.mk.
38264 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38267 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38270 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38272 * malloc/arena.c (arena_get_retry): New function that gets
38273 another arena for the caller to try its request on.
38274 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38275 current arena cannot fulfill the request.
38276 (__libc_memalign): Likewise.
38277 (__libc_memalign): Likewise.
38278 (__libc_pvalloc): Likewise.
38279 (__libc_calloc): Likewise.
38281 2012-09-05 John Tobey <john.tobey@gmail.com>
38284 * manual/arith.texi (Operations on Complex): Fix description
38285 of carg branch cut.
38287 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38290 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38294 * manual/memory.texi (Memory): Make order of menu items match
38297 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38299 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38300 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38301 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38303 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38305 * csu/libc-tls.c (static_dtv): Renamed to ...
38306 (_dl_static_dtv): This. Make it global.
38307 (_dl_initial_dtv): Removed.
38308 (__libc_setup_tls): Updated.
38309 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38310 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38313 2012-09-06 Petr Machata <pmachata@redhat.com>
38315 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38316 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38317 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38318 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38320 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38323 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38324 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38327 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38330 * Makeconfig (link-static-before-libc): Replace $(+prector)
38332 (link-static-after-libc): Replace $(+postctor) with
38334 (link-bounded): Replace $(+prector)/$(+postctor) with
38335 $(+prectorT)/$(+postctorT).
38336 (+prectorT): New macro.
38337 (+postctorT): Likewise.
38339 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38341 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38342 (round_str): Handle values above the maximum for IBM long double
38344 * stdlib/tst-strtod-round.c (tests): Regenerated.
38346 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38348 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38350 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38351 zarch_nohighgprs around the zarch optimized routines.
38352 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38353 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38354 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38357 2012-09-05 David S. Miller <davem@davemloft.net>
38359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38361 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38362 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38363 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38364 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38367 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38369 * malloc/arena.c: Fold copyright years.
38370 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38372 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38374 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38376 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38378 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38380 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38382 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38383 change internal state upon failure.
38385 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38387 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38388 * malloc/memusage.c (mmap): Likewise.
38389 (mmap64, mremap): Likewise. Adjust name in comment.
38391 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38393 * libio/fileops.c: Fix typos in comments.
38394 * libio/oldfileops.c: Likewise.
38395 * libio/wfileops.c: Likewise.
38397 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38400 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38401 (tst-malloc-usable-ENV): Set environment for test case.
38402 * malloc/hooks.c (malloc_check_get_size): New function to get
38404 * malloc/malloc.c (musable): Use malloc_check_get_size.
38405 * malloc/tst-malloc-usable.c: New test case.
38407 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38409 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38411 2012-09-05 Allan McRae <allan@archlinux.org>
38414 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38415 determine header location.
38416 * configure: Regenerated.
38418 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38420 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38422 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38423 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38425 (test): Regenerate.
38427 2012-09-04 David S. Miller <davem@davemloft.net>
38429 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38430 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38431 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38433 2012-09-04 Florian Weimer <fweimer@redhat.com>
38435 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38438 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38440 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38443 * libio/iogetdelim.c: Include <limits.h>.
38444 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38445 + len + 1 would overflow.
38447 2012-09-03 Andreas Jaeger <aj@suse.de>
38449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38450 * sysdeps/i386/fpu/libm-test-ulps: Update.
38452 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38454 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38455 Add s_sinf-sse2, s_conf-sse2.
38457 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38458 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38459 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38460 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38462 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38463 for using routine as __sinf_ia32.
38464 Use macro for function declaration and weak_alias.
38465 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38466 for using routine as __cosf_ia32.
38467 Use macro for function declaration and weak_alias.
38469 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38470 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38472 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38473 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38476 * math/libm-test.inc (cos_test): Add more test cases.
38477 (sin_test): Likewise.
38478 (sincos_test): Likewise.
38480 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38482 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38483 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38485 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38487 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38490 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38491 first element of the GOT.
38492 (elf_machine_load_address): Return the difference between
38493 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38495 2012-09-01 Allan McRae <allan@archlinux.org>
38498 * configure.in (AWK): Require gawk version 3.0 or later.
38499 * configure: Regenerated.
38501 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38503 * sysdeps/unix/sysv/linux/kernel-features.h
38504 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38505 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38506 [__NR_clock_getres]: Make code unconditional.
38507 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38508 (clock_getcpuclockid): Remove code left unreachable by removal of
38510 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38511 code unconditional.
38512 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38513 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38514 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38515 Make code unconditional.
38516 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38517 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38518 * sysdeps/unix/sysv/linux/clock_settime.c
38519 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38521 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38522 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38524 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38527 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38528 scripts/test-installation.pl.
38530 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38531 and $ld_so_version if it is set.
38533 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38536 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38537 failure if reading from procfs failed.
38538 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38540 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38542 * sysdeps/unix/sysv/linux/kernel-features.h
38543 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38544 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38545 Remove conditional code.
38546 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38547 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38548 Remove conditional code.
38549 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38550 * sysdeps/unix/sysv/linux/i386/fxstat.c
38551 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38553 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38554 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38555 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38556 * sysdeps/unix/sysv/linux/i386/lxstat.c
38557 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38558 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38559 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38560 Remove conditional code.
38561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38562 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38563 Remove conditional code.
38564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38565 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38566 <kernel-features.h>.
38567 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38569 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38570 Remove conditional code.
38571 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38572 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38573 Remove conditional.
38575 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38578 * NEWS: Add fixed bug number.
38580 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38583 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38584 underflowing exponent in case of negative sign.
38585 * stdlib/tst-strtod-round-data: Add more tests.
38586 * stdlib/tst-strtod-round.c (tests): Regenerated.
38589 * stdlib/strtod_l.c (NDIG): Remove.
38590 (HEXNDIG): Likewise.
38591 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38592 smallest representable value.
38593 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38594 lie within an exact representation of 1/2 ulp of the result.
38595 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38597 (TENS_P9_IDX): Define unconditionally.
38598 (TENS_P9_SIZE): Likewise.
38599 (TENS_P10_IDX): Likewise.
38600 (TENS_P10_SIZE): Likewise.
38601 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38602 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38603 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38604 entries for 10^2^13 and 10^2^14.
38605 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38606 (TENS_P13_IDX): Define.
38607 (TENS_P13_SIZE): Likewise.
38608 (TENS_P14_IDX): Likewise.
38609 (TENS_P14_SIZE): Likewise.
38610 (_fpioconst_pow10): Change array size to
38611 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38613 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38614 1024]: Add entries for 10^2^13 and 10^2^14.
38615 [LAST_POW10 > _LAST_POW10]: Remove #error.
38616 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38617 (_fpioconst_pow10): Change array size to
38618 FPIOCONST_POW10_ARRAY_SIZE.
38619 * stdlib/gen-fpioconst.c: New file.
38620 * stdlib/gen-tst-strtod-round.c: Likewise.
38621 * stdlib/tst-strtod-round-data: Likewise.
38622 * stdlib/tst-strtod-round.c: Likewise.
38623 * stdlib/Makefile (tests): Add tst-strtod-round.
38626 * stdlib/strtod_l.c: Include <stdint.h>.
38627 (NDEBUG): Do not define.
38628 (round_and_return): Change EXPONENT parameter to type intmax_t.
38629 Rearrange calculations to avoid internal overflow possibilities.
38630 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38631 Rearrange calculations to avoid internal overflow possibilities.
38632 Assert that number fits inside MPNSIZE limbs.
38633 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38634 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38635 calculations and add assertions to avoid internal overflow
38636 possibilities. Add casts to avoid signed/unsigned operations.
38637 * stdlib/tst-strtod-overflow.c: New file.
38638 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38640 2012-08-25 Marek Polacek <polacek@redhat.com>
38642 * time/time.h: Fix some typos in comments.
38644 2012-08-23 Roland McGrath <roland@hack.frob.com>
38646 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38647 * posix/tst-rfc3484-2.c: Likewise.
38648 * posix/tst-rfc3484-3.c: Likewise.
38650 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38652 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38653 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38655 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38657 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38658 #include of fxstatat64.c.
38660 2012-08-22 Roland McGrath <roland@hack.frob.com>
38662 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38663 * shadow/getspent_r.c: Likewise.
38664 * shadow/getspnam.c: Likewise.
38665 * shadow/getspnam_r.c: Likewise.
38666 * gshadow/getsgent.c: Likewise.
38667 * gshadow/getsgent_r.c: Likewise.
38668 * gshadow/getsgnam.c: Likewise.
38669 * gshadow/getsgnam_r.c: Likewise.
38670 * inet/getnetbyad.c: Likewise.
38671 * inet/getnetbyad_r.c: Likewise.
38672 * inet/getnetbynm.c: Likewise.
38673 * inet/getnetbynm_r.c: Likewise.
38674 * inet/getnetent.c: Likewise.
38675 * inet/getnetent_r.c: Likewise.
38676 * inet/getproto.c: Likewise.
38677 * inet/getproto_r.c: Likewise.
38678 * inet/getprtent.c: Likewise.
38679 * inet/getprtent_r.c: Likewise.
38680 * inet/getprtname.c: Likewise.
38681 * inet/getprtname_r.c: Likewise.
38682 * inet/getrpcbyname.c: Likewise.
38683 * inet/getrpcbyname_r.c: Likewise.
38684 * inet/getrpcbynumber.c: Likewise.
38685 * inet/getrpcbynumber_r.c: Likewise.
38686 * inet/getrpcent.c: Likewise.
38687 * inet/getrpcent_r.c: Likewise.
38688 * inet/getaliasent.c: Likewise.
38689 * inet/getaliasent_r.c: Likewise.
38690 * inet/getaliasname.c: Likewise.
38691 * inet/getaliasname_r.c: Likewise.
38692 * nscd/getgrgid_r.c: Likewise.
38693 * nscd/getgrnam_r.c: Likewise.
38694 * nscd/gethstbyad_r.c: Likewise.
38695 * nscd/gethstbynm3_r.c: Likewise.
38696 * nscd/getpwnam_r.c: Likewise.
38697 * nscd/getpwuid_r.c: Likewise.
38698 * nscd/getsrvbynm_r.c: Likewise.
38699 * nscd/getsrvbypt_r.c: Likewise.
38700 * nscd/gai.c: Likewise.
38702 * configure.in (build_nscd): New substituted variable, set
38703 by --disable-build-nscd and defaults to $use_nscd.
38704 * configure: Regenerated.
38705 * config.make.in (build-nscd): New substituted variable.
38706 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38707 Change conditional to require [$(build-nscd) = yes] as well.
38708 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38711 * configure.in (use_nscd): New substituted variable, set by
38712 --disable-nscd. If enabled, define USE_NSCD.
38713 * configure: Regenerated.
38714 * config.h.in: Add USE_NSCD.
38715 * config.make.in (use-nscd): New substituted variable.
38716 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38717 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38718 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38719 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38720 (CFLAGS-getgrnam_r.c): Likewise.
38721 (CFLAGS-initgroups.c): Likewise.
38722 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38723 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38725 * inet/getnetgrent_r.c
38726 (nscd_setnetgrent): New function, broken out of ...
38727 (setnetgrent): ... here. Call it.
38728 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38729 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38730 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38731 * nscd/Makefile (routines, aux): Move definitions after include of
38732 Makeconfig. Conditionalize on [$(use-nscd) != no].
38733 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38734 Conditionalize on [USE_NSCD].
38735 (is_nscd, nscd_init_cb): Likewise.
38736 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38737 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38738 * nss/nss_db/db-init.c: Likewise.
38739 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38741 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38742 (make_request): Use it.
38743 (cache_valid_p): New function.
38744 (__check_pf): Use it.
38745 * NEWS: Add item for --disable-nscd.
38747 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38749 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38750 to support sed >= 4.2.1-20-ga9bf076.
38751 * configure: Regenerated.
38753 2012-08-22 Roland McGrath <roland@hack.frob.com>
38755 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38756 Conditionalize whole body on [IREL].
38758 2012-08-22 Jeff Law <law@redhat.com>
38761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38762 if the family is PF_UNSPEC.
38764 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38766 * Makerules (lib-version): Rename from V.
38767 (install-lib-nosubdir): Change V to lib-version.
38769 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38772 * powerpc32/power6/wcschr.c: New file.
38773 * powerpc32/power6/wcscpy.c: New file.
38774 * powerpc32/power6/wcsrchr.c: New file.
38775 * powerpc64/power6/wcschr.c: New file.
38776 * powerpc64/power6/wcscpy.c: New file.
38777 * powerpc64/power6/wcsrchr.c: New file.
38779 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38781 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38782 (two_way_short_needle): Use it.
38783 * string/strstr.c (AVAILABLE1_USES_J): Define.
38784 * string/strcasestr.c: Likewise.
38786 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38788 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38791 * NEWS: Add an entry.
38792 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38793 define their defaults.
38794 (two_way_short_needle): Detect end-of-string on-the-fly.
38795 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38796 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38797 * string/bug-strcasestr1.c: New test.
38798 * string/Makefile: Run it.
38800 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38803 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38804 the first character.
38806 2012-08-21 Roland McGrath <roland@hack.frob.com>
38808 * csu/elf-init.c (__libc_csu_irel): Function removed.
38809 * csu/libc-start.c (apply_irel): New function.
38810 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38812 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38814 * sysdeps/unix/sysv/linux/kernel-features.h
38815 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38816 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38817 <kernel-features.h>.
38818 [__NR_fadvise64_64]: Make code unconditional.
38819 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38820 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38821 !__NR_fadvise64_64)]: Likewise.
38822 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38823 !__NR_fadvise64_64))]: Likewise.
38824 [__NR_fadvise64]: Make code unconditional.
38825 [!__NR_fadvise64]: Remove conditional code.
38826 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38827 <kernel-features.h>.
38828 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38830 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38833 not include <kernel-features.h>.
38834 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38836 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38838 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38839 include <kernel-features.h>.
38840 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38842 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38845 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38847 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38848 slight instruction rearrangements per scrollpipe analysis.
38849 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38851 2012-08-20 Roland McGrath <roland@hack.frob.com>
38853 * manual/syslog.texi (syslog; vsyslog, closelog):
38854 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38855 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38857 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38858 DSOCAPS to match condition on defining it.
38860 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38862 * sysdeps/unix/sysv/linux/kernel-features.h
38863 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38865 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38866 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38868 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38869 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38871 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38872 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38874 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38875 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38877 * sysdeps/unix/sysv/linux/kernel-features.h
38878 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38879 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38881 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38882 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38883 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38884 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38885 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38886 Make code unconditional.
38887 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38888 (__mmap64) [!__NR_mmap2]: Likewise.
38889 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38890 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38891 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38892 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38893 [__NR_mmap2]: Make code unconditional.
38894 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38895 (__mmap64) [!__NR_mmap2]: Likewise.
38897 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38899 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38901 2012-08-18 Andreas Jaeger <aj@suse.de>
38903 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38905 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38907 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38908 * include/unistd.h (__have_sock_cloexec): Likewise.
38909 (__have_pipe2): Likewise.
38910 (__have_dup3): Likewise.
38912 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38915 * include/unistd.h (__have_pipe2): Change define into an extern int.
38916 (__have_dup3): Likewise.
38917 * socket/have_sock_cloexec.c: Include fcntl.h.
38918 (__have_pipe2): New variable.
38919 (__have_dup3): Likewise.
38921 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38923 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38925 2012-08-17 Marek Polacek <polacek@redhat.com>
38927 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38928 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38930 2012-08-17 Roland McGrath <roland@hack.frob.com>
38932 * configure.in: Add AC_SUBST for sysheaders.
38933 * configure: Regenerated.
38934 * config.make.in (sysheaders): New substituted variable.
38936 * sysdeps/unix/mkfifo.c: Moved ...
38937 * sysdeps/posix/mkfifo.c: ... here.
38938 * sysdeps/unix/mkfifoat.c: Moved ...
38939 * sysdeps/posix/mkfifoat.c: ... here.
38941 * sysdeps/unix/utime.c: Moved ...
38942 * sysdeps/posix/utime.c: ... here.
38944 * sysdeps/unix/time.c: Moved ...
38945 * sysdeps/posix/time.c: ... here.
38946 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38947 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38949 * sysdeps/unix/nice.c: Moved ...
38950 * sysdeps/posix/nice.c: ... here.
38952 * sysdeps/unix/alarm.c: Moved ...
38953 * sysdeps/posix/alarm.c: ... here.
38955 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38957 2012-08-17 Jeff Law <law@redhat.com>
38959 * intl/Makefile (codeset_mo): New variable.
38960 ($(codeset_mo)): New target.
38961 (tst-codeset.out): Depend on that. Remove explicit rule.
38962 (tst-gettext3.out, tst-gettext5.out): Likewise.
38963 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38964 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38965 * intl/tst-codeset.sh: Remove.
38966 * intl/tst-gettext3.sh: Likewise.
38967 * intl/tst-gettext5.sh: Likewise.
38969 2012-08-17 Roland McGrath <roland@hack.frob.com>
38971 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38972 * sysdeps/unix/syscalls.list: ... here.
38974 * sysdeps/posix/getaddrinfo.c
38975 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38976 (gaiconf_init, gaiconf_reload): Use them.
38977 [!_STATBUF_ST_NSEC]
38978 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38979 Define using time_t rather than struct timespec.
38981 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38982 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38984 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38986 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38987 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38990 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38991 __libc_cleanup_push argument.
38993 * bits/param.h: New file.
38994 * misc/sys/param.h: New file.
38995 * include/sys/param.h: New file.
38996 * misc/Makefile (headers): Add bits/param.h.
38997 * sysdeps/generic/sys/param.h: File removed.
38998 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38999 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39000 * sysdeps/mach/hurd/bits/param.h: New file.
39001 * sysdeps/mach/hurd/sys/param.h: File removed.
39003 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39006 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39008 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39009 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39012 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39013 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39014 rather than -D_IO_MTSAFE_IO conditionally.
39015 * stdio-common/Makefile (CPPFLAGS): Likewise.
39016 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39017 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39018 Use $(libio-mtsafe).
39019 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39020 of -D_IO_MTSAFE_IO.
39021 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39022 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39023 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39024 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39025 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39026 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39027 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39028 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39029 (CFLAGS-fread_u_chk.c): Likewise.
39030 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39031 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39032 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39033 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39034 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39035 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39036 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39037 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39038 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39040 * libio/Makefile: Test [$(libc-reentrant) = yes]
39041 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39044 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39045 * sysdeps/pthread/configure: File removed.
39046 * sysdeps/pthread/Makeconfig: New file.
39047 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39048 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39050 2012-08-16 Gary Benson <gbenson@redhat.com>
39052 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39053 unmapping the first object in a namespace.
39055 2012-08-16 Roland McGrath <roland@hack.frob.com>
39057 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39058 (__internal_setnetgrent): ... this. Add internal_function to
39059 definition. Add libc_hidden_def.
39060 (setnetgrent): Update caller.
39061 (internal_endnetgrent): Renamed to ...
39062 (__internal_endnetgrent): ... this. Add internal_function to
39063 definition. Add libc_hidden_def.
39064 (endnetgrent): Update caller.
39065 (internal_getnetgrent_r): Renamed to ...
39066 (__internal_getnetgrent_r): ... this. Add internal_function to
39067 definition. Add libc_hidden_def.
39068 (__getnetgrent_r): Update caller.
39069 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39071 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39073 * stdlib/longlong.h: Update from GCC.
39075 2012-08-16 Roland McGrath <roland@hack.frob.com>
39077 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39078 on _QL, which is set by umul_ppmm but never used.
39079 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39080 variables, which are set by GMP macros but never used.
39081 * stdio-common/_itowa.c (_itowa): Likewise.
39082 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39083 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39085 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39087 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39088 struct La_sh_regs is not constant.
39089 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39090 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39091 and struct La_sparc64_regs are not constant.
39093 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39095 * sysdeps/unix/sysv/linux/kernel-features.h
39096 (__ASSUME_POSIX_TIMERS): Remove.
39097 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39098 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39099 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39100 Make code unconditional.
39101 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39102 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39103 Make code unconditional.
39104 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39105 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39106 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39107 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39108 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39109 Make code unconditional.
39110 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39111 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39112 (__libc_missing_posix_timers): Remove.
39114 2012-08-15 Roland McGrath <roland@hack.frob.com>
39116 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39117 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39119 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39121 * elf/dl-sym.c: Include <stdlib.h>.
39123 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39124 constants, which avoids warnings in 32-bit builds.
39126 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39127 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39129 * misc/lseek.c: File moved to ...
39130 * io/lseek.c: ... here.
39132 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39134 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39135 shifting LEN more than 31 bits at once.
39137 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39140 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39141 segmentation fault for a case of two empty input strings.
39142 * string/test-strncasecmp.c (check1): Renamed to...
39143 (bz12205): ...this.
39144 (bz14195): Add new testcase for two empty input strings and N > 0.
39145 (test_main): Call new testcase, adapt for renamed function.
39147 2012-08-15 Andreas Jaeger <aj@suse.de>
39150 * crypt/md5test2.c: New test, based on test supplied by Serge
39151 Belyshev <belyshev@depni.sinp.msu.ru>.
39152 * crypt/Makefile (xtests): Add md5test-giant..
39153 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39155 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39158 * crypt/md5.c (md5_process_block): Don't assume the buffer
39159 length is less than 2**32.
39160 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39161 length is less than 2**64.
39163 2012-08-15 Roland McGrath <roland@hack.frob.com>
39165 * string/str-two-way.h: Include <sys/param.h>.
39166 (MAX): Macro removed.
39168 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39169 Move #define and #undef of memmove to just before and after
39170 including <string.h>.
39172 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39173 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39174 and after including <string.h>. Move declarations of
39175 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39176 to before #include "string/memmove.c".
39178 * include/dirent.h: Declare __getdirentries.
39180 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39181 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39183 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39185 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39186 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39187 * sysdeps/i386/configure: Regenerated.
39188 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39189 STABS_CURRENT_FILE, and STABS_FUN.
39190 (END): Remove call to STABS_FUN_END.
39191 (STABS_CURRENT_FILE1): Delete.
39192 (STABS_CURRENT_FILE): Likewise.
39193 (STABS_FUN): Likewise.
39194 (STABS_FUN_END): Likewise.
39195 (STABS_FUN2): Likewise.
39196 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39197 * sysdeps/x86_64/configure: Regenerated.
39199 2012-08-14 Roland McGrath <roland@hack.frob.com>
39201 * elf/dl-open.c: Include <atomic.h>.
39202 * elf/dl-lookup.c: Likewise.
39204 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39206 * sysdeps/unix/sysv/linux/kernel-features.h
39207 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39208 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39210 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39212 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39213 condition on __ASSUME_CLONE_THREAD_FLAGS.
39215 2012-08-14 Andreas Jaeger <aj@suse.de>
39217 * sysdeps/i386/fpu/libm-test-ulps: Update.
39219 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39221 * include/atomic.h (atomic_exchange_and_add): Split into ...
39222 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39225 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39229 2012-08-13 Jeff Law <law@redhat.com>
39231 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39232 null byte in the output string.
39234 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39236 * sysdeps/unix/sysv/linux/kernel-features.h
39237 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39238 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39239 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39240 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39241 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39242 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39243 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39245 2012-08-09 Jeff Law <law@redhat.com>
39248 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39249 When avoid_arena is set, don't retry in the that arena. Pick the
39250 next one, whatever it might be.
39251 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39252 (arena_lock): Pass in new parameter to arena_get2.
39253 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39255 (__libc_malloc): Unify retrying after main arena failure with
39256 __libc_memalign version.
39257 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39259 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39262 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39263 to __redirect_strstr.
39264 (__strstr_sse42): Use typeof __redirect_strstr.
39265 (__strstr_ia32): Likewise.
39266 (__libc_strstr): New prototype.
39267 (strstr): Renamed to ...
39268 (__libc_strstr): This.
39269 (strstr): New strong alias of __libc_strstr.
39270 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39271 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39274 (__libc_time): New prototype.
39275 (time_ifunc): Replace time with __libc_time.
39276 (time): New strong alias and hidden definition of __libc_time.
39277 (__GI_time): Remove strong alias.
39278 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39279 Include <stddef.h>.
39280 (memmove): Redefined to __redirect_memmove.
39281 (__memmove_sse2): Use typeof __redirect_memmove.
39282 (__memmove_ssse3): Likewise.
39283 (__memmove_ssse3_back): Likewise.
39284 (__libc_memmove): New prototype.
39285 (memmove): Renamed to ...
39286 (__libc_memmove): This.
39287 (memmove): New strong alias of __libc_memmove.
39289 2012-08-08 Mark Salter <msalter@redhat.com>
39292 (R_MN10300_TLS_GD): Define.
39293 (R_MN10300_TLS_LD): Likewise.
39294 (R_MN10300_TLS_LDO): Likewise.
39295 (R_MN10300_TLS_GOTIE): Likewise.
39296 (R_MN10300_TLS_IE): Likewise.
39297 (R_MN10300_TLS_LE): Likewise.
39298 (R_MN10300_TLS_DTPMOD): Likewise.
39299 (R_MN10300_TLS_DTPOFF): Likewise.
39300 (R_MN10300_TLS_TPOFF): Likewise.
39301 (R_MN10300_SYM_DIFF): Likewise.
39302 (R_MN10300_ALIGN): Likewise.
39303 (R_MN10300_NUM): Update.
39305 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39310 2012-08-08 Roland McGrath <roland@hack.frob.com>
39312 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39314 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39315 sysdeps/unix -> sysdeps/posix move.
39316 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39318 2012-08-07 Allan McRae <allan@archlinux.org>
39321 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39322 (SUNOS_CPP): Likewise.
39323 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39325 (open_input): Call CPP using execvp.
39327 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39329 * sysdeps/unix/sysv/linux/kernel-features.h
39330 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39331 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39332 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39333 (__ASSUME_WAITID_SYSCALL): Likewise.
39334 * sysdeps/unix/sysv/linux/dl-execstack.c
39335 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39336 code unconditional.
39337 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39340 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39341 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39343 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39345 [__ASSUME_WAITID_SYSCALL]: Likewise.
39346 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39348 2012-08-07 Roland McGrath <roland@hack.frob.com>
39350 * sysdeps/unix/closedir.c: Renamed to ...
39351 * sysdeps/posix/closedir.c: ... here.
39352 * sysdeps/unix/dirfd.c: Renamed to ...
39353 * sysdeps/posix/dirfd.c: ... here.
39354 * sysdeps/unix/dirstream.h: Renamed to ...
39355 * sysdeps/posix/dirstream.h: ... here.
39356 * sysdeps/unix/fdopendir.c: Renamed to ...
39357 * sysdeps/posix/fdopendir.c: ... here.
39358 * sysdeps/unix/opendir.c: Renamed to ...
39359 * sysdeps/posix/opendir.c: ... here.
39360 * sysdeps/unix/readdir.c: Renamed to ...
39361 * sysdeps/posix/readdir.c: ... here.
39362 * sysdeps/unix/readdir_r.c: Renamed to ...
39363 * sysdeps/posix/readdir_r.c: ... here.
39364 * sysdeps/unix/rewinddir.c: Renamed to ...
39365 * sysdeps/posix/rewinddir.c: ... here.
39366 * sysdeps/unix/seekdir.c: Renamed to ...
39367 * sysdeps/posix/seekdir.c: ... here.
39368 * sysdeps/unix/telldir.c: Renamed to ...
39369 * sysdeps/posix/telldir.c: ... here.
39370 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39371 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39372 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39373 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39375 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39376 * bits/fcntl.h: ... here.
39378 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39380 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39381 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39382 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39383 (struct flock): Move l_start, l_len to the beginning.
39384 Use __pid_t for l_pid.
39385 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39386 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39387 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39388 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39389 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39390 [__USE_LARGEFILE64] (struct flock64): New type.
39391 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39393 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39394 * bits/dirent.h: ... here.
39396 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39397 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39399 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39401 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39402 Change from 2.6.0 to 2.6.16.
39403 * sysdeps/unix/sysv/linux/configure: Regenerated.
39404 * sysdeps/unix/sysv/linux/kernel-features.h
39405 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39406 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39408 (__ASSUME_UTIMES): Likewise.
39409 (__ASSUME_CLONE_STOPPED): Remove.
39410 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39411 architectures, not kernel version.
39412 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39413 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39414 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39415 (__ASSUME_WAITID_SYSCALL): Likewise.
39416 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39417 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39418 * README: State 2.6.16 as minimum Linux kernel version. Do not
39419 refer to older versions.
39421 2012-08-06 Roland McGrath <roland@hack.frob.com>
39423 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39424 Define alphasort64 as an alias.
39425 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39426 Define versionsort64 as an alias.
39427 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39428 Define scandir64 as an alias.
39429 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39430 Define scandirat64 as an alias.
39431 * dirent/alphasort64.c (alphasort64):
39432 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39433 * dirent/versionsort64.c: Likewise.
39434 * dirent/scandir64.c: Likewise.
39435 * dirent/scandirat64.c: Likewise.
39436 * sysdeps/wordsize-64/alphasort.c: File removed.
39437 * sysdeps/wordsize-64/alphasort64.c: File removed.
39438 * sysdeps/wordsize-64/scandir.c: File removed.
39439 * sysdeps/wordsize-64/scandir64.c: File removed.
39440 * sysdeps/wordsize-64/scandirat.c: File removed.
39441 * sysdeps/wordsize-64/scandirat64.c: File removed.
39442 * sysdeps/wordsize-64/versionsort.c: File removed.
39443 * sysdeps/wordsize-64/versionsort64.c: File removed.
39444 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39445 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39446 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39447 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39448 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39449 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39450 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39451 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39453 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39455 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39457 [defined __arch64__ || defined __sparcv9]
39458 (__INO_T_MATCHES_INO64_T): New macro.
39459 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39460 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39461 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39462 * sysdeps/unix/sysv/linux/bits/dirent.h
39463 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39464 (_DIRENT_MATCHES_DIRENT64): New macro.
39466 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39467 Define lockf64 as an alias.
39468 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39469 Define fseeko64 as an alias.
39470 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39471 Define ftello64 as an alias.
39472 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39473 Define _IO_fgetpos64 and fgetpos64 as aliases.
39474 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39475 Define _IO_fsetpos64 and fsetpos64 as aliases.
39476 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39477 Conditionalize body on this.
39478 * libio/fseeko64.c: Likewise.
39479 * libio/ftello64.c: Likewise.
39480 * libio/iofgetpos64.c: Likewise.
39481 * libio/iofsetpos64.c: Likewise.
39482 * sysdeps/wordsize-64/lockf.c: File removed.
39483 * sysdeps/wordsize-64/lockf64.c: File removed.
39484 * sysdeps/wordsize-64/fseeko.c: File removed.
39485 * sysdeps/wordsize-64/fseeko64.c: File removed.
39486 * sysdeps/wordsize-64/ftello.c: File removed.
39487 * sysdeps/wordsize-64/ftello64.c: File removed.
39488 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39489 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39490 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39491 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39492 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39493 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39494 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39496 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39498 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39499 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39500 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39501 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39503 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39505 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39507 [defined __arch64__ || defined __sparcv9]
39508 (__OFF_T_MATCHES_OFF64_T): New macro.
39509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39510 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39511 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39512 (__OFF_T_MATCHES_OFF64_T): New macro.
39514 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39516 * stdlib/secure-getenv.c (__secure_getenv): Replace
39517 GLIBC_2_16 with GLIBC_2_17.
39519 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39521 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39524 2012-08-03 David S. Miller <davem@davemloft.net>
39526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39528 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39532 (__ASSUME_CORRECT_SI_PID): Likewise.
39533 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39534 (__ASSUME_TMPFS_NAME): Likewise.
39535 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39536 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39537 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39538 (HAVE_AUX_SECURE): Make definition unconditional.
39539 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39540 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39542 2012-08-03 Roland McGrath <roland@hack.frob.com>
39544 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39545 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39546 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39547 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39548 __eloop_threshold instead of SYMLOOP_MAX.
39550 * sysdeps/generic/eloop-threshold.h: New file.
39551 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39553 * elf/chroot_canon.c (chroot_canon): Likewise.
39555 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39559 Change to 2.6.0 everywhere.
39560 * sysdeps/unix/sysv/linux/configure: Regenerated.
39561 * sysdeps/unix/sysv/linux/kernel-features.h
39562 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39563 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39565 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39566 (__ASSUME_FUTEX_REQUEUE): Remove.
39567 (__ASSUME_STATFS64): Define unconditionally.
39568 (__ASSUME_AT_SECURE): Likewise.
39569 (__ASSUME_CORRECT_SI_PID): Likewise.
39570 (__ASSUME_TGKILL): Define without depending on kernel version for
39572 (__ASSUME_UTIMES): Likewise.
39573 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39575 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39576 (__ASSUME_TMPFS_NAME): Likewise.
39577 * README: Update reference to Linux kernel versions.
39579 2012-08-02 Marek Polacek <polacek@redhat.com>
39582 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39583 libc_cv_asm_type_prefix with %.
39584 * configure: Regenerated.
39585 * include/libc-symbols.h: Remove comment about
39586 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39587 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39588 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39589 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39590 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39591 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39592 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39593 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39594 * elf/tst-unique2mod1.c: Likewise.
39595 * elf/tst-unique1mod2.c: Likewise.
39596 * elf/tst-unique1mod1.c: Likewise.
39597 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39598 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39599 Replace ASM_TYPE_DIRECTIVE with .type.
39600 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39601 * sysdeps/i386/sysdep.h: Likewise.
39602 * sysdeps/x86_64/sysdep.h: Likewise.
39603 * sysdeps/sh/sysdep.h: Likewise.
39604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39605 Do not define ASM_TYPE_DIRECTIVE.
39606 * sysdeps/powerpc/sysdep.h: Likewise.
39607 * sysdeps/powerpc/powerpc32/sysdep.h:
39608 Replace ASM_TYPE_DIRECTIVE with .type.
39609 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39610 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39611 * sysdeps/i386/fpu/e_powf.S: Likewise.
39612 * sysdeps/i386/fpu/e_expl.S: Likewise.
39613 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39614 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39615 * sysdeps/i386/fpu/e_pow.S: Likewise.
39616 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39617 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39618 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39619 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39620 * sysdeps/i386/fpu/e_log2.S: Likewise.
39621 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39623 * sysdeps/i386/fpu/e_powl.S: Likewise.
39624 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39625 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39626 * sysdeps/i386/fpu/e_logl.S: Likewise.
39627 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39628 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39629 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39630 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39631 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39632 * sysdeps/i386/fpu/e_log.S: Likewise.
39633 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39634 * sysdeps/i386/fpu/e_logf.S: Likewise.
39635 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39636 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39637 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39638 * sysdeps/i386/fpu/e_log10.S: Likewise.
39639 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39640 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39641 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39642 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39643 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39644 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39645 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39646 * sysdeps/i386/i686/strtok.S: Likewise.
39647 * sysdeps/i386/i386-mcount.S: Likewise.
39648 * sysdeps/i386/strtok.S: Likewise.
39649 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39650 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39652 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39653 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39654 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39655 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39656 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39657 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39658 * sysdeps/x86_64/_mcount.S: Likewise.
39659 * sysdeps/x86_64/strtok.S: Likewise.
39660 * sysdeps/sh/_mcount.S: Likewise.
39662 2012-08-01 Roland McGrath <roland@hack.frob.com>
39664 * libio/iofopen.c: Include <fcntl.h>.
39665 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39666 (_IO_fopen64, fopen64): Define as aliases.
39667 * libio/iofopen64.c: Include <fcntl.h>.
39668 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39669 Conditionalize body on this.
39670 * sysdeps/wordsize-64/iofopen.c: File removed.
39671 * sysdeps/wordsize-64/iofopen64.c: File removed.
39673 2012-08-01 Marek Polacek <polacek@redhat.com>
39675 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39676 Use dlfcn directly instead of a variable.
39677 (binfmt-subdir): Do not define.
39680 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39683 Remove all definitions.
39684 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39685 <kernel-features.h>.
39686 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39687 (miss_F_GETOWN_EX): Remove all definitions.
39688 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39690 [!__ASSUME_FCNTL64]: Remove conditional code.
39691 [__ASSUME_FCNTL64]: Make code unconditional.
39692 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39693 <kernel-features.h>.
39694 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39695 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39696 (lockf64) [__NR_fcntl64]: Make code unconditional.
39697 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39699 * sysdeps/unix/sysv/linux/kernel-features.h
39700 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39701 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39702 Make code unconditional.
39703 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39704 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39706 [__NR_vfork]: Make code unconditional.
39707 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39708 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39710 [__NR_vfork]: Make code unconditional.
39711 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39712 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39714 2012-08-01 Roland McGrath <roland@hack.frob.com>
39716 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39717 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39719 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39720 Define mkstemp64 as an alias.
39721 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39722 Define mkstemps64 as an alias.
39723 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39724 Define mkostemp64 as an alias.
39725 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39726 Define mkostemps64 as an alias.
39727 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39728 Conditionalize body on this.
39729 * misc/mkostemp64.c: Likewise.
39730 * misc/mkostemps64.c: Likewise.
39731 * misc/mkstemps64.c: Likewise.
39732 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39733 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39734 * sysdeps/wordsize-64/mkostemp.c: File removed.
39735 * sysdeps/wordsize-64/mkstemp.c: File removed.
39736 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39737 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39738 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39739 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39742 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39743 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39744 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39745 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39747 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39748 compat_symbol macros from <shlib-compat.h> rather than the underlying
39749 default_symbol_version and symbol_version macros, so that DEFAULT
39750 lines in shlib-versions are respected.
39751 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39753 2012-08-01 Florian Weimer <fweimer@redhat.com>
39755 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39756 Declare with warn_unused_result.
39757 (setgid, setregid, setegid, setresgid): Likewise.
39758 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39760 * WUR-REPORT: Remove set*id functions.
39762 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39764 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39766 2012-07-31 Roland McGrath <roland@hack.frob.com>
39769 * include/sys/socket.h (__libc_accept, __libc_accept4):
39770 Add attribute_hidden.
39771 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39773 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39775 * inet/getnetgrent_r.c (setup): Likewise.
39777 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39779 2012-07-31 David S. Miller <davem@davemloft.net>
39781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39783 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39786 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39787 value between 1.0 and 2.0 and smaller part has absolute value less
39789 * math/s_clog10.c (__clog10): Likewise.
39790 * math/s_clog10f.c (__clog10f): Likewise.
39791 * math/s_clog10l.c (__clog10l): Likewise.
39792 * math/s_clogf.c (__clogf): Likewise.
39793 * math/s_clogl.c (__clogl): Likewise.
39794 * math/libm-test.inc (clog_test): Add more tests.
39795 (clog10_test): Likewise.
39796 * sysdeps/i386/fpu/libm-test-ulps: Update.
39797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39799 2012-07-31 Florian Weimer <fweimer@redhat.com>
39801 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39802 Exit with zero in case no suitable GID is found, and write a
39803 message to standard error.
39805 2012-07-30 Roland McGrath <roland@hack.frob.com>
39807 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39809 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39810 (MAXPATHLEN): Removed.
39811 (NOGROUP, NODEV): New macros.
39812 (setbit, clrbit, isset, isclr): New macros.
39813 (howmany, roundup, powerof2): New macros.
39814 (DEV_BSIZE): New macro.
39816 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39817 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39819 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39820 definition on [!__NO_LONG_DOUBLE_MATH].
39822 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39823 PTR_MANGLE and PTR_DEMANGLE.
39825 * socket/accept4.c (accept4): Rename to __libc_accept4.
39826 Define accept4 as a weak alias.
39828 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39829 on [_DIRENT_HAVE_D_TYPE].
39830 * io/ftw.c (ftw_dir): Likewise.
39832 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39834 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39836 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39837 Use the BSD numbers rather than the arbitrary ones we had.
39838 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39839 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39840 (SIGXCPU, SIGXFSZ): New macros.
39843 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39844 initializer on [_LIBC_REENTRANT].
39846 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39847 definitions inside [_POSIX_MAPPED_FILES].
39849 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39851 * dirent/opendir.c: Include <fcntl.h>.
39853 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39854 (__libc_getspecific): Likewise.
39855 (__libc_key_create): Likewise.
39857 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39858 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39859 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39860 (tmpfile64): Define as alias.
39861 * sysdeps/wordsize-64/tmpfile.c: File removed.
39862 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39866 * stdio-common/vfscanf.c: Include <stdbool.h>.
39867 * nss/makedb.c: Likewise.
39868 * stdio-common/_i18n_number.h: Likewise.
39869 * argp/argp-help.c: Likewise.
39870 * posix/wordexp.c: Likewise.
39871 * sysdeps/posix/spawni.c: Likewise.
39872 * nss/nss_files/files-initgroups.c: Likewise.
39873 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39874 * nss/nss_files/files-initgroups.c: Likewise.
39875 * nss/nss_db/db-netgrp.c: Likewise.
39876 * nss/nss_db/db-initgroups.c: Likewise.
39877 * io/fchmodat.c: Include <sys/stat.h>.
39879 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39880 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39882 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39885 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39886 Add multiple inclusion protection.
39888 2012-07-27 David S. Miller <davem@davemloft.net>
39890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39892 2012-07-27 Gary Benson <gbenson@redhat.com>
39895 * elf/rtld.c: Include <stap-probe.h>.
39896 (dl_main): Added static probes "init_start" and "init_complete".
39897 * elf/dl-load.c: Include <stap-probe.h>.
39898 (lose): Take new parameter "nsid".
39899 Added static probe "map_failed".
39900 (_dl_map_object_from_fd): Pass namespace id to lose.
39901 Added static probe "map_start".
39902 (open_verify): Pass namespace id to lose.
39903 * elf/dl-open.c: Include <stap-probe.h>.
39904 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39905 and "reloc_complete".
39906 * elf/dl-close.c: Include <stap-probe.h>.
39907 (_dl_close_worker): Added static probes "unmap_start" and
39909 * elf/rtld-debugger-interface.txt: New file documenting the above.
39911 2012-07-26 Roland McGrath <roland@hack.frob.com>
39913 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39914 rather than a string variable.
39915 * sunrpc/rpc_main.c (h_output): Likewise.
39916 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39918 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39920 * inet/check_native.c: New file.
39922 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39925 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39926 if larger part has absolute value 1.0.
39927 * math/s_clog10.c (__clog10): Likewise.
39928 * math/s_clog10f.c (__clog10f): Likewise.
39929 * math/s_clog10l.c (__clog10l): Likewise.
39930 * math/s_clogf.c (__clogf): Likewise.
39931 * math/s_clogl.c (__clogl): Likewise.
39932 * math/libm-test.inc (clog_test): Add more tests.
39933 (clog10_test): Likewise.
39934 * sysdeps/i386/fpu/libm-test-ulps: Update.
39935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39937 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39938 (pltexit): Likewise.
39939 (La_regs): Likewise.
39940 (La_retval): Likewise.
39941 (int_retval): Likewise.
39942 Update #error for removed macros to refer only to definitions in
39944 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39946 (pltexit): Likewise.
39947 (La_regs): Likewise.
39948 (La_retval): Likewise.
39949 (int_retval): Likewise.
39950 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39952 (pltexit): Likewise.
39953 (La_regs): Likewise.
39954 (La_retval): Likewise.
39955 (int_retval): Likewise.
39956 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39958 (pltexit): Likewise.
39959 (La_regs): Likewise.
39960 (La_retval): Likewise.
39961 (int_retval): Likewise.
39962 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39964 (pltexit): Likewise.
39965 (La_regs): Likewise.
39966 (La_retval): Likewise.
39967 (int_retval): Likewise.
39968 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39970 (pltexit): Likewise.
39971 (La_regs): Likewise.
39972 (La_retval): Likewise.
39973 (int_retval): Likewise.
39974 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39976 (pltexit): Likewise.
39977 (La_regs): Likewise.
39978 (La_retval): Likewise.
39979 (int_retval): Likewise.
39980 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39981 macro definitions in tst-audit.h.
39982 * sysdeps/i386/tst-audit.h: New file.
39983 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39984 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39985 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39986 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39987 * sysdeps/sh/tst-audit.h: Likewise.
39988 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39989 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39990 * sysdeps/x86_64/tst-audit.h: Likewise.
39992 2012-07-26 Andreas Jaeger <aj@suse.de>
39994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39997 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39998 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39999 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40001 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40002 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40003 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40005 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40008 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40010 (si_call_addr, si_syscall, si_arch): Define new macro.
40011 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40013 (si_call_addr, si_syscall, si_arch): Define new marcro.
40014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40016 (si_call_addr, si_syscall, si_arch): Define new macro.
40017 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40019 (si_call_addr, si_syscall, si_arch): Define new macro.
40021 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40024 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40025 Change to 2.4.21 where previously 2.4.1.
40026 * sysdeps/unix/sysv/linux/configure: Regenerated.
40027 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40028 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40029 Linux kernel version.
40030 (__ASSUME_STD_AUXV): Remove.
40031 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40033 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40034 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40035 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40036 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40037 (__ASSUME_NETLINK_SUPPORT): Likewise.
40038 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40039 (__no_netlink_support): Remove conditional definition.
40040 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40042 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40043 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40044 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40045 (if_nameindex_ioctl): Remove.
40046 (if_nameindex_netlink): Do not handle __no_netlink_support.
40047 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40049 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40050 Remove conditional code.
40051 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40053 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40055 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40056 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40057 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40059 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40060 [!__ASSUME_STD_AUXV]: Remove conditional code.
40061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40062 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40063 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40065 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40066 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40068 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40070 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40071 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40073 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40075 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40078 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40081 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40082 code unconditional.
40083 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40085 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40087 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40090 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40092 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40095 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40096 code unconditional.
40097 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40099 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40101 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40104 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40105 code unconditional.
40106 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40108 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40110 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40113 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40115 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40117 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40118 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40119 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40120 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40121 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40122 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40123 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40124 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40125 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40126 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40127 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40128 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40129 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40130 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40131 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40133 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40135 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40136 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40139 2012-07-25 Florian Weimer <fweimer@redhat.com>
40141 * Versions.def: Add GLIBC_2.17.
40142 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40143 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40144 Introduce __libc_secure_getenv.
40145 * stdlib/Versions (2.17): Add secure_getenv
40146 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40147 * stdlib/secure-getenv.c: Rename __secure_getenv to
40148 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40149 symbol __secure_getenv for GLIBC_2.0.
40150 * stdlib/tst-secure-getenv.c: New.
40151 * stdlib/Makefile (tests): Add testcase.
40152 * manual/startup.texi (Environment Access): Document
40154 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40155 __libc_secure_getenv.
40156 * inet/ruserpass.c (ruserpass): Likewise.
40157 * malloc/mtrace.c (mtrace): Likewise.
40158 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40159 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40160 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40161 * sysdeps/posix/tempname.c: Likewise. Evaluate
40162 HAVE_SECURE_GETENV.
40163 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40164 __secure_getenv to __libc_secure_getenv.
40165 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40178 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40180 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40181 (struct La_i86_retval): Likewise.
40182 (struct La_x86_64_regs): Likewise.
40183 (struct La_x86_64_retval): Likewise.
40184 (struct La_x32_regs): Likewise.
40185 (struct La_x32_retval): Likewise.
40186 (struct La_ppc32_regs): Likewise.
40187 (struct La_ppc32_retval): Likewise.
40188 (struct La_ppc64_regs): Likewise.
40189 (struct La_ppc64_retval): Likewise.
40190 (struct La_sh_regs): Likewise.
40191 (struct La_sh_retval): Likewise.
40192 (struct La_s390_32_regs): Likewise.
40193 (struct La_s390_32_retval): Likewise.
40194 (struct La_s390_64_regs): Likewise.
40195 (struct La_s390_64_retval): Likewise.
40196 (struct La_sparc32_regs): Likewise.
40197 (struct La_sparc32_retval): Likewise.
40198 (struct La_sparc64_regs): Likewise.
40199 (struct La_sparc64_retval): Likewise.
40200 (struct audit_ifaces): Remove architecture-specific pltenter and
40202 * sysdeps/i386/ldsodefs.h: New file.
40203 * sysdeps/powerpc/ldsodefs.h: Likewise.
40204 * sysdeps/s390/ldsodefs.h: Likewise.
40205 * sysdeps/sh/ldsodefs.h: Likewise.
40206 * sysdeps/sparc/ldsodefs.h: Likewise.
40207 * sysdeps/x86_64/ldsodefs.h: Likewise.
40209 2012-07-25 Marek Polacek <polacek@redhat.com>
40212 * math/libm-test.inc (yn_test): Add another test.
40213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40214 to ERANGE when the result is +-Inf.
40215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40216 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40217 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40218 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40220 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40222 * conform/data/time.h-data (NULL): Use macro-constant. Require
40224 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40226 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40228 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40230 * configure.in <sysdeps resolving>: Correct printing
40232 * configure: Regenerate.
40234 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40236 * math/w_ilogb.c: Include <limits.h>.
40237 * math/w_ilogbl.c: Likewise.
40239 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40241 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40242 va_copy. Document allowing for unavailable va_copy only as
40243 pre-C99 compatibility.
40244 * manual/string.texi (Copying and Concatenation): Use va_copy
40245 instead of __va_copy in concat example.
40247 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40249 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40250 (__sendto): Use create_address_port. Initialize APORT and deallocate
40253 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40254 with O_NOLINK passed to __file_name_lookup.
40256 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40257 with O_NOLINK passed to __file_name_lookup.
40259 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40260 negative N or less than NGIDS.
40262 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40263 type to string_t. Set ERANGE as errno and return it if NAME is not big
40264 enough. Use memcpy instead of strncpy.
40266 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40268 * elf/Makefile (check-data): Remove.
40269 (localplt.data): New vpath directive.
40270 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40271 instead of $(check-data).
40272 * scripts/data/localplt-generic.data: Move to ...
40273 * sysdeps/generic/localplt.data: ... here.
40274 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40275 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40276 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40279 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40282 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40285 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40288 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40291 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40295 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40297 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40298 PPC32 and PPC64 files.
40299 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40300 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40302 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40304 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40305 __makecontext_ret to ...
40306 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40307 ... here and call exit if uc_link is NULL. New file.
40308 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40309 __makecontext_ret.S.
40310 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40311 __makecontext_ret to ...
40312 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40313 ... here and call exit if uc_link is NULL. New file.
40314 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40315 __makecontext_ret.S.
40317 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40319 * elf/elf.h (R_390_IRELATIVE): New definition.
40320 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40321 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40322 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40323 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40324 (elf_machine_lazy_rel): Likewise.
40325 * sysdeps/s390/dl-irel.h: New file.
40326 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40327 * sysdeps/s390/s390-64/memset.S: New asm code.
40328 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40329 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40330 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40331 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40332 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40333 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40335 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40336 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40337 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40338 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40339 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40340 * sysdeps/s390/s390-32/memset.S: New asm code.
40341 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40343 2012-07-17 Marek Polacek <polacek@redhat.com>
40346 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40347 * sysdeps/s390/s390-64/configure.in: Likewise.
40348 * sysdeps/sparc/configure.in: Likewise.
40349 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40350 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40351 * sysdeps/i386/configure.in: Likewise.
40352 * sysdeps/x86_64/configure.in: Likewise.
40353 * sysdeps/sh/configure.in: Likewise.
40354 * sysdeps/s390/s390-32/configure: Regenerated.
40355 * sysdeps/s390/s390-64/configure: Likewise.
40356 * sysdeps/x86_64/configure: Likewise.
40357 * sysdeps/sh/configure: Likewise.
40358 * sysdeps/powerpc/powerpc64/configure: Likewise.
40359 * sysdeps/powerpc/powerpc32/configure: Likewise.
40360 * sysdeps/sparc/configure: Likwise.
40361 * sysdeps/i386/configure: Likewise.
40363 * elf/dl-open.c: Comment fixes.
40365 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40367 * Makefile [CXX] (check-data): Remove.
40368 [CXX] (c++-types.data): New vpath directive.
40369 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40370 vpath. Do not allow for C++ type data being missing.
40371 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40372 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40373 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40374 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40375 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40376 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40377 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40380 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40383 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40386 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40389 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40392 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40395 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40398 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40401 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40402 definitions to architecture-specific files.
40403 (TLS_IE): Likewise.
40404 (TLS_LD): Likewise.
40405 (TLS_GD): Likewise.
40406 * sysdeps/i386/tls-macros.h: New file.
40407 * sysdeps/powerpc/tls-macros.h: Likewise.
40408 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40409 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40410 * sysdeps/sh/tls-macros.h: Likewise.
40411 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40412 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40413 * sysdeps/x86_64/tls-macros.h: Likewise.
40415 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40417 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40418 zero value for regular exit case.
40420 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40421 (__start_context): Preserve zero value for regular exit case.
40423 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40424 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40426 * manual/setjmp.texi (setcontext): Clarify normal process
40427 termination when uc_link is the null pointer.
40428 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40431 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40433 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40434 preprocessor. Test for each exception mask separately.
40436 2012-07-16 Andreas Jaeger <aj@suse.de>
40438 * po/ru.po: Update from translation team.
40440 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40442 * conform/data/string.h-data (NULL): Use macro-constant. Require
40444 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40445 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40446 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40447 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40450 2012-07-13 Andreas Jaeger <aj@suse.de>
40452 * po/fr.po: Update from translation team.
40454 2012-07-12 Marek Polacek <polacek@redhat.com>
40457 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40458 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40461 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40465 Change to 2.4.1 where previously 2.4.0.
40466 * sysdeps/unix/sysv/linux/configure: Regenerated.
40467 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40468 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40470 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40471 (__ASSUME_AT_CLKTCK): Remove.
40472 (__ASSUME_AT_PAGESIZE): Likewise.
40473 (__ASSUME_AT_XID): Likewise.
40474 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40475 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40476 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40478 (HAVE_AUX_PAGESIZE): Likewise.
40479 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40480 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40481 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40483 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40487 the temporary buffer used to invoke __gethostbyname2_r,
40488 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40489 host_data / struct gaih_addrtuple.
40490 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40491 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40492 header file nss/nsswitch.h.
40493 * nss/nsswitch.h (global scope): Add definition of implementation
40494 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40495 resolv/nss_dns/dns-host.c).
40497 2012-07-11 Andreas Jaeger <aj@suse.de>
40499 * po/fr.po: Update from translation team.
40501 * po/sv.po: Update from translation team
40502 * po/fr.po: Another update from translation team.
40504 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40506 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40507 for subnormals or multiply small sinh result by itself.
40508 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40511 2012-07-11 David S. Miller <davem@davemloft.net>
40513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40515 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40518 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40519 (INTERNAL_MARK): Shift it here.
40521 2012-07-10 Marek Polacek <polacek@redhat.com>
40524 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40525 libc_cv_asm_global_directive with .globl.
40526 * configure: Regenerated.
40527 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40529 * sysdeps/i386/configure: Regenerated.
40530 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40532 * sysdeps/x86_64/configure: Regenerated.
40533 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40534 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40535 * elf/tst-unique2mod2.c: Likewise.
40536 * elf/tst-unique2mod1.c: Likewise.
40537 * elf/tst-unique1mod2.c: Likewise.
40538 * elf/tst-unique1mod1.c: Likewise.
40539 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40540 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40542 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40543 * sysdeps/mach/sysdep.h: Likewise.
40544 * sysdeps/i386/sysdep.h: Likewise.
40545 * sysdeps/i386/i386-mcount.S: Likewise.
40546 * sysdeps/x86_64/_mcount.S: Likewise.
40547 * sysdeps/x86_64/sysdep.h: Likewise.
40548 * sysdeps/sh/_mcount.S: Likewise.
40549 * sysdeps/sh/sysdep.h: Likewise.
40550 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40551 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40552 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40553 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40554 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40555 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40556 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40557 * locale/localeinfo.h: Likewise.
40558 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40559 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40561 2012-07-09 Roland McGrath <roland@hack.frob.com>
40564 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40566 * manual/message.texi (The Uniforum approach): Likewise.
40567 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40568 (glibc iconv Implementation): Likewise.
40570 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40573 * math/s_clog.c (__clog): Avoid scaling a value down where that
40574 could result in underflow.
40575 * math/s_clog10.c (__clog10): Likewise.
40576 * math/s_clog10f.c (__clog10f): Likewise.
40577 * math/s_clog10l.c (__clog10l): Likewise.
40578 * math/s_clogf.c (__clogf): Likewise.
40579 * math/s_clogl.c (__clogl): Likewise.
40580 * math/libm-test.inc (clog_test): Add more tests.
40581 (clog10_test): Likewise.
40582 * sysdeps/i386/fpu/libm-test-ulps: Update.
40583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40585 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40588 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40589 by 7 not 8 to examine high bit of fractional part.
40592 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40593 for call to __mcount_internal.
40594 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40595 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40596 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40598 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40601 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40602 approximation for values within 0x1p-13f of an odd multiple of
40604 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40605 exception. Add more tests.
40606 * sysdeps/i386/fpu/libm-test-ulps: Update.
40609 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40610 inputs and return -1 for them. Do not check for +Inf in case not
40611 reachable for +Inf.
40612 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40613 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40614 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40615 and return -1 for them. Do not check for +Inf in case not
40616 reachable for +Inf.
40617 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40620 and return -1 for them. Do not check for +Inf in case not
40621 reachable for +Inf.
40622 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40623 spurious underflow.
40624 * sysdeps/i386/fpu/libm-test-ulps: Update.
40625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40627 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40629 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40631 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40635 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40636 could result in spurious underflow. Scale down values above
40637 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40638 * math/s_csqrtf.c (__csqrtf): Likewise.
40639 * math/s_csqrtl.c (__csqrtl): Likewise.
40640 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40641 spurious underflow.
40642 * sysdeps/i386/fpu/libm-test-ulps: Update.
40643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40645 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40647 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40649 * catgets/xopen-msg.awk: New file.
40650 * catgets/xopen-msg.sed: Removed.
40652 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40654 * intl/po2test.awk: New file.
40655 * intl/po2test.sed: Removed.
40657 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40660 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40661 or multiply small sinh result by itself.
40662 * math/s_ctanf.c (__ctanf): Likewise.
40663 * math/s_ctanh.c (__ctanh): Likewise.
40664 * math/s_ctanhf.c (__ctanhf): Likewise.
40665 * math/s_ctanhl.c (__ctanhl): Likewise.
40666 * math/s_ctanl.c (__ctanl): Likewise.
40667 * math/libm-test.inc (ctan_test_tonearest): New function.
40668 (ctan_test_towardzero): Likewise.
40669 (ctan_test_downward): Likewise.
40670 (ctan_test_upward): Likewise.
40671 (ctanh_test_tonearest): Likewise.
40672 (ctanh_test_towardzero): Likewise.
40673 (ctanh_test_downward): Likewise.
40674 (ctanh_test_upward): Likewise.
40675 (main): Call these new functions.
40676 * sysdeps/i386/fpu/libm-test-ulps: Update.
40677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40679 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40681 * .gitignore: Delete /ports entry.
40683 2012-07-03 Andreas Jaeger <aj@suse.de>
40685 * po/bg.po: Update from translation team.
40686 * po/cs.po: Likewise.
40687 * po/de.po: Likewise.
40688 * po/hr.po: Likewise.
40689 * po/nl.pl: Likewise.
40690 * po/pl.po: Likewise.
40691 * po/vi.po: Likewise.
40693 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40695 * Makeconfig [!+link] (+link-before-libc): New variable.
40696 [!+link] (+link-after-libc): Likewise.
40697 [!+link] (+link-tests): Likewise.
40698 [!+link] (+link): Define in terms of $(+link-before-libc) and
40699 $(+link-after-libc).
40700 [!+link-static] (+link-static-before-libc): New variable.
40701 [!+link-static] (+link-static-after-libc): Likewise.
40702 [!+link-static] (+link-static-tests): Likewise.
40703 [!+link-static] (+link-static): Define in terms of
40704 $(+link-static-before-libc) and $(+link-static-after-libc).
40705 [build-shared] (link-libc-before-gnulib): New variable.
40706 [build-shared] (link-libc-tests): Likewise.
40707 [build-shared] (link-libc): Define in terms of
40708 $(link-libc-before-gnulib).
40709 [!build-shared] (link-libc-tests): New variable.
40710 (link-libc-static-tests): New variable.
40711 [!gnulib] (gnulib-arch): New variable.
40712 [!gnulib] (gnulib-tests): Likewise.
40713 [!gnulib] (static-gnulib-arch): Likewise.
40714 [!gnulib] (static-gnulib-tests): Likewise.
40715 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40716 Define with "=" instead of ":=".
40717 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40718 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40719 * Rules (binaries-all-notests): New variable.
40720 (binaries-all-tests): Likewise.
40721 (binaries-static-notests): Likewise.
40722 (binaries-static-tests): Likewise.
40723 (binaries-all): Define using $(binaries-all-notests) and
40724 $(binaries-all-tests).
40725 (binaries-static): Define using $(binaries-static-notests) and
40726 $(binaries-static-tests).
40727 (binaries-shared-tests): New variable.
40728 (binaries-shared-notests): Likewise.
40729 (binaries-shared): Remove variable.
40730 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40731 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40732 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40733 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40734 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40735 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40736 * elf/Makefile (sln-modules): New variable.
40737 (extra-objs): Add $(sln-modules:=.o).
40738 (ldconfig-modules): Add static-stubs.
40739 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40740 * elf/static-stubs.c: New file.
40743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40744 by 7 not 8 to examine high bit of fractional part. Use volatile
40745 variables when splitting into final array of floats if
40746 __FLT_EVAL_METHOD__ != 0.
40747 * math/libm-test.inc (cos_test): Add another test.
40748 (sin_test): Likewise.
40749 * sysdeps/i386/fpu/libm-test-ulps: Update.
40752 * math/libm-test.inc (cosh_test): Add more tests.
40754 * version.h (RELEASE): Set to "development".
40755 (VERSION): Set to "2.16.90".
40757 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40759 * NEWS: Update copyright. Remove last-updated date.
40760 Mention math library bug fixes and timezone data changes.
40761 * README: Mention GNU/Hurd, x32, and HPPA support status.
40763 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40765 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40767 2012-06-27 Andreas Jaeger <aj@suse.de>
40769 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40771 2012-06-25 Andreas Jaeger <aj@suse.de>
40773 * sysdeps/s390/fpu/libm-test-ulps: Update.
40775 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40776 Thomas Schwinge <thomas@codesourcery.com>
40778 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40779 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40783 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40785 * sysdeps/mach/start.c: Remove file.
40786 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40787 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40788 * sysdeps/sh/init-first.c: Likewise.
40790 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40791 registers for frame unwinding purposes, add CFI directives.
40792 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40794 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40797 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40798 __fortify_fail returning.
40799 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40801 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40802 sysdeps/sh/____longjmp_chk.S.
40803 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40804 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40805 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40806 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40808 * sysdeps/sh/abort-instr.h: New file.
40809 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40810 process in case exit returns.
40812 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40813 initialize the GOT register before use.
40815 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40816 calculation of ARGC > 4.
40818 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40819 meaningful names to some local labels.
40821 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40822 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40824 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40825 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40826 (__arch_compare_and_exchange_val_16_acq): Likewise.
40827 (__arch_compare_and_exchange_val_32_acq): Likewise.
40828 (atomic_exchange_and_add): Fix gUSA sequence.
40829 (atomic_add): Likewise.
40830 (atomic_add_negative): Likewise.
40831 (atomic_add_zero): Likewise.
40832 (atomic_bit_test_set): Likewise.
40834 2012-06-22 Andreas Schwab <schwab@redhat.com>
40837 * include/link.h (struct link_map): Add l_free_initfini.
40838 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40840 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40841 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40842 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40845 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40847 * configure.in: Use AC_LANG_SOURCE.
40848 * configure: Regenerate.
40850 2012-06-22 Roland McGrath <roland@hack.frob.com>
40852 * configure.in (libc_cv_localstatedir): New substituted variable.
40853 * configure: Regenerated.
40854 * config.make.in (localstatedir): New variable, substituted from
40855 libc_cv_localstatedir.
40856 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40857 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40858 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40859 * sysdeps/gnu/configure: Regenerated.
40861 2012-06-21 Jeff Law <law@redhat.com>
40864 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40865 free. Simplify list management for _LIBC case.
40867 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40870 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40871 Clear sign bit of 64-bit integer value before comparing against
40874 * sysdeps/mach/configure: Regenerated.
40876 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40879 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40881 2012-06-21 Jeff Law <law@redhat.com>
40884 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40885 uint16_t for elements in the "seen" array to avoid char overflows.
40886 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40887 * elf/dl-open.c (dl_open_worker): Likewise.
40889 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40891 * scripts/list-sources.sh: Scan PORTS for translations.
40892 * po/libc.pot: Regenerated.
40894 2012-06-21 Andreas Jaeger <aj@suse.de>
40897 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40899 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40900 * bits/byteswap-16.h (__bswap_16): Likewise.
40901 * bits/byteswap.h (__bswap_constant_16): Likewise.
40903 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40906 * sysdeps/i386/fpu_control.h: Removed.
40907 * sysdeps/x86_64/fpu_control.h: Moved to ...
40908 * sysdeps/x86/fpu_control.h: Here.
40910 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40911 (_FPU_SETCW): Likewise.
40913 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40916 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40917 * sysdeps/x86/fpu/bits/mathinline.h: This.
40918 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40922 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40923 functions if __x86_64__ is defined.
40925 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40927 * string/endian.h: Add !__ASSEMBLER__ condition for including
40928 conversion interfaces.
40930 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40933 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40934 of ABS(x) in calculating zero to negative powers other than odd
40936 * math/libm-test.inc (pow_test): Add more tests.
40938 2012-06-15 Andreas Jaeger <aj@suse.de>
40940 * manual/contrib.texi (Contributors): Update entry of Liubov
40941 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40944 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40946 * string/string.h: Add __wur to GNU version of strerror_r.
40948 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40951 * string/Makefile (tests): Add tst-strtok_r.
40952 * string/tst-strtok_r.c: New file.
40953 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40954 RAX_LP/RDX_LP on SAVE_PTR.
40956 2012-06-14 Roland McGrath <roland@hack.frob.com>
40958 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40960 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40962 * libm_test.inc (csqrt_test): Allow more spurious underflow
40964 (j0_test): Likewise.
40965 (j1_test): Likewise.
40966 (y0_test): Likewise.
40967 (y1_test): Likewise.
40969 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40971 * po/Makefile (libc.pot): Use UTF-8 charset.
40973 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40976 Suppress sign-conversion warning from FD_SET.
40977 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40978 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40979 not unsigned long int.
40980 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40982 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40986 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40987 __extern_always_inline instead of __extern_inline.
40988 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40989 (__signbit): Likewise.
40990 (__signbitl): Support C++ namespace.
40991 (lrintf): New inline function.
40993 (llrintf): Likewise.
40994 (llrint): Likewise.
41004 (floorf): Likewise.
41005 (nearbyint): Likewise.
41006 (nearbyintf): Likewise.
41008 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41010 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41011 non-default versions.
41013 2012-06-11 Roland McGrath <roland@hack.frob.com>
41016 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41018 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41020 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41021 (FE_UPWARD, FE_DOWNWARD): Don't define.
41022 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41023 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41025 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41027 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41028 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41030 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41032 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41034 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41035 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41037 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41040 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41041 * sysdeps/i386/fpu/Implies: New file.
41042 * sysdeps/x86_64/fpu/Implies: Likewise.
41043 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41044 * sysdeps/x86/fpu/bits/fenv.h: This.
41046 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41049 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41052 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41053 character 0xffff that matches the last element of the
41056 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41061 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41064 values higher than 25.6283.
41066 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41068 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41069 subnormal exponent extraction and add some __builtin_expect.
41070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41071 Fix for subnormal mantissa calculation.
41073 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41075 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41076 cpu2 is -1 and errno is not ENOSYS.
41078 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41081 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41082 * sysdeps/x86/bits/string.h: This.
41083 * sysdeps/x86_64/bits/string.h: Removed.
41085 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41086 if not compiling for x86-64, but compiling for >= i486.
41088 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41089 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41091 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41092 New macro from Linux kernel 3.4.0.
41093 (FP_XSTATE_MAGIC2): Likewise.
41094 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41095 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41096 (struct _fpx_sw_bytes): New struct.
41097 (struct _xsave_hdr): Likewise.
41098 (struct _ymmh_state): Likewise.
41099 (struct _xstate): Likewise.
41101 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41102 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41104 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41105 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41106 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41108 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41109 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41110 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41111 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41112 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41113 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41115 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41118 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41119 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41120 (sysdep_headers): Include sys/platform/ppc.h.
41121 * sysdeps/powerpc/test-gettimebase.c: Test for
41122 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41123 * manual/Makefile (appendices): Include platform.texi.
41124 * manual/contrib.texi (Contributors): Update @node pointers.
41125 * manual/maint.texi (Maintenance): Likewise.
41126 (Platform): New node.
41127 * manual/platform.texi: New file. Document the new features.
41129 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41130 Jakub Jelinek <jakub@redhat.com>
41133 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41134 where __builtin_expect is unavailable.
41136 2012-06-03 David S. Miller <davem@davemloft.net>
41138 * stdlib/longlong.h: Updated from GCC.
41140 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41143 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41144 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41147 (GLIBC_2.16): Likewise.
41149 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41151 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41153 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41156 (default-abi): New variable.
41157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41158 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41160 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41162 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41164 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41167 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41168 definition. Document in comment.
41170 2012-06-01 David S. Miller <davem@davemloft.net>
41172 * stdlib/longlong.h: Updated from GCC.
41174 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41177 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41178 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41179 sys/debugreg.h sys/io.h here.
41180 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41181 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41183 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41184 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41185 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41186 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41187 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41188 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41190 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41191 Define only if __x86_64__ is defined.
41193 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41197 Use int64_t for variable i.
41198 * math/libm-test.inc (fmod_test): Add more tests.
41200 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41201 z computation is not scheduled after fetestexcept.
41202 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41203 Use math_force_eval instead of asm to ensure calculation scheduled
41204 before exception test.
41205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41206 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41208 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41211 computation is not scheduled after fetestexcept.
41213 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41216 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41217 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41219 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41221 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41222 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41224 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41227 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41229 (__WCHAR_MIN): Support __WORDSIZE == 64.
41230 (__WCHAR_MAX): Likewise.
41232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41233 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41237 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41240 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41243 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41244 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41246 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41247 Defined to 1 if __x86_64__ isn't defined.
41248 (_STAT_VER_LINUX_OLD): New.
41249 (st_atime): Remove duplicate.
41250 (st_mtime): Likewise.
41251 (st_ctime): Likewise.
41253 2012-05-31 David S. Miller <davem@davemloft.net>
41255 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41258 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41260 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41264 * elf/dl-reloc.c: Include <_itoa.h>.
41265 (_dl_reloc_bad_type): Remove use of INTUSE.
41266 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41267 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41268 * stdio-common/psiginfo.c (psiginfo): Likewise.
41269 * stdio-common/psignal.c (psignal): Likewise.
41270 * string/strsignal.c (strsignal): Likewise.
41271 * include/signal.h (_sys_siglist): Declare hidden proto.
41272 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41273 INTVARDEF with libc_hidden_data_def.
41274 * stdio-common/itoa-udigits.c: Likewise.
41275 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41276 (_itoa_lower_digits_internal): Remove declaration.
41277 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41278 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41279 (_sys_sigabbrev_internal): Remove aliases.
41280 (_sys_siglist): Define hidden alias.
41282 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41287 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41290 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41291 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41293 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41294 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41295 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41296 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41298 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41300 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41301 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41302 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41304 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41312 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41314 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41316 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41317 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41319 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41320 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41321 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41323 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41324 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41326 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41327 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41330 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41331 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41333 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41334 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41336 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41338 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41339 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41340 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41342 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41344 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41346 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41348 * math/math.h (M_El): Use two more decimal places.
41349 (M_LOG2El): Likewise.
41350 (M_LOG10El): Likewise.
41351 (M_LN2l): Likewise.
41352 (M_LN10l): Likewise.
41354 (M_PI_2l): Likewise.
41355 (M_PI_4l): Likewise.
41356 (M_1_PIl): Likewise.
41357 (M_2_PIl): Likewise.
41358 (M_2_SQRTPIl): Likewise.
41359 (M_SQRT2l): Likewise.
41360 (M_SQRT1_2l): Likewise.
41362 2012-05-31 David S. Miller <davem@davemloft.net>
41364 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41365 values between float registers.
41366 * sysdeps/sparc/sparc64/memset.S: Likewise.
41367 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41369 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41371 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41372 -D_FORTIFY_SOURCE=1.
41373 (CPPFLAGS-tst-longjmp_chk.c): Define.
41374 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41375 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41376 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41377 CFLAGS-tst-wchar-h.c.
41379 2012-05-31 Marek Polacek <polacek@redhat.com>
41382 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41383 __endmntent_internal): Remove declaration.
41384 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41385 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41386 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41388 2012-05-30 David S. Miller <davem@davemloft.net>
41390 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41391 (___Q_simulate_exceptions): Use real FP ops rather than writing
41393 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41396 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41399 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41400 * sysdeps/x86/bits/xtitypes.h: This.
41402 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41403 * sysdeps/x86/bits/wordsize.h: This.
41405 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41406 * sysdeps/x86/bits/huge_vall.h: This.
41408 * sysdeps/i386/bits/select.h: Removed.
41409 * sysdeps/x86_64/bits/select.h: Renamed to ...
41410 * sysdeps/x86/bits/select.h: This.
41412 * sysdeps/i386/bits/setjmp.h: Removed.
41413 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41414 * sysdeps/x86/bits/setjmp.h: This.
41416 * sysdeps/i386/bits/mathdef.h: Removed.
41417 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41418 * sysdeps/x86/bits/mathdef.h: This.
41420 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41423 * include/sys/socket.h (__connect_internal)
41424 (__libc_sa_len_internal): Remove declaration.
41425 (__connect, __libc_sa_len): Declare hidden_proto.
41426 (SA_LEN): Remove use of INTUSE.
41427 * socket/connect.c: Add libc_hidden_def.
41428 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41429 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41430 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41432 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41433 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41434 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41435 of adding _internal alias.
41437 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41440 * sysdeps/i386/bits/link.h: Removed.
41441 * sysdeps/i386/bits/linkmap.h: Likewise.
41442 * sysdeps/x86_64/bits/link.h: Renamed to ...
41443 * sysdeps/x86/bits/link.h: This.
41444 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41445 * sysdeps/x86/bits/linkmap.h: This.
41447 * sysdeps/i386/bits/endian.h: Removed.
41448 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41449 * sysdeps/x86/bits/endian.h: This.
41451 * sysdeps/i386/bits/byteswap.h: Removed.
41452 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41453 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41454 * sysdeps/x86/bits/byteswap.h: This.
41455 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41456 * sysdeps/x86/bits/byteswap-16.h: This.
41457 * sysdeps/i386/Implies: Add x86.
41458 * sysdeps/x86_64/Implies: Likewise.
41460 2012-05-30 David S. Miller <davem@davemloft.net>
41462 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41463 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41464 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41465 (FP_TRAPPING_EXCEPTIONS): Define.
41466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41467 (FP_TRAPPING_EXCEPTIONS): Define.
41468 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41469 subnormals only when inexact has been signalled or underflow
41470 exceptions are enabled.
41471 (_FP_PACK_CANONICAL): Likewise.
41473 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41476 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41477 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41479 2012-05-30 Richard Henderson <rth@twiddle.net>
41481 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41482 with #ifndef NOT_IN_libc.
41484 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41485 marked to avoid plt entry.
41487 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41490 * Makeconfig (default-abi): New macro.
41491 (abi-includes): Likewise.
41492 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41493 $(abi-$(default-abi)-lib-soname) for soname if defined.
41494 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41496 * Makefile (installed-stubs): Likewise.
41497 * include/stubs-biarch.h: Removed.
41498 * scripts/lib-names.awk: Only handle one library at a time.
41499 * scripts/soversions.awk: Remove WORDSIZE support.
41500 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41502 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41504 (syscall-list-default-condition): Likewise.
41505 (syscall-list-default-condition): Likewise.
41506 (syscall-list-includes): Likewise.
41507 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41508 syscall-list-* with abi-*. Handle undefined abi-variants.
41509 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41510 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41511 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41512 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41513 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41514 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41516 (syscall-list-32-options): Likewise.
41517 (syscall-list-32-condition): Likewise.
41518 (syscall-list-64-options): Likewise.
41519 (syscall-list-64-condition): Likewise.
41520 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41522 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41525 (abi-64-ld-soname): New macro.
41526 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41527 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41530 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41531 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41533 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41535 * sysdeps/unix/sysv/linux/kernel-features.h
41536 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41537 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41538 include <kernel-features.h>.
41539 [!__NR_ftruncate64]: Remove conditional code.
41540 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41541 [__NR_ftruncate64]: Make code unconditional.
41542 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41543 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41544 include <kernel-features.h>.
41545 [!__NR_ftruncate64]: Remove conditional code.
41546 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41547 [__NR_ftruncate64]: Make code unconditional.
41548 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41550 include <kernel-features.h>.
41551 [!__NR_ftruncate64]: Remove conditional code.
41552 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41553 [__NR_ftruncate64]: Make code unconditional.
41554 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41556 include <kernel-features.h>.
41557 [!__NR_ftruncate64]: Remove conditional code.
41558 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41559 [__NR_ftruncate64]: Make code unconditional.
41560 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41562 * configure.in (libc_cv_fpie): Weaken to a compile test using
41563 LIBC_TRY_CC_OPTION.
41564 * configure: Regenerated.
41566 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41581 2012-05-27 David S. Miller <davem@davemloft.net>
41583 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41585 (__Q_simulate_exceptions): Return void. Change to simulate
41586 exceptions by writing into the %fsr.
41587 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41588 (__Qp_handle_exceptions): Likewise.
41590 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41591 __Qp_handle_exceptions.
41592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41593 __Qp_handle_exceptions.
41594 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41595 as unused and give dummy FP_RND_NEAREST initializer.
41596 (FP_INHIBIT_RESULTS): Define.
41597 (___Q_simulate_exceptions): Update declaration.
41598 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41601 as unused and give dummy FP_RND_NEAREST initializer.
41602 (__Qp_handle_exceptions): Update declaration.
41603 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41606 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41608 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41609 the temporary FPU control word.
41610 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41611 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41612 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41613 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41614 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41615 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41616 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41618 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41619 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41620 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41622 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41624 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41627 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41629 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41630 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41631 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41632 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41634 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41635 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41638 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41640 * po/h.po: Update from translation team.
41642 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41644 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41646 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41647 handling of denormals.
41648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41649 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41650 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41651 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41657 2012-05-26 Marek Polacek <polacek@redhat.com>
41660 * math/libm-test.inc (fma_test): Don't always expect underflow
41663 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41666 * elf/tst-execstack.c: Include stackinfo.h.
41667 (do_test): Adjust test case to ensure that pthread_getattr_np
41668 behaviour remains the same after marking stack executable.
41670 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41672 * sysdeps/unix/sysv/linux/kernel-features.h
41673 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41674 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41676 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41677 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41678 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41680 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41681 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41683 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41685 * configure.in: Define the default includes to being none.
41686 * configure: Regenerated.
41688 2012-05-25 Roland McGrath <roland@hack.frob.com>
41690 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41691 * sysdeps/x86_64/setjmp.S: Likewise.
41692 * sysdeps/i386/bsd-setjmp.S: Likewise.
41693 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41694 * sysdeps/i386/setjmp.S: Likewise.
41695 * sysdeps/i386/__longjmp.S: Likewise.
41696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41699 * include/stap-probe.h: New file.
41700 * configure.in: Handle --enable-systemtap.
41701 * configure: Regenerated.
41702 * config.h.in (USE_STAP_PROBE): New #undef.
41703 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41704 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41705 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41707 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41711 to 2.4.0 where earlier.
41712 * sysdeps/unix/sysv/linux/configure: Regenerated.
41713 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41714 <kernel-features.h>.
41715 [__ASSUME_32BITUIDS]: Make code unconditional.
41716 [!__ASSUME_32BITUIDS]: Remove conditional code.
41717 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41718 <kernel-features.h>.
41719 [__ASSUME_32BITUIDS]: Make code unconditional.
41720 [!__ASSUME_32BITUIDS]: Remove conditional code.
41721 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41722 [__ASSUME_32BITUIDS]: Make code unconditional.
41723 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41724 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41725 <kernel-features.h>.
41726 [__ASSUME_32BITUIDS]: Make code unconditional.
41727 [!__ASSUME_32BITUIDS]: Remove conditional code.
41728 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41729 <kernel-features.h>.
41730 [__ASSUME_32BITUIDS]: Make code unconditional.
41731 [!__ASSUME_32BITUIDS]: Remove conditional code.
41732 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41733 <kernel-features.h>.
41734 [__ASSUME_32BITUIDS]: Make code unconditional.
41735 [!__ASSUME_32BITUIDS]: Remove conditional code.
41736 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41737 <kernel-features.h>.
41738 [__ASSUME_32BITUIDS]: Make code unconditional.
41739 [!__ASSUME_32BITUIDS]: Remove conditional code.
41740 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41741 <kernel-features.h>.
41742 [__ASSUME_32BITUIDS]: Make code unconditional.
41743 [!__ASSUME_32BITUIDS]: Remove conditional code.
41744 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41745 <kernel-features.h>.
41746 [__ASSUME_32BITUIDS]: Make code unconditional.
41747 [!__ASSUME_32BITUIDS]: Remove conditional code.
41748 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41749 <kernel-features.h>.
41750 [__ASSUME_32BITUIDS]: Make code unconditional.
41751 [!__ASSUME_32BITUIDS]: Remove conditional code.
41752 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41753 <kernel-features.h>.
41754 [__ASSUME_32BITUIDS]: Make code unconditional.
41755 [!__ASSUME_32BITUIDS]: Remove conditional code.
41756 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41757 <kernel-features.h>.
41758 [__ASSUME_32BITUIDS]: Make code unconditional.
41759 [!__ASSUME_32BITUIDS]: Remove conditional code.
41760 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41761 <kernel-features.h>.
41762 [__ASSUME_32BITUIDS]: Make code unconditional.
41763 [!__ASSUME_32BITUIDS]: Remove conditional code.
41764 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41765 <kernel-features.h>.
41766 [__NR_setresgid] (__setresgid): Do not declare.
41767 [__ASSUME_32BITUIDS]: Make code unconditional.
41768 [!__ASSUME_32BITUIDS]: Remove conditional code.
41769 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41770 <kernel-features.h>.
41771 [__NR_setresuid] (__setresuid): Do not declare.
41772 [__ASSUME_32BITUIDS]: Make code unconditional.
41773 [!__ASSUME_32BITUIDS]: Remove conditional code.
41774 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
41779 <kernel-features.h>.
41780 [__ASSUME_32BITUIDS]: Make code unconditional.
41781 [!__ASSUME_32BITUIDS]: Remove conditional code.
41782 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41783 <kernel-features.h>.
41784 [__ASSUME_32BITUIDS]: Make code unconditional.
41785 [!__ASSUME_32BITUIDS]: Remove conditional code.
41786 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41787 <kernel-features.h>.
41788 [__ASSUME_32BITUIDS]: Make code unconditional.
41789 [!__ASSUME_32BITUIDS]: Remove conditional code.
41790 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41791 <kernel-features.h>.
41792 [__ASSUME_32BITUIDS]: Make code unconditional.
41793 [!__ASSUME_32BITUIDS]: Remove conditional code.
41794 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41795 <kernel-features.h>.
41796 [__ASSUME_32BITUIDS]: Make code unconditional.
41797 [!__ASSUME_32BITUIDS]: Remove conditional code.
41798 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41799 <kernel-features.h>.
41800 [__ASSUME_32BITUIDS]: Make code unconditional.
41801 [!__ASSUME_32BITUIDS]: Remove conditional code.
41802 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41803 <kernel-features.h>.
41804 [__ASSUME_32BITUIDS]: Make code unconditional.
41805 [!__ASSUME_32BITUIDS]: Remove conditional code.
41806 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41807 <kernel-features.h>.
41808 [__ASSUME_32BITUIDS]: Make code unconditional.
41809 [!__ASSUME_32BITUIDS]: Remove conditional code.
41810 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41811 <kernel-features.h>.
41812 [__ASSUME_32BITUIDS]: Make code unconditional.
41813 [!__ASSUME_32BITUIDS]: Remove conditional code.
41814 * sysdeps/unix/sysv/linux/kernel-features.h
41815 (__ASSUME_SETRESUID_SYSCALL): Remove.
41816 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41817 (__ASSUME_32BITUIDS): Likewise.
41818 (__ASSUME_LDT_WORKS): Likewise.
41819 (__ASSUME_O_DIRECTORY): Likewise.
41820 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41821 architecture but not kernel version.
41822 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41823 (__ASSUME_MMAP2_SYSCALL): Likewise.
41824 (__ASSUME_STAT64_SYSCALL): Likewise.
41825 (__ASSUME_IPC64): Likewise.
41826 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41827 <kernel-features.h>.
41828 [__ASSUME_32BITUIDS]: Make code unconditional.
41829 [!__ASSUME_32BITUIDS]: Remove conditional code.
41830 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41831 <kernel-features.h>.
41832 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41833 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41834 132096]: Remove conditional code.
41835 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41837 <kernel-features.h>.
41838 [__ASSUME_32BITUIDS]: Make code unconditional.
41839 [!__ASSUME_32BITUIDS]: Remove conditional code.
41840 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41841 <kernel-features.h>.
41842 [__ASSUME_32BITUIDS]: Make code unconditional.
41843 [!__ASSUME_32BITUIDS]: Remove conditional code.
41844 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41845 <kernel-features.h>.
41846 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41848 (__setresgid): Do not declare.
41849 [__ASSUME_32BITUIDS]: Make code unconditional.
41850 [!__ASSUME_32BITUIDS]: Remove conditional code.
41851 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41852 <kernel-features.h>.
41853 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41855 (__setresuid): Do not declare.
41856 [__ASSUME_32BITUIDS]: Make code unconditional.
41857 [!__ASSUME_32BITUIDS]: Remove conditional code.
41858 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41859 <kernel-features.h>.
41860 [__ASSUME_32BITUIDS]: Make code unconditional.
41861 [!__ASSUME_32BITUIDS]: Remove conditional code.
41862 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41863 <kernel-features.h>.
41864 [__ASSUME_32BITUIDS]: Make code unconditional.
41865 [!__ASSUME_32BITUIDS]: Remove conditional code.
41867 2012-05-25 Richard Henderson <rth@twiddle.net>
41869 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41870 dl_hwcap to ifunc resolver.
41871 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41873 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41874 dl_hwcap to ifunc resolver.
41875 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41877 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41880 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41881 for |x| <= 2**-26, not 2**-57.
41882 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41885 2012-05-24 Jeff Law <law@redhat.com>
41887 * stdio-common/Makefile (tests): Add bug25.
41888 * stdio-common/bug25.c: New test.
41890 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41893 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41894 multiple of MALLOC_ALIGNMENT in size.
41895 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41897 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41899 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41901 (FILENAME_MAX): Use macro-int-constant.
41902 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41903 (_IOFBF): Use macro-int-constant.
41904 (_IOLBF): Likewise.
41905 (_IONBF): Likewise.
41906 (SEEK_CUR): Likewise.
41907 (SEEK_END): Likewise.
41908 (SEEK_SET): Likewise.
41909 (TMP_MAX): Likewise.
41910 (EOF): Use macro-int-constant. Require < 0.
41911 (NULL): Use macro-constant. Require == 0.
41912 (stdin): Require type to be FILE *.
41913 (stdout): Likewise.
41914 (stderr): Likewise.
41915 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41916 macro-int-constant.
41917 (EXIT_SUCCESS): Likewise.
41918 (NULL): Use macro-constant. Require == 0.
41919 (RAND_MAX): Use macro-int-constant.
41920 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41921 [C99-based standards] (strtof): Require function.
41922 [C99-based standards] (strtold): Likewise.
41923 [C99-based standards] (strtoll): Likewise.
41924 [C99-based standards] (strtoull): Likewise.
41925 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41926 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41927 [ISO || ISO99 || ISO11] (math.h): Likewise.
41928 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41929 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41930 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41932 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41935 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41936 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41937 * intl/dgettext.c (DCGETTEXT): Likewise.
41938 * intl/gettext.c (DCGETTEXT): Likewise.
41939 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41940 * posix/regex_internal.h (gettext): Likewise.
41941 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41942 Remove declaration.
41943 * include/argz.h (__argz_count_internal)
41944 (__argz_stringify_internal): Remove declaration.
41945 (__argz_count, __argz_stringify): Declare hidden proto.
41946 * intl/dcgettext.c: Remove use of INTDEF.
41947 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41948 * string/argz-stringify.c: Likewise.
41949 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41950 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41951 Declare hidden proto.
41952 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41953 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41954 Declare hidden proto.
41955 * include/stdio.h (__asprintf_internal): Don't declare.
41956 (__asprintf): Don't define as macro. Declare hidden proto.
41957 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41958 (__fsetlocking): Declare hidden proto.
41959 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41960 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41962 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41963 (_IO_setlinebuf): Remove use of INTUSE.
41964 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41965 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41966 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41967 Remove declaration.
41968 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41969 (_IO_do_flush): Remove use of INTUSE.
41970 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41971 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41972 (_IO_adjust_column, _IO_least_wmarker)
41973 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41974 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41975 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41976 (_IO_default_doallocate, _IO_wdefault_doallocate)
41977 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41978 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41979 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41980 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41981 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41982 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41983 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41984 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41985 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41986 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41987 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41988 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41989 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41991 (_IO_flush_all_internal, _IO_adjust_column_internal)
41992 (_IO_default_uflow_internal, _IO_default_finish_internal)
41993 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41994 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41995 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41996 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41997 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41998 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41999 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42000 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42001 (_IO_file_close_internal, _IO_file_close_it_internal)
42002 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42003 (_IO_file_init_internal, _IO_file_attach_internal)
42004 (_IO_file_fopen_internal, _IO_file_read_internal)
42005 (_IO_file_sync_internal, _IO_file_seek_internal)
42006 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42007 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42008 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42009 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42010 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42011 (_IO_list_all_internal, _IO_link_in_internal)
42012 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42013 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42014 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42015 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42016 (_IO_do_write_internal, _IO_padn_internal)
42017 (_IO_getline_info_internal, _IO_getline_internal)
42018 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42019 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42020 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42021 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42022 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42023 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42024 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42025 with libc_hidden_ver, remove use of INTUSE.
42026 * libio/genops.c: Likewise.
42027 * libio/freopen.c: Likewise.
42028 * libio/freopen64.c: Likewise.
42029 * libio/iofclose.c: Likewise.
42030 * libio/iofdopen.c: Likewise.
42031 * libio/iofflush.c: Likewise.
42032 * libio/iofflush_u.c: Likewise.
42033 * libio/iofgets.c: Likewise.
42034 * libio/iofgets_u.c: Likewise.
42035 * libio/iofopen.c: Likewise.
42036 * libio/iofopncook.c: Likewise.
42037 * libio/iofread.c: Likewise.
42038 * libio/iofread_u.c: Likewise.
42039 * libio/ioftell.c: Likewise.
42040 * libio/iofwrite.c: Likewise.
42041 * libio/iogetline.c: Likewise.
42042 * libio/iogets.c: Likewise.
42043 * libio/iogetwline.c: Likewise.
42044 * libio/iopadn.c: Likewise.
42045 * libio/iopopen.c: Likewise.
42046 * libio/ioseekoff.c: Likewise.
42047 * libio/ioseekpos.c: Likewise.
42048 * libio/iosetbuffer.c: Likewise.
42049 * libio/iosetvbuf.c: Likewise.
42050 * libio/ioungetc.c: Likewise.
42051 * libio/ioungetwc.c: Likewise.
42052 * libio/iovdprintf.c: Likewise.
42053 * libio/iovsprintf.c: Likewise.
42054 * libio/iovsscanf.c: Likewise.
42055 * libio/memstream.c: Likewise.
42056 * libio/obprintf.c: Likewise.
42057 * libio/oldfileops.c: Likewise.
42058 * libio/oldiofclose.c: Likewise.
42059 * libio/oldiofdopen.c: Likewise.
42060 * libio/oldiofopen.c: Likewise.
42061 * libio/oldiopopen.c: Likewise.
42062 * libio/oldstdfiles.c: Likewise.
42063 * libio/putc.c: Likewise.
42064 * libio/setbuf.c: Likewise.
42065 * libio/setlinebuf.c: Likewise.
42066 * libio/stdfiles.c: Likewise.
42067 * libio/strops.c: Likewise.
42068 * libio/vasprintf.c: Likewise.
42069 * libio/vscanf.c: Likewise.
42070 * libio/vsnprintf.c: Likewise.
42071 * libio/vswprintf.c: Likewise.
42072 * libio/wfiledoalloc.c: Likewise.
42073 * libio/wfileops.c: Likewise.
42074 * libio/wgenops.c: Likewise.
42075 * libio/wmemstream.c: Likewise.
42076 * libio/wstrops.c: Likewise.
42077 * libio/__fpurge.c: Likewise.
42078 * libio/__fsetlocking.c: Likewise.
42079 * assert/assert.c: Likewise.
42080 * debug/fgets_chk.c: Likewise.
42081 * debug/fgets_u_chk.c: Likewise.
42082 * debug/fread_chk.c: Likewise.
42083 * debug/fread_u_chk.c: Likewise.
42084 * debug/gets_chk.c: Likewise.
42085 * debug/obprintf_chk.c: Likewise.
42086 * debug/vasprintf_chk.c: Likewise.
42087 * debug/vdprintf_chk.c: Likewise.
42088 * debug/vsnprintf_chk.c: Likewise.
42089 * debug/vsprintf_chk.c: Likewise.
42090 * malloc/mtrace.c: Likewise.
42091 * misc/error.c: Likewise.
42092 * misc/syslog.c: Likewise.
42093 * stdio-common/asprintf.c: Likewise.
42094 * stdio-common/fxprintf.c: Likewise.
42095 * stdio-common/getw.c: Likewise.
42096 * stdio-common/isoc99_fscanf.c: Likewise.
42097 * stdio-common/isoc99_scanf.c: Likewise.
42098 * stdio-common/isoc99_vfscanf.c: Likewise.
42099 * stdio-common/isoc99_vscanf.c: Likewise.
42100 * stdio-common/isoc99_vsscanf.c: Likewise.
42101 * stdio-common/printf-prs.c: Likewise.
42102 * stdio-common/printf_fp.c: Likewise.
42103 * stdio-common/printf_fphex.c: Likewise.
42104 * stdio-common/printf_size.c: Likewise.
42105 * stdio-common/putw.c: Likewise.
42106 * stdio-common/scanf.c: Likewise.
42107 * stdio-common/sprintf.c: Likewise.
42108 * stdio-common/tmpfile.c: Likewise.
42109 * stdio-common/vfprintf.c: Likewise.
42110 * stdio-common/vfscanf.c: Likewise.
42111 * stdlib/strfmon_l.c: Likewise.
42112 * sunrpc/openchild.c: Likewise.
42113 * sunrpc/xdr_stdio.c: Likewise.
42114 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42115 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42117 2012-05-24 Roland McGrath <roland@hack.frob.com>
42119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42121 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42122 in the third column, to generate for the shared library an IFUNC
42123 that uses _dl_vdso_vsym.
42124 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42125 * Makeconfig (object-suffixes-noshared): New variable.
42127 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42128 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42129 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42130 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42133 * include/sys/time.h (__gettimeofday): Remove macro.
42134 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42135 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42137 (__gettimeofday): Add libc_hidden_def.
42138 (gettimeofday): Add libc_hidden_weak.
42139 * sysdeps/mach/gettimeofday.c: Likewise.
42140 * sysdeps/posix/gettimeofday.c: Likewise.
42141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42142 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42144 (__gettimeofday_internal): Remove strong_alias.
42145 (__gettimeofday): Add libc_hidden_def.
42146 (gettimeofday): Add libc_hidden_weak.
42147 * sysdeps/unix/syscalls.list (gettimeofday):
42148 Remove __gettimeofday_internal alias.
42150 2012-05-24 Daniel Jacobowitz <drow@false.org>
42151 H.J. Lu <hongjiu.lu@intel.com>
42154 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42155 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42156 (largebin_index_32_big): New.
42157 (largebin_index): Use it for 16-byte alignment.
42158 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42159 correction with front_misalign.
42161 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42189 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42190 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42192 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42196 * math/libm-test.inc (exp_test): Add test from bug 14036.
42197 (pow_test): Add test from bug 10846.
42199 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42201 (special_function): Do not include flags in test name.
42202 (parse_args): Likewise.
42203 * sysdeps/i386/fpu/libm-test-ulps: Update.
42204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42205 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42206 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42209 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42211 * math/libm-test.inc ("Philosophy"): Update comment about
42213 (UNDERFLOW_EXCEPTION): New macro.
42214 (UNDERFLOW_EXCEPTION_OK): Likewise.
42215 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42216 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42217 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42218 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42219 (INVALID_EXCEPTION_OK): Update value.
42220 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42221 (OVERFLOW_EXCEPTION_OK): Likewise.
42222 (IGNORE_ZERO_INF_SIGN): Likewise.
42223 (test_exceptions): Handle underflow exceptions.
42224 (acos_test): Update for underflow exception expectations.
42225 (cexp_test): Likewise.
42226 (clog_test): Likewise.
42227 (clog10_test): Likewise.
42228 (csqrt_test): Likewise.
42229 (ctan_test): Likewise.
42230 (ctanh_test): Likewise.
42231 (exp_test): Likewise.
42232 (exp10_test): Likewise.
42233 (exp2_test): Likewise.
42234 (expm1_test): Likewise.
42235 (fma_test): Likewise.
42236 (j0_test): Likewise.
42237 (jn_test): Likewise.
42238 (nexttoward_test): Likewise.
42239 (pow_test): Likewise.
42240 (scalbn_test): Likewise.
42241 (scalbln_test): Likewise.
42242 (tan_test): Likewise.
42243 (y1_test): Likewise.
42244 * sysdeps/i386/fpu/libm-test-ulps: Update.
42245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42247 2012-05-23 David S. Miller <davem@davemloft.net>
42249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42250 (__libc_sigaction): Remove unused local variables.
42252 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42254 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42256 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42258 mktime: avoid signed integer overflow
42259 * time/mktime.c (__mktime_internal): Do not mishandle the case
42260 where diff == INT_MIN.
42262 mktime: simplify computation of average
42263 * time/mktime.c (ranged_convert): Use new time_t_avg function
42264 instead of rolling our own (probably-slower) code.
42266 mktime: do not assume signed right shift propagates sign bit
42267 * time/mktime.c (isdst_differ): New static function.
42268 (__mktime_internal): No need to normalize tm_isdst now.
42269 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42272 mktime: merge another wrapv change from gnulib
42273 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42274 from some compilers.
42276 mktime: remove incorrect attempt at unusual arithmetics
42277 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42278 The code didn't really work on such machines anyway.
42279 (TYPE_MINIMUM): Assume two's complement.
42280 (twos_complement_arithmetic): Verify that long_int and time_t
42281 are two's complement (or unsigned, in the latter case).
42283 mktime: check signed shifts on long_int and time_t, too
42284 * time/mktime.c (SHR): Check that shifts work as desired
42285 on the types long_int and time_t too, as SHR is used on
42288 mktime: do not assume 'long' is wide enough
42289 * time/mktime.c (verify): Move decl up.
42290 (long_int): New type.
42291 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42292 to remove assumption in the code that 'long' is wide enough to
42293 store year values. This assumption is not true on x32 and on
42294 some non-glibc platforms.
42296 mktime: merge wrapv change from gnulib
42297 * time/mktime.c (WRAPV): New macro.
42298 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42299 (guess_time_tm, __mktime_internal): Do not assume that signed
42300 integer overflow wraps around; modern compilers generate code
42301 where this assumption is no longer valid.
42303 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42305 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42306 Replace "jmp L(pseudo_end)" with "ret".
42307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42310 2012-05-23 Andreas Jaeger <aj@suse.de>
42312 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42313 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42315 2012-05-23 Andreas Jaeger <aj@suse.de>
42316 Maximilian Attems <max@stro.at>
42318 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42321 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42323 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42324 code so that pseudo_end is just ret and the stack pointer is
42325 correct also for static library in error case.
42327 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42329 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42330 move to syscalls.list.
42331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42336 * manual/install.texi (Running make install): Do not mention Linux
42337 kernel version for which pt_chown is not needed.
42338 (Linux): Do not mention problems with nscd with 2.0 kernels.
42339 * INSTALL: Regenerated.
42341 2012-05-23 Andreas Jaeger <aj@suse.de>
42343 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42344 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42346 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42348 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42350 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42352 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42353 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42356 * sysdeps/unix/sysv/linux/bits/in.h
42357 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42359 2012-05-22 Roland McGrath <roland@hack.frob.com>
42361 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42362 (PREPARE_VERSION): Just use assert instead, it will be elided
42363 under [NDEBUG] anyway.
42365 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42367 * sysdeps/unix/sysv/linux/Makefile: Include
42368 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42369 (sysdep_routines): Remove sysctl.
42370 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42371 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42372 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42373 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42374 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42376 2012-05-22 Andreas Jaeger <aj@suse.de>
42378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42379 that pseudo_end is just ret and the stack pointer is correct also
42380 for static library in error case.
42382 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42385 * nss/nsswitch.c (defconfig_entries): New variable.
42386 (__nss_database_lookup): Don't leak defconfig entries.
42387 (nss_parse_service_list): Don't leak on error paths.
42388 (free_database_entries): New function.
42389 (free_defconfig): New function.
42390 (free_mem): Move common code to free_database_entries.
42392 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42394 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42396 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42398 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42399 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42402 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42403 (INTERNAL_SYSCALL_TYPES): Likewise.
42404 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42405 (LOAD_REGS_TYPES_[1-6]): Likewise.
42406 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42407 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42409 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42412 copysignl for GLIBC_2_0.
42413 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42414 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42416 logbl for GLIBC_2_0.
42417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42418 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42420 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42423 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42425 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42428 * time/mktime.c: Update copyright years.
42430 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42432 mktime: merge comment-quoting-style change from gnulib
42433 * time/mktime.c: Quote 'like this' in comments.
42434 The GNU coding standards suggest that we no longer quote `like this',
42435 as "`" and "'" are typically rendered asymmetrically nowadays.
42436 The typical gnulib style is to quote 'like this' when quoting
42437 code, and "like this" when quoting English.
42439 * time/mktime.c (compile-command): Add "-I.".
42441 mktime: merge mktime-internal.h change from gnulib
42442 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42444 mktime: merge time_r change from gnulib
42445 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42447 mktime: merge DEBUG change from gnulib
42448 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42449 case system <time.h> has a #define.
42451 mktime: merge <sys/types.h> change from gnulib
42452 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42453 since <time.t> is now guaranteed to define time_t.
42455 mktime: merge HAVE_CONFIG_H change from gnulib
42456 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42458 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42463 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42465 (struct rusage): Use anonymous union to pad each field to
42468 2012-05-21 David S. Miller <davem@davemloft.net>
42470 * Makefules (o-iterator): Remove .s cases.
42471 (compile-command.s): Delete.
42472 (COMPILE.s): Delete.
42473 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42475 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42477 * configure.in (libc_cv_predef_stack_protector): Only consider
42478 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42479 * configure: Regenerated.
42481 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42484 New macro. Use R*LP on int and pointer.
42485 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42486 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42487 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42488 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42490 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42491 [__WORDSIZE_TIME64_COMPAT32] instead of
42492 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42493 (struct utmp): Likewise.
42494 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42495 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42497 (__WORDSIZE_TIME64_COMPAT32): This.
42498 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42499 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42500 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42501 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42502 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42503 (__WORDSIZE_TIME64_COMPAT32): New macro.
42505 2012-05-21 Andreas Jaeger <aj@suse.de>
42507 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42508 only if [SHARED]. Add prototype for __wcschr_ia32.
42510 2012-05-21 Roland McGrath <roland@hack.frob.com>
42512 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42513 of %rbp unmolested in the jmp_buf while mangling the low bits.
42514 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42515 unmolested high bits of %rbp while demangling the low bits.
42516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42518 2012-05-21 Andreas Jaeger <aj@suse.de>
42520 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42521 * sunrpc/svc_simple.c: Use it for registerrpc.
42522 * sunrpc/xcrypt.c: Use it for passwd2des.
42524 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42526 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42528 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42529 Don't define if [__SYSCALL_WORDSIZE != 32].
42530 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42533 2012-05-21 Bruno Haible <bruno@clisp.org>
42534 Andreas Jaeger <aj@suse.de>
42536 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42537 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42538 inptr and inend for must_buffer_ch.
42539 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42540 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42541 * stdio-common/Makefile (tests): Remove bug15.
42542 (bug15-ENV): Remove macro.
42543 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42546 2012-05-19 Andreas Jaeger <aj@suse.de>
42547 Roland McGrath <roland@hack.frob.com>
42549 * manual/contrib.texi: Completely rewritten. It contains now an
42550 alphabetical list of contributors and their contributions.
42552 2012-05-21 Richard Henderson <rth@twiddle.net>
42554 * misc/getauxval.c (__getauxval): Use unsigned long int.
42555 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42556 (getauxval): Use unsigned long int.
42558 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42560 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42562 2012-05-21 Roland McGrath <roland@hack.frob.com>
42564 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42565 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42566 __alignof__ (long double).
42568 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42572 2012-05-20 Richard Henderson <rth@twiddle.net>
42574 * misc/getauxval.c: New file.
42575 * misc/sys/auxv.h: New file.
42576 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42577 (routines): Add getauxval.
42578 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42579 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42580 * elf/dl-sysdep.c (_dl_auxv): Remove.
42581 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42582 * elf/dl-support.c (_dl_auxv): New variable.
42583 (_dl_aux_init): Initialize it.
42584 * manual/startup.texi (Auxiliary Vector): New node.
42585 * sysdeps/generic/bits/hwcap.h: New file.
42586 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42587 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42588 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42589 * sysdeps/sparc/sysdep.h: ... here. Include it.
42590 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42597 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42603 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42607 2012-05-19 David S. Miller <davem@davemloft.net>
42609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42611 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42614 * math/s_ccosh.c: Include <float.h>
42615 (__ccosh): Avoid internal overflow calculating sinh and cosh
42616 values before multiplying by sin and cos values.
42617 * math/s_ccoshf.c: Likewise.
42618 * math/s_ccoshl.c: Likewise.
42619 * math/s_csin.c: Likewise.
42620 * math/s_csinf.c: Likewise.
42621 * math/s_csinl.c: Likewise.
42622 * math/s_csinh.c: Likewise.
42623 * math/s_csinhf.c: Likewise.
42624 * math/s_csinhl.c: Likewise.
42625 * math/libm-test.inc (ccos_test): Add more tests.
42626 (ccosh_test): Likewise.
42627 (csin_test): Likewise.
42628 (csinh_test): Likewise.
42629 * sysdeps/i386/fpu/libm-test-ulps: Update.
42630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42632 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42634 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42635 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42637 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42639 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42641 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42642 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42643 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42644 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42645 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42646 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42647 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42648 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42649 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42650 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42651 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42652 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42653 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42654 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42655 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42656 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42657 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42658 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42659 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42660 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42661 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42662 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42663 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42664 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42665 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42666 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42667 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42668 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42669 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42670 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42671 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42673 2012-05-18 Andreas Jaeger <aj@suse.de>
42675 * csu/.gitignore: Delete.
42677 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42679 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42680 (timex): Use __syscall_slong_t.
42682 2012-05-18 Andreas Jaeger <aj@suse.de>
42683 Carlos O'Donell <carlos_odonell@mentor.com>
42685 * manual/install.texi (Configuring and compiling): Update
42686 description about files modified in the source directory.
42687 * INSTALL: Regenerated.
42689 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42691 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42692 value. Use "or" to set return value to -1.
42693 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42694 negate return value.
42696 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42698 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42699 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42700 failure if the compiler has Graphite support disabled.
42701 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42703 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42704 (CFLAGS-memmove.c): Likewise.
42705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42708 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42710 * sysdeps/x86_64/x32/_itoa.h: New file.
42712 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42713 getdents system call only if kernel and user dirents have the
42714 same d_ino and d_off.
42716 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42717 LLONG_MAX != LONG_MAX.
42718 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42719 (_fitoa_word): Likewise.
42721 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42723 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42724 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42725 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42728 include <bits/wordsize.h>. Check __x86_64__ instead of
42730 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42731 if __x86_64__ is defined. Use anonymous union on fpstate.
42733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42736 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42738 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42739 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42740 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42741 Refer to _rtld_local_ro instead of _rtld_global_ro.
42742 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42744 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42746 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42748 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42749 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42750 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42752 * sysdeps/powerpc/powerpc32/dl-machine.c
42753 (__elf_machine_runtime_setup) [PROF]: Don't reference
42756 2012-05-18 Andreas Jaeger <aj@suse.de>
42758 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42759 function only available for GCCs before 3.4 since GCC 3.4
42760 introduced a builtin.
42762 (llrintf): Likewise.
42763 (llrint): Likewise.
42770 (nearbyint): Likewise.
42771 (nearbyintf): Likewise.
42775 (floorf): Likewise.
42777 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42779 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42780 on both fields and cast pointer to __syscall_ulong_t.
42782 * bits/types.h (__fsword_t): New type.
42783 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42784 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42786 (__FSWORD_T_TYPE): Likewise.
42787 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42788 (__FSWORD_T_TYPE): Likewise.
42789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42790 (__FSWORD_T_TYPE): Likewise.
42791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42792 (__FSWORD_T_TYPE): Likewise.
42793 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42794 __SWORD_TYPE with __fsword_t.
42795 (statfs64): Likewise.
42797 2012-05-17 David S. Miller <davem@davemloft.net>
42799 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42801 2012-05-17 Andreas Jaeger <aj@suse.de>
42803 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42806 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42808 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42810 2012-05-17 Andreas Jaeger <aj@suse.de>
42812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42815 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42817 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42819 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42821 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42822 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42824 2012-05-17 Andreas Jaeger <aj@suse.de>
42825 Carlos O'Donell <carlos_odonell@mentor.com>
42828 * sysdeps/x86_64/multiarch/init-arch.h
42829 (bit_YMM_Usable): Rename to...
42830 (bit_AVX_Usable): ... this.
42831 (bit_FMA4_Usable): New macro.
42832 (bit_XMM_state): New macro.
42833 (bit_YMM_state): New macro.
42834 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42835 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42836 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42837 (CPUID_OSXSAVE): New macro.
42838 (CPUID_AVX): New macro.
42839 (CPUID_FMA4): New macro.
42840 (index_YMM_Usable): Rename to...
42841 (index_AVX_Usable): ... this.
42842 (HAS_AVX): Use HAS_ARCH_FEATURE.
42843 (HAS_FMA4): Likewise.
42844 (HAS_YMM_USABLE): Remove.
42845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42846 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42848 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42849 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42850 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42851 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42852 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42854 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42856 * math/libm-test.c: Support platforms without multiple rounding modes.
42857 * math/bug-nextafter.c: Support platforms without FP exceptions.
42858 * math/bug-nexttoward.c: Likewise.
42859 * math/test-fenv.c: Likewise.
42860 * math/test-misc.c: Likewise.
42861 * stdlib/bug-getcontext.c: Likewise.
42863 2012-05-17 Andreas Jaeger <aj@suse.de>
42865 * manual/examples/search.c (critter_cmp): Change signature to
42867 * manual/string.texi (Collation Functions): Likewise.
42869 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42871 * bits/types.h: Fold copyright years.
42872 * bits/typesizes.h: Likewise.
42873 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42877 * time/time.h: Likewise.
42879 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42882 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42883 in instead of returning them. Return void.
42884 (__libc_mallinfo): Accumulate over all arenas.
42885 (__malloc_stats): Adjust for change in int_mallinfo interface.
42887 2012-05-16 Roland McGrath <roland@hack.frob.com>
42890 * configure.in (NM): Add AC_CHECK_TOOL for it.
42891 (libc_extra_cflags): New substituted variable.
42892 Check for -fstack-protector being used implicitly.
42893 * configure: Regenerated.
42894 * config.make.in (config-extra-cflags): New variable,
42895 gets @libc_extra_cflags@.
42896 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42899 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42900 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42901 * configure: Regenerated.
42902 * config.make.in (CPPUNDEFS): New substituted variable.
42903 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42904 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42905 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42907 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42909 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42910 (mq_attr): Use __syscall_slong_t.
42912 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42914 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42915 Check __x86_64__ instead of __WORDSIZE.
42916 (_STAT_VER_LINUX): Likewise.
42917 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42918 __syscall_ulong_t and __syscall_slong_t.
42919 (stat64): Likewise.
42921 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42923 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42925 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42927 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42929 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42931 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42934 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42935 include <bits/wordsize.h>. Check __x86_64__ instead of
42937 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42939 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42942 include <bits/wordsize.h>. Check __x86_64__ instead of
42944 (user_regs_struct): Use "__extension__ unsigned long long"
42945 instead of "unsigned long" if __x86_64__ is defined.
42946 (user): Likewise. Pad after pointer field if __ILP32__ is
42949 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42951 * configure.in (makeinfo): Require version 4.5 or later. Allow
42953 * configure: Regenerated.
42954 * manual/install.texi (texinfo): Increase version requirement to
42956 * INSTALL: Regenerated.
42958 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42960 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42962 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42964 * sysdeps/x86_64/x32/ffs.c: New file.
42966 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42968 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42969 defined. Use __syscall_ulong_t.
42970 (shminfo): Use __syscall_ulong_t.
42971 (shm_info): Likewise.
42973 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42976 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42978 (msgqnum_t): Use __syscall_ulong_t.
42979 (msglen_t): Likewise.
42980 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42983 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42984 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42986 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42988 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42989 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42991 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42994 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42995 include <bits/wordsize.h>. Check __x86_64__ instead of
42998 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42999 "unsigned long long int" if __x86_64__ is defined.
43000 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43003 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43004 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43006 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43008 (GET_PC): Cast to uintptr_t first.
43009 (GET_FRAME): Likewise.
43010 (GET_STACK): Likewise.
43012 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43018 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43019 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43020 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43021 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43022 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43023 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43024 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43025 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43026 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43027 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43029 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43030 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43031 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43034 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43036 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43039 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43040 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43042 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43044 * Makerules (+depfiles): Also collect depfiles from .oS in
43046 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43047 .oS, $(libnldbl-routines)).
43049 * Makerules (native-compile-mkdep-flags): Define.
43050 * sunrpc/Makefile (extra-objs): Add $(addprefix
43051 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43052 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43053 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43054 calling $(make-target-directory).
43056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43058 * bits/types.h (__snseconds_t): Removed.
43059 * time/time.h (struct timespec): Replace __snseconds_t with
43061 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43062 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43065 (__SNSECONDS_T_TYPE): Likewise.
43066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43067 (__SNSECONDS_T_TYPE): Likewise.
43068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43069 (__SNSECONDS_T_TYPE): Likewise.
43071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43073 * sysdeps/mach/hurd/bits/typesizes.h
43074 (__SYSCALL_SLONG_TYPE): New macro.
43075 (__SYSCALL_ULONG_TYPE): Likewise.
43077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43079 * bits/types.h (__syscall_slong_t): New type.
43080 (__syscall_ulong_t): Likewise.
43082 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43083 (__SYSCALL_ULONG_TYPE): Likewise.
43084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43085 (__SYSCALL_SLONG_TYPE): Likewise.
43086 (__SYSCALL_ULONG_TYPE): Likewise.
43087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43088 (__SYSCALL_SLONG_TYPE): Likewise.
43089 (__SYSCALL_ULONG_TYPE): Likewise.
43090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43091 (__SYSCALL_SLONG_TYPE): Likewise.
43092 (__SYSCALL_ULONG_TYPE): Likewise.
43094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43096 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43097 Add sigaltstack-offsets.sym.
43098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43099 <sigaltstack-offsets.h>.
43100 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43101 longjmp_msg pointer.
43102 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43103 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43105 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43107 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43109 * elf/stackguard-macros.h: Remove file.
43110 * sysdeps/generic/stackguard-macros.h: New file.
43111 * sysdeps/i386/stackguard-macros.h: Likewise.
43112 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43113 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43114 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43115 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43116 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43117 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43118 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43119 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43120 <elf/stackguard-macros.h>.
43123 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43124 __aligned__ in attribute.
43125 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43126 (gregset_t): Likewise.
43128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43130 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43131 * sysdeps/x86_64/64/Implies-after: Here. New file.
43132 * sysdeps/x86_64/x32/Implies-after: New file.
43134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43136 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43137 and access return value for _dl_profile_fixup. Use R10_LP to
43140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43142 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43146 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43147 * sysdeps/x86_64/x32/sysdep.h: New file.
43149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43151 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43152 * sysdeps/x86_64/setjmp.S: Likewise.
43154 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43158 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43159 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43160 remove unused global constant.
43162 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43164 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43165 include of <not-cancel.h>.
43167 2012-05-15 Roland McGrath <roland@hack.frob.com>
43169 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43171 2012-05-15 Jeff Law <law@redhat.com>
43172 Andreas Jaeger <aj@suse.de>
43175 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43177 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43178 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43179 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43180 code changing __hst_map_handle.map.
43182 2012-05-15 Roland McGrath <roland@hack.frob.com>
43184 * configure.in (sysnames): Look for Implies-before and Implies-after
43186 * configure: Regenerated.
43188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43190 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43191 8-byte data alignment with LP_SIZE alignment.
43193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43200 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43204 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43205 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43212 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43213 (stackinfo_sub_sp): Likewise.
43215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43232 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43236 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43237 into R11_LP and load __x86_64_shared_cache_size_half into
43240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43242 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43245 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43253 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43254 powerpc32/power7/fpu/s_logb.c via #include.
43255 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43256 powerpc32/power7/fpu/s_logbf.c via #include.
43257 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43258 powerpc32/power7/fpu/s_logbl.c via #include.
43260 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43262 * README.libm: Remove file.
43264 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43266 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43267 count for x32. Use R*_LP and omit operand-size suffix.
43269 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43271 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43272 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43273 * sysdeps/x86_64/x32/shlib-versions: New file.
43275 2012-05-14 Roland McGrath <roland@hack.frob.com>
43277 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43278 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43279 Use _dl_fatal_printf instead.
43281 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43283 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43284 set if not set by the user. Do not allow for being unset.
43285 * sysdeps/unix/sysv/linux/configure: Regenerated.
43287 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43289 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43290 the `q' suffix from lea and replace .quad with ASM_ADDR.
43292 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43295 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43297 (PTR_DEMANGLE): Likewise.
43299 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43301 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43303 (ASM_ADDR): Likewise.
43304 (RAX_LP): Likewise.
43305 (RBP_LP): Likewise.
43306 (RBX_LP): Likewise.
43307 (RCX_LP): Likewise.
43308 (RDI_LP): Likewise.
43309 (RSI_LP): Likewise.
43310 (RSP_LP): Likewise.
43313 (R10_LP): Likewise.
43314 (R10_LP): Likewise.
43315 (R11_LP): Likewise.
43316 (R12_LP): Likewise.
43317 (R13_LP): Likewise.
43318 (R14_LP): Likewise.
43319 (R15_LP): Likewise.
43321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43323 * sysdeps/x86_64/x32/dl-machine.h: New file.
43325 2012-05-14 Andreas Jaeger <aj@suse.de>
43327 * manual/Makefile (subdir): Remove export of subdir.
43328 (all): Remove target.
43329 (.PHONY): Remove all from list.
43330 (mkinstalldirs): Remove.
43331 (.PHONY): Remove installdirs from list.
43332 ($(inst_infodir)/libc.info): Use make-target-directory.
43333 (installdirs): Remove.
43334 (subdir_%): Remove.
43335 (glibc-targets): Remove.
43338 ($(objpfx)stubs ../po/manual.pot): Remove.
43339 ($(objpfx)stamp%): Remove.
43340 (make-target-directory): Remove.
43341 (subdir_install): Remove.
43342 (routines): Remove.
43349 * manual/.gitignore: Remove, it's not needed anymore.
43350 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43352 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43354 (texis): Renamed to $(objpfx)texis.
43355 (texis-path): New, contains path to generated files.
43356 (chapters.%): Use texis-path for complete path, add extra argument
43358 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43359 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43360 (summary,texi, stamp-summary): Use complete path of
43361 files. Generate files in build dir.
43362 (dir-add.texi): Build in build dir.
43363 (libm-err.texi,stamp-libm-err): Likewise.
43364 (version.texi, stamp-version): Likewise.
43365 (.%c.texi): Likewise.
43366 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43367 (mostlyclean): Remove target.
43368 (realclean): Remove target.
43369 (generated): Add new variable with contents from mostlyclean and
43370 realclean, remove entries duplicated in common-mostlyclean, add
43371 stamp-libm-err and stamp-version.
43372 (generated-dirs): Add libc directory.
43373 ($(inst_infodir)/libc.info): Install files from build dir.
43375 * manual/install.texi (Configuring and compiling): Adjust since
43376 the info files are not part of the tar ball anymore.
43378 2012-05-14 Andreas Jaeger <aj@suse.de>
43380 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43383 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43387 to 2.2.0 where earlier.
43388 * sysdeps/unix/sysv/linux/configure: Regenerated.
43389 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43390 Remove conditional code.
43391 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43392 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43393 Remove conditional code.
43394 [!__NR_lchown]: Likewise.
43395 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43396 [__NR_lchown]: Likewise.
43397 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43398 comment referencing __ASSUME_LCHOWN_SYSCALL.
43399 * sysdeps/unix/sysv/linux/i386/sigaction.c
43400 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43401 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43402 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43403 Remove conditional code.
43404 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43405 (__protocol_available): Remove #if 0 code.
43406 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43408 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43409 * sysdeps/unix/sysv/linux/kernel-features.h
43410 (__ASSUME_GETCWD_SYSCALL): Don't define.
43411 (__ASSUME_REALTIME_SIGNALS): Likewise.
43412 (__ASSUME_PREAD_SYSCALL): Likewise.
43413 (__ASSUME_PWRITE_SYSCALL): Likewise.
43414 (__ASSUME_POLL_SYSCALL): Likewise.
43415 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43416 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43418 (__ASSUME_SIOCGIFNAME): Don't define.
43419 (__ASSUME_MSG_NOSIGNAL): Likewise.
43420 (__ASSUME_SENDFILE): Define unconditionally.
43421 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43422 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43424 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43425 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43426 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43427 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43428 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43429 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43430 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43432 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43435 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43438 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43441 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43442 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43444 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43447 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43448 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43450 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43453 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43455 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43456 Remove conditional code.
43457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43458 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43459 Remove conditional code.
43460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43461 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43462 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43463 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43464 Remove conditional code.
43465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43466 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43467 Remove conditional code.
43468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43469 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43470 Remove conditional code.
43471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43472 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43473 Remove conditional code.
43474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43475 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43476 Remove conditional code.
43477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43478 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43481 * sysdeps/unix/sysv/linux/sigaction.c
43482 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43483 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43484 * sysdeps/unix/sysv/linux/sigpending.c
43485 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43486 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43487 * sysdeps/unix/sysv/linux/sigprocmask.c
43488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43490 * sysdeps/unix/sysv/linux/sigsuspend.c
43491 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43492 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43493 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43494 (__libc_missing_rt_sigs): Remove.
43495 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43496 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43497 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43498 Remove conditional code.
43499 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43500 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43502 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43503 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43504 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43505 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43507 2012-05-14 Andreas Jaeger <aj@suse.de>
43509 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43510 it's not used in glibc.
43511 (__coshm1): Likewise.
43512 (__acosh1p): Likewise.
43515 * manual/string.texi (Copying and Concatenation): Add missing
43516 variable in concat example.
43517 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43519 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43522 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43523 __builtin_clzl with __builtin_clzll.
43525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43528 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43531 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43533 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43534 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43535 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43538 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43540 * NEWS: Update ia64 info.
43542 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43544 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43547 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43549 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43550 * sysdeps/unix/syscalls.list (dup3): Likewise.
43551 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43552 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43554 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43556 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43557 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43559 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43561 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43563 (TLS_IE): Use mov/add instead of movq/addq to load thread
43565 (TLS_GD_PREFIX): New.
43568 2012-05-11 David S. Miller <davem@davemloft.net>
43570 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43571 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43572 (_FPU_SETCW): Likewise.
43574 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43576 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43577 is 32-byte aligned.
43579 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43582 * iconvdata/gb18030.c: Update tables.
43583 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43584 characters specially.
43585 (BODY for TO_LOOP): Add encoding of missing ranges.
43587 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43590 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43591 * sysdeps/mach/hurd/dup3.c: Likewise.
43592 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43593 * sysdeps/powerpc/memmove.c:: Likewise.
43595 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43598 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43600 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43602 * elf/elf.h (R_X86_64_RELATIVE64): New.
43603 (R_X86_64_NUM): Updated.
43604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43605 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43606 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43607 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43608 tst-quad1pie tst-quad2pie
43609 (modules-names): Add tst-quadmod1 tst-quadmod2.
43610 ($(objpfx)tst-quad1): New dependency.
43611 ($(objpfx)tst-quad2): Likewise.
43612 ($(objpfx)tst-quad1pie): Likewise.
43613 ($(objpfx)tst-quad2pie): Likewise.
43614 * sysdeps/x86_64/tst-quad1.c: New file.
43615 * sysdeps/x86_64/tst-quad1pie.c: New file.
43616 * sysdeps/x86_64/tst-quad2.c: Likewise.
43617 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43618 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43619 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43620 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43621 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43625 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43626 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43627 * streams/stropts.h (t_scalar_t): Define type.
43629 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43630 (_PATH_PRESERVE): Set to "/var/lib".
43631 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43633 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43636 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43637 if __dir_mkfile succeeded.
43639 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43640 checking for _hurd_dtablesize. Unlock it right after having
43641 finished _hurd_dtable allocation.
43643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43645 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43646 * sysdeps/mach/hurd/configure: Regenerated.
43647 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43648 special-casing to...
43649 * sysdeps/gnu/configure.in: ... this new file.
43650 * sysdeps/unix/sysv/linux/configure: Regenerated.
43651 * sysdeps/gnu/configure: New generated file.
43653 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43654 for Linux: use nsec instead of usec, as well as:
43655 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43656 members of type struct timespec.
43657 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43659 (struct stat64): Likewise.
43660 (_STATBUF_ST_NSEC): New macro.
43661 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43663 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43664 __strtoul_internal rather than strtoul.
43666 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43668 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43673 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43674 which preserves existing values.
43675 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43677 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43679 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43680 TIMEOUT values. Return EINVAL for NFDS values either negative or
43681 greater than FD_SETSIZE.
43683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43685 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43686 allocated, call __vm_protect to finish enabling the existing space, and
43687 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43688 allocate the remainder.
43690 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43692 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43693 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43695 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43697 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43698 sysdeps/mach/hurd/readlink.c.
43700 * posix/tst-sysconf.c (posix_options): Only use
43701 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43702 _POSIX_SYNCHRONIZED_IO when they are defined
43703 * sysdeps/mach/hurd/bits/posix_opt.h:
43704 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43705 (_XOPEN_REALTIME): Undefine macro.
43706 (_XOPEN_REALTIME_THREADS): Undefine macro.
43707 (_XOPEN_SHM): Undefine macro.
43708 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43710 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43712 (_POSIX_ASYNC_IO): Undefine macro.
43713 (_POSIX_PRIORITIZED_IO): Undefine macro.
43714 (_POSIX_SPIN_LOCKS): Define macro to -1.
43716 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43717 SA_NODEFER, SA_RESETHAND.
43718 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43719 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43722 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43724 * elf/Makefile (pldd-modules): Define unconditionally.
43726 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43728 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43732 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43733 Return ENOENT when name is empty.
43734 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43738 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43740 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43744 Fix mlock in all cases except non-readable pages.
43745 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43746 instead of VM_PROT_ALL as parameter to __vm_wire function.
43748 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43749 (__mkdir): When path is `/', just fail with EEXIST.
43750 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43752 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43754 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43755 <sys/uio.h> (for writev).
43756 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43757 and <sys/param.h> (for MIN).
43759 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43761 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43762 REQUESTED_TIME. Properly set the remaining time and return EINTR
43765 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43767 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43768 Depend on against $(link-rpcuserlibs).
43770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43772 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43773 (__libc_stack_end): Do not use attribute_relro.
43774 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43775 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43776 to libthread-provided value.
43777 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43780 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43783 * bits/libc-lock.h (__libc_once_get): New macro.
43784 * sysdeps/mach/bits/libc-lock.h: Likewise.
43785 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43786 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43787 instead of using implementation details.
43789 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43790 * libio/freopen.c: Likewise.
43791 * libio/freopen64.c: Likewise.
43792 * misc/syslog.c: Likewise.
43793 * nscd/connections.c: Likewise.
43794 * nscd/netgroupcache.c: Likewise.
43795 * sysdeps/posix/getcwd.c: Likewise.
43797 2012-05-10 Roland McGrath <roland@hack.frob.com>
43799 * math/w_ilogbf.c: Add #include <limits.h>.
43801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43803 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43804 path instead of returning without unlocking.
43806 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43807 immediate-write ioctls.
43808 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43812 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43813 __builtin_frame_address instead of making assumptions about the
43814 location of the return address relative to DATA. Force early load of
43815 the return address.
43816 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43817 __builtin_frame_address.
43820 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43821 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43822 implement dup3 and do some further code clean-ups.
43823 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43824 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43828 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43830 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43831 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43832 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43833 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43834 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43837 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43838 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43839 when handler == SIG_ERR, not when handler != SIG_ERR.
43841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43843 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43844 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43847 accept4 for GNU Hurd.
43848 * include/sys/socket.h (__libc_accept4): New prototype.
43849 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43850 to implement __libc_accept4.
43851 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43853 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43855 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43856 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43857 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43858 signal-defines.sym.
43860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43862 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43864 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43866 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43867 assertion on O_CLOEXEC flag.
43868 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43869 * hurd/intern-fd.c: Likewise.
43870 * hurd/port2fd.c: Likewise.
43872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43875 * bits/in.h (IPV6_PKTINFO): Define new macro.
43876 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43878 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43883 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43885 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43886 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43888 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43889 * math/libm-test.inc (logb_test) : Additional logb tests.
43891 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43892 Andreas Jaeger <aj@suse.de>
43894 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43895 * configure: Regenerated.
43896 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43897 * config.make.in (link-obsolete-rpc): New substituted variable.
43898 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43899 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43900 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43901 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43902 so that libc.a contains the symbols.
43903 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43904 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43905 * sunrpc/auth_none.c: Likewise.
43906 * sunrpc/auth_unix.c: Likewise.
43907 * sunrpc/authdes_prot.c: Likewise.
43908 * sunrpc/authuxprot.c: Likewise.
43909 * sunrpc/clnt_gen.c: Likewise.
43910 * sunrpc/clnt_perr.c: Likewise.
43911 * sunrpc/clnt_raw.c: Likewise.
43912 * sunrpc/clnt_simp.c: Likewise.
43913 * sunrpc/clnt_tcp.c: Likewise.
43914 * sunrpc/clnt_udp.c: Likewise.
43915 * sunrpc/clnt_unix.c: Likewise.
43916 * sunrpc/des_crypt.c: Likewise.
43917 * sunrpc/des_soft.c: Likewise.
43918 * sunrpc/get_myaddr.c: Likewise.
43919 * sunrpc/key_call.c: Likewise.
43920 * sunrpc/key_prot.c: Likewise.
43921 * sunrpc/netname.c: Likewise.
43922 * sunrpc/pm_getmaps.c: Likewise.
43923 * sunrpc/pm_getport.c: Likewise.
43924 * sunrpc/pmap_clnt.c: Likewise.
43925 * sunrpc/pmap_prot.c: Likewise.
43926 * sunrpc/pmap_prot2.c: Likewise.
43927 * sunrpc/pmap_rmt.c: Likewise.
43928 * sunrpc/publickey.c: Likewise.
43929 * sunrpc/rpc_cmsg.c: Likewise.
43930 * sunrpc/rpc_common.c: Likewise.
43931 * sunrpc/rpc_dtable.c: Likewise.
43932 * sunrpc/rpc_prot.c: Likewise.
43933 * sunrpc/rpc_thread.c: Likewise.
43934 * sunrpc/rtime.c: Likewise.
43935 * sunrpc/svc.c: Likewise.
43936 * sunrpc/svc_auth.c: Likewise.
43937 * sunrpc/svc_raw.c: Likewise.
43938 * sunrpc/svc_run.c: Likewise.
43939 * sunrpc/svc_tcp.c: Likewise.
43940 * sunrpc/svc_udp.c: Likewise.
43941 * sunrpc/svc_unix.c: Likewise.
43942 * sunrpc/svcauth_des.c: Likewise.
43943 * sunrpc/xcrypt.c: Likewise.
43944 * sunrpc/xdr.c: Likewise.
43945 * sunrpc/xdr_array.c: Likewise.
43946 * sunrpc/xdr_float.c: Likewise.
43947 * sunrpc/xdr_intXX_t.c: Likewise.
43948 * sunrpc/xdr_mem.c: Likewise.
43949 * sunrpc/xdr_rec.c: Likewise.
43950 * sunrpc/xdr_ref.c: Likewise.
43951 * sunrpc/xdr_sizeof.c: Likewise.
43952 * sunrpc/xdr_stdio.c: Likewise.
43954 2012-05-10 Roland McGrath <roland@hack.frob.com>
43956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43957 change. Update copyright years.
43959 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43961 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43963 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43964 Joseph Myers <joseph@codesourcery.com>
43965 Paul Pluzhnikov <ppluzhnikov@google.com>
43968 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43970 [cross-compiling] (extra-libs): Likewise.
43971 [cross-compiling] (extra-libs-others): Likewise.
43972 [cross-compiling] (librpcsvc-routines): Likewise.
43973 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43974 [cross-compiling] (omit-deps): Likewise.
43975 (sunrpc-CPPFLAGS): New variable.
43976 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43977 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43978 (cross-rpcgen-objs): New variable.
43979 (extra-objs): Append $(cross-rpcgen-objs).
43980 ($(cross-rpcgen-objs)): New rule.
43981 ($(objpfx)cross-rpcgen): Likewise.
43982 (rpcgen-cmd): Define to use $(built-program-file). Expand
43984 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43985 ($(objpfx)x%.stmp): Likewise.
43986 * sunrpc/proto.h [IS_IN_build] (_): Define.
43987 [IS_IN_build] (_libc_intl_domainname): Likewise.
43989 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43992 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43993 and R_X86_64_TPOFF64.
43995 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43997 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43998 sysdeps/unix/sysv/syscalls.list.
44001 * sysdeps/unix/sysv/syscalls.list: Remove file.
44003 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44006 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44007 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44008 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44009 (__LC_IDENTIFICATION): Make these macros useful in #if
44010 expressions, as required by C99.
44012 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44014 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44015 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44018 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44020 * stdlib/longlong.h: Updated from GCC.
44022 2012-05-09 Andreas Jaeger <aj@suse.de>
44024 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44025 default is first entry.
44026 (run_mode): Set type.
44027 (main): Remove informal message about syslog.
44028 (options): Fix typo.
44031 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44034 (llrintf): Likewise.
44035 (llrint): Likewise.
44038 (nearbyint): Likewise.
44039 (nearbyintf): Likewise.
44041 2012-05-09 Andreas Jaeger <aj@suse.de>
44042 Pedro Alves <palves@redhat.com>
44044 * nscd/nscd.c (run_mode): Use enum.
44045 (main): Cleanup coding style issue.
44047 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44048 Andreas Jaeger <aj@suse.de>
44050 * nscd/nscd.c (go_background): Replaced with...
44051 (run_mode): ... this.
44052 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44053 (options): Add -F --foreground.
44054 (main): Implement it.
44055 (parse_opt): Parse it.
44057 2012-05-09 Andreas Jaeger <aj@suse.de>
44060 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44061 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44062 -Wconversion warning.
44063 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44066 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44068 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44070 (LC_ALL): Use macro-int-constant.
44071 (LC_COLLATE): Likewise.
44072 (LC_CTYPE): Likewise.
44073 (LC_MESSAGES): Likewise.
44074 (LC_MONETARY): Likewise.
44075 (LC_NUMERIC): Likewise.
44076 (LC_TIME): Likewise.
44077 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44078 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44080 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44082 [C99-based standards] (float_t): Expect type.
44083 [C99-based standards] (double_t): Expect type.
44084 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44086 [C99-based standards] (HUGE_VALL): Likewise.
44087 [C99-based standards] (INFINITY): Likewise.
44088 [C99-based standards] (NAN): Likewise.
44089 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44090 [C99-based standards] (FP_NAN): Likewise.
44091 [C99-based standards] (FP_NORMAL): Likewise.
44092 [C99-based standards] (FP_SUBNORMAL): Likewise.
44093 [C99-based standards] (FP_ZERO): Likewise.
44094 [C99-based standards] (FP_FAST_FMA): Use
44095 optional-macro-int-constant. Specify type. Require == 1.
44096 [C99-based standards] (FP_FAST_FMAF): Likewise.
44097 [C99-based standards] (FP_FAST_FMAL): Likewise.
44098 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44099 [C99-based standards] (FP_ILOGBNAN): Likewise.
44100 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44102 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44103 [C99-based standards] (math_errhandling): Specify type.
44104 [ISO99 || ISO11] (signgam): Do not allow.
44105 [non-C99-based standards] (copysignf): Do not allow.
44106 [non-C99-based standards] (exp2f): Likewise.
44107 [non-C99-based standards] (log2f): Likewise.
44108 [non-C99-based standards] (modff): Allow.
44109 [non-C99-based standards] (erff): Do not allow.
44110 [non-C99-based standards] (erfcf): Likewise.
44111 [non-C99-based standards] (gammaf): Likewise.
44112 [non-C99-based standards] (hypotf): Likewise.
44113 [non-C99-based standards] (j0f): Likewise.
44114 [non-C99-based standards] (j1f): Likewise.
44115 [non-C99-based standards] (jnf): Likewise.
44116 [non-C99-based standards] (lgammaf): Likewise.
44117 [non-C99-based standards] (tgammaf): Likewise.
44118 [non-C99-based standards] (y0f): Likewise.
44119 [non-C99-based standards] (y1f): Likewise.
44120 [non-C99-based standards] (ynf): Likewise.
44121 [non-C99-based standards] (isnanf): Likewise.
44122 [non-C99-based standards] (acoshf): Likewise.
44123 [non-C99-based standards] (asinhf): Likewise.
44124 [non-C99-based standards] (atanhf): Likewise.
44125 [non-C99-based standards] (cbrtf): Likewise.
44126 [non-C99-based standards] (expm1f): Likewise.
44127 [non-C99-based standards] (ilogbf): Likewise.
44128 [non-C99-based standards] (log1pf): Likewise.
44129 [non-C99-based standards] (logbf): Likewise.
44130 [non-C99-based standards] (nextafterf): Likewise.
44131 [non-C99-based standards] (remainderf): Likewise.
44132 [non-C99-based standards] (rintf): Likewise.
44133 [non-C99-based standards] (scalbf): Likewise.
44134 [non-C99-based standards] (copysignl): Likewise.
44135 [non-C99-based standards] (exp2l): Likewise.
44136 [non-C99-based standards] (log2l): Likewise.
44137 [non-C99-based standards] (modfl): Allow.
44138 [non-C99-based standards] (erfl): Do not allow.
44139 [non-C99-based standards] (erfcl): Likewise.
44140 [non-C99-based standards] (gammal): Likewise.
44141 [non-C99-based standards] (hypotl): Likewise.
44142 [non-C99-based standards] (j0l): Likewise.
44143 [non-C99-based standards] (j1l): Likewise.
44144 [non-C99-based standards] (jnl): Likewise.
44145 [non-C99-based standards] (lgammal): Likewise.
44146 [non-C99-based standards] (tgammal): Likewise.
44147 [non-C99-based standards] (y0l): Likewise.
44148 [non-C99-based standards] (y1l): Likewise.
44149 [non-C99-based standards] (ynl): Likewise.
44150 [non-C99-based standards] (isnanl): Likewise.
44151 [non-C99-based standards] (acoshl): Likewise.
44152 [non-C99-based standards] (asinhl): Likewise.
44153 [non-C99-based standards] (atanhl): Likewise.
44154 [non-C99-based standards] (cbrtl): Likewise.
44155 [non-C99-based standards] (expm1l): Likewise.
44156 [non-C99-based standards] (ilogbl): Likewise.
44157 [non-C99-based standards] (log1pl): Likewise.
44158 [non-C99-based standards] (logbl): Likewise.
44159 [non-C99-based standards] (nextafterl): Likewise.
44160 [non-C99-based standards] (remainderl): Likewise.
44161 [non-C99-based standards] (rintl): Likewise.
44162 [non-C99-based standards] (scalbl): Likewise.
44163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44164 [non-C99-based standards] (FP_*): Do not allow.
44165 [C99-based standards] (FP_*): Change to
44166 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44167 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44169 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44170 (SIG_ERR): Likewise.
44171 [X/Open-based standards] (SIG_HOLD): Likewise.
44172 (SIG_IGN): Likewise.
44173 (SIGABRT): Use macro-int-constant. Specify type. Require
44175 (SIGFPE): Likewise.
44176 (SIGILL): Likewise.
44177 (SIGINT): Likewise.
44178 (SIGSEGV): Likewise.
44179 (SIGTER): Likewise.
44180 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44181 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44182 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44183 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44184 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44185 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44186 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44187 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44188 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44189 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44190 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44191 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44192 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44193 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44194 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44195 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44196 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44197 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44198 [X/Open-based standards] (SIGTRAP): Likewise.
44199 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44200 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44201 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44202 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44203 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44206 2012-05-08 Ian Wienand <ianw@vmware.com>
44209 * time/tzset.c (__tzset_parse_tz): Update default rules for
44210 daylight time changes in the Energy Policy Act of 2005.
44212 2012-05-09 Andreas Jaeger <aj@suse.de>
44215 * elf/ldconfig.c (parse_conf): Change string to make clear that
44216 ldconfig only issued a warning if ld.so.conf does not exist.
44218 2012-05-08 David S. Miller <davem@davemloft.net>
44220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44221 movxtod instead of popping the value on the stack.
44223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44225 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44227 * config.h.in: Add HAVE_ARM_PCS_VFP.
44229 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44232 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44233 checking but the checks are disabled for any reason.
44235 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44237 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44238 and ELF64_R_TYPE with ELFW(R_TYPE).
44240 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44242 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44243 (ulimit): Likewise.
44245 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44246 (settimeofday): Likewise.
44248 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44250 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44251 a struct th_u2 inside the union, and move tu_block/tu_code into
44252 a new th_u3 union of tu_block/tu_code inside of that. Move
44253 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44254 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44255 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44256 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44257 (th_stuff): Change to th_u1.tu_stuff.
44259 (th_msg): Change to th_u1.th_u2.tu_data.
44261 2012-05-07 David S. Miller <davem@davemloft.net>
44263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44266 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44267 (SETUP_PIC_REG): Use it.
44268 (SETUP_PIC_REG_LEAF): Use it.
44270 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44274 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44276 (EXPL_FINITE): Likewise.
44277 (FLDLOG): Likewise.
44278 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44279 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44281 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44283 (EXPL_FINITE): Likewise.
44284 (FLDLOG): Likewise.
44285 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44286 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44288 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44289 test of -max_value argument for long double.
44290 * sysdeps/i386/fpu/libm-test-ulps: Update.
44291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44293 2012-05-06 David S. Miller <davem@davemloft.net>
44295 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44296 quad soft-float symbols whose references which are compiler
44298 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44300 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44304 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44306 (EXPL_FINITE): Likewise.
44307 (FLDLOG): Likewise.
44310 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44311 Adjust comments for base varying.
44312 (__expl_finite): Change alias to EXPL_FINITE.
44313 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44315 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44316 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44317 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44318 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44321 (EXPL_FINITE): Likewise.
44322 (FLDLOG): Likewise.
44325 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44326 Adjust comments for base varying.
44327 (__expl_finite): Change alias to EXPL_FINITE.
44328 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44333 * math/libm-test.inc (check_float_internal): Correct ulp
44334 calculation for subnormal expected results.
44336 2012-05-06 Andreas Jaeger <aj@suse.de>
44338 * Makeconfig (+math-flags): New, set to -frounding-math.
44339 (+cflags): Add +math-flags so that all of glibc gets compiled with
44342 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44344 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44346 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44352 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44353 (__ieee754_expl): Allow for and saturate large arguments.
44354 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44355 (u_threshold): Likewise.
44356 (__exp): Call __ieee754_exp before checking for overflow and
44358 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44359 (u_threshold): Likewise.
44360 (__expf): Call __ieee754_expf before checking for overflow and
44362 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44363 (u_threshold): Likewise.
44364 (__expl): Call __ieee754_expl before checking for overflow and
44366 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44367 (__ieee754_expl): Allow for and saturate large arguments.
44368 * math/libm-test.inc (exp_test): Add another test. Do not allow
44369 missing overflow exception on overflow.
44370 (expm1_test): Do not allow missing overflow exception on overflow.
44372 * sysdeps/i386/fpu/e_expl.c: Move to ...
44373 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44374 rather than using inline asm.
44375 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44376 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44377 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44379 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44382 (signal): Likewise.
44386 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44388 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44389 sysdeps/unix/common/syscalls.list.
44390 (fchmod): Likewise.
44391 (fchown): Likewise.
44392 (ftruncate): Likewise.
44393 (getrusage): Likewise.
44394 (gettimeofday): Likewise.
44395 (setpgid): Likewise.
44396 (setregid): Likewise.
44397 (setreuid): Likewise.
44398 (sigaction): Likewise.
44399 (truncate): Likewise.
44400 (vhangup): Likewise.
44401 * sysdeps/unix/common/syscalls.list: Remove file.
44402 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44403 * sysdeps/unix/sysv/linux/Implies: Likewise.
44405 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44407 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44409 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44413 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44416 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44419 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44425 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44431 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44435 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44439 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44442 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44446 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44450 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44452 * sysdeps/unix/common/bits/dirent.h: Remove file.
44453 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44455 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44456 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44457 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44458 * sysdeps/unix/bsd/isatty.c: Likewise.
44459 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44460 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44461 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44463 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44466 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44467 long double comparison inaccuracies.
44468 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44471 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44473 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44476 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44480 nonzero digits before rounding a hex value.
44481 * stdlib/tst-strtod.c (tests): Add another test.
44483 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44485 * sysdeps/s390/fpu/libm-test-ulps: Update.
44487 2012-05-03 Andreas Jaeger <aj@suse.de>
44489 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44490 does not get optimized out.
44491 (malloc_opt_barrier): New.
44493 2012-05-03 Andreas Jaeger <aj@suse.de>
44494 Roland McGrath <roland@hack.frob.com>
44496 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44497 intermediate file deletion.
44498 (generated): Add .symlist files.
44500 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44503 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44504 Redirect under this condition.
44505 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44506 [__USE_GNU] (__dprintf_chk): Not under this condition.
44507 [__USE_GNU] (__vdprintf_chk): Likewise.
44508 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44509 under this condition.
44510 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44511 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44512 [__USE_XOPEN2K8] (vdprintf): Likewise.
44513 [__USE_GNU] (__dprintf_chk): Not under this condition.
44514 [__USE_GNU] (__vdprintf_chk): Likewise.
44515 [__USE_GNU] (dprintf): Likewise.
44516 [__USE_GNU] (vdprintf): Likewise.
44518 2012-05-03 Roland McGrath <roland@hack.frob.com>
44520 * elf/Makefile (common-generated): Set this instead of generated for
44521 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44522 $(all-built-dso)-derived lists.
44524 2012-05-03 Andreas Jaeger <aj@suse.de>
44526 * sysdeps/i386/fpu/libm-test-ulps: Update.
44529 * FAQ.in: Likewise.
44530 * scripts/gen-FAQ.pl: Likewise.
44531 * manual/install.texi (Installation): Point to online location of
44533 * Makefile (files-for-dist): Remove FAQ.
44536 2012-05-02 Allan McRae <allan@archlinux.org>
44538 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44539 (LDFLAGS-reldepmod5.so): Likewise.
44540 (LDFLAGS-reldep6mod1.so): Likewise.
44541 (LDFLAGS-reldep6mod4.so): Likewise.
44542 (LDFLAGS-reldep8mod3.so): Likewise.
44543 (LDFLAGS-unload4mod1.so): Likewise.
44544 (LDFLAGS-unload4mod2.so): Likewise.
44545 (LDFLAGS-tst-initorder): Likewise.
44546 (LDFLAGS-tst-initordera2.so): Likewise.
44547 (LDFLAGS-tst-initordera3.so): Likewise.
44548 (LDFLAGS-tst-initordera4.so): Likewise.
44549 (LDFLAGS-tst-initorderb2.so): Likewise.
44550 (LDFLAGS-noload): Likewise.
44551 (LDFLAGS-next): Likewise.
44552 (LDFLAGS-order2mod1.so): Likewise.
44553 (LDFLAGS-order2mod2.so): Likewise.
44554 (LDFLAGS-tst-initorder2): Likewise.
44555 (LDFLAGS-tst-initorder2a.so): Likewise.
44556 (LDFLAGS-tst-initorder2b.so): Likewise.
44557 (LDFLAGS-tst-initorder2c.so): Likewise.
44558 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44560 2012-05-02 David S. Miller <davem@davemloft.net>
44562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44564 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44567 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44569 2012-05-02 Andreas Jaeger <aj@suse.de>
44571 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44572 since we manipulate rounding mode.
44573 (CPPFLAGS-test-idouble.c): Likewise.
44574 (CPPFLAGS-test-ifloat.c): Likewise.
44575 (CFLAGS-test-ldouble.c): Likewise.
44576 (CFLAGS-test-double.c): Likewise.
44577 (CFLAGS-test-float.c): Likewise.
44578 (CFLAGS-test-misc.c): Likewise.
44579 (CFLAGS-test-test-fenv.c): Likewise.
44581 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44586 comparisons to determine direction to adjust input.
44588 2012-05-01 Roland McGrath <roland@hack.frob.com>
44590 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44591 output to the target.
44593 * scripts/localplt.awk: New file.
44594 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44595 (check-localplt-CFLAGS): Variable removed.
44596 ($(all-built-dso:=.jmprel)): New static pattern rule.
44597 (generated): Add those targets.
44598 (localplt-built-dso): New variable.
44599 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44601 * elf/check-localplt.c: File removed.
44603 * scripts/check-execstack.awk: New file.
44604 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44605 (check-execstack-CFLAGS): Variable removed.
44606 ($(objpfx)check-execstack.h): Target removed.
44607 ($(objpfx)execstack-default): New target.
44608 (generated): Add that instead of check-execstack.h.
44609 ($(all-built-dso:=.phdr)): New static pattern rule.
44610 (generated): Add those targets.
44611 * elf/check-execstack.c: File removed.
44613 * scripts/check-textrel.awk: New file.
44614 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44615 (check-textrel-CFLAGS): Variable removed.
44616 (all-built-dso): Use := to define.o
44617 ($(all-built-dso:=.dyn)): New static pattern rule.
44618 (generated): Add those targets.
44619 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44620 * config.make.in (READELF): New substituted variable.
44621 * elf/check-textrel.c: File removed.
44623 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44625 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44627 * conform/data/ctype.h-data [C99-based standards] (isblank):
44629 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44630 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44632 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44633 Specify type. Require positive value.
44634 (EILSEQ): Likewise.
44635 (ERANGE): Likewise.
44636 [ISO || POSIX] (EILSEQ): Do not expect.
44637 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44638 Specify type. Require positive value.
44639 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44640 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44641 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44642 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44643 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44644 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44645 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44646 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44647 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44648 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44649 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44650 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44651 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44652 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44653 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44654 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44655 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44656 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44657 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44658 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44659 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44660 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44661 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44662 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44663 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44664 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44665 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44666 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44667 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44668 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44669 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44670 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44671 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44672 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44673 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44674 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44675 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44676 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44677 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44678 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44679 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44680 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44681 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44682 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44683 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44684 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44685 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44686 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44687 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44688 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44689 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44690 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44691 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44692 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44693 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44694 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44695 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44696 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44697 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44698 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44699 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44700 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44701 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44702 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44703 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44704 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44705 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44706 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44707 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44708 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44709 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44710 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44711 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44712 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44713 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44714 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44715 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44717 (FLT_ROUNDS): Expect as macro, not constant.
44718 (FLT_MANT_DIG): Use macro-int-constant.
44719 (DBL_MANT_DIG): Likewise.
44720 (LDBL_MANT_DIG): Likewise.
44721 (FLT_DIG): Likewise.
44722 (DBL_DIG): Likewise.
44723 (LDBL_DIG): Likewise.
44724 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44725 (DBL_MIN_EXP): Likewise.
44726 (LDBL_MIN_EXP): Likewise.
44727 (FLT_MAX_EXP): Use macro-int-constant.
44728 (DBL_MAX_EXP): Likewise.
44729 (LDBL_MAX_EXP): Likewise.
44730 (FLT_MAX_10_EXP): Likewise.
44731 (DBL_MAX_10_EXP): Likewise.
44732 (LDBL_MAX_10_EXP): Likewise.
44733 (FLT_MAX): Use macro-constant.
44734 (DBL_MAX): Likewise.
44735 (LDBL_MAX): Likewise.
44736 (FLT_EPSILON): Use macro-constant. Give upper bound.
44737 (DBL_EPSILON): Likewise.
44738 (LDBL_EPSILON): Likewise.
44739 (FLT_MIN): Likewise.
44740 (DBL_MIN): Likewise.
44741 (LDBL_MIN): Likewise.
44742 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44743 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44744 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44745 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44746 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44747 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44748 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44749 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44750 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44751 [ISO11] (FLT_TRUE_MIN): Likewise.
44752 [ISO11] (LDBL_TRUE_MIN): Likewise.
44753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44754 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44755 (SCHAR_MIN): Use macro-int-constant. Specify type.
44756 (SCHAR_MAX): Likewise.
44757 (UCHAR_MAX): Likewise.
44758 (CHAR_MIN): Likewise.
44759 (CHAR_MAX): Likewise.
44760 (MB_LEN_MAX): Use macro-int-constant.
44761 (SHRT_MIN): Use macro-int-constant. Specify type.
44762 (SHRT_MAX): Likewise.
44763 (USHRT_MAX): Likewise.
44764 (INT_MAX): Likewise.
44765 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44767 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44769 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44771 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44772 bound negative. Suffix upper bound with "L".
44773 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44775 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44777 [C99-based standards] (LLONG_MAX): Likewise.
44778 [C99-based standards] (ULLONG_MAX): Likewise.
44779 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44781 [ISO11] (max_align_t): Require type.
44782 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44784 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44785 from $CFLAGS, without defining away __attribute__ calls.
44786 (checknamespace): Use $CFLAGS_namespace.
44788 * conform/conformtest.pl (@keywords): Only include C99 keywords
44789 for standards based on C99 or C11.
44791 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44793 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44796 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44797 usability of symbols in #if.
44799 * conform/conformtest.pl: If macro or constant types start
44800 "promoted:", expect the symbol to be of the following type
44801 promoted by the integer promotions.
44803 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44804 in one place. Also handle "macro-constant".
44806 * conform/conformtest.pl: Only accept expected macro values with
44807 "==". Parse all "macro" lines in one place.
44808 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44810 * conform/conformtest.pl: Handle braced types on "constant" lines
44811 instead of handling "typed-constant".
44812 * conform/data/signal.h-data: Use "constant" instead of
44815 * conform/conformtest.pl: Handle "optional-" at start of lines in
44816 one place rather than duplicating several cases. Handle each
44817 format of "macro" line with initial "optional-".
44819 * conform/conformtest.pl: Only accept expected constant or
44820 optional-constant values with "==". Parse all "constant" lines in
44821 one place. Parse all "optional-constant" lines in one place.
44822 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44823 * conform/data/fmtmsg.h-data: Likewise.
44824 * conform/data/netinet/in.h-data: Likewise.
44825 * conform/data/tar.h-data: Likewise.
44826 * conform/data/limits.h-data: Use "==" form on "constant" and
44827 "optional-constant" lines.
44829 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44830 Use -std=c99 for XOPEN2K.
44831 (@knownproblems): Remove.
44832 (newtoken): Don't check %isknown.
44834 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44835 Do not expect macro.
44836 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44837 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44838 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44839 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44840 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44841 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44842 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44843 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44844 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44845 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44846 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44847 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44848 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44849 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44850 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44851 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44852 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44853 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44854 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44855 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44856 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44857 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44858 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44859 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44860 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44861 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44862 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44863 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44864 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44865 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44866 [XPG3] (acosh): Likewise.
44867 [XPG3] (asinh): Likewise.
44868 [XPG3] (atanh): Likewise.
44869 [XPG3] (cbrt): Likewise.
44870 [XPG3] (expm1): Likewise.
44871 [XPG3] (ilogb): Likewise.
44872 [XPG3] (log1p): Likewise.
44873 [XPG3] (logb): Likewise.
44874 [XPG3] (nextafter): Likewise.
44875 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44876 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44877 [XPG3] (remainder): Likewise.
44878 [XPG3] (rint): Likewise.
44879 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44880 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44881 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44882 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44883 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44884 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44885 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44886 [UNIX98 || XOPEN2K] (scalb): Expect.
44887 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44888 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44889 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44890 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44891 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44892 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44893 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44894 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44895 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44896 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44897 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44898 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44899 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44900 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44901 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44902 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44903 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44904 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44905 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44906 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44907 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44908 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44909 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44910 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44911 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44912 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44913 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44914 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44915 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44916 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44917 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44918 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44919 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44920 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44921 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44922 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44923 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44924 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44925 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44926 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44927 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44928 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44929 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44930 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44931 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44932 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44933 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44934 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44935 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44936 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44937 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44938 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44939 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44940 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44941 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44942 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44943 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44944 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44945 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44946 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44947 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44948 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44949 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44950 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44951 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44952 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44953 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44954 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44955 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44956 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44957 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44958 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44959 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44960 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44961 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44962 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44963 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44964 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44965 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44966 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44967 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44968 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44969 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44970 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44971 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44972 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44973 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44974 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44975 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44976 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44977 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44978 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44979 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44980 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44981 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44982 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44983 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44984 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44985 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44986 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44987 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44988 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44989 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44990 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44991 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44992 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44993 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44994 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44995 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44996 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44997 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44998 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44999 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45000 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45001 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45002 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45003 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45004 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45005 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45006 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45007 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45008 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45009 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45010 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45011 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45012 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45013 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45014 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45015 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45016 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45017 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45018 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45019 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45020 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45021 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45022 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45023 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45025 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45026 _XOPEN_SOURCE_EXTENDED for XPG4.
45028 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45030 * Makeconfig (localtime): Remove variable.
45031 (inst_localtime-file): Likewise.
45033 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45054 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45058 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45059 comparisons to determine direction to adjust input.
45060 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45061 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45062 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45071 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45073 * math/libm-test.inc (nexttoward_test): Add more tests.
45075 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45078 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45079 in version GLIBC_2.1, not GLIBC_2.0.
45080 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45083 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45086 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45088 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45089 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45090 * math/libm-test.inc (acos_test): Add more tests.
45091 (asin_test): Likewise.
45092 * sysdeps/i386/fpu/libm-test-ulps: Update.
45093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45096 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45098 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45099 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45100 * math/libm-test.inc (acos_test_tonearest): New function.
45101 (acos_test_towardzero): Likewise.
45102 (acos_test_downward): Likewise.
45103 (acos_test_upward): Likewise.
45104 (asin_test_tonearest): Likewise.
45105 (asin_test_towardzero): Likewise.
45106 (asin_test_downward): Likewise.
45107 (asin_test_upward): Likewise.
45108 (main): Call the new functions.
45109 * sysdeps/i386/fpu/libm-test-ulps: Update.
45110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45114 * math/e_exp10.c: Include <float.h>.
45115 (__ieee754_exp10): Handle underflow here rather than multiplying
45116 large negative argument by M_LN10.
45117 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45119 * math/e_exp10l.c: Include <float.h>.
45120 (__ieee754_exp10l): Handle underflow here rather than multiplying
45121 large negative argument by M_LN10l.
45122 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45123 spurious overflow exception on underflow.
45125 2012-04-29 Marek Polacek <polacek@redhat.com>
45127 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45128 (__fortify_function): New macro.
45129 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45130 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45131 __extern_always_inline.
45132 * libio/bits/stdio2.h: Likewise.
45133 * libio/bits/stdio.h: Likewise.
45134 * string/string.h: Likewise.
45135 * string/bits/string3.h: Likewise.
45136 * include/stdio.h: Likewise.
45137 * stdlib/bits/stdlib.h: Likewise.
45138 * stdlib/stdlib.h: Likewise.
45139 * rt/bits/mqueue2.h: Likewise.
45140 * rt/mqueue.h: Likewise.
45141 * posix/bits/unistd.h: Likewise.
45142 * posix/unistd.h: Likewise.
45143 * io/bits/poll2.h: Likewise.
45144 * io/bits/fcntl2.h: Likewise.
45145 * io/fcntl.h: Likewise.
45146 * io/sys/poll.h: Likewise.
45147 * misc/bits/syslog.h: Likewise.
45148 * misc/bits/syslog-ldbl.h: Likewise.
45149 * misc/sys/syslog.h: Likewise.
45150 * socket/bits/socket2.h: Likewise.
45151 * socket/sys/socket.h: Likewise.
45152 * debug/tst-chk1.c: Likewise.
45153 * wcsmbs/bits/wchar2.h: Likewise.
45154 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45155 * wcsmbs/wchar.h: Likewise.
45157 2012-04-29 Andreas Jaeger <aj@suse.de>
45159 * Makerules (tests): Remove enable-check-abi protection.
45160 (check-abi-warn): Remove.
45161 (check-abi-%): Remove check-abi-warn usage.
45163 * configure.in: Remove check-abi configure option.
45164 * configure: Regenerated.
45165 * config.make.in (enable-check-abi): Remove.
45167 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45170 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45171 double functions to double *_finite functions.
45174 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45175 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45177 * stdio-common/Makefile (tests): Add tst-sprintf3.
45178 * stdio-common/tst-sprintf3.c: New file.
45180 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45181 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45183 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45185 * conform/conformtest.pl: Remove duplicate typed-constant
45188 2012-04-28 David S. Miller <davem@davemloft.net>
45190 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45191 (check-abi-%): Remove AWK script prerequisite and explicit
45193 (check-abi): Rewrite to just diff the symlist with the abilist.
45194 (config-tls, config-abi-config): Delete, no longer used.
45195 (update-abi-%): Remove AWK script and explicit abilist directory.
45196 (update-abi): Rewrite to simply compare and conditionally copy the
45197 symlist and the sysdep abilist file. Remove update-abi-config
45199 * abilist/ld.abilist: Remove.
45200 * abilist/libBrokenLocale.abilist: Remove.
45201 * abilist/libanl.abilist: Remove.
45202 * abilist/libcrypt.abilist: Remove.
45203 * abilist/libdl.abilist: Remove.
45204 * abilist/librt.abilist: Remove.
45205 * abilist/libthread_db.abilist: Remove.
45206 * abilist/libutil.abilist: Remove.
45207 * scripts/extract-abilist.awk: Remove.
45208 * scripts/merge-abilist.awk: Remove.
45209 * sysdeps/generic/libcidn.abilist: New file.
45210 * sysdeps/generic/libnss_compat.abilist: New file.
45211 * sysdeps/generic/libnss_db.abilist: New file.
45212 * sysdeps/generic/libnss_dns.abilist: New file.
45213 * sysdeps/generic/libnss_files.abilist: New file.
45214 * sysdeps/generic/libnss_hesiod.abilist: New file.
45215 * sysdeps/generic/libnss_nis.abilist: New file.
45216 * sysdeps/generic/libnss_nisplus.abilist: New file.
45217 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45218 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45219 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45221 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45222 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45223 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45224 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45225 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45226 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45227 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45228 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45229 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45231 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45232 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45233 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45234 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45236 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45237 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45238 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45239 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45240 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45241 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45243 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45244 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45245 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45247 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45350 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45351 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45352 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45355 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45356 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45357 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45358 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45359 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45360 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45361 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45362 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45363 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45415 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45417 * conform/conformtest.pl: Fix typo in handling typed-constant from
45420 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45422 * README: Cut down references to pre-2.6 Linux kernels and
45423 Linuxthreads. Update lists of configurations in libc and ports
45424 and sort alphabetically. Say "or newer" with Linux kernel version
45427 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45429 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45432 * math/libm-test.inc (logb_test_downward): New test to expose
45433 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45436 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45439 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45441 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45442 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45444 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45446 * sysdeps/unix/i386/brk.S: Remove file.
45447 * sysdeps/unix/i386/dl-brk.S: Likewise.
45448 * sysdeps/unix/i386/pipe.S: Likewise.
45449 * sysdeps/unix/i386/sigreturn.S: Likewise.
45450 * sysdeps/unix/i386/syscall.S: Likewise.
45451 * sysdeps/unix/i386/vfork.S: Likewise.
45452 * sysdeps/unix/i386/wait.S: Likewise.
45454 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45455 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45457 * configure.in (arm*-none*): Do not allow without
45458 --enable-hacker-mode.
45459 (netbsd*): Remove case setting base_os.
45460 (386bsd*): Likewise.
45461 (freebsd*): Likewise.
45464 (sunos*): Likewise.
45465 (ultrix*): Likewise.
45466 (newsos*): Likewise.
45467 (dynix*): Likewise.
45473 (minix*): Likewise.
45474 (irix4*): Likewise.
45475 (irix6*): Likewise.
45476 (solaris[2-9]*): Likewise.
45478 * configure: Regenerated.
45480 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45483 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45484 overflow or cancellation in calculating denominator.
45485 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45487 down expression to avoid unexpected rounding in newer GCCs.
45488 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45490 2012-04-26 David S. Miller <davem@davemloft.net>
45492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45493 long-double compat symbols.
45494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45508 2012-04-25 David S. Miller <davem@davemloft.net>
45510 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45511 HWCAP_* values only after the memory barriers have been defined.
45512 (atomic_full_barrier): Define.
45513 (atomic_read_barrier): Define.
45514 (atomic_write_barrier): Define.
45516 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45518 * shlib-versions: Add libgcc_s version information.
45519 * sysdeps/generic/libgcc_s.h: Remove.
45520 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45522 * sysdeps/gnu/unwind-resume.c: Likewise.
45523 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45525 2012-04-25 David S. Miller <davem@davemloft.net>
45527 * sysdeps/unix/sparc/brk.S: Delete.
45528 * sysdeps/unix/sparc/dl-brk.S: Delete.
45529 * sysdeps/unix/sparc/pipe.S: Delete.
45530 * sysdeps/unix/sparc/sysdep.S: Delete.
45531 * sysdeps/unix/sparc/sysdep.h: Delete.
45532 * sysdeps/unix/sparc/vfork.S: Delete.
45533 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45534 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45536 (ret_ERRVAL, r0, r1, MOVE): Define.
45537 (JUMPTARGET): Remove.
45538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45539 sysdeps/unix/sparc/sysdep.h
45540 (ENTRY, END): Remove.
45541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45543 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45545 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45546 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45549 * timezone/README: Update upstream location and email address for
45551 * timezone/zdump.c: Update from tzcode 2012b.
45552 * timezone/zic.c: Likewise.
45554 * configure.in (libc_cv_as_needed): Remove test.
45555 * configure: Regenerated.
45556 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45557 conditional definition.
45558 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45559 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45560 * config.make.in (have-as-needed): Remove variable.
45562 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45563 Paul Pluzhnikov <ppluzhnikov@google.com>
45565 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45568 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45570 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45571 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45572 * sysdeps/sh/strlen.S: Likewise.
45574 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45576 * sysdeps/unix/fork.S: Remove file.
45577 * sysdeps/unix/i386/fork.S: Likewise.
45578 * sysdeps/unix/sparc/fork.S: Likewise.
45580 * sysdeps/unix/system.c: Remove file.
45581 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45583 * sysdeps/unix/getegid.S: Remove file.
45584 * sysdeps/unix/geteuid.S: Likewise.
45586 2012-04-24 Roland McGrath <roland@hack.frob.com>
45588 * scripts/check-localplt.awk: New file.
45589 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45591 * scripts/data/localplt-generic.data: Add a comment.
45593 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45594 NODE when __dir_mkfile failed.
45595 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45596 Reported by Ludovic Courtès <ludo@gnu.org>.
45598 2012-04-24 Andreas Jaeger <aj@suse.de>
45600 * Makerules (common-clean): Also remove gen-as-const-headers
45603 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45605 * Makerules (native-compile): Do not change working directory for
45606 build. Use $(OUTPUT_OPTION) in command.
45607 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45609 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45612 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45613 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45614 * math/libm-test.inc (floor_test): Add more tests.
45615 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45617 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45619 * sysdeps/unix/getdents.c: Remove file.
45620 * sysdeps/unix/sysv/getdents.c: Likewise.
45621 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45623 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45624 sysdeps/unix/mman/syscalls.list.
45626 (mprotect): Likewise.
45628 (munmap): Likewise.
45629 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45630 * sysdeps/unix/mman/syscalls.list: Remove.
45631 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45633 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45634 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45635 * configure: Regenerated.
45636 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45637 $(libgcc_s_suffix).
45638 * config.make.in (libgcc_s_suffix): Remove variable.
45640 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45642 * sysdeps/unix/sysv/gethostname.c: Move to ...
45643 * sysdeps/posix/gethostname.c: ... here.
45645 * sysdeps/unix/execve.S: Remove file.
45647 * sysdeps/unix/_exit.S: Remove file.
45649 2012-04-23 Andreas Jaeger <aj@suse.de>
45652 * manual/Makefile: Remove make dist support, there's no
45653 need for a stand-alone documentation tar ball.
45654 (TEXI2DVI): Define always, it's not in Makeconfig.
45657 (edition): Removed.
45658 (glibc-doc-$(edition).tar): Removed
45662 (ETAGS): Remove, it's in Makeconfig.
45663 (move-if-change): Remove, it's in Makeconfig.
45665 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45668 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45669 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45670 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45671 (strtod_l, strtof_l, strtold_l): Remove __wur.
45672 It is not necessarily an error to ignore strtol's return value.
45673 One can reliably look at the stored endptr to decide whether
45674 the number had valid syntax.
45676 2012-04-21 Andreas Jaeger <aj@suse.de>
45679 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45681 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45683 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45684 * sysdeps/unix/sysv/Versions: Remove file.
45686 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45691 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45695 version from __vm86.
45697 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45699 * sysdeps/unix/common/lxstat.c: Remove file.
45700 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45702 * sysdeps/unix/sysv/Makefile: Remove file.
45704 * sysdeps/unix/sysv/direct.h: Remove file.
45706 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45707 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45708 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45709 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45710 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45711 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45712 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45714 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45716 * sysdeps/unix/xmknod.c: Remove file.
45717 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45719 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45721 * sysdeps/unix/sysv/i386/time.S: Remove file.
45723 * sysdeps/unix/fxstat.c: Remove file.
45724 * sysdeps/unix/xstat.c: Likewise.
45725 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45727 * sysdeps/unix/sysv/sigaction.c: Remove file.
45729 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45730 (sysdep_headers): Remove variable.
45731 [termio.h not in sysdep_headers] (generated): Likewise.
45732 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45733 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45734 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45735 * sysdeps/unix/sysv/tcflow.c: Likewise.
45736 * sysdeps/unix/sysv/tcflush.c: Likewise.
45737 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45738 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45739 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45740 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45741 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45743 * sysdeps/unix/siglist.c: Remove file.
45745 * sysdeps/unix/getppid.S: Remove file.
45747 * sysdeps/unix/mkdir.c: Remove file.
45748 * sysdeps/unix/rmdir.c: Likewise.
45750 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45752 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45754 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45755 errlist-compat value.
45757 2012-04-18 David S. Miller <davem@davemloft.net>
45759 * sysdeps/generic/memcopy.h (reg_char): Delete.
45760 * debug/strcat_chk.c: Use char, not reg_char.
45761 * debug/strcpy_chk.c: Likewise.
45762 * debug/strncat_chk.c: Likewise.
45763 * debug/strncpy_chk.c: Likewise.
45764 * string/memchr.c: Likewise.
45765 * string/memrchr.c: Likewise.
45766 * string/rawmemchr.c: Likewise.
45767 * string/strcat.c: Likewise.
45768 * string/strchr.c: Likewise.
45769 * string/strchrnul.c: Likewise.
45770 * string/strcmp.c: Likewise.
45771 * string/strcpy.c: Likewise.
45772 * string/strncat.c: Likewise.
45773 * string/strncmp.c: Likewise.
45774 * string/strncpy.c: Likewise.
45776 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45778 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45779 __builtin_memcopy is called when src and dest ranges are known to not
45782 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45784 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45785 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45786 fwd_align_merge macro call.
45787 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45788 bwd_align_merge macro call.
45789 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45791 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45793 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45794 bwd_align_merge macros.
45795 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45796 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45799 2012-04-18 David S. Miller <davem@davemloft.net>
45801 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45803 2012-04-18 Andreas Jaeger <aj@suse.de>
45806 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45807 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45808 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45810 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45811 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45812 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45814 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45815 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45816 Adjust for changed ldbl-128 files.
45818 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45819 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45820 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45822 2012-04-17 David S. Miller <davem@davemloft.net>
45824 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45826 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45828 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45829 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45830 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45831 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45832 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45833 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45835 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45838 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45839 * math/libm-test.inc: Add ilogb errno and exception tests.
45840 * math/w_ilogb.c: New file: ilogb wrapper.
45841 * math/w_ilogbf.c: New file: ilogbf wrapper.
45842 * math/w_ilogbl.c: New file: ilogbl wrapper.
45843 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45844 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45845 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45846 exception being thrown with 0.0 as argument.
45847 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45848 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45849 exception being thrown with 0.0 as argument.
45850 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45851 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45852 exception being thrown with 0.0 as argument.
45853 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45854 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45855 exception being thrown with 0.0 as argument.
45856 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45857 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45858 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45859 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45860 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45861 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45862 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45863 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45864 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45866 2012-04-17 Petr Baudis <pasky@ucw.cz>
45868 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45871 2012-04-16 Marek Polacek <polacek@redhat.com>
45873 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45875 2012-04-16 Marek Polacek <polacek@redhat.com>
45877 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45878 operands of fdivp instruction.
45880 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45882 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45883 * elf/tst-auditmod3b.c: Likewise.
45884 * elf/tst-auditmod4b.c: Likewise.
45885 * elf/tst-auditmod5b.c: Likewise.
45886 * elf/tst-auditmod6b.c: Likewise.
45887 * elf/tst-auditmod6c.c: Likewise.
45888 * elf/tst-auditmod7b.c: Likewise.
45889 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45890 * sysdeps/x86_64/preconfigure.in: Likewise.
45891 * sysdeps/x86_64/preconfigure: Regenerated.
45893 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45895 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45898 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45900 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45901 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45903 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45906 * locale/iso-639.def: Fix gl language name. Spotted by
45909 2012-04-12 Roland McGrath <roland@hack.frob.com>
45912 * libio/libio.h (__io_write_fn): Update comment.
45914 2012-04-12 Petr Baudis <pasky@ucw.cz>
45917 * stdio.texi (Hook Functions): The user provided writer function
45918 is not allowed to return -1.
45920 2012-04-11 David S. Miller <davem@davemloft.net>
45922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45924 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45926 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45927 Add a leading slash to rtkaio.
45929 2012-04-11 Jim Meyering <meyering@redhat.com>
45932 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45933 It is not necessarily an error to ignore fwrite's return
45934 value. One can reliably use ferror to test for errors after
45937 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45939 * bits/types.h (__snseconds_t): New type.
45940 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45942 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45944 (__SNSECONDS_T_TYPE): Likewise.
45945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45946 (__SNSECONDS_T_TYPE): Likewise.
45947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45948 (__SNSECONDS_T_TYPE): Likewise.
45950 2012-04-10 Andreas Jaeger <aj@suse.de>
45953 * manual/time.texi (Processor Time): Return type of times is
45954 elapsed real time since an arbitrary point in the past.
45955 (CPU Time): Move CLK_TCK from here...
45956 (Processor Time): ...to here. Correct description.
45957 * manual/conf.texi (Constants for Sysconf): Correct description of
45960 2012-04-10 David S. Miller <davem@davemloft.net>
45963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45964 where the is a gap between DT_REL(A) and DT_JMPREL.
45966 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45968 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45969 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45970 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45972 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45974 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45975 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45976 (dl_main): Handle --inhibit-cache.
45977 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45979 * elf/dl-load.c (_dl_map_object): Use it.
45980 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45982 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45985 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45986 (__ieee754_powl): Saturate large exponents rather than testing for
45987 overflow of y*log2(x).
45988 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45989 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45993 * math/s_ctan.c: Include <float.h>.
45994 (__ctan): Avoid internal overflow or cancellation in calculating
45996 * math/s_ctanf.c: Likewise.
45997 * math/s_ctanl.c: Likewise.
45998 * math/s_ctanh.c: Likewise.
45999 * math/s_ctanhf.c: Likewise.
46000 * math/s_ctanhl.c: Likewise.
46001 * math/libm-test.inc (ctan_test): Add more tests.
46002 (ctanh_test): Likewise.
46003 * sysdeps/i386/fpu/libm-test-ulps: Update.
46004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46006 2012-04-09 Andreas Jaeger <aj@suse.de>
46009 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46010 is an optional BSD extension.
46013 * manual/stdio.texi (Opening Streams): Document additional fopen
46016 2012-04-09 Roland McGrath <roland@hack.frob.com>
46018 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46019 %eax without telling the compiler.
46021 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46024 * manual/install.texi: Use sourceware.org.
46026 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46029 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46030 (__ieee754_pow): Generate overflow and underflow using huge*huge
46031 and tiny*tiny rather than just returning constant infinity or zero
46032 for large exponents.
46033 * math/libm-test.inc (pow_test): Require overflow exceptions for
46034 applicable cases of large exponents.
46037 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46038 (__ieee754_pow): Use iterative multiplication algorithm only for
46039 integer exponents with absolute value below 1024. Check for odd
46040 integer exponents when using algorithm for real exponents.
46041 * math/libm-test.inc (pow_test): Add more tests.
46042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46044 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46047 * math/libm-test.inc (exp_test): Do not allow overflow exception
46050 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46053 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46054 instead of __kernel_standard_f.
46056 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46058 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46059 * sysdeps/x86_64/memset_chk.S: Likewise.
46061 2012-04-08 Andreas Jaeger <aj@suse.de>
46064 * manual/startup.texi (Environment Access): Describe return value
46065 for putenv and setenv.
46068 * manual/filesys.texi (Directory Entries): Add description for
46072 * manual/filesys.texi (Directory Entries): Clarify that it's file
46073 system not operating system in the description of DT_UNKNOWN.
46076 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46078 2012-04-08 Stephen Compall <s11@member.fsf.org>
46081 * manual/llio.texi (Opening and Closing Files): Add cross
46082 reference to explain mode argument.
46084 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46086 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46087 * sysdeps/x86_64/memset_chk.S: Likewise.
46089 2012-04-07 David S. Miller <davem@davemloft.net>
46091 * elf/elf.h (R_SPARC_WDISP10): Define.
46092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46095 R_SPARC_SIZE64 and R_SPARC_H34.
46097 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46100 conditions and remove no longer applicable assertion.
46102 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46104 * bits/byteswap.h: Include <features.h>.
46105 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46106 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46108 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46110 * bits/byteswap.h (__bswap_16): Removed.
46111 Include <bits/byteswap-16.h> to get __bswap_16.
46112 * sysdeps/i386/bits/byteswap.h: Likewise.
46113 * sysdeps/s390/bits/byteswap.h: Likewise.
46114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46115 * bits/byteswap-16.h: New file.
46116 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46117 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46118 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46119 * string/Makefile (headers): Add bits/byteswap-16.h.
46121 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46124 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46126 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46127 * nss/tst-nss-static.c: New.
46129 2012-04-06 Robert Millan <rmh@gnu.org>
46132 * manual/llio.texi (File Position Primitive): lseek
46133 refers to WHENCE when it really means OFFSET.
46135 2012-04-06 Andreas Jaeger <aj@suse.de>
46137 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46138 strncmp declarations.
46140 * abilist/libc.abilist: Add __poll and __ppoll.
46142 2012-04-05 David S. Miller <davem@davemloft.net>
46144 * scripts/check-local-headers.sh: Accept a host triplet in the
46145 path matched by the exclude regexp.
46147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46149 * sysdeps/powerpc/powerpc32/dl-machine.h
46150 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46151 * sysdeps/s390/s390-32/dl-machine.h
46152 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46153 * sysdeps/sparc/sparc32/dl-machine.h
46154 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46155 * sysdeps/sparc/sparc64/dl-machine.h
46156 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46158 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46160 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46161 undefined symbol errors.
46163 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46166 2012-04-05 Michael Matz <matz@suse.de>
46169 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46171 2012-04-05 Andreas Jaeger <aj@suse.de>
46174 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46177 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46179 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46180 which ROUND is no valid rounding mode.
46182 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46184 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46186 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46188 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46190 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46191 an exception using FPU order intentionally.
46193 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46195 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46196 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46197 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46198 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46200 2012-04-05 Simon Josefsson <simon@josefsson.org>
46203 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46204 EINVAL when BUFLEN is too smal.
46206 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46209 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46210 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46212 2012-04-03 Andreas Jaeger <aj@suse.de>
46215 * manual/setjmp.texi (System V contexts): Fix sentence.
46218 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46219 New macro for this case.
46220 [!__GNUC__] (__bswap_64): New inline function for this case.
46221 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46222 * bits/byteswap.h: Likewise.
46223 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46224 ull, guard with __GLIBC_HAVE_LONG_LONG.
46226 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46227 __GLIBC_HAVE_LONG_LONG.
46229 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46230 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46232 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46235 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46236 inptr and inend, rather than using last_ch.
46238 2012-04-02 David S. Miller <davem@davemloft.net>
46240 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46241 * stdio-common/printf-parse.h (read_int): Change return type to
46242 'int', return -1 on INT_MAX overflow.
46243 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46244 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46245 overflows INT_MAX. Check for overflow of in-format-string precision
46246 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46247 SIZE_MAX not INT_MAX for integer overflow test.
46248 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46249 skip the construct in the format string but do not record anything.
46250 * stdio-common/bug22.c: Adjust to test both width/prevision
46251 INT_MAX overflow as well as total length INT_MAX overflow. Check
46252 explicitly for proper errno values.
46254 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46256 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46258 * string/test-strcmp.c [! WIDE]: Likewise.
46259 * time/tst-mktime2.c: Likewise for INT_MAX.
46260 * string/test-string.h: #include <sys/param.h> for MIN.
46262 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46263 * sysdeps/i386/init-first.c (init): Likewise.
46264 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46265 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46266 * sysdeps/sh/init-first.c (init): Likewise.
46268 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46270 * po/ru.po: Update from translation team.
46271 * po/vi.po: Likewise.
46273 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46275 * resolv/nss_dns/dns-host.c: Merge copyright years.
46277 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46279 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46280 Optimize memcpy with prefetch if
46281 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46282 src, dst pointers have unequal 16 byte alignments.
46284 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46287 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46288 from a CNAME entry and return the minimum ttl for the query.
46289 (gaih_getanswer_slice): Likewise.
46291 2012-03-30 Jeff Law <law@redhat.com>
46293 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46295 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46296 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46298 * resolv/nss_dns/dns-host.c: Update copyright year.
46300 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46302 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46303 requests to save a system call. Fix check that all bytes are sent.
46305 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46306 comments for sendmmsg.
46308 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46311 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46312 with only 1 character between 0x0041 and 0x01b0.
46313 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46314 * wcsmbs/tst-mbsnrtowcs.c: New file.
46316 2012-03-29 David S. Miller <davem@davemloft.net>
46318 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46319 small copies by hand.
46321 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46324 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46325 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46328 2012-03-28 David S. Miller <davem@davemloft.net>
46330 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46331 that branches into memcpy.
46332 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46335 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46338 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46339 implementation too.
46340 * sysdeps/sparc/mempcpy.S: New file.
46342 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46343 the IFUNC routine in the libc case.
46344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46346 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46347 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46348 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46349 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46350 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46351 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46352 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46353 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46355 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46356 loop to 256 bytes instead of 64 bytes and fix test signedness.
46358 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46359 * sysdeps/sparc/sparc32/Makefile: rather than here...
46360 * sysdeps/sparc/sparc64/Makefile: and here.
46362 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46364 * malloc/mallocbug.c: Avoid warnings about unused variables.
46366 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46369 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46370 in the right place. Discard and retry query if response is
46371 larger than input buffer size.
46373 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46378 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46379 x for large integer exponent.
46380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46381 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46382 sign of result as needed afterwards.
46383 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46384 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46385 result for underflowing pow the same as for overflow.
46386 (__kernel_standard_l): Handle powl overflow and underflow here
46387 rather than calling __kernel_standard.
46388 * math/libm-test.inc (pow_test): Add more tests.
46403 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46404 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46405 (__kernel_standard_l): New function.
46406 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46408 * math/w_acosl.c (__acosl): Likewise.
46409 * math/w_asinl.c (__asinl): Likewise.
46410 * math/w_atan2l.c (__atan2l): Likewise.
46411 * math/w_atanhl.c (__atanhl): Likewise.
46412 * math/w_coshl.c (__coshl): Likewise.
46413 * math/w_exp10l.c (__exp10l): Likewise.
46414 * math/w_exp2l.c (__exp2l): Likewise.
46415 * math/w_fmodl.c (__fmodl): Likewise.
46416 * math/w_hypotl.c (__hypotl): Likewise.
46417 * math/w_j0l.c (__j0l, __y0l): Likewise.
46418 * math/w_j1l.c (__j1l, __y1l): Likewise.
46419 * math/w_jnl.c (__jnl, __ynl): Likewise.
46420 * math/w_lgammal.c (__lgammal): Likewise.
46421 * math/w_log10l.c (__log10l): Likewise.
46422 * math/w_log2l.c (__log2l): Likewise.
46423 * math/w_logl.c (__logl): Likewise.
46424 * math/w_powl.c (__powl): Likewise.
46425 * math/w_remainderl.c (__remainderl): Likewise.
46426 * math/w_scalbl.c (sysv_scalbl): Likewise.
46427 * math/w_sinhl.c (__sinhl): Likewise.
46428 * math/w_sqrtl.c (__sqrtl): Likewise.
46429 * math/w_tgammal.c (__tgammal): Likewise.
46430 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46431 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46432 * math/libm-test.inc (acos_test): Add more tests.
46433 (acosh_test): Likewise.
46434 (asin_test): Likewise.
46435 (atanh_test): Likewise.
46436 (exp_test): Likewise.
46437 (exp10_test): Likewise.
46438 (exp2_test): Likewise.
46439 (expm1_test): Likewise.
46440 (lgamma_test): Likewise.
46441 (log_test): Likewise.
46442 (log10_test): Likewise.
46443 (log1p_test): Likewise.
46444 (log2_test): Likewise.
46445 (pow_test): Do not allow some spurious overflow exceptions.
46446 (sqrt_test): Add more tests.
46447 (tgamma_test): Likewise.
46448 (y0_test): Likewise.
46449 (y1_test): Likewise.
46450 (yn_test): Likewise.
46452 2012-03-27 Anton Blanchard <anton@samba.org>
46454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46456 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46457 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46460 2012-03-27 David S. Miller <davem@davemloft.net>
46462 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46464 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46465 have-as-vis3 check.
46467 2012-03-27 Andreas Jaeger <aj@suse.de>
46469 * sysdeps/x86_64/elf/configure.in: Moved to ...
46470 * sysdeps/x86_64/configure.in: ... here.
46471 * sysdeps/x86_64/elf/start.S: Moved to ...
46472 * sysdeps/x86_64/start.S: ... here.
46473 * sysdeps/x86_64/elf/configure: Delete.
46475 * sysdeps/x86_64/configure.in: Merge contents from
46476 sysdeps/i386/configure.in (without i686 check).
46478 * sysdeps/i386/elf/Versions: Merge into ...
46479 * sysdeps/i386/Versions: ... this.
46480 * sysdeps/i386/elf/Versions: Delete file.
46481 * sysdeps/i386/elf/start.S: Moved to ...
46482 * sysdeps/i386/start.S: ...here.
46483 * sysdeps/i386/elf/configure.in: Merge into...
46484 * sysdeps/i386/configure.in: ...here.
46485 * sysdeps/i386/elf/configure.in: Delete file.
46486 * sysdeps/i386/elf/configure: Delete file.
46488 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46489 * debug/backtracesyms.c: ... here.
46490 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46491 * debug/backtracesymsfd.c: ... here.
46492 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46493 * sysdeps/generic/ifunc-sel.h: ... here.
46495 * sysdeps/unix/i386/start.c: Delete file.
46496 * sysdeps/unix/sparc/start.c: Delete file.
46497 * sysdeps/unix/start.c: Delete file.
46499 * sysdeps/sh/elf/configure.in: Moved to ...
46500 * sysdeps/sh/configure.in: ... here.
46501 * sysdeps/sh/elf/start.S: Moved to ...
46502 * sysdeps/sh/start.S: ... here.
46503 * sysdeps/sh/elf/configure: Delete file.
46505 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46506 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46507 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46508 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46509 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46510 * sysdeps/powerpc/powerpc64/start.S: here.
46511 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46512 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46513 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46514 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46515 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46517 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46518 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46519 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46520 * sysdeps/powerpc/powerpc32/start.S: ... here.
46521 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46522 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46523 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46525 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46526 * sysdeps/powerpc/ifunc-sel.h: ... here.
46527 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46528 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46530 * sysdeps/sparc/elf/configure.in: Moved to ...
46531 * sysdeps/sparc/configure.in: ... here.
46532 * sysdeps/sparc/elf/configure: Delete file.
46533 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46534 * sysdeps/sparc/sparc32/start.S: ... here.
46535 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46536 * sysdeps/sparc/sparc64/start.S: ... here.
46537 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46538 * sysdeps/sparc/sparc32/Makefile: ... this.
46539 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46540 * sysdeps/sparc/sparc64/Makefile: ... this.
46542 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46543 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46544 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46545 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46546 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46547 * sysdeps/s390/s390-32/setjmp.S: ... here.
46548 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46549 * sysdeps/s390/s390-32/configure.in: ... here.
46550 * sysdeps/s390/s390-32/elf/configure: Delete file.
46551 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46552 * sysdeps/s390/s390-32/start.S: ... here.
46554 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46555 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46556 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46557 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46558 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46559 * sysdeps/s390/s390-64/setjmp.S: ... here.
46560 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46561 * sysdeps/s390/s390-64/configure.in: ... here
46562 * sysdeps/s390/s390-64/elf/configure: Delete file.
46563 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46564 * sysdeps/s390/s390-64/start.S: ... here.
46565 * sysdeps/s390/s390-64/elf/configure: Delete.
46567 * configure.in: Remove support for elf directories in sysdeps.
46569 * configure: Regenerated.
46570 * sysdeps/i386/configure: Regenerated.
46571 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46572 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46573 * sysdeps/s390/s390-32/configure: Regenerated.
46574 * sysdeps/s390/s390-64/configure: Regenerated.
46575 * sysdeps/sh/configure: Regenerated.
46576 * sysdeps/sparc/configure: Regenerated.
46577 * sysdeps/x86_64/configure: Regenerated.
46579 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46583 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46584 denormal result into account.
46586 2012-03-25 Roland McGrath <roland@hack.frob.com>
46588 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46589 Reported by Allan McRae <allan@archlinux.org>.
46591 2012-03-23 Jeff Law <law@redhat.com>
46593 * nss/getnssent.c (__nss_getent): Fix typo.
46595 2012-03-23 David S. Miller <davem@davemloft.net>
46597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46599 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46601 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46602 to pad to uint64_t for each field.
46603 (dl_tls_index): Replace unsigned long with uint64_t.
46605 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46606 Paul Pluzhnikov <ppluzhnikov@google.com>
46609 * grp/Makefile (otherlibs): Don't set it.
46610 * inet/Makefile (otherlibs): Likewise.
46611 * login/Makefile (otherlibs): Likewise.
46612 * nscd/Makefile (otherlibs): Likewise.
46613 * posix/Makefile (otherlibs): Likewise.
46614 * pwd/Makefile (otherlibs): Likewise.
46615 * rt/Makefile (otherlibs): Likewise.
46616 * sunrpc/Makefile (otherlibs): Likewise.
46617 * nss/Makefile (otherlibs): Likewise.
46618 Add libnss_files to routines and static-only-routines.
46619 ($(objpfx)getent): Remove rule.
46620 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46621 static-only-routines.
46623 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46626 * math/s_cexp.c: Include <float.h>.
46627 (__cexp): Handle exp result overflowing not necessarily
46628 overflowing both real and imaginary parts of result.
46629 * math/s_cexpf.c: Likewise.
46630 * math/s_cexpl.c: Likewise.
46631 * math/libm-test.inc (cexp_test): Add more tests.
46632 * sysdeps/i386/fpu/libm-test-ulps: Update.
46633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46635 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46637 * include/link.h (ELFW): New macro.
46638 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46639 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46641 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46643 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46646 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46648 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46650 (struct La_x32_retval): Likewise.
46652 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46654 * sysdeps/x86_64/preconfigure.in: New file.
46655 * sysdeps/x86_64/preconfigure: New generated file.
46657 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46660 * math/e_exp2l.c: Include <float.h>.
46661 (__ieee754_exp2l): Handle overflow and underflow cases
46662 separately. Only pass fractional part of argument to
46664 * math/libm-test.inc (exp2_test): Add more tests.
46666 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46667 negating x to take absolute value.
46668 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46670 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46671 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46673 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46674 computing low part if x was negated.
46675 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46677 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46679 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46680 la_x32_gnu_pltexit.
46681 (pltexit): Cast int_retval to ptrdiff_t.
46682 * elf/tst-auditmod3b.c: Likewise.
46683 * elf/tst-auditmod4b.c: Likewise.
46684 * elf/tst-auditmod5b.c: Likewise.
46685 * elf/tst-auditmod6b.c: Likewise.
46686 * elf/tst-auditmod6c.c: Likewise.
46687 * elf/tst-auditmod7b.c: Likewise.
46689 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46690 and x32_gnu_pltexit.
46692 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46693 __ELF_NATIVE_CLASS.
46694 (La_x32_regs): New macro.
46695 (La_x32_retval): Likewise.
46696 (la_x32_gnu_pltenter): New function prototype.
46697 (la_x32_gnu_pltexit): Likewise.
46699 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46706 * configure.in (libc_cv_cc_nofma): Check for option to disable
46707 generation of FMA instructions.
46708 * configure: Regenerate.
46709 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46710 * sysdeps/ieee754/dbl-64/Makefile: New file.
46711 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46712 Remove brandred-fma4.
46713 (CFLAGS-brandred-fma4.c): Remove.
46714 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46715 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46717 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46720 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46722 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46723 LLONG_MAX != LONG_MAX.
46724 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46725 (_fitoa_word): Likewise.
46726 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46727 LLONG_MAX != LONG_MAX.
46728 * stdio-common/_itowa.h: Include <_itoa.h>.
46729 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46730 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46731 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46732 only if not defined.
46733 (_ITOA_WORD_TYPE): Likewise.
46734 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46735 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46737 2012-03-21 David S. Miller <davem@davemloft.net>
46739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46741 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46743 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46744 of x86_64 when setting libc_cv_slibdir, libdir and
46746 * sysdeps/unix/sysv/linux/configure: Regenerated.
46748 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46750 * manual/lang.texi (Old Varargs): Remove section.
46751 (How Variadic): Update menu.
46752 (va_start): Do not mention varargs.h.
46754 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46755 Joseph Myers <joseph@codesourcery.com>
46757 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46759 * configure: Regenerated.
46761 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46763 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46764 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46767 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46770 * Makefile (files-for-dist): Remove NOTES.
46771 (NOTES): Remove rule.
46772 * README: Don't refer to NOTES.
46773 * manual/creature.texi: Don't include macros.texi.
46774 * manual/intro.texi (creature.texi): Remove comment referring to
46777 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46778 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46779 * configure: Regenerated.
46780 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46781 LIBC_TRY_CC_OPTION.
46782 (libc_cv_as_i686): Likewise.
46783 (libc_cv_cc_avx): Likewise.
46784 (libc_cv_cc_sse2avx): Likewise.
46785 (libc_cv_cc_fma4): Likewise.
46786 (libc_cv_cc_novzeroupper): Likewise.
46787 * sysdeps/i386/configure: Regenerated.
46790 * sysdeps/i386/fpu/s_cexp.S: Remove.
46791 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46792 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46793 * math/libm-test.inc (cexp_test): Add more tests.
46794 * sysdeps/i386/fpu/libm-test-ulps: Update.
46795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46797 2012-03-21 Allan McRae <allan@archlinux.org>
46799 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46801 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46804 * math/w_exp2.c: Do not include <float.h>.
46805 (o_threshold, u_threshold): Remove.
46806 (__exp2): Calculate result before checking finiteness and calling
46808 * math/w_exp2f.c: Likewise.
46809 * math/w_exp2l.c: Likewise.
46810 * math/libm-test.inc (exp2_test): Require overflow exception for
46814 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46815 range of signed 64-bit integers before using fistpll. Remove
46816 checks for whether integers fit in mantissa bits.
46817 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46818 the range of signed 32-bit integers before using fistpl. Remove
46819 checks for whether integers fit in mantissa bits.
46820 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46821 (__ieee754_powl): Test for y outside the range of signed 64-bit
46822 integers before using fistpll. Reduce 64-bit values to 63-bit
46824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46825 divide-by-zero is raised for zero to large negative powers.
46826 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46827 (__ieee754_powl): Test for y outside the range of signed 64-bit
46828 integers before using fistpll. Reduce 64-bit values to 63-bit
46830 * math/libm-test.inc (pow_test): Add more tests.
46832 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46834 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46835 <stdio-common/_itoa.h>.
46836 * debug/segfault.c: Likewise.
46837 * elf/dl-cache.c: Likewise.
46838 * elf/dl-minimal.c: Likewise.
46839 * elf/dl-misc.c: Likewise.
46840 * elf/dl-sysdep.c: Likewise.
46841 * elf/dl-version.c: Likewise.
46842 * elf/rtld.c: Likewise.
46843 * hurd/hurdsock.c: Likewise.
46844 * hurd/lookup-retry.c: Likewise.
46845 * malloc/malloc.c: Likewise.
46846 * malloc/mtrace.c: Likewise.
46847 * nscd/nscd_getgr_r.c: Likewise.
46848 * nscd/nscd_getpw_r.c: Likewise.
46849 * nscd/nscd_getserv_r.c: Likewise.
46850 * posix/getopt_init.c: Likewise.
46851 * posix/wordexp.c: Likewise.
46852 * stdio-common/_itoa.c: Likewise.
46853 * stdio-common/printf_fphex.c: Likewise.
46854 * stdio-common/vfprintf.c: Likewise.
46855 * string/_strerror.c: Likewise.
46856 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46857 * sysdeps/i386/i686/hp-timing.h: Likewise.
46858 * sysdeps/mach/_strerror.c: Likewise.
46859 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46860 * sysdeps/mach/hurd/sethostid.c: Likewise.
46861 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46862 * sysdeps/mach/xpg-strerror.c: Likewise.
46863 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46864 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46865 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46866 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46867 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46868 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46869 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46870 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46871 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46872 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46873 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46874 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46875 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46876 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46877 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46878 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46879 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46880 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46881 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46882 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46883 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46885 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46887 * stdio-common/_itoa.h: Moved to ...
46888 * sysdeps/generic/_itoa.h: Here.
46890 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46892 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46893 instead of "_itoa.h" and "_itowa.h".
46894 * stdio-common/vfprintf.: Likewise.
46896 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46898 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46900 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46901 (__signbit): Likwise.
46902 (llrintf): Likwise.
46905 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46907 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46910 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46912 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46913 OVERFLOW_EXCEPTION_OK.
46914 * math/libm-test.inc ("Philosophy"): Update comment about
46916 (OVERFLOW_EXCEPTION): Define.
46917 (OVERFLOW_EXCEPTION_OK): Likewise.
46918 (INVALID_EXCEPTION_OK): Renumber.
46919 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46920 (IGNORE_ZERO_INF_SIGN): Likewise.
46921 (test_exceptions): Handle FE_OVERFLOW.
46922 (exp10_test): Expect overflow exceptions.
46923 (exp2_test): Likewise.
46924 (expm1_test): Likewise.
46925 (nextafter_test): Likewise.
46926 (pow_test): Likewise.
46927 (scalbn_test): Likewise.
46928 (scalbln_test): Likewise.
46930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46932 * sysdeps/x86_64/bits/atomic.h
46933 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46935 (atomic_exchange_acq): Likewise.
46936 (__arch_exchange_and_add_body): Likewise.
46937 (__arch_add_body): Likewise.
46938 (atomic_add_negative): Likewise.
46939 (atomic_add_zero): Likewise.
46941 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46943 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46944 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46946 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46948 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46949 Check __x86_64__ instead of __WORDSIZE.
46951 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46953 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46955 2012-03-19 David S. Miller <davem@davemloft.net>
46957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46959 * sysdeps/sparc/fpu/fenv_private.h: New file.
46960 * sysdeps/sparc/fpu/math_private.h: Use it.
46961 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46963 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46964 (libc_feholdexcept_setroundl): Remove.
46965 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46967 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46968 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46970 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46972 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46973 int64_t instead of long int.
46974 (INSERT_WORDS64): Likwise.
46976 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46978 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46979 _Unwind_GetCFA return to _Unwind_Ptr first.
46981 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46984 * math/s_clog.c: Include <float.h>.
46985 (__clog): Scale large or subnormal inputs.
46986 * math/s_clogf.c: Likewise.
46987 * math/s_clogl.c: Likewise.
46988 * math/s_clog10.c: Include <float.h>.
46989 (M_LOG10_2): Define.
46990 (__clog10): Scale large or subnormal inputs.
46991 * math/s_clog10f.c: Likewise.
46992 * math/s_clog10l.c: Likewise.
46993 * math/libm-test.inc (clog_test): Add more tests.
46994 (clog10_test): Likewise.
46995 * sysdeps/i386/fpu/libm-test-ulps: Update.
46996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46999 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47001 * math/libm-test.inc (atan2_test): Add another test.
47003 * Makerules (common-objdir-compile): Remove.
47004 * sysdeps/unix/Makefile (config-generated): Do not add
47005 $(unix-generated) to variable.
47006 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47007 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47009 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47011 [generic bits/local_lim.h] (before-compile): Do not append to
47013 [generic bits/local_lim.h] (common-generated): Likewise.
47014 [generic sys/param.h] (before-compile): Do not append to variable.
47015 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47016 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47017 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47018 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47020 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47021 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47022 [generic sys/param.h] ($(addprefix
47023 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47024 [generic sys/param.h] (common-generated): Do not append to
47026 [generic sys/param.h] (sysdep_headers): Likewise.
47027 [generic bits/errno.h] (before-compile): Do not append to
47029 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47031 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47032 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47033 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47034 [generic bits/errno.h] (common-generated): Do not append to
47036 [generic bits/ioctls.h] (before-compile): Do not append to
47038 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47040 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47041 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47042 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47044 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47045 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47046 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47047 [generic bits/ioctls.h] (common-generated): Do not append to
47049 [generic sys/syscall.h] (syscall.h): Remove variable.
47050 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47052 [generic sys/syscall.h] (before-compile): Do not append to
47054 [generic sys/syscall.h] (common-generated): Likewise.
47055 * sysdeps/unix/errnos-tmpl.c: Remove file.
47056 * sysdeps/unix/errnos.awk: Likewise.
47057 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47058 * sysdeps/unix/ioctls.awk: Likewise.
47059 * sysdeps/unix/mk-local_lim.c: Likewise.
47060 * sysdeps/unix/snarf-ioctls: Likewise.
47062 2012-03-19 Richard Henderson <rth@twiddle.net>
47064 * sysdeps/i386/fpu/fenv_private.h: New file.
47065 * sysdeps/i386/fpu/math_private.h: Use it.
47066 (math_opt_barrier, math_force_eval): Remove.
47067 (libc_feholdexcept_setround_53bit): Remove.
47068 (libc_feupdateenv_53bit): Remove.
47069 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47070 (math_opt_barrier, math_force_eval): Remove.
47071 (libc_feholdexcept): Remove.
47072 (libc_feholdexcept_setround): Remove.
47073 (libc_fetestexcept, libc_fesetenv): Remove.
47074 (libc_feupdateenv_test): Remove.
47075 (libc_feupdateenv, libc_feholdsetround): Remove.
47076 (libc_feresetround): Remove.
47078 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47079 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47081 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47082 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47083 (libc_feupdateenv_testl): New.
47084 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47085 (libc_feupdateenv_testf): New.
47086 (libc_feupdateenv): Use libc_feupdateenv_test.
47087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47088 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47090 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47091 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47092 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47093 (libc_feresetround_noex): New.
47094 (libc_feresetround_noexf): New.
47095 (libc_feresetround_noexl): New.
47096 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47097 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47098 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47099 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47104 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47105 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47106 SET_RESTORE_ROUND_NOEX.
47107 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47108 SET_RESTORE_ROUND_NOEXF.
47109 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47110 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47111 (libc_feholdsetroundf): New.
47112 (libc_feresetround, libc_feresetroundf): New.
47114 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47115 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47116 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47118 * sysdeps/generic/math_private.h: Include <fenv.h>.
47119 (default_libc_feholdexcept): New.
47120 (default_libc_feholdexcept_setround): New.
47121 (default_libc_fesetenv, default_libc_feupdateenv): New.
47122 (libc_feholdexcept): Only define if undefined.
47123 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47124 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47125 (libc_feholdexcept_setroundl): Likewise.
47126 (libc_feholdexcept_setround_53bit): Likewise.
47127 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47128 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47129 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47130 (libc_feupdateenv_53bit): Likewise.
47131 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47132 (libc_feholdexcept): Convert from macro to inline function.
47133 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47134 (libc_fesetenv, libc_feupdateenv): Likewise.
47136 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47137 not previously defined.
47138 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47139 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47140 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47141 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47142 * sysdeps/ieee754/flt-32/math_private.h: New file.
47143 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47144 math_private.h below SET_FLOAT_WORD.
47145 (__isnan, __isinf_ns, __finite): Remove.
47146 (__isnanf, __isinf_nsf, __finitef): Remove.
47148 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47152 2012-03-17 David S. Miller <davem@davemloft.net>
47155 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47158 2012-03-16 David S. Miller <davem@davemloft.net>
47160 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47164 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47166 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47167 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47168 sysdep_routines when subdir is sysvipc.
47169 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47170 __getshmlba helper.
47172 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47174 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47176 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47179 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47181 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47182 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47183 (__lround): Renamed to ...
47184 (__llround): This. Replace long int with long long int.
47185 Define lround functions as aliases of llround functions.
47186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47188 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47190 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47191 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47192 adresses to uintptr_t. Replace "long int" and "unsigned long
47193 int" with "greg_t" on va_arg.
47195 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47197 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47198 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47200 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47201 Move e_machine check before EI_CLASS check. Handle x32
47202 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47203 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47204 SKIP_EM_IA_64 and include
47205 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47207 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47208 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47209 (add_system_dir): New macro.
47211 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47212 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47214 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47225 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47227 * math/w_j0f.c (j0f): Likewise.
47229 * math/w_j0l.c (__j0l): Likewise.
47231 * math/w_j1.c (j1): Likewise.
47233 * math/w_j1f.c (j1f): Likewise.
47235 * math/w_j1l.c (__j1l): Likewise.
47237 * math/w_jn.c (jn): Likewise.
47239 * math/w_jnf.c (jnf): Likewise.
47241 * math/w_jnl.c (__jnl): Likewise.
47243 * math/libm-test.inc (j0_test): Add more tests.
47244 (j1_test): Likewise.
47245 (jn_test): Likewise. Add trailing semicolon to existing test.
47246 (y0_test): Likewise.
47247 (y1_test): Likewise.
47248 * sysdeps/i386/fpu/libm-test-ulps: Update.
47249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47253 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47254 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47255 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47256 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47257 (__tanl): Set errno for infinite argument.
47258 * sysdeps/i386/fpu/mptan.c: Remove.
47259 * sysdeps/i386/fpu/s_tan.S: Likewise.
47260 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47261 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47262 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47263 * math/libm-test.inc (tan_test): Add more tests and enable more
47264 tests for double and long double.
47265 * sysdeps/i386/fpu/libm-test-ulps: Update.
47266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47268 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47270 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47271 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47273 2012-03-16 Roland McGrath <roland@hack.frob.com>
47275 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47276 * configure.in: Use it for both main tree and add-ons.
47277 * configure: Regenerated.
47279 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47281 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47283 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47285 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47289 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47290 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47295 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47296 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47297 != 0 for prec == 2.
47298 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47299 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47300 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47301 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47302 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47303 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47304 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47305 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47306 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47307 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47308 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47309 * math/libm-test.inc (cos_test): Add more tests and enable more
47310 tests for long double.
47311 (sin_test): Likewise.
47312 (sincos_test): Likewise.
47313 * sysdeps/i386/fpu/libm-test-ulps: Update.
47314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47316 2012-03-16 David S. Miller <davem@davemloft.net>
47318 * sysdeps/sparc/fpu/math_private.h: New file.
47320 2012-03-15 David S. Miller <davem@davemloft.net>
47322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47336 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47337 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47339 * sysdeps/sparc/sparc-ifunc.h: New file.
47340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47385 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47387 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47391 2012-03-15 Andreas Jaeger <aj@suse.de>
47394 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47395 ieee754/flt-32 implementation for sin, cos and sincos.
47396 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47397 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47398 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47399 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47400 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47401 ieee754/flt-32 implementation for tan.
47403 * math/libm-test.inc (cos_test): Enable some large input tests for
47405 (sin_test): Likewise.
47406 (sincos_test): Likewise.
47407 (tan_test): Add tests for large input.
47409 * sysdeps/i386/fpu/libm-test-ulps: Update.
47411 2012-03-15 Andreas Jaeger <aj@suse.de>
47414 * math/libm-test.inc (cos_test): Add more test cases.
47415 (sin_test): Likewise.
47416 (sincos_test): Likewise.
47418 2012-03-15 Andreas Jaeger <aj@suse.de>
47421 * math/libm-test.inc (cos_test): Add a test case for large input
47423 (sin_test): Likewise.
47424 (sincos_test): Likewise.
47426 2012-03-15 Andreas Jaeger <aj@suse.de>
47427 Joseph Myers <joseph@codesourcery.com>
47430 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47431 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47432 * sysdeps/i386/fpu/branred.c: Likewise.
47433 * sysdeps/i386/fpu/dosincos.c: Likewise.
47434 * sysdeps/i386/fpu/mpa.c: Likewise.
47435 * sysdeps/i386/fpu/s_cos.S: Likewise.
47436 * sysdeps/i386/fpu/s_sin.S: Likewise.
47437 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47438 * sysdeps/i386/fpu/sincos32.c: Likewise.
47440 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47442 (libc_feupdateenv_53bit): Define.
47443 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47445 (libc_feupdateenv_53bit): Define.
47447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47448 53 bit (without extend i386 double precision).
47450 * math/libm-test.inc (sincos_test): Add tests for large input.
47454 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47456 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47460 2012-03-15 David S. Miller <davem@davemloft.net>
47462 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47463 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47464 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47465 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47489 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47490 fmin/fmax sysdep routines.
47491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47493 2012-03-14 David S. Miller <davem@davemloft.net>
47495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47567 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47572 * sysdeps/sparc/configure.in: New file.
47573 * sysdeps/sparc/configure: Generate.
47574 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47575 * configure: Regenerate.
47576 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47577 * config.make.in (have-as-vis3): New.
47578 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47579 available use -Av9d instead of -Av9a.
47580 * sysdeps/sparc/sparc64/Makefile: Likewise.
47581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47596 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47597 fzeros/fnegs to load 0x80000000 into a float register instead of
47599 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47601 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47605 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47606 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47607 ($(inst_includedir)/bits/syscall.h): Remove rule.
47608 ($(objpfx)bits/syscall.d): Include instead of
47609 $(objpfx)syscall-list.d.
47610 (generated): Change syscall-list.h and syscall-list.d to
47611 bits/syscall.h and bits/syscall.d.
47613 2012-03-14 Roland McGrath <roland@hack.frob.com>
47616 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47618 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47621 * math/s_csqrt.c: Include <float.h>.
47622 (__csqrt): Scale large or subnormal inputs.
47623 * math/s_csqrtf.c: Likewise.
47624 * math/s_csqrtl.c: Likewise.
47625 * math/libm-test.inc (csqrt_test): Add more tests.
47626 * sysdeps/i386/fpu/libm-test-ulps: Update.
47627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47630 * math/libm-test.inc (hypot_test): Add more tests.
47632 2012-03-13 David S. Miller <davem@davemloft.net>
47635 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47636 double-precision for the calculation instead of scaling.
47638 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47640 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47641 manipulate bits before adding and subtracting TWO52[sx].
47642 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47647 2012-03-13 David S. Miller <davem@davemloft.net>
47649 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47650 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47652 rtld-global-offsets.h
47653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47655 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47658 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47660 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47661 'err' in the ifdef scope in which it is actually used.
47663 * nss/nss_db/db-init.c: Include string.h
47665 2012-03-12 David S. Miller <davem@davemloft.net>
47667 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47668 masking out of the most significant byte of random value used.
47669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47670 Fix coding style in previous change.
47672 * sysdeps/unix/sysv/linux/kernel-features.h
47673 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47674 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47676 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47679 2012-03-11 David S. Miller <davem@davemloft.net>
47681 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47682 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47684 for 'resultvar' otherwise things get truncated on 64-bit.
47686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47687 Fix masking out of the most significant byte of random value used.
47689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47691 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47695 2012-03-09 David S. Miller <davem@davemloft.net>
47697 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47698 variables with appropriate CPP guards.
47699 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47700 from the frame pointer, not the stack pointer. Correct layout
47701 comments. Fix test on resulting framesize and the management of
47702 the outregs buffer for pltexit. Preserve floating point return
47703 values across _dl_call_pltexit call.
47704 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47705 framesize and the management of the outregs buffer for pltexit.
47706 Preserve floating point return values across _dl_call_pltexit
47708 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47709 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47710 (la_sparc64_gnu_pltexit): New functions.
47711 (print_exit): Fix format string for return register value.
47713 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47715 * sunrpc/Makefile (others): Add rpcgen.
47716 ($(objpfx)rpcgen): Remove special build rule and dependency on
47718 * sunrpc/rpcgen.c: New file.
47720 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47723 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47724 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47725 * sysdeps/i386/crti.S: Likewise.
47726 * sysdeps/i386/crtn.S: Likewise.
47727 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47728 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47729 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47730 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47731 * sysdeps/sh/crti.S: Likewise.
47732 * sysdeps/sh/crtn.S: Likewise.
47733 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47736 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47738 * locale/programs/locfile-kw.gperf: Likewise.
47739 * locale/programs/charmap-kw.h: Regenerated.
47740 * locale/programs/locfile-kw.h: Likewise.
47743 * intl/plural.y: Replace FSF snail mail address with URL.
47744 * intl/plural.c: Regenerated.
47746 2012-03-09 Richard Henderson <rth@twiddle.net>
47748 * include/math_private.h: Remove file.
47749 * math/math_private.h: Move file ...
47750 * sysdeps/generic/math_private.h: ... here.
47752 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47753 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47754 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47756 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47757 and <math_private.h>.
47758 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47759 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47760 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47761 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47762 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47763 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47764 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47766 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47767 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47769 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47770 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47772 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47773 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47774 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47775 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47776 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47777 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47779 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47780 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47782 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47784 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47788 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47790 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47791 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47792 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47793 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47794 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47795 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47796 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47797 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47798 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47799 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47800 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47801 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47802 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47803 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47804 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47805 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47807 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47808 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47809 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47810 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47811 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47812 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47813 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47814 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47815 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47816 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47817 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47819 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47821 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47822 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47823 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47824 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47825 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47826 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47827 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47828 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47832 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47833 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47838 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47841 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47842 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47845 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47846 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47847 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47848 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47849 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47850 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47851 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47852 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47853 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47854 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47855 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47857 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47858 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47859 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47860 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47861 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47862 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47863 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47864 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47865 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47866 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47868 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47869 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47870 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47871 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47872 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47873 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47874 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47875 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47876 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47877 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47878 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47879 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47880 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47881 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47882 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47883 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47884 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47885 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47886 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47887 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47888 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47889 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47890 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47891 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47892 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47894 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47895 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47896 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47897 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47898 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47899 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47900 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47901 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47902 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47903 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47904 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47905 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47906 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47907 * sysdeps/ieee754/k_standard.c: Likewise.
47908 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47909 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47911 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47912 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47913 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47914 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47915 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47916 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47918 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47920 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47921 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47922 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47923 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47924 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47925 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47926 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47927 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47928 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47929 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47930 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47931 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47932 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47933 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47934 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47935 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47936 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47937 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47938 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47939 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47940 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47941 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47942 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47943 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47944 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47945 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47946 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47947 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47948 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47949 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47950 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47951 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47952 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47953 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47954 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47955 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47956 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47957 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47958 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47959 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47961 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47964 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47981 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47985 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48001 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48011 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48012 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48016 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48017 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48025 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48026 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48027 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48029 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48030 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48031 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48033 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48034 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48035 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48036 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48037 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48038 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48039 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48040 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48041 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48042 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48043 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48044 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48045 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48047 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48048 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48049 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48050 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48051 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48052 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48053 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48054 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48055 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48056 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48057 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48058 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48059 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48060 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48061 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48062 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48063 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48064 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48065 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48066 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48067 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48068 * sysdeps/ieee754/s_lib_version.c: Likewise.
48069 * sysdeps/ieee754/s_matherr.c: Likewise.
48070 * sysdeps/ieee754/s_signgam.c: Likewise.
48071 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48072 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48073 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48074 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48075 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48076 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48077 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48078 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48079 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48080 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48081 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48082 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48083 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48084 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48085 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48086 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48087 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48088 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48089 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48093 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48095 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48096 * sunrpc/rpc_main.c: Likewise.
48097 * sunrpc/rpc_svcout.c: Likewise.
48099 2012-03-09 David S. Miller <davem@davemloft.net>
48101 * include/math_private.h: New file.
48103 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48105 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48106 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48107 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48108 from <bits/socket_type.h>.
48109 (enum __socket_type): Don't define here.
48110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48112 bits/socket_type.h.
48115 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48116 checking __USE_GNU.
48118 * Makerules ($(inst_includedir)/%.h): New rule.
48119 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48120 (install-others): Remove variable setting.
48121 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48123 2012-03-08 Richard Henderson <rth@twiddle.net>
48125 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48126 from macro to inline function; merge with the
48127 !__LIBC_INTERNAL_MATH_INLINES version.
48128 (__ieee754_sqrtf): Likewise.
48130 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48131 to inline function.
48132 (__rintf, __floor, __floorf): Likewise.
48134 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48135 macro to inline function.
48136 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48138 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48139 not <math/math_private.h>.
48141 2012-03-08 David S. Miller <davem@davemloft.net>
48143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48145 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48147 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48149 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48151 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48152 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48154 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48156 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48157 be defined individually, they must be defined as a block. Define
48158 S for printing a string instead of hidint the different by using a
48159 macro for adding the 'l'.
48160 * stdio-common/tst-fphex-wide.c: Adjust.
48162 2012-03-07 Marek Polacek <polacek@redhat.com>
48164 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48166 2012-03-08 Marek Polacek <polacek@redhat.com>
48169 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48170 * stdio-common/tst-fphex.c: Define a few macros to make the
48171 test reusable. Use them.
48172 * stdio-common/tst-fphex-wide.c: New file.
48174 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48177 * manual/macros.texi (gnusystems): New macro.
48178 (nongnusystems): Likewise.
48179 (gnulinuxhurdsystems): Likewise.
48180 (gnuhurdsystems): Likewise..
48181 (gnulinuxsystems): Likewise.
48182 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48183 variants of the GNU system, not "GNU system".
48184 * manual/conf.texi: Likewise.
48185 * manual/errno.texi: Likewise. Update example of errno macro
48187 * manual/filesys.texi: Likewise.
48188 (getumask): Document as specific to GNU/Hurd.
48189 * manual/install.texi: Likewise. Reword some references to
48191 * manual/intro.texi: Likewise.
48192 * manual/io.texi: Likewise.
48193 (File Name Portability): Detail which constraints are inapplicable
48194 to all GNU systems and which are only inapplicable to GNU/Hurd.
48195 * manual/job.texi: Likewise.
48196 * manual/llio.texi: Likewise.
48197 (O_NOCTTY): Document as present on GNU/Linux.
48198 * manual/maint.texi: Likewise.
48199 * manual/memory.texi: Likewise.
48200 * manual/pattern.texi: Likewise.
48201 * manual/pipe.texi: Likewise.
48202 * manual/process.texi: Likewise.
48203 * manual/resource.texi: Likewise.
48204 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48206 * manual/setjmp.texi: Likewise.
48207 * manual/signal.texi: Likewise.
48208 * manual/startup.texi: Likewise.
48209 * manual/stdio.texi: Likewise.
48210 * manual/terminal.texi: Likewise.
48211 (ONLCR): Document as POSIX.
48212 (OXTABS): Document availability on GNU/Linux as XTABS.
48213 (ONOEOT): Document availability separately from other bits.
48214 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48215 * manual/time.texi: Likewise.
48216 * manual/users.texi: Likewise.
48217 * INSTALL: Regenerated.
48218 * sysdeps/gnu/errlist.c: Regenerated.
48220 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48221 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48222 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48224 * configure: Regenerated.
48226 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48228 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48229 default includes instead of AC_HEADER_CHECK.
48230 * sysdeps/i386/configure: Regenerated.
48233 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48234 * math/s_cacoshf.c (__cacoshf): Likewise.
48235 * math/s_cacoshl.c (__cacoshl): Likewise.
48236 * math/s_casinh.c (__casinh): Set signs of result from argument.
48237 * math/s_casinhf.c (__casinhf): Likewise.
48238 * math/s_casinhl.c (__casinhl): Likewise.
48239 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48240 (casinh_test): Add more tests.
48241 * sysdeps/i386/fpu/libm-test-ulps: Update.
48242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48244 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48246 * po/zh_TW.po: Update from translation team.
48248 * login/Makefile (distribute): Remove variable.
48249 * catgets/Makefile: Likewise.
48250 * mach/Makefile: Likewise.
48251 * malloc/Makefile: Likewise.
48252 * misc/Makefile: Likewise.
48253 * iconv/Makefile: Likewise.
48254 * nscd/Makefile: Likewise.
48255 * hurd/Makefile: Likewise.
48256 * manual/Makefile: Likewise.
48257 * locale/Makefile: Likewise.
48258 * intl/Makefile: Likewise.
48259 * conform/Makefile: Likewise.
48260 * nss/Makefile: Likewise.
48261 * time/Makefile: Likewise.
48262 * soft-fp/Makefile: Likewise.
48263 * dirent/Makefile: Likewise.
48264 * gmon/Makefile: Likewise.
48265 * po/Makefile: Likewise.
48266 * rt/Makefile: Likewise.
48267 * socket/Makefile: Likewise.
48268 * math/Makefile: Likewise.
48269 * signal/Makefile: Likewise.
48270 * debug/Makefile: Likewise.
48271 * elf/Makefile: Likewise.
48272 * timezone/Makefile: Likewise.
48273 * stdlib/Makefile: Likewise.
48274 * iconvdata/Makefile: Likewise.
48275 * sunrpc/Makefile: Likewise.
48276 * io/Makefile: Likewise.
48277 * argp/Makefile: Likewise.
48278 * inet/Makefile: Likewise.
48279 * hesiod/Makefile: Likewise.
48280 * grp/Makefile: Likewise.
48281 * csu/Makefile: Likewise.
48282 * wctype/Makefile: Likewise.
48283 * crypt/Makefile: Likewise.
48284 * libio/Makefile: Likewise.
48285 * string/Makefile: Likewise.
48286 * nis/Makefile: Likewise.
48287 * resolv/Makefile: Likewise.
48288 * stdio-common/Makefile: Likewise.
48289 * wcsmbs/Makefile: Likewise.
48290 * dlfcn/Makefile: Likewise.
48291 * posix/Makefile: Likewise.
48294 * timezone/Makefile: Don't install timezone files, just the programs
48297 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48299 * nss/databases.def: Add missing gshadow entry.
48301 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48303 2012-03-06 Marek Polacek <polacek@redhat.com>
48306 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48307 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48308 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48309 * stdio-common/tst-long-dbl-fphex.c: New file.
48311 2012-03-06 David S. Miller <davem@davemloft.net>
48313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48314 (set_obp_int): New function.
48315 (get_obp_int): New function.
48316 (__get_clockfreq_via_dev_openprom): Likewise.
48317 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48318 Avoid unused variable warnings on 'val' and use builtin_expect.
48319 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48321 (INLINE_CLONE_SYSCALL): Likewise.
48323 2012-03-05 David S. Miller <davem@davemloft.net>
48325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48327 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48332 only for |x| >= 40.
48333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48335 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48338 Replace gettimeofday with __vdso_gettimeofday.
48340 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48341 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48342 __vdso_clock_gettime and __vdso_getcpu.
48344 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48345 time with __vdso_time.
48347 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48349 * manual/lang.texi (size_t): Note types to which size_t may be
48350 equivalent with the GNU C Library, but do not describe when
48351 differences between them are significant.
48353 2012-03-05 Andreas Jaeger <aj@suse.de>
48355 * sysdeps/i386/fpu/libm-test-ulps: Update.
48357 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48360 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48361 (__ieee754_pow): Save and restore rounding mode and use
48362 round-to-nearest for main computations.
48363 * math/libm-test.inc (pow_test_tonearest): New function.
48364 (pow_test_towardzero): Likewise.
48365 (pow_test_downward): Likewise.
48366 (pow_test_upward): Likewise.
48367 (main): Call the new functions.
48368 * sysdeps/i386/fpu/libm-test-ulps: Update.
48369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48372 * math/libm-test.inc (cosh_test_tonearest): New function.
48373 (cosh_test_towardzero): Likewise.
48374 (cosh_test_downward): Likewise.
48375 (cosh_test_upward): Likewise.
48376 (sinh_test_tonearest): Likewise.
48377 (sinh_test_towardzero): Likewise.
48378 (sinh_test_downward): Likewise.
48379 (sinh_test_upward): Likewise.
48380 (main): Call the new functions.
48381 * sysdeps/i386/fpu/libm-test-ulps: Update.
48382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48384 2012-03-05 Tom de Vries <tom@codesourcery.com>
48386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48387 default stack guard is set in last bytes.
48388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48390 2012-03-05 Kees Cook <keescook@chromium.org>
48392 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48395 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48396 possibly allocate from heap instead of stack.
48397 * stdio-common/bug-vfprintf-nargs.c: New file.
48398 * stdio-common/Makefile (tests): Add nargs overflow test.
48400 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48404 2012-03-03 Marek Polacek <polacek@redhat.com>
48406 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48407 * math/math_private.h: Likewise.
48408 * stdlib/tst-strtod.c: Likewise.
48409 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48410 * sysdeps/x86_64/bits/atomic.h: Likewise.
48412 2012-03-02 David S. Miller <davem@davemloft.net>
48414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48418 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48419 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48420 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48421 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48423 2012-03-02 Roland McGrath <roland@hack.frob.com>
48426 * manual/examples/README: New file, says the example source files
48427 can be used under GPL>=2.
48428 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48429 line containing just "*/".
48430 * manual/examples/add.c: Add copyright header (GPL>=2).
48431 * manual/examples/argp-ex1.c: Likewise.
48432 * manual/examples/argp-ex2.c: Likewise.
48433 * manual/examples/argp-ex3.c: Likewise.
48434 * manual/examples/argp-ex4.c: Likewise.
48435 * manual/examples/atexit.c: Likewise.
48436 * manual/examples/db.c: Likewise.
48437 * manual/examples/dir.c: Likewise.
48438 * manual/examples/dir2.c: Likewise.
48439 * manual/examples/execinfo.c: Likewise.
48440 * manual/examples/filecli.c: Likewise.
48441 * manual/examples/filesrv.c: Likewise.
48442 * manual/examples/fmtmsgexpl.c: Likewise.
48443 * manual/examples/genpass.c: Likewise.
48444 * manual/examples/inetcli.c: Likewise.
48445 * manual/examples/inetsrv.c: Likewise.
48446 * manual/examples/isockad.c: Likewise.
48447 * manual/examples/longopt.c: Likewise.
48448 * manual/examples/memopen.c: Likewise.
48449 * manual/examples/memstrm.c: Likewise.
48450 * manual/examples/mkfsock.c: Likewise.
48451 * manual/examples/mkisock.c: Likewise.
48452 * manual/examples/mygetpass.c: Likewise.
48453 * manual/examples/pipe.c: Likewise.
48454 * manual/examples/popen.c: Likewise.
48455 * manual/examples/rprintf.c: Likewise.
48456 * manual/examples/search.c: Likewise.
48457 * manual/examples/select.c: Likewise.
48458 * manual/examples/setjmp.c: Likewise.
48459 * manual/examples/sigh1.c: Likewise.
48460 * manual/examples/sigusr.c: Likewise.
48461 * manual/examples/stpcpy.c: Likewise.
48462 * manual/examples/strdupa.c: Likewise.
48463 * manual/examples/strftim.c: Likewise.
48464 * manual/examples/strncat.c: Likewise.
48465 * manual/examples/subopt.c: Likewise.
48466 * manual/examples/swapcontext.c: Likewise.
48467 * manual/examples/termios.c: Likewise.
48468 * manual/examples/testopt.c: Likewise.
48469 * manual/examples/testpass.c: Likewise.
48470 * manual/examples/timeval_subtract.c: Likewise.
48473 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48475 * manual/timeval_subtract.c.texi: ... here, new file.
48477 2012-03-02 David S. Miller <davem@davemloft.net>
48479 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48481 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48484 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48485 (__sin): Save and restore rounding mode and use round-to-nearest
48486 for all computations.
48487 (__cos): Save and restore rounding mode and use round-to-nearest
48488 for all computations.
48489 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48491 (tan): Save and restore rounding mode and use round-to-nearest for
48493 * math/libm-test.inc (cos_test_tonearest): New function.
48494 (cos_test_towardzero): Likewise.
48495 (cos_test_downward): Likewise.
48496 (cos_test_upward): Likewise.
48497 (sin_test_tonearest): Likewise.
48498 (sin_test_towardzero): Likewise.
48499 (sin_test_downward): Likewise.
48500 (sin_test_upward): Likewise.
48501 (tan_test_tonearest): Likewise.
48502 (tan_test_towardzero): Likewise.
48503 (tan_test_downward): Likewise.
48504 (tan_test_upward): Likewise.
48505 (main): Call the new functions.
48506 * sysdeps/i386/fpu/libm-test-ulps: Update.
48507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48510 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48511 small n, then large n, before computing and testing k+n.
48512 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48517 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48518 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48521 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48522 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48523 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48525 * math/libm-test.inc (scalbn_test): Add more tests.
48526 (scalbln_test): Likewise.
48528 * manual/filesys.texi (mode_t): Describe constraints on size and
48529 signedness, not exact equivalence to a particular type.
48531 (ino64_t): Likewise.
48533 (nlink_t): Likewise.
48534 (blkcnt_t): Likewise.
48535 (blkcnt64_t): Likewise.
48536 * manual/llio.texi (off_t): Likewise.
48539 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48540 (__ieee754_exp): Save and restore rounding mode and use
48541 round-to-nearest for all computations.
48542 * math/libm-test.inc (exp_test_tonearest): New function.
48543 (exp_test_towardzero): Likewise.
48544 (exp_test_downward): Likewise.
48545 (exp_test_upward): Likewise.
48546 (main): Call the new functions.
48547 * sysdeps/i386/fpu/libm-test-ulps: Update.
48548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48550 2012-03-01 Chris Demetriou <cgd@google.com>
48552 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48553 have predictable order.
48555 2012-03-01 David S. Miller <davem@davemloft.net>
48557 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48559 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48560 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48561 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48562 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48564 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48565 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48566 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48568 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48569 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48570 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48571 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48572 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48577 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48578 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48580 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48581 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48582 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48583 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48584 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48586 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48587 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48588 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48589 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48590 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48591 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48593 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48594 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48596 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48597 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48598 * sysdeps/sparc/elf/configure: Regenerated.
48600 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48602 * configure.in (AS, LD): Require binutils 2.20 or later.
48603 * configure: Regenerated.
48604 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48605 as required minimum version.
48606 * INSTALL: Regenerated.
48610 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48611 before squaring exponent.
48612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48613 bottom long double and 27 bits of top long double before squaring
48615 * math/libm-test.inc (erfc_test): Add more tests.
48616 * sysdeps/i386/fpu/libm-test-ulps: Update.
48617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48620 2012-03-01 Kai Tietz <ktietz@redhat.com>
48622 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48623 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48624 containing bit-fields.
48625 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48626 * soft-fp/single.h (_FP_UNION_S): Likewise.
48627 * soft-fp/double.h (_FP_UNION_D): Likewise.
48629 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48632 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48633 not include ../strcmp.S.
48634 [USE_AS_STRNCASECMP_L]: Likewise.
48635 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48636 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48637 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48638 (__strncasecmp_l_ia32): Define as alias to
48639 __strncasecmp_l_nonascii.
48642 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48643 * sysdeps/i386/fpu/libm-test-ulps: Update.
48644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48646 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48649 2012-02-29 Jeff Law <law@redhat.com>
48651 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48652 out of bounds read.
48654 2012-02-29 Marek Polacek <polacek@redhat.com>
48657 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48658 * elf/Makefile: Add rules to run tst-unused-dep.out.
48660 2012-02-28 David S. Miller <davem@davemloft.net>
48662 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48663 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48665 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48666 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48667 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48669 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48671 * math/libm-test.inc (llround_test): Move one test from
48672 lround_test. Use TEST_f_L in moved test.
48673 (lround_test): Move misplaced test to llround_test. Add testcase
48676 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48678 * sysdeps/x86_64/fpu/e_expf.S: New file.
48679 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48681 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48684 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48685 of remain_len that may cause incomplete multi-byte character and
48687 * posix/bug-regex33.c: New file.
48688 * posix/Makefile (tests): Add bug-regex33.
48690 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48692 * manual/macros.texi: New file.
48693 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48694 * manual/libc.texinfo: Include macros.texi.
48695 * manual/creatute.texi: Likewise.
48696 * manual/install.texi: Likewise.
48697 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48698 @glibcadj{} in references to the GNU C Library.
48699 * manual/charset.texi: Likewise.
48700 * manual/conf.texi: Likewise.
48701 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48702 when not using those macros.
48703 * manual/creature.texi: Likewise.
48704 * manual/crypt.texi: Likewise.
48705 * manual/errno.texi: Likewise.
48706 * manual/filesys.texi: Likewise.
48707 * manual/header.texi: Likewise.
48708 * manual/install.texi: Likewise.
48709 * manual/intro.texi: Likewise.
48710 * manual/io.texi: Likewise.
48711 * manual/job.texi: Likewise.
48712 * manual/lang.texi: Likewise.
48713 * manual/libc.texiinfo: Likewise.
48714 * manual/llio.texi: Likewise.
48715 * manual/locale.texi: Likewise.
48716 * manual/maint.texi: Likewise.
48717 * manual/math.texi: Likewise.
48718 * manual/memory.texi: Likewise.
48719 * manual/message.texi: Likewise.
48720 * manual/nss.texi: Likewise.
48721 * manual/pattern.texi: Likewise.
48722 * manual/process.texi: Likewise.
48723 * manual/resource.texi: Likewise.
48724 * manual/search.texi: Likewise.
48725 * manual/setjmp.texi: Likewise.
48726 * manual/signal.texi: Likewise.
48727 * manual/socket.texi: Likewise.
48728 * manual/startup.texi: Likewise.
48729 * manual/stdio.texi: Likewise.
48730 * manual/string.texi: Likewise.
48731 * manual/sysinfo.texi: Likewise.
48732 * manual/syslog.texi: Likewise.
48733 * manual/terminal.texi: Likewise.
48734 * manual/time.texi: Likewise.
48735 * manual/users.texi: Likewise.
48736 * INSTALL: Regenerated.
48737 * NOTES: Regenerated.
48738 * sysdeps/gnu/errlist.c: Regenerated.
48740 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48742 * include/dirent.h: Include <dirstream.h> before
48745 2012-02-28 David S. Miller <davem@davemloft.net>
48747 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48748 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48749 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48750 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48752 2012-02-27 David S. Miller <davem@davemloft.net>
48754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48756 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48757 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48760 frame pointer instead of stack pointer relative arg slot.
48761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48762 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48763 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48765 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48768 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48770 2012-02-27 David S. Miller <davem@davemloft.net>
48772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48776 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48777 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48778 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48779 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48781 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48783 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48784 later. Allow versions 5-9.
48785 * configure: Regenerated.
48786 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48787 required minimum version and 4.6 as recommended version. Do not
48788 mention bugs in GCC 2.7 and 2.8.
48789 * INSTALL: Regenerated.
48791 2012-02-27 David S. Miller <davem@davemloft.net>
48793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48797 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48798 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48799 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48800 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48803 manipulate bits before adding and subtracting TWO112[sx].
48804 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48806 2012-02-27 Roland McGrath <roland@hack.frob.com>
48809 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48810 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48811 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48812 being in POSIX, because they are in 1003.1-2008.
48814 * rt/tst-aio.c: Include <fcntl.h>.
48815 * rt/tst-aio7.c: Likewise.
48816 * rt/tst-aio64.c: Likewise.
48818 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48820 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48822 * manual/install.texi (--with-headers): Describe headers as
48823 interface headers, not private headers.
48824 (Specific advice for GNU/Linux systems): Describe use of headers
48825 from "make headers_install", not private headers from older
48827 * INSTALL: Regenerated.
48828 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48830 * sysdeps/unix/sysv/linux/configure: Regenerated.
48832 * manual/llio.texi (fclean): Remove documentation.
48834 * manual/Makefile (libc-texi-generated): New variable. Include
48836 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48837 $(libc-texi-generated), not duplicated list of files.
48838 (version.texi, stamp-version): New rules.
48839 (realclean): Remove $(libc-texi-generated), not individual files
48840 from that list. Do not remove dir-add.texinfo.
48841 * manual/libc.texinfo: Comment out uses of edition numbers and
48842 references to printed manual. Remove last-updated dates.
48843 (EDITION): Comment out.
48845 (VERSION, UPDATED): Remove.
48846 (version.texi): Include.
48848 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48850 * sysdeps/posix/spawni.c: Include <signal.h>.
48851 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48852 * sysdeps/pthread/aio_fsync.c: Likewise.
48854 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48856 * conform/Makefile (tests): Run only when not cross-compiling and
48857 when fast-check is not defined.
48859 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48860 * conform/data/limits.h-data: Fixes for POSIX2008.
48861 * conform/run-conformtest.sh: Run all tests.
48862 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48864 * include/bits/dlfcn.h: Likewise.
48865 * include/langinfo.h: Likewise.
48866 * include/monetary.h: Likewise.
48867 * include/sys/poll.h: Likewise.
48869 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48871 * posix/spawn.h: Define __need_sigset_t.
48872 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48873 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48874 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48875 to get sigevent_t only.
48876 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48877 only for __USE_GNU.
48878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48879 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48880 process_vm_writev only for __USE_GNU.
48881 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48883 * conform/Makefile: For now ignore errors from run-conformtest.
48884 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48885 POSIX to avoid namespace pollution. Don't prepend headers.
48886 * conform/data/aio.h-data: Fixes for POSIX testing.
48887 * conform/data/fcntl.h-data: Likewise.
48888 * conform/data/glob.h-data: Likewise.
48889 * conform/data/grp.h-data: Likewise.
48890 * conform/data/pthread.h-data: Likewise.
48891 * conform/data/pwd.h-data: Likewise.
48892 * conform/data/signal.h-data: Likewise.
48893 * conform/data/spawn.h-data: Likewise.
48894 * conform/data/stdio.h-data: Likewise.
48895 * conform/data/stdlib.h-data: Likewise.
48896 * conform/data/stropts.h-data: Likewise.
48897 * conform/data/sys/mman.h-data: Likewise.
48898 * conform/data/sys/stat.h-data: Likewise.
48899 * conform/data/sys/types.h-data: Likewise.
48900 * conform/data/sys/wait.h-data: Likewise.
48901 * conform/data/time.h-data: Likewise.
48902 * conform/data/unistd.h-data: Likewise.
48903 * conform/data/utime.h-data: Likewise.
48905 * io/sys/stat.h: fchmod was always in POSIX.
48906 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48907 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48908 * rt/aio.h: Define __need_timespec before including <time.h>.
48909 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48910 struct. Add forward declaration of pthread_attr_t and use it in
48912 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48914 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48915 always remove CLK_TCK definition.
48917 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48919 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48921 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48923 * conform/run-conformtest.sh: New file.
48924 * conform/Makefile: Run run-conformtest for tests.
48925 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48928 * conform/data/uchar.h-data: New file.
48929 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48930 * conform/data/arpa/inet.h-data: Likewise.
48931 * conform/data/assert.h-data: Likewise.
48932 * conform/data/complex.h-data: Likewise.
48933 * conform/data/cpio.h-data: Likewise.
48934 * conform/data/ctype.h-data: Likewise.
48935 * conform/data/dirent.h-data: Likewise.
48936 * conform/data/dlfcn.h-data: Likewise.
48937 * conform/data/errno.h-data: Likewise.
48938 * conform/data/fcntl.h-data: Likewise.
48939 * conform/data/float.h-data: Likewise.
48940 * conform/data/fmtmsg.h-data: Likewise.
48941 * conform/data/fnmatch.h-data: Likewise.
48942 * conform/data/ftw.h-data: Likewise.
48943 * conform/data/glob.h-data: Likewise.
48944 * conform/data/grp.h-data: Likewise.
48945 * conform/data/iconv.h-data: Likewise.
48946 * conform/data/inttypes.h-data: Likewise.
48947 * conform/data/langinfo.h-data: Likewise.
48948 * conform/data/libgen.h-data: Likewise.
48949 * conform/data/limits.h-data: Likewise.
48950 * conform/data/locale.h-data: Likewise.
48951 * conform/data/math.h-data: Likewise.
48952 * conform/data/monetary.h-data: Likewise.
48953 * conform/data/mqueue.h-data: Likewise.
48954 * conform/data/ndbm.h-data: Likewise.
48955 * conform/data/net/if.h-data: Likewise.
48956 * conform/data/netdb.h-data: Likewise.
48957 * conform/data/netinet/in.h-data: Likewise.
48958 * conform/data/nl_types.h-data: Likewise.
48959 * conform/data/poll.h-data: Likewise.
48960 * conform/data/pthread.h-data: Likewise.
48961 * conform/data/pwd.h-data: Likewise.
48962 * conform/data/regex.h-data: Likewise.
48963 * conform/data/sched.h-data: Likewise.
48964 * conform/data/search.h-data: Likewise.
48965 * conform/data/semaphore.h-data: Likewise.
48966 * conform/data/setjmp.h-data: Likewise.
48967 * conform/data/signal.h-data: Likewise.
48968 * conform/data/spawn.h-data: Likewise.
48969 * conform/data/stdarg.h-data: Likewise.
48970 * conform/data/stdio.h-data: Likewise.
48971 * conform/data/stdlib.h-data: Likewise.
48972 * conform/data/string.h-data: Likewise.
48973 * conform/data/strings.h-data: Likewise.
48974 * conform/data/stropts.h-data: Likewise.
48975 * conform/data/sys/ipc.h-data: Likewise.
48976 * conform/data/sys/mman.h-data: Likewise.
48977 * conform/data/sys/msg.h-data: Likewise.
48978 * conform/data/sys/resource.h-data: Likewise.
48979 * conform/data/sys/select.h-data: Likewise.
48980 * conform/data/sys/sem.h-data: Likewise.
48981 * conform/data/sys/shm.h-data: Likewise.
48982 * conform/data/sys/socket.h-data: Likewise.
48983 * conform/data/sys/stat.h-data: Likewise.
48984 * conform/data/sys/statvfs.h-data: Likewise.
48985 * conform/data/sys/time.h-data: Likewise.
48986 * conform/data/sys/timeb.h-data: Likewise.
48987 * conform/data/sys/times.h-data: Likewise.
48988 * conform/data/sys/types.h-data: Likewise.
48989 * conform/data/sys/uio.h-data: Likewise.
48990 * conform/data/sys/un.h-data: Likewise.
48991 * conform/data/sys/utsname.h-data: Likewise.
48992 * conform/data/sys/wait.h-data: Likewise.
48993 * conform/data/syslog.h-data: Likewise.
48994 * conform/data/tar.h-data: Likewise.
48995 * conform/data/termios.h-data: Likewise.
48996 * conform/data/utime.h-data: Likewise.
48997 * conform/data/utmpx.h-data: Likewise.
48998 * conform/data/varargs.h-data: Likewise.
48999 * conform/data/wchar.h-data: Likewise.
49000 * conform/data/wctype.h-data: Likewise.
49001 * conform/data/wordexp.h-data: Likewise.
49003 * include/stropts.h: New file.
49004 * include/uchar.h: New file.
49005 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49006 * include/assert.h: Likewise.
49007 * include/ctype.h: Likewise.
49008 * include/dirent.h: Likewise.
49009 * include/dlfcn.h: Likewise.
49010 * include/fcntl.h: Likewise.
49011 * include/fnmatch.h: Likewise.
49012 * include/glob.h: Likewise.
49013 * include/grp.h: Likewise.
49014 * include/libio.h: Likewise.
49015 * include/locale.h: Likewise.
49016 * include/math.h: Likewise.
49017 * include/net/if.h: Likewise.
49018 * include/netdb.h: Likewise.
49019 * include/netinet/in.h: Likewise.
49020 * include/pthread.h: Likewise.
49021 * include/pwd.h: Likewise.
49022 * include/regex.h: Likewise.
49023 * include/sched.h: Likewise.
49024 * include/search.h: Likewise.
49025 * include/setjmp.h: Likewise.
49026 * include/signal.h: Likewise.
49027 * include/stdio.h: Likewise.
49028 * include/stdlib.h: Likewise.
49029 * include/string.h: Likewise.
49030 * include/sys/cdefs.h: Likewise.
49031 * include/sys/mman.h: Likewise.
49032 * include/sys/msg.h: Likewise.
49033 * include/sys/resource.h: Likewise.
49034 * include/sys/select.h: Likewise.
49035 * include/sys/socket.h: Likewise.
49036 * include/sys/stat.h: Likewise.
49037 * include/sys/statvfs.h: Likewise.
49038 * include/sys/time.h: Likewise.
49039 * include/sys/times.h: Likewise.
49040 * include/sys/uio.h: Likewise.
49041 * include/sys/utsname.h: Likewise.
49042 * include/sys/wait.h: Likewise.
49043 * include/termios.h: Likewise.
49044 * include/time.h: Likewise.
49045 * include/ulimit.h: Likewise.
49046 * include/unistd.h: Likewise.
49047 * include/utime.h: Likewise.
49048 * include/wchar.h: Likewise.
49049 * include/wctype.h: Likewise.
49050 * include/wordexp.h: Likewise.
49052 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49054 * time/time.h: TIME_UTC must be a macro.
49055 Make timespec_get available for ISO C11 only as well.
49057 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49059 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49060 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49062 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49064 * configure.in: Use -o not -a in test for unsupported multi-arch.
49066 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49068 * manual/texinfo.tex: Update to version 2012-01-19.16.
49070 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49072 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49074 2012-02-24 Roland McGrath <roland@hack.frob.com>
49077 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49078 * manual/fdl-1.3.texi: New file.
49079 * manual/fdl-1.1.texi: File removed.
49082 * manual/libc.texinfo (FDL_VERSION): New @set.
49083 Use it for mention of FDL in cover text.
49084 (Documentation License): Use it in @include file name.
49086 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49087 Roland McGrath <roland@hack.frob.com>
49090 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49091 (not LONG_LONG_MAX and LONG_LONG_MIN.
49092 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49093 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49095 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49097 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49101 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49102 manipulate bits before adding and subtracting TWO23[sx].
49103 * math/libm-test.inc (nearbyint_test): Add more tests.
49105 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49108 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49109 bits before adding and subtracting TWO23[sx].
49110 * math/libm-test.inc (rint_test): Add more tests.
49111 (rint_test_tonearest): Likewise.
49112 (rint_test_towardzero): Likewise.
49113 (rint_test_downward): Likewise.
49114 (rint_test_upward: Likewise.
49116 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49119 * include/stdc-predef.h: New file. Extracted from features.h.
49120 * include/features.h: Include stdc-predef.h.
49121 * Makefile (headers): Add stdc-predef.h.
49122 * CONFORMANCE (Compiler limitations): Update.
49124 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49126 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49128 2012-02-21 David S. Miller <davem@davemloft.net>
49130 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49131 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49133 2012-02-20 David S. Miller <davem@davemloft.net>
49135 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49136 using a normal save/restore sequence, rather than allocating a
49137 dummy stack frame just to store a frame pointer and restore.
49138 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49140 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49142 * manual/install.texi: Fix stray word in line-wrapped comment.
49144 2012-02-20 David S. Miller <davem@davemloft.net>
49146 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49147 both binutils and gcc support GOTDATA.
49149 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49150 "rd %pc" in the PIC register setup sequences.
49152 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49153 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49154 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49155 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49156 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49158 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49159 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49161 (SYSCALL_ERROR_HANDLER): Likewise.
49162 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49163 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49165 (SYSCALL_ERROR_HANDLER): Likewise.
49167 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49168 (HAVE_GCC_GOTDATA): New.
49169 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49170 relocation support in both binutils and gcc.
49171 * sysdeps/sparc/elf/configure: Regenerate.
49173 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49174 * sysdeps/sparc/sparc32/elf/configure: Delete.
49175 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49176 * sysdeps/sparc/sparc64/elf/configure: Delete.
49177 * sysdeps/sparc/elf/configure.in: New file.
49178 * sysdeps/sparc/elf/configure: Generate.
49180 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49181 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49182 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49183 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49184 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49186 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49188 * manual/install.texi: Do not mention specific glibc version
49190 * manual/libc.texinfo (VERSION, UPDATED): Update.
49191 (@copying): Use @copyright{} and range of years.
49193 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49196 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49197 [crti.S not in sysdirs] (generated): Do not append.
49198 [crti.S not in sysdirs] (omit-deps): Likewise.
49199 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49200 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49201 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49202 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49203 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49205 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49206 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49207 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49208 * csu/defs.awk: Remove file.
49209 * sysdeps/generic/initfini.c: Likewise.
49210 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49212 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49215 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49217 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49218 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49219 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49220 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49222 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49224 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49225 (__EPOLL_PACKED): Define to empty if not defined by
49227 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49231 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49233 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49234 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49235 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49238 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49242 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49244 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49246 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49251 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49256 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49258 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49259 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49261 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49263 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49266 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49268 * math/w_acos.c: Use non-signaling floating-point comparisons.
49269 * math/w_acosf.c: Likewise.
49270 * math/w_acosh.c: Likewise.
49271 * math/w_acoshf.c: Likewise.
49272 * math/w_acoshl.c: Likewise.
49273 * math/w_acosl.c: Likewise.
49274 * math/w_asin.c: Likewise.
49275 * math/w_asinf.c: Likewise.
49276 * math/w_asinl.c: Likewise.
49277 * math/w_atanh.c: Likewise.
49278 * math/w_atanhf.c: Likewise.
49279 * math/w_atanhl.c: Likewise.
49280 * math/w_exp2.c: Likewise.
49281 * math/w_exp2f.c: Likewise.
49282 * math/w_exp2l.c: Likewise.
49283 * math/w_j0.c: Likewise.
49284 * math/w_j0f.c: Likewise.
49285 * math/w_j0l.c: Likewise.
49286 * math/w_j1.c: Likewise.
49287 * math/w_j1f.c: Likewise.
49288 * math/w_j1l.c: Likewise.
49289 * math/w_jn.c: Likewise.
49290 * math/w_jnf.c: Likewise.
49291 * math/w_log.c: Likewise.
49292 * math/w_log10.c: Likewise.
49293 * math/w_log10f.c: Likewise.
49294 * math/w_log10l.c: Likewise.
49295 * math/w_log2.c: Likewise.
49296 * math/w_log2f.c: Likewise.
49297 * math/w_log2l.c: Likewise.
49298 * math/w_logf.c: Likewise.
49299 * math/w_logl.c: Likewise.
49300 * math/w_sqrt.c: Likewise.
49301 * math/w_sqrtf.c: Likewise.
49302 * math/w_sqrtl.c: Likewise.
49303 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49304 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49306 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49307 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49309 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49312 * manual/string.texi (strnlen): Use correct parameter name in
49313 equivalent expression.
49315 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49318 * manual/users.texi (seteuid): Consistently use neweuid for
49321 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49324 * manual/nss.texi (Services in the NSS configuration): Correct
49325 list of services in example configuration file.
49327 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49330 * manual/arith.texi: Remove statements about negative zero
49331 behaving identically to zero.
49333 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49336 * manual/install.texi: Do not document upgrading from libc5.
49338 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49341 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49343 2012-02-18 David S. Miller <davem@davemloft.net>
49345 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49346 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49347 %o7 across the call.
49348 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49351 SETUP_PIC_REG_LEAF.
49352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49353 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49354 * sysdeps/sparc/crtn.S: Likewise.
49356 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49358 * aout/Makefile: Remove.
49360 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49363 * manual/examples/argp-ex1.c (main): Format definition in GNU
49365 * manual/examples/argp-ex2.c (main): Likewise.
49366 * manual/examples/argp-ex3.c (main): Likewise.
49367 * manual/examples/argp-ex4.c (main): Likewise.
49368 * manual/examples/longopt.c (main): Use new-style prototype
49370 * manual/examples/strncat.c (main): Specify return type and use
49371 (void) for arguments.
49372 * manual/examples/subopt.c (main): Use char **argv argument.
49374 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49377 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49380 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49383 * manual/string.texi (strchr): Change when strchrnul is
49386 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49389 * manual/locale.texi (setlocale): Document LOCPATH.
49391 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49394 * manual/process.texi (execle): Move @dots{} before last argument.
49396 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49399 * manual/charset.texi (Generic Charset Conversion): Fix typo
49400 (LC_TYPE -> LC_CTYPE).
49402 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49405 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49406 (scalbnf): Likewise.
49407 (scalbnl): Likewise.
49408 (scalbln): Likewise.
49409 (scalblnf): Likewise.
49410 (scalblnl): Likewise.
49411 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49412 (vwarnx): Likewise.
49415 * manual/filesys.texi (telldir): Use braces around return type.
49416 * manual/llio.texi (mmap): Add space after comma.
49417 (mmap64): Likewise.
49418 * manual/math.texi (jn): Use @var{} on parameter names.
49424 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49426 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49428 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49429 (sched_get_priority_max): Likewise.
49430 * manual/signal.texi (sigvec): Add space after comma.
49431 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49433 (if_indextoname): Likewise.
49434 (if_freenameindex): Likewise.
49435 (sendto): Use ',' instead of '.' in prototype.
49436 * manual/startup.texi (syscall): Use @dots{} instead of literal
49438 * manual/stdio.texi (__fpending): Separate initial words of
49439 paragraph from @deftypefun line.
49440 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49442 (vsyslog): Use @var{} on parameter names.
49443 * manual/terminal.texi (stty): Use @var{} on parameter names.
49444 * manual/users.texi (getutmp): Use @var{} on parameter names.
49445 (getutmpx): Likewise.
49447 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49450 * manual/stdio.texi (fopen): Fix typos in description of
49453 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49456 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49457 get clock_id definition.
49459 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49462 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49463 (madvise): Cast every argument to void on its own.
49465 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49468 * manual/startup.texi (Exit Status): Fix typo.
49470 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49473 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49474 * manual/examples/argp-ex2.c: Likewise.
49475 * manual/examples/argp-ex3.c: Likewise.
49477 2012-02-16 Richard Henderson <rth@redhat.com>
49479 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49480 * sysdeps/s390/s390-32/initfini.c: Remove.
49481 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49482 * sysdeps/s390/s390-64/initfini.c: Remove.
49484 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49486 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49487 compiler output for sysdeps/generic/initfini.c.
49488 * sysdeps/sh/elf/initfini.c: Remove file.
49490 2012-02-16 David S. Miller <davem@davemloft.net>
49493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49495 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49496 * sysdeps/sparc/crti.S: New file.
49497 * sysdeps/sparc/crtn.S: New file.
49498 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49499 * sysdeps/sparc/sparc64/Makefile: Likewise.
49501 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49504 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49506 2012-02-15 Roland McGrath <roland@hack.frob.com>
49509 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49511 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49512 (write, read, close): Likewise.
49513 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49515 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49517 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49518 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49519 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49520 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49522 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49526 2012-02-14 Marek Polacek <polacek@redhat.com>
49528 * sysdeps/x86_64/crti.S: New file.
49529 * sysdeps/x86_64/crtn.S: New file.
49530 * sysdeps/x86_64/elf/initfini.c: Remove file.
49532 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49534 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49535 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49536 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49537 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49539 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49543 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49545 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49546 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49547 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49548 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49550 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49554 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49556 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49557 __feraiseexcept instead of feraiseexcept.
49559 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49560 nanosleep invocations.
49561 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49562 strings, and add error checking for a nanosleep invocations.
49564 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49566 Replace FSF snail mail address with URLs, as per GNU coding standards.
49567 Most of the snail mail addresses were wrong anyway, and omitting
49568 them makes the source code easier to maintain. Almost all of the
49569 changes are to license notices and to locale LC_IDENTIFICATION
49570 addresses, except for this one:
49571 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49572 not its snail mail address.
49574 2012-02-09 Richard Henderson <rth@twiddle.net>
49576 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49577 of kernel-features.h.
49579 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49581 2012-02-08 Marek Polacek <polacek@redhat.com>
49583 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49584 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49585 * sysdeps/gnu/_G_config.h: Likewise.
49586 * sysdeps/generic/_G_config.h: Likewise.
49588 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49590 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49594 * sysdeps/powerpc/powerpc32/crti.S: New file.
49595 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49596 * sysdeps/powerpc/powerpc64/crti.S: New file.
49597 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49599 * Makeconfig (have-initfini): Don't set.
49600 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49601 * configure.in (nopic_initfini): Don't substitute.
49602 * config.h.in (HAVE_INITFINI): Don't #undef.
49603 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49604 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49606 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49608 Support crti.S and crtn.S provided directly by architectures.
49609 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49610 [crti.S in sysdirs] (omit-deps): Likewise.
49611 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49612 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49613 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49614 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49615 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49616 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49617 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49618 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49619 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49620 compiler output for sysdeps/generic/initfini.c.
49621 * sysdeps/i386/elf/Makefile: Remove file.
49622 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49624 2012-02-07 Marek Polacek <polacek@redhat.com>
49626 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49627 * sysdeps/gnu/_G_config.h: Likewise.
49628 * sysdeps/mach/hurd/_G_config.h: Likewise.
49630 2012-02-07 Marek Polacek <polacek@redhat.com>
49632 * math/Makefile (tests): Add tst-CMPLX2.
49633 * math/tst-CMPLX2.c: New file.
49635 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49637 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49639 * math/libm-test.inc (jn_test): Add missing L suffix.
49641 2012-02-06 Marek Polacek <polacek@redhat.com>
49643 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49644 * sysdeps/i386/fpu/e_powf.S: Likewise.
49645 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49646 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49648 * sysdeps/i386/fpu/e_pow.S: Likewise.
49649 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49651 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49652 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49653 * sysdeps/i386/fpu/e_log2.S: Likewise.
49654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49656 * sysdeps/i386/fpu/e_powl.S: Likewise.
49657 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49658 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49659 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49660 * sysdeps/i386/fpu/e_logl.S: Likewise.
49661 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49662 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49663 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49664 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49665 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49666 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49667 * sysdeps/i386/fpu/e_log.S: Likewise.
49668 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49669 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49670 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49671 * sysdeps/i386/fpu/e_logf.S: Likewise.
49672 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49673 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49674 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49675 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49676 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49677 * sysdeps/i386/fpu/e_log10.S: Likewise.
49678 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49679 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49680 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49681 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49683 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49684 * sysdeps/i386/asm-syntax.h: Likewise.
49685 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49687 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49688 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49689 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49690 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49691 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49692 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49693 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49694 * sysdeps/powerpc/sysdep.h: Likewise.
49695 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49696 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49698 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49701 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49703 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49705 * sysdeps/i386/sysdep.h: Include <features.h>.
49706 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49709 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49711 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49713 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49716 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49718 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49719 (SETUP_PIC_REG): Use GET_PC_THUNK.
49720 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49723 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49725 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49726 for non-PIC compilation.
49727 (SETUP_PIC_REG): Add .p2align directive.
49728 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49729 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49730 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49731 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49732 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49733 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49734 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49736 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49737 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49738 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49739 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49740 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49741 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49742 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49743 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49744 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49745 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49746 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49747 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49748 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49749 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49750 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49751 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49754 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49755 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49756 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49757 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49758 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49759 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49760 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49761 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49762 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49763 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49764 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49765 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49766 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49767 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49768 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49770 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49772 * math/tst-CMPLX.c: Include <stdio.h>.
49774 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49776 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49778 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49779 * sysdeps/sparc/bits/mathdef.h: Likewise.
49781 2012-01-31 Marek Polacek <polacek@redhat.com>
49783 * libio/libio.h: Don't define _PARAMS.
49784 * locale/programs/config.h: Don't define PARAMS.
49785 * stdlib/strtol_l.c: Likewise.
49786 (__strtol_l): Remove PARAMS from the prototype.
49788 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49790 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49791 names. Just use the correct names. Remove unnecessary wrapper
49793 * malloc/arena.c: Likewise.
49794 * malloc/hooks.c: Likewise.
49796 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49797 ARENA_TEST says not to. Simplify test for creation of a new arena.
49798 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49800 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49802 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49804 (update_get_addr): New function.
49805 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49806 GET_ADDR_MODULE parameter.
49808 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49810 * crypt/cert.c: Remove __STDC__ conditionals.
49811 * crypt/crypt-entry.c: Likewise.
49812 * crypt/crypt_util.c: Likewise.
49813 * libio/filedoalloc.c: Likewise.
49814 * libio/fileops.c: Likewise.
49815 * libio/genops.c: Likewise.
49816 * libio/iofclose.c: Likewise.
49817 * libio/iofdopen.c: Likewise.
49818 * libio/iofopen.c: Likewise.
49819 * libio/iofopen64.c: Likewise.
49820 * libio/iogetdelim.c: Likewise.
49821 * libio/iopopen.c: Likewise.
49822 * libio/obprintf.c: Likewise.
49823 * libio/oldfileops.c: Likewise.
49824 * libio/oldiofclose.c: Likewise.
49825 * libio/oldiofdopen.c: Likewise.
49826 * libio/oldiofopen.c: Likewise.
49827 * libio/oldiopopen.c: Likewise.
49828 * libio/wfiledoalloc.c: Likewise.
49829 * libio/wgenops.c: Likewise.
49830 * locale/programs/xmalloc.c: Likewise.
49831 * misc/syslog.c: Likewise.
49832 * stdio-common/xbug.c: Likewise.
49833 * string/memchr.c: Likewise.
49834 * string/memcmp.c: Likewise.
49835 * string/memrchr.c: Likewise.
49836 * string/rawmemchr.c: Likewise.
49837 * sysdeps/posix/getcwd.c: Likewise.
49838 * time/strftime_l.c: Likewise.
49840 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49842 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49843 * config.make.in (config-cflags-sse2avx): Define.
49844 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49847 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49849 * scripts/config.guess: Update from upstream config git repository.
49850 * scripts/config.sub: Likewise.
49852 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49854 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49856 (R_TILEPRO_*, R_TILEGX_*): New macros.
49858 * scripts/firstversions.awk: Fix bug in version range handling.
49860 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49862 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49864 * include/sys/epoll.h: New file.
49865 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49868 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49870 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49871 Avoid unnecessary __WORDSIZE == 64 test.
49872 (fmaxf): Use VEX format if possible.
49877 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49878 * math/math_private.h: Remove libc_fegetround* and
49880 * sysdeps/i386/configure.in: Check for -msse2avx.
49881 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49882 also if SSE2AVX is defined.
49883 Remove libc_fegetround* and libc_fesetround*.
49884 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49885 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49886 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49889 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49890 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49891 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49894 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49896 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49898 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49900 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49902 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49905 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49907 * Makeconfig (libm): Define.
49908 * elf/Makefile: Add rules to build and run tst-relsort1.
49909 * elf/tst-relsort1.c: New file.
49910 * elf/tst-relsort1mod1.c: New file.
49911 * elf/tst-relsort1mod2.c: New file.
49913 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49915 * math/s_ldexp.c: Remove __STDC__ conditionals.
49916 * math/s_ldexpf.c: Likewise.
49917 * math/s_ldexpl.c: Likewise.
49918 * math/s_nextafter.c: Likewise.
49919 * math/s_nexttowardf.c: Likewise.
49920 * math/s_significand.c: Likewise.
49921 * math/s_significandf.c: Likewise.
49922 * math/s_significandl.c: Likewise.
49923 * math/w_jnl.c: Likewise.
49924 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49925 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49926 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49927 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49928 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49930 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49931 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49932 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49933 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49934 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49935 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49936 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49937 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49938 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49939 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49940 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49941 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49943 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49944 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49945 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49946 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49948 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49949 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49950 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49951 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49952 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49953 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49954 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49955 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49956 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49957 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49958 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49960 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49961 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49962 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49963 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49964 * sysdeps/ieee754/k_standard.c: Likewise.
49965 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49966 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49967 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49968 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49969 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49970 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49971 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49972 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49973 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49974 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49975 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49976 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49977 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49978 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49979 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49980 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49981 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49982 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49984 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49985 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49986 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49987 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49988 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49989 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49990 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49994 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49995 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49996 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49997 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49998 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49999 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50000 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50001 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50002 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50004 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50005 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50007 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50008 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50009 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50010 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50012 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50013 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50014 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50015 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50016 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50017 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50018 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50019 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50020 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50021 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50022 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50023 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50025 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50026 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50027 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50028 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50029 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50030 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50031 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50032 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50033 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50034 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50035 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50036 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50037 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50038 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50039 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50040 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50041 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50042 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50044 * sysdeps/ieee754/s_matherr.c: Likewise.
50045 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50046 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50048 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50050 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50052 * crypt/md5.h: Remove __STDC__ conditionals.
50053 * libio/libioP.h: Likewise.
50054 * locale/programs/config.h: Likewise.
50055 * sysdeps/generic/sysdep.h: Likewise.
50056 * sysdeps/i386/asm-syntax.h: Likewise.
50057 * sysdeps/s390/asm-syntax.h: Likewise.
50058 * sysdeps/unix/sysdep.h: Likewise.
50059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50062 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50064 * libio/libio.h: Remove __STDC__ conditionals.
50065 * malloc/obstack.h: Likewise.
50066 * math/complex.h: Likewise.
50067 * math/math.h: Likewise.
50068 * sysdeps/generic/_G_config.h: Likewise.
50069 * sysdeps/gnu/_G_config.h: Likewise.
50070 * sysdeps/mach/hurd/_G_config.h: Likewise.
50071 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50072 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50073 * sysdeps/sparc/bits/mathdef.h: Likewise.
50075 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50078 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50079 Clean up HAS_* macros.
50080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50081 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50083 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50085 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50086 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50091 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50093 * elf/tst-unique3.cc (gets): Remove declaration.
50094 * elf/tst-unique3lib.cc (gets): Likewise.
50095 * elf/tst-unique3lib2.cc (gets): Likewise.
50096 * elf/tst-unique4.cc (gets): Likewise.
50098 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50100 * include/stdio.h: Add C++ protection. Add gets declarations and
50102 * debug/tst-chk1.c: Don't declare gets here.
50103 * stdio-common/tst-gets.c: Likewise.
50105 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50107 * posix/glob: Remove directory.
50109 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50111 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50113 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50115 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50116 of the non-standard EPFNOSUPPORT.
50118 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50120 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50121 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50122 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50124 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50126 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50128 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50130 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50132 * nscd/grpcache.c (cache_addgr): Likewise.
50133 * nscd/hstcache.c (cache_addhst): Likewise.
50134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50135 * nscd/pwdcache.c (cache_addpw): Likewise.
50136 * nscd/servicescache.c (cache_addserv): Likewise.
50138 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50140 * malloc/malloc.c: Various cleanups.
50141 * malloc/hooks.c: Likewise.
50143 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50144 * stdlib/bug-fmtmsg1.c: New file.
50146 * stdlib/fmtmsg.c (init): Add missing unlock.
50147 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50149 2012-01-12 Marek Polacek <polacek@redhat.com>
50151 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50154 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50156 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50157 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50158 macro to ensure uniqueness of label name.
50159 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50160 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50162 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50166 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50167 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50168 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50171 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50173 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50175 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50176 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50177 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50179 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50181 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50182 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50183 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50186 * math/bits/math-finite.h: Add ldexp support.
50188 2012-01-10 Marek Polacek <polacek@redhat.com>
50190 * locale/programs/localedef.h (show_archive_content): Add noreturn
50193 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50195 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50197 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50199 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50201 * io/Makefile (headers): Add bits/poll2.h.
50203 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50206 typo #include statement.
50208 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50210 * include/sys/cdefs.h: Define __attribute_alloc_size.
50211 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50212 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50213 * elf/pldd.c: Likewise.
50214 * iconv/iconv_charmap.c: Likewise.
50215 * iconv/iconvconfig.c: Likewise.
50216 * iconv/strtab.c: Likewise.
50217 * locale/programs/locale.c: Likewise.
50218 * locale/programs/localedef.h: Likewise.
50219 * locale/programs/simple-hash.c: Likewise.
50220 * nscd/nscd.h: Likewise.
50221 * nss/makedb.c: Likewise.
50222 * sysdeps/generic/ldconfig.h: Likewise.
50223 * locale/programs/localedef.c: Remove xmalloc prototype.
50224 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50226 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50228 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50231 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50233 * math/Makefile (tests): Add tst-CMPLX.
50234 * math/tst-CMPLX.c: New file.
50236 * math/complex.h (CMPLXL): Fix typo.
50238 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50239 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50241 * debug/tst-chk1.c: Add poll and ppoll tests.
50242 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50243 * include/sys/poll.h: Add hidden proto for ppoll.
50244 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50245 * sysdeps/mach/hurd/ppoll.c: Likewise.
50246 * io/ppoll.c: Likewise.
50247 * debug/poll_chk.c: New file.
50248 * debug/ppoll_chk.c: New file.
50249 * include/bits/poll2.h: New file.
50250 * io/bits/poll2.h: New file.
50253 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50255 * configure.in: static is always set to yes. Remove.
50256 * config.make.in: Don't set build-static.
50257 * Makeconfig: Remove use of build-static.
50258 * dlfcn/Makefile: Likewise.
50259 * elf/Makefile: Likewise.
50260 * math/Makefile: Likewise.
50261 * misc/Makefile: Likewise.
50262 * nptl/Makefile: Likewise.
50263 * sysdeps/mach/hurd/Makefile: Likewise.
50265 * configure.in: PWD_P is not used anymore.
50266 * config.make.in: Remove PWD_P entry.
50268 * configure.in: Remove last remnants of RANLIB.
50269 No need to check for signed size_t anymore.
50270 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50272 Remove __builtin_expect test because we require at least gcc 3.4.
50273 * aclocal.m4: Likewise.
50275 * wcsmbs/mbrtoc16.c: Implement using towc function.
50276 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50277 * wcsmbs/wcsmbsload.c: Likewise.
50278 * iconv/gconv_simple.c: Likewise.
50279 * iconv/gconv_int.h: Likewise.
50280 * iconv/gconv_builtin.h: Likewise.
50281 * iconv/iconv_prog.c: Remove CHAR16 handling.
50283 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50285 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50287 * configure.in: Remove --with-elf and --enable-bounded options.
50288 Dont set base_machine for ia64. More non-ELF conditions removed.
50289 Remove testing and setting of leading underscore information.
50290 * config.make.in (build-bounded): Set to no.
50291 * config.h.in: Remove NO_UNDERSCORES entry.
50292 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50294 * csu/start.c: Remove !NO_UNDERSCORE code.
50295 * locale/localeinfo.h: Likewise.
50296 * sysdeps/generic/machine-gmon.h: Likewise.
50297 * sysdeps/generic/sysdep.h: Likewise.
50298 * sysdeps/i386/sysdep.h: Likewise.
50299 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50300 * sysdeps/mach/sysdep.h: Likewise.
50301 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50303 * sysdeps/sh/sysdep.h: Likewise.
50304 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50305 * sysdeps/unix/i386/sysdep.S: Likewise.
50306 * sysdeps/unix/sparc/start.c: Likewise.
50307 * sysdeps/unix/sparc/sysdep.S: Likewise.
50308 * sysdeps/unix/sparc/sysdep.h: Likewise.
50309 * sysdeps/unix/start.c: Likewise.
50310 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50311 * sysdeps/x86_64/sysdep.h: Likewise.
50313 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50316 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50318 * argp/argp-fmtstream.h: Use const instead __const.
50319 * argp/argp.h: Likewise.
50320 * assert/assert.h: Likewise.
50321 * bits/fenv.h: Likewise.
50322 * bits/sched.h: Likewise.
50323 * bits/sigset.h: Likewise.
50324 * bits/sigthread.h: Likewise.
50325 * catgets/nl_types.h: Likewise.
50326 * conform/data/pthread.h-data: Likewise.
50327 * crypt/crypt-private.h: Likewise.
50328 * crypt/crypt.h: Likewise.
50329 * crypt/crypt_util.c: Likewise.
50330 * ctype/ctype.h: Likewise.
50331 * debug/execinfo.h: Likewise.
50332 * debug/mbsnrtowcs_chk.c: Likewise.
50333 * debug/mbsrtowcs_chk.c: Likewise.
50334 * debug/wcsnrtombs_chk.c: Likewise.
50335 * debug/wcsrtombs_chk.c: Likewise.
50336 * debug/wcstombs_chk.c: Likewise.
50337 * dirent/dirent.h: Likewise.
50338 * dlfcn/dlfcn.h: Likewise.
50339 * elf/neededtest4.c: Likewise.
50340 * grp/grp.h: Likewise.
50341 * gshadow/gshadow.h: Likewise.
50342 * iconv/gconv.h: Likewise.
50343 * iconv/gconv_int.h: Likewise.
50344 * iconv/gconv_simple.c: Likewise.
50345 * iconv/iconv.h: Likewise.
50346 * iconv/loop.c: Likewise.
50347 * iconv/skeleton.c: Likewise.
50348 * include/aio.h: Likewise.
50349 * include/aliases.h: Likewise.
50350 * include/argz.h: Likewise.
50351 * include/arpa/inet.h: Likewise.
50352 * include/assert.h: Likewise.
50353 * include/dirent.h: Likewise.
50354 * include/dlfcn.h: Likewise.
50355 * include/execinfo.h: Likewise.
50356 * include/fcntl.h: Likewise.
50357 * include/fenv.h: Likewise.
50358 * include/glob.h: Likewise.
50359 * include/grp.h: Likewise.
50360 * include/libintl.h: Likewise.
50361 * include/mntent.h: Likewise.
50362 * include/netdb.h: Likewise.
50363 * include/pwd.h: Likewise.
50364 * include/rpc/netdb.h: Likewise.
50365 * include/sched.h: Likewise.
50366 * include/search.h: Likewise.
50367 * include/shadow.h: Likewise.
50368 * include/signal.h: Likewise.
50369 * include/stdio.h: Likewise.
50370 * include/stdlib.h: Likewise.
50371 * include/string.h: Likewise.
50372 * include/sys/socket.h: Likewise.
50373 * include/sys/stat.h: Likewise.
50374 * include/sys/statfs.h: Likewise.
50375 * include/sys/statvfs.h: Likewise.
50376 * include/sys/syslog.h: Likewise.
50377 * include/sys/time.h: Likewise.
50378 * include/sys/uio.h: Likewise.
50379 * include/time.h: Likewise.
50380 * include/unistd.h: Likewise.
50381 * include/utmp.h: Likewise.
50382 * include/wchar.h: Likewise.
50383 * include/wctype.h: Likewise.
50384 * inet/aliases.h: Likewise.
50385 * inet/arpa/inet.h: Likewise.
50386 * inet/netinet/ether.h: Likewise.
50387 * inet/netinet/in.h: Likewise.
50388 * intl/libintl.h: Likewise.
50389 * io/bits/fcntl2.h: Likewise.
50390 * io/fcntl.h: Likewise.
50391 * io/ftw.h: Likewise.
50392 * io/sys/poll.h: Likewise.
50393 * io/sys/stat.h: Likewise.
50394 * io/sys/statfs.h: Likewise.
50395 * io/sys/statvfs.h: Likewise.
50396 * io/utime.h: Likewise.
50397 * libio/bits/stdio.h: Likewise.
50398 * libio/bits/stdio2.h: Likewise.
50399 * libio/libio.h: Likewise.
50400 * libio/libioP.h: Likewise.
50401 * libio/stdio.h: Likewise.
50402 * locale/lc-ctype.c: Likewise.
50403 * locale/locale.h: Likewise.
50404 * login/utmp.h: Likewise.
50405 * malloc/arena.c: Likewise.
50406 * malloc/malloc.c: Likewise.
50407 * malloc/malloc.h: Likewise.
50408 * malloc/mcheck.c: Likewise.
50409 * malloc/mtrace.c: Likewise.
50410 * math/bits/mathcalls.h: Likewise.
50411 * math/fenv.h: Likewise.
50412 * math/math_private.h: Likewise.
50413 * misc/bits/error.h: Likewise.
50414 * misc/bits/syslog.h: Likewise.
50415 * misc/err.h: Likewise.
50416 * misc/error.h: Likewise.
50417 * misc/fstab.h: Likewise.
50418 * misc/mntent.h: Likewise.
50419 * misc/regexp.h: Likewise.
50420 * misc/search.h: Likewise.
50421 * misc/sgtty.h: Likewise.
50422 * misc/sys/mman.h: Likewise.
50423 * misc/sys/syslog.h: Likewise.
50424 * misc/sys/uio.h: Likewise.
50425 * misc/sys/xattr.h: Likewise.
50426 * misc/ttyent.h: Likewise.
50427 * nis/rpcsvc/ypclnt.h: Likewise.
50428 * nss/nss.h: Likewise.
50429 * posix/bits/unistd.h: Likewise.
50430 * posix/fnmatch.h: Likewise.
50431 * posix/glob.h: Likewise.
50432 * posix/sched.h: Likewise.
50433 * posix/spawn.h: Likewise.
50434 * posix/sys/wait.h: Likewise.
50435 * posix/unistd.h: Likewise.
50436 * posix/wordexp.h: Likewise.
50437 * pwd/pwd.h: Likewise.
50438 * resolv/netdb.h: Likewise.
50439 * resource/sys/resource.h: Likewise.
50440 * rt/aio.h: Likewise.
50441 * rt/bits/mqueue2.h: Likewise.
50442 * rt/mqueue.h: Likewise.
50443 * shadow/shadow.h: Likewise.
50444 * signal/signal.h: Likewise.
50445 * socket/send.c: Likewise.
50446 * socket/sendto.c: Likewise.
50447 * socket/sys/socket.h: Likewise.
50448 * stdio-common/printf.h: Likewise.
50449 * stdlib/bits/stdlib.h: Likewise.
50450 * stdlib/fmtmsg.h: Likewise.
50451 * stdlib/monetary.h: Likewise.
50452 * stdlib/stdlib.h: Likewise.
50453 * stdlib/ucontext.h: Likewise.
50454 * streams/stropts.h: Likewise.
50455 * string/argz.h: Likewise.
50456 * string/bits/string2.h: Likewise.
50457 * string/string.h: Likewise.
50458 * string/strings.h: Likewise.
50459 * sunrpc/rpc/auth.h: Likewise.
50460 * sunrpc/rpc/auth_des.h: Likewise.
50461 * sunrpc/rpc/clnt.h: Likewise.
50462 * sunrpc/rpc/netdb.h: Likewise.
50463 * sunrpc/rpc/pmap_clnt.h: Likewise.
50464 * sunrpc/rpc/xdr.h: Likewise.
50465 * sysdeps/generic/inttypes.h: Likewise.
50466 * sysdeps/generic/net/if.h: Likewise.
50467 * sysdeps/generic/sys/swap.h: Likewise.
50468 * sysdeps/gnu/net/if.h: Likewise.
50469 * sysdeps/gnu/utmpx.h: Likewise.
50470 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50471 * sysdeps/i386/i486/bits/string.h: Likewise.
50472 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50473 * sysdeps/s390/bits/string.h: Likewise.
50474 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50475 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50476 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50477 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50478 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50479 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50480 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50481 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50482 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50483 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50484 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50485 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50486 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50487 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50488 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50489 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50490 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50492 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50493 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50495 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50496 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50497 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50498 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50499 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50500 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50501 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50502 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50503 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50504 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50505 * sysvipc/sys/ipc.h: Likewise.
50506 * sysvipc/sys/msg.h: Likewise.
50507 * sysvipc/sys/sem.h: Likewise.
50508 * sysvipc/sys/shm.h: Likewise.
50509 * termios/termios.h: Likewise.
50510 * time/sys/time.h: Likewise.
50511 * time/time.h: Likewise.
50512 * wcsmbs/bits/wchar2.h: Likewise.
50513 * wcsmbs/uchar.h: Likewise.
50514 * wcsmbs/wchar.h: Likewise.
50515 * wctype/wctype.h: Likewise.
50518 * Makeconfig: Remove all but ELF support including AIX support.
50519 * Makerules: Likewise.
50520 * config.h.in: Likewise.
50521 * config.make.in: Likewise.
50522 * configure: Likewise.
50523 * configure.in: Likewise.
50524 * csu/Makefile: Likewise.
50525 * csu/version.c: Likewise.
50526 * debug/Makefile: Likewise.
50527 * dlfcn/Makefile: Likewise.
50528 * elf/Makefile: Likewise.
50529 * extra-lib.mk: Likewise.
50530 * iconv/Makefile: Likewise.
50531 * include/libc-symbols.h: Likewise.
50532 * include/shlib-compat.h: Likewise.
50533 * resolv/Makefile: Likewise.
50534 * resolv/res_libc.c: Likewise.
50535 * rt/Makefile: Likewise.
50536 * sysdeps/i386/asm-syntax.h: Likewise.
50537 * sysdeps/i386/sysdep.h: Likewise.
50538 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50539 * sysdeps/mach/sysdep.h: Likewise.
50540 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50541 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50542 * sysdeps/s390/asm-syntax.h: Likewise.
50543 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50544 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50545 * sysdeps/sh/sysdep.h: Likewise.
50546 * sysdeps/unix/sparc/sysdep.h: Likewise.
50547 * sysdeps/wordsize-32/divdi3.c: Likewise.
50548 * sysdeps/x86_64/sysdep.h: Likewise.
50550 * argp/Versions: Remove _argp_unlock_xxx.
50553 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50554 * abilist/libBrokenLocale.abilist: Likewise.
50555 * abilist/libanl.abilist: Likewise.
50556 * abilist/libc.abilist: Likewise.
50557 * abilist/libcrypt.abilist: Likewise.
50558 * abilist/libdl.abilist: Likewise.
50559 * abilist/libm.abilist: Likewise.
50560 * abilist/libnsl.abilist: Likewise.
50561 * abilist/libpthread.abilist: Likewise.
50562 * abilist/libresolv.abilist: Likewise.
50563 * abilist/librt.abilist: Likewise.
50564 * abilist/libthread_db.abilist: Likewise.
50565 * abilist/libutil.abilist: Likewise.
50566 * abilist/libnss_db.abilist: New file.
50568 * scripts/abilist.awk: Add support for indirect functions.
50570 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50572 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50574 * shlib-versions: Remove entries for ports architectures.
50576 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50578 * elf/stackguard-macros.h: Remove support for IA-64.
50579 * elf/tst-auditmod1.c: Likewise.
50580 * sysdeps/generic/ldsodefs.h: Likewise.
50582 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50583 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50587 * configure.in: Remove --enable-omitfp support.
50589 * config.make.in: Likewise.
50590 * Makeconfig: Likewise.
50591 * manual/install.texi: Likewise.
50593 In case anyone cares, the IA-64 architecture could move to ports.
50594 * sysdeps/ia64/*: Removed.
50595 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50596 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50599 * configure.in: Remove entries for unsupported architectures.
50602 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50603 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50605 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50606 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50607 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50608 fall back to using wcrtomb.
50609 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50610 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50612 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50613 * wcsmbs/tst-c16c32-1.c: New file.
50615 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50618 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50620 * elf/tst-unique3.cc: Add explicit declaration of gets.
50621 * elf/tst-unique3lib.cc: Likewise.
50622 * elf/tst-unique3lib2.cc: Likewise.
50623 * elf/tst-unique4.cc: Likewise.
50625 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50627 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50630 * assert/assert.h (static_assert): Don't define for C++.
50631 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50632 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50634 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50636 * iconv/loop.c (single loop): Fix assertion in storing of
50639 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50641 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50643 * posix/getconf.c: Update copyright year.
50644 * nss/getent.c: Likewise.
50645 * nss/makedb.c: Likewise.
50646 * iconv/iconvconfig.c: Likewise.
50647 * iconv/iconv_prog.c: Likewise.
50648 * elf/ldconfig.c: Likewise.
50649 * elf/pldd.c: Likewise.
50650 * elf/sotruss.ksh: Likewise.
50651 * catgets/gencat.c: Likewise.
50652 * csu/version.c: Likewise.
50653 * elf/ldd.bash.in: Likewise.
50654 * elf/sprof.c (print_version): Likewise.
50655 * locale/programs/locale.c: Likewise.
50656 * locale/programs/localedef.c: Likewise.
50657 * login/programs/pt_chown.c: Likewise.
50658 * nscd/nscd.c (print_version): Likewise.
50659 * debug/xtrace.sh: Likewise.
50660 * malloc/memusage.sh: Likewise.
50661 * malloc/mtrace.pl: Likewise.
50662 * debug/catchsegv.sh: Likewise.
50664 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50666 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50669 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50672 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50673 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50675 * iconv/gconv_int.h: Likewise.
50676 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50677 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50678 from libc for GLIBC_2.16.
50679 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50680 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50681 * wcsmbs/uchar.h: Really define mbstate_t.
50682 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50683 * wcsmbs/c16rtomb.c: New file.
50684 * wcsmbs/mbrtoc16.c: New file.
50685 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50686 for C/POSIX locale.
50687 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50688 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50690 * wcsmbs/wchar.h: Add missing __restrict.
50692 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50695 * time/Makefile (routines): Add timespec_get.
50696 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50697 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50698 timespec for ISO C11.
50699 * time/timespec_get.c: New file.
50700 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50701 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50704 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50705 * stdlib/stdlib.h: Declare aligned_alloc.
50706 * Versions.def: Add GLIBC_2.16 for libc.
50707 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50710 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50713 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50717 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50720 * assert/assert.h (static_assert): Define.
50722 * version.h: Update for 2.16 development version.
50725 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50728 * version.h (RELEASE): Bump for 2.15 release.
50729 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50731 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50732 Patch by Marek Polacek <mpolacek@redhat.com>.
50734 * bits/byteswap.h: Protect long long constants with __extension__.
50735 * sysdeps/i386/bits/byteswap.h: Likewise.
50736 * sysdeps/ia64/bits/byteswap.h: Likewise.
50737 * sysdeps/s390/bits/byteswap.h: Likewise.
50738 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50740 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50743 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50744 destination buffer.
50745 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50747 2011-12-23 Marek Polacek <polacek@redhat.com>
50749 * elf/dl-addr.c (determine_info): Add inline keyword.
50750 * elf/tst-auditmod4b.c (check_avx): Likewise.
50751 * elf/tst-auditmod6b.c (check_avx): Likewise.
50752 * elf/tst-auditmod6c.c (check_avx): Likewise.
50753 * elf/tst-auditmod7b.c (check_avx): Likewise.
50755 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50757 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50760 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50763 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50764 processing for last bytes.
50766 2011-08-06 Bruno Haible <bruno@clisp.org>
50769 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50770 U+0385, not to U+1FEE.
50773 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50774 entry for U+00A5 U+0301.
50776 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50779 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50780 buffer for the output is too small.
50782 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50786 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50787 SSE flags if possible.
50789 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50793 processing for last bytes.
50795 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50797 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50798 (syscall-list-default-options, syscall-list-default-condition)
50799 (syscall-list-includes): Define.
50800 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50801 list of ABIs and options and #if conditions for each ABI. Do not
50802 handle common syscalls between ABIs specially.
50803 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50805 (syscall-list-variants, syscall-list-32bit-options)
50806 (syscall-list-32bit-condition, syscall-list-64bit-options)
50807 (syscall-list-64bit-condition): Define.
50808 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50809 (syscall-list-variants, syscall-list-32bit-options)
50810 (syscall-list-32bit-condition, syscall-list-64bit-options)
50811 (syscall-list-64bit-condition): Define.
50812 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50814 (syscall-list-variants, syscall-list-32bit-options)
50815 (syscall-list-32bit-condition, syscall-list-64bit-options)
50816 (syscall-list-64bit-condition): Define.
50817 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50819 (syscall-list-variants, syscall-list-32bit-options)
50820 (syscall-list-32bit-condition, syscall-list-64bit-options)
50821 (syscall-list-64bit-condition): Define.
50823 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50825 * locale/iso-639.def: Add brx entry.
50828 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50829 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50831 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50832 __feraiseexcept_renamed.
50834 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50837 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50838 EPOLLET with unsigned values.
50839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50842 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50843 to large cancellation.
50844 * math/s_cacoshf.c: Likewise.
50845 * math/s_cacoshl.c: Likewise.
50847 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50851 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50852 * math/s_cacoshf.c: Likewise.
50853 * math/s_cacoshl.c: Likewise.
50855 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50858 * iconv/gconv.h: Define __GCONV_SWAP.
50859 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50860 * iconvdata/utf-16.c: Likewise.
50861 * iconvdata/utf-32.c: Likewise.
50863 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50866 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50867 numerator after shifting it by one limb.
50869 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50871 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50872 under [__USE_EXTERN_INLINES].
50874 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50877 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50879 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50881 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50882 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50884 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50885 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50886 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50887 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50888 for strncasecmp/strncasecmp_l compilation.
50889 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50890 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50892 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50895 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50898 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50901 * time/tzfile.c (__tzfile_read): Check values from file header.
50903 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50905 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50906 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50907 * powerpc/powerpc32/dl-start.S: Likewise.
50908 * powerpc/powerpc32/elf/start.S: Likewise.
50909 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50910 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50911 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50912 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50913 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50914 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50915 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50916 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50917 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50918 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50919 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50920 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50921 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50922 * powerpc/powerpc32/memset.S: Likewise.
50923 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50924 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50925 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50926 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50927 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50928 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50929 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50930 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50931 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50932 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50933 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50934 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50935 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50937 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50939 * math/libm-test.inc: Added more nearbyint tests.
50940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50943 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50945 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50947 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50950 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50952 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50953 Add wcscpy-ssse3 wcscpy-c.
50954 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50955 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50956 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50957 * sysdeps/x86_64/wcschr.S: New file.
50958 * sysdeps/x86_64/wcsrchr.S: New file.
50959 * string/test-strcmp.c: Remove checking of wcscmp function for
50961 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50962 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50963 wcsrchr-sse2 wcsrchr-c.
50964 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50965 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50966 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50967 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50968 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50969 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50970 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50971 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50972 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50973 * wcsmbc/wcschr.c (WCSCHR): New macro.
50975 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50977 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50978 * wcsmbs/test-wcsrchr.c: New file.
50979 * string/test-strrchr.c: Add wcsrchr support.
50981 * wcsmbs/test-wcscpy.c: New file.
50982 * string/test-strcpy.c: Add wcscpy support.
50985 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50987 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50990 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50993 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50995 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50997 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50998 Minor optimizations.
51000 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51001 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51002 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51004 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51006 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51007 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51008 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51009 for gcc to avoid warnings.
51010 * inet/Makefile (tests): Add tst-checks.
51011 * inet/tst-checks.c: New file.
51013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51016 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51019 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51020 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51022 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51024 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51026 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51029 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51031 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51033 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51034 conditional on GCC version.
51035 (__arch_compare_and_exchange_val_8_acq)
51036 (__arch_compare_and_exchange_val_16_acq)
51037 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51038 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51039 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51041 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51043 * sysdeps/sh/backtrace.c: New file.
51045 2011-12-02 Andreas Schwab <schwab@redhat.com>
51047 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51050 2011-12-01 Andreas Schwab <schwab@redhat.com>
51052 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51053 falling back to utime.
51055 2011-11-30 Andreas Schwab <schwab@redhat.com>
51057 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51058 expectations for float.
51060 2011-11-29 Andreas Schwab <schwab@redhat.com>
51062 * locale/weight.h (findidx): Add parameter len.
51063 * locale/weightwc.h (findidx): Likewise.
51064 * posix/fnmatch_loop.c (FCT): Adjust caller.
51065 * posix/regcomp.c (build_equiv_class): Likewise.
51066 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51067 * posix/regexec.c (check_node_accept_bytes): Likewise.
51068 * string/strcoll_l.c (STRCOLL): Likewise.
51069 * string/strxfrm_l.c (STRXFRM): Likewise.
51071 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51073 * Makefile.in: Remove CVSOPT handling.
51074 * configure.in: Remove use of AC_REVISION.
51075 * iconvdata/Makefile (distribute): No need to filter out CVS.
51076 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51079 2011-11-16 Andreas Schwab <schwab@redhat.com>
51081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51082 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51083 [USE_AS_STRNCASECMP_L]: Likewise.
51084 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51085 NO_TLS_DIRECT_SEG_REFS.
51086 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51087 Fix argument offsets for non-PIC.
51088 [USE_AS_STRNCASECMP_L]: Likewise.
51089 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51090 NO_TLS_DIRECT_SEG_REFS.
51092 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51094 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51096 * locale/loadlocale.c (_nl_load_locale): Likewise.
51098 2011-11-15 Andreas Schwab <schwab@redhat.com>
51100 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51101 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51102 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51103 (SYSCALL_GETTIME): Set errno on error.
51105 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51106 count references to noai6ai_cached.
51108 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51110 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51112 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51113 FD_CLOEXEC for /proc/self/maps.
51115 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51116 FD_CLOEXEC for /proc/meminfo.
51118 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51121 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51122 FD_CLOEXEC for given file.
51124 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51126 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51127 FD_CLOEXEC for /etc/hosts.
51128 (_gethtent): Likewise.
51130 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51132 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51133 cancellation and set FD_CLOEXEC for /etc/netgroup.
51135 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51136 reading /etc/publickey.
51138 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51139 allow cancellation when reading /etc/group.
51141 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51143 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51145 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51146 when using data file.
51148 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51150 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51151 (write_nis_obj): Use "c" and "e" in fopen.
51153 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51155 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51157 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51159 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51161 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51164 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51166 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51168 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51170 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51171 file parsing and set FD_CLOEXEC.
51173 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51175 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51177 2011-11-14 Andreas Schwab <schwab@redhat.com>
51179 * malloc/arena.c (arena_get2): Don't call reused_arena when
51180 _int_new_arena failed.
51182 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51184 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51185 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51187 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51188 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51190 to compile strcasecmp and strncasecmp.
51191 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51192 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51196 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51198 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51199 locale-defines.sym to gen-as-const-headers.
51200 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51201 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51203 to compile strcasecmp and strncasecmp.
51204 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51205 strcasecmp_l and strncasecmp_l.
51206 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51207 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51208 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51209 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51210 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51211 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51212 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51213 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51214 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51215 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51216 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51218 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51220 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51221 result of SYSDEP_GETTIME_CPU to retval.
51222 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51223 parameter list to macro. Remove trailing semicolon. Adjust users.
51225 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51228 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51230 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51232 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51233 from unused variable.
51235 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51237 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51240 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51243 * sunrpc/rpc_prot.c (rejected): Fix case value.
51245 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51246 unsigned long long int to avoid warnings in shift.
51248 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51250 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51253 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51254 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51255 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51257 * nis/nis_table.c (nis_list): Use variable of correct type for
51258 result of __follow_path call.
51260 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51262 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51263 of math functions ceil, trunc, floor, round, and sqrt, when
51264 avaliable on the platform.
51265 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51267 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51268 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51269 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51271 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51273 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51274 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51276 2011-11-11 Roland McGrath <roland@hack.frob.com>
51278 * include/unistd.h: Fix __readlink return type.
51279 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51281 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51283 * stdlib/ucontext.h: Undo last change for makecontext.
51285 2011-11-11 Andreas Schwab <schwab@redhat.com>
51287 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51289 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51290 * setjmp/setjmp.h: Mark functions as non-leaf.
51291 * setjmp/bits/setjmp2.h: Likewise.
51292 * stdlib/ucontext.h: Likewise.
51294 2011-11-10 Andreas Schwab <schwab@redhat.com>
51296 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51297 (reused_arena): Don't check arena limit.
51298 (arena_get2): Atomically check arena limit.
51300 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51302 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51303 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51308 2011-11-07 Andreas Schwab <schwab@redhat.com>
51310 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51311 handler when locking.
51313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51314 Fix size of allocated buffer.
51316 2011-11-04 Andreas Schwab <schwab@redhat.com>
51319 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51320 declarations for long double functions.
51321 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51323 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51325 2011-11-03 Andreas Schwab <schwab@redhat.com>
51327 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51330 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51333 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51335 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51337 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51339 * include/alloca.h (stackinfo_alloca_round): Define.
51340 (extend_alloca): Use it.
51341 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51342 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51345 * scripts/check-local-headers.sh: Ignore libaudit.h.
51347 * nscd/Makefile (extra-objs): Make recursively expanded.
51349 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51351 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51352 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51354 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51355 * posix/tst-rfc3484-2.c: Likewise.
51356 * posix/tst-rfc3484-3.c: Likewise.
51358 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51360 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51362 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51363 process_vm_writev from libc using GLIBC_2.15 version.
51365 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51367 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51369 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51372 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51375 * nss/getent.c (initgroups_keys): Show error message in case no group
51378 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51379 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51380 __bump_nl_timestamp.
51381 * nscd/connections (nscd_init): When host database is served open
51382 netlink socket and request notification about configuration changes.
51383 (main_loop_poll): Track netlink file descriptor and bump timestamp
51384 in case data becomes available.
51385 (main_loop_epoll): Likewise.
51386 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51387 (database_pers_head): Add extra_data fileds.
51388 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51389 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51390 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51392 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51393 in6ai data, call __free_in6ai.
51394 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51395 Add -DHAVE_NETLINK.
51396 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51397 interface information. Reuse previous data if netlink timestamp
51399 (__bump_nl_timestamp): New function.
51400 (__free_in6ai): New function.
51402 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51404 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51405 close_not_cancel_no_status here.
51406 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51408 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51411 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51414 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51415 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51416 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51418 2011-07-03 Andreas Jaeger <aj@suse.de>
51421 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51422 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51423 * math/libm-test.inc (sin_test): Add test case.
51425 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51428 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51429 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51431 * elf/chroot_canon.c (chroot_canon): Cleanups.
51433 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51436 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51437 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51439 * string/test-strchr.c: Make usable for strchrnul testing.
51440 * string/test-strchrnul.c: New file.
51441 * string/Makefile (strop-tests): Add strchrnul.
51443 * po/it.po: Update from translation team.
51444 * po/es.po: Likewise.
51446 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51448 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51449 the three constants needed as parameters. Drop the others.
51450 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51451 __m128i_strloadu_tolower.
51452 Create and initialize variable zero and use it in all the places
51453 where _mm_setzero_si128 was used.
51455 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51456 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51457 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51460 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51461 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51462 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51463 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51464 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51465 __mpranred, __mptan.
51466 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51467 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51468 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51469 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51470 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51471 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51472 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51473 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51474 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51476 2011-10-28 Andreas Schwab <schwab@redhat.com>
51478 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51479 redefine if SHARED.
51480 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51483 wide char related routines to wcsmbs subdir.
51485 2011-10-27 Andreas Schwab <schwab@redhat.com>
51488 * misc/sys/cdefs.h (__THROWNL): Define.
51489 * posix/unistd.h: Use __THREADNL instead of __THREAD
51490 for memory synchronization functions.
51492 2011-10-26 Roland McGrath <roland@hack.frob.com>
51495 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51497 * manual/stdio.texi (Obstack Streams): Node removed.
51499 2011-10-26 Andreas Schwab <schwab@redhat.com>
51501 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51502 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51503 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51505 * math/math_private.h (math_force_eval): Allow non-addressable
51507 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51509 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51511 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51512 file is not needed.
51514 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51515 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51516 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51517 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51518 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51519 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51520 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51521 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51523 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51524 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51525 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51526 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51527 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51528 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51529 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51530 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51531 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51532 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51533 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51534 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51535 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51536 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51537 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51538 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51539 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51540 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51541 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51543 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51544 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51547 place. Use VEX encoding when compiling for AVX.
51549 2011-10-25 Andreas Schwab <schwab@redhat.com>
51551 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51552 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51554 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51556 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51558 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51559 useless if() expression.
51560 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51561 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51562 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51563 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51564 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51565 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51566 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51568 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51569 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51570 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51571 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51572 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51573 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51574 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51575 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51576 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51577 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51578 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51580 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51582 2011-10-25 Andreas Schwab <schwab@redhat.com>
51584 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51586 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51588 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51590 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51591 .text section. Avoid duplicate constants.
51592 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51596 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51600 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51601 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51602 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51603 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51604 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51605 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51606 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51609 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51612 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51613 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51614 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51615 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51616 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51617 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51618 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51619 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51620 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51621 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51622 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51623 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51624 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51625 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51626 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51627 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51628 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51629 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51630 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51631 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51632 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51633 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51634 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51635 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51636 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51638 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51640 * sysdeps/x86_64/dla.h: Move to ...
51641 * sysdeps/x86_64/fpu/dla.h: ...here.
51642 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51643 situations. Use __builtin_fma only for gcc 4.6 and up.
51645 * config.make.in: Add have-mfma4 entry.
51646 * configure.in: Substitute libc_cv_cc_fma4.
51647 * math/Makefile (dbl-only-routines): Add sincostab.
51648 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51649 Use __sincostab not sincos.
51650 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51657 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51658 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51659 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51660 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51662 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51663 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51665 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51666 define aliases when function name is a macro.
51667 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51668 sysdeps/ieee754/dbl-64/sincos.tbl.
51669 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51670 fma4-enabled routines.
51671 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51672 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51673 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51674 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51676 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51678 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51680 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51681 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51682 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51683 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51684 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51686 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51687 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51688 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51689 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51691 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51693 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51698 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51699 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51700 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51702 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51713 2011-10-24 Andreas Schwab <schwab@redhat.com>
51715 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51717 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51721 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51723 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51725 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51726 Remove unused variable magic_bits.
51727 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51729 * string/strnlen.c: Define and use STRNLEN macro.
51730 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51731 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51733 * wcsmbs/wcslen.c: Define and use WCSLEN.
51734 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51735 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51736 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51737 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51738 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51739 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51740 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51742 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51745 strnlen-sse2-no-bsf.
51746 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51748 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51749 Add strnlen support.
51750 (USE_AS_STRNLEN): New macro.
51751 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51753 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51754 * sysdeps/x86_64/wcslen.S: New file.
51756 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51758 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51759 XMM-moves are used for copying on small sizes.
51761 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51763 * wcsmbs/Makefile (strop-tests): Add wcschr.
51764 * wcsmbs/test-wcschr.c: New file.
51765 * string/test-strchr.c: Update.
51766 Add wcschr support.
51769 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51771 * wcsmbs/Makefile (strop-tests): Add wcslen.
51772 * wcsmbs/test-wcslen.c: New file.
51773 * string/test-strlen.c: Update.
51774 Add wcslen support.
51777 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51779 * po/it.po: Update from translation team.
51781 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51783 * sysdeps/x86_64/wcscmp.S: Update.
51784 Fix wrong comparison semantics.
51785 wcscmp shall use signed comparison not unsigned.
51786 Don't use substraction to avoid overflow bug.
51787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51788 * wcsmbc/wcscmp.c: Likewise.
51789 * string/test-strcmp.c: Likewise.
51790 Add new tests to check cases with negative values.
51792 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51794 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51795 * sysdeps/x86_64/dla.h: ...here. New file.
51796 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51801 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51804 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51806 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51809 __ynl_finite aliases.
51811 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51815 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51817 [DLA_FMA] (EMULV): Use DLA_FMA.
51818 [DLA_FMA] (MUL12): Use EMULV.
51819 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51820 that are not needed.
51821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51826 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51829 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51831 * math/s_nan.c: Undef __nan.
51832 * math/s_nanf.c: Undef __nanf.
51833 * math/s_nanl.c: Undef __nanl.
51834 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51837 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51839 * math/s_catan.c: Add branch predictions.
51840 * math/s_catanf.c: Likewise.
51841 * math/s_catanh.c: Likewise.
51842 * math/s_catanhf.c: Likewise.
51843 * math/s_catanhl.c: Likewise.
51844 * math/s_catanl.c: Likewise.
51845 * math/s_cexp.c: Likewise.
51846 * math/s_cexpf.c: Likewise.
51847 * math/s_cexpl.c: Likewise.
51848 * math/s_clog.c: Likewise.
51849 * math/s_clog10.c: Likewise.
51850 * math/s_clog10f.c: Likewise.
51851 * math/s_clog10l.c: Likewise.
51852 * math/s_clogf.c: Likewise.
51853 * math/s_clogl.c: Likewise.
51854 * math/s_csqrt.c: Likewise.
51855 * math/s_csqrtf.c: Likewise.
51856 * math/s_csqrtl.c: Likewise.
51857 * math/s_ctanf.c: Likewise.
51858 * math/s_ctanh.c: Likewise.
51859 * math/s_ctanhf.c: Likewise.
51860 * math/s_ctanhl.c: Likewise.
51861 * math/s_ctanl.c: Likewise.
51863 * math/math_private.h: Define __nan, __nanf, __nanl.
51864 * math/s_cacosh.c: Include <math_private.h>.
51865 * math/s_cacoshl.c: Likewise.
51866 * math/s_casinh.c: Likewise.
51867 * math/s_casinhf.c: Likewise.
51868 * math/s_casinhl.c: Likewise.
51869 * math/s_ccos.c: Rely entire on ccosh.
51870 * math/s_ccosf.c: Rely entire on ccoshf.
51871 * math/s_ccosl.c: Rely entirely on ccoshl.
51872 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51873 Remove tests for FE_INVALID.
51874 * math/s_ccoshf.c: Likewise.
51875 * math/s_ccoshl.c: Likewise.
51876 * math/s_csin.c: Likewise.
51877 * math/s_csinf.c: Likewise.
51878 * math/s_csinh.c Likewise.
51879 * math/s_csinhf.c: Likewise.
51880 * math/s_csinhl.c: Likewise.
51881 * math/s_csinl.c: Likewise.
51882 * math/s_ctan.c: Likewise.
51883 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51884 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51887 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51890 compilation problems.
51892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51895 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51897 * sysdeps/i386/configure.in: Test for -mfma4 option.
51898 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51899 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51900 COMMON_CPUID_INDEX_80000001.
51901 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51902 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51903 use it if FMA3 is not supported.
51904 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51906 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51907 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51909 2011-10-20 Andreas Schwab <schwab@redhat.com>
51912 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51913 it would create a cycle with a link time dependency.
51915 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51917 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51919 * string/Makefile (strop-tests): Add rawmemchr.
51920 * string/test-rawmemchr.c: New file.
51922 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51923 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51924 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51925 when compiling str{,n}casecmp and when AVX is available. Hook up
51926 new optimized code in initializers.
51928 2011-10-19 Andreas Schwab <schwab@redhat.com>
51930 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51931 __feraiseexcept instead of feraiseexcept.
51933 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51935 * math/math_private.h: Define defaults for libc_fetestexcept and
51937 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51938 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51939 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51940 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51941 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51942 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51943 libc_fetestexcept and libc_feupdateenv.
51945 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51946 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51947 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51948 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51949 libc_feholdexcept_setround.
51951 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51952 Add s_nearbyint-c and s_nearbyintf-c.
51953 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51954 nearbyintf inlines.
51955 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51956 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51957 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51958 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51960 * math/math_private.h: Define defaults for libc_fegetround,
51961 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51962 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51963 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51964 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51965 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51966 standard functions.
51967 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51968 Remove comments and hacks for old compiler versions.
51969 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51970 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51971 libc_feholdexceptl.
51973 2011-10-18 Andreas Schwab <schwab@redhat.com>
51975 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51976 (__feraiseexcept_renamed): Add __NTH.
51977 (feraiseexcept): Add __NTH. Rename local variables to fix
51978 namespace violations.
51980 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51982 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51984 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51986 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51987 recently added interfaces.
51988 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51990 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51991 about macro parameter expansion.
51993 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51994 __NO_MATH_INLINES is defined. Cleanups.
51996 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51997 and __floorf is target has SSE4.1.
51998 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51999 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52000 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52001 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52003 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52005 (floorf): Likewise.
52007 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52009 2011-10-17 Andreas Schwab <schwab@redhat.com>
52011 * misc/sys/cdefs.h: Fix last change.
52013 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52016 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52018 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52020 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52022 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52025 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52026 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52028 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52029 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52030 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52031 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52032 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52033 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52034 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52035 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52036 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52037 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52038 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52039 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52040 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52041 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52043 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52044 ceil, ceilf, floor, floorf.
52046 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52047 Perform IRELATIVE relocations last.
52049 * elf/do-rel.h: Add another parameter nrelative, replacing the
52050 local variable with the same name. Change name of the function
52051 to end in Rel or Rela (uppercase).
52052 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52053 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52054 elf_dynamic_do_##reloc function.
52056 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52058 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52059 is sufficient, at least on modern CPUs.
52061 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52063 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52064 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52066 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52068 * math/bits/math-finite.h: Add entries for exp.
52069 * math/e_expl.c: Add __*_finite alias.
52070 * sysdeps/i386/fpu/e_exp.S: Likewise.
52071 * sysdeps/i386/fpu/e_expf.S: Likewise.
52072 * sysdeps/i386/fpu/e_expl.c: Likewise.
52073 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52074 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52075 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52077 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52078 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52079 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52081 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52082 is sufficient, at least on modern CPUs.
52084 * ctype/ctype-info.c (__ctype_init): Define.
52085 * include/ctype.h (__ctype_init): Declare.
52086 (__ctype_b_loc): The variable is always initialized.
52087 (__ctype_toupper_loc): Likewise.
52088 (__ctype_tolower_loc): Likewise.
52089 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52090 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52092 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52094 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52096 * configure.in: Also look in $cxxmachine/include for C++ system
52099 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52101 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52102 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52103 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52104 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52105 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52106 (USE_AS_WMEMCMP): New macro.
52108 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52109 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52110 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52111 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52113 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52114 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52115 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52116 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52117 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52118 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52119 (USE_AS_WMEMCMP): New macro.
52120 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52121 * sysdeps/string/test-memcmp.c: Update.
52122 Fix simple_wmemcmp.
52124 * wcsmbs/wmemcmp.c: Update.
52125 (WMEMCMP): New macro.
52128 2011-10-12 Andreas Jaeger <aj@suse.de>
52131 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52133 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52135 * libio/iofwide.c (do_length): Avoid warning.
52137 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52139 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52141 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52143 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52144 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52145 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52146 * sysdeps/i386/i686/fpu/e_log.S: New file.
52147 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52148 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52150 * ctype/ctype.h: Add support for inlined isXXX functions when
52151 compiling C++ code.
52153 2011-10-14 Andreas Schwab <schwab@redhat.com>
52155 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52157 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52159 2011-10-13 Roland McGrath <roland@hack.frob.com>
52162 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52164 2011-10-13 Andreas Schwab <schwab@redhat.com>
52166 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52167 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52170 * sysdeps/x86_64/memrchr.S: Check for zero size.
52172 * string/stratcliff.c: Add memrchr tests.
52174 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52177 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52178 rawmemchr-sse2 rawmemchr-sse2-bsf.
52179 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52180 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52181 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52182 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52183 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52184 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52185 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52186 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52187 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52188 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52189 * string/memrchr.c (MEMRCHR): New macro.
52191 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52193 Add integration with gcc's -ffinite-math-only and optimize wrapper
52195 * Versions.def: Define GLIBC_2.15 version for libm.
52196 * math/Makefile (headers): Add bits/math-finite.h.
52197 * math/bits/math-finite.h: New file.
52198 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52199 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52200 * math/e_acoshl.c: Add __*_finite alias.
52201 * math/e_acosl.c: Likewise.
52202 * math/e_asinl.c: Likewise.
52203 * math/e_atan2l.c: Likewise.
52204 * math/e_atanhl.c: Likewise.
52205 * math/e_coshl.c: Likewise.
52206 * math/e_exp10.c: Likewise.
52207 * math/e_exp10f.c: Likewise.
52208 * math/e_exp10l.c: Likewise.
52209 * math/e_exp2l.c: Likewise.
52210 * math/e_fmodl.c: Likewise.
52211 * math/e_gammal_r.c: Likewise.
52212 * math/e_hypotl.c: Likewise.
52213 * math/e_j0l.c: Likewise.
52214 * math/e_j1l.c: Likewise.
52215 * math/e_jnl.c: Likewise.
52216 * math/e_lgammal_r.c: Likewise.
52217 * math/e_log10l.c: Likewise.
52218 * math/e_log2l.c: Likewise.
52219 * math/e_logl.c: Likewise.
52220 * math/e_powl.c: Likewise.
52221 * math/e_sinhl.c: Likewise.
52222 * math/e_sqrtl.c: Likewise.
52223 * math/e_scalb.c: Completely rewritten and optimized.
52224 * math/e_scalbf.c: Likewise.
52225 * math/e_scalbl.c: Likewise.
52226 * math/w_acos.c: Likewise.
52227 * math/w_acosf.c: Likewise.
52228 * math/w_acosl.c: Likewise.
52229 * math/w_acosh.c: Likewise.
52230 * math/w_acoshf.c: Likewise.
52231 * math/w_acoshl.c: Likewise.
52232 * math/w_asin.c: Likewise.
52233 * math/w_asinf.c: Likewise.
52234 * math/w_asinl.c: Likewise.
52235 * math/w_atan2.c: Likewise.
52236 * math/w_atan2f.c: Likewise.
52237 * math/w_atan2l.c: Likewise.
52238 * math/w_atanh.c: Likewise.
52239 * math/w_atanhf.c: Likewise.
52240 * math/w_atanhl.c: Likewise.
52241 * math/w_exp10.c: Likewise.
52242 * math/w_exp10f.c: Likewise.
52243 * math/w_exp10l.c: Likewise.
52244 * math/w_fmod.c: Likewise.
52245 * math/w_fmodf.c: Likewise.
52246 * math/w_fmodl.c: Likewise.
52247 * math/w_j0.c: Likewise.
52248 * math/w_j0f.c: Likewise.
52249 * math/w_j0l.c: Likewise.
52250 * math/w_j1.c: Likewise.
52251 * math/w_j1f.c: Likewise.
52252 * math/w_j1l.c: Likewise.
52253 * math/w_jn.c: Likewise.
52254 * math/w_jnf.c: Likewise.
52255 * math/w_log.c: Likewise.
52256 * math/w_logf.c: Likewise.
52257 * math/w_logl.c: Likewise.
52258 * math/w_log10.c: Likewise.
52259 * math/w_log10f.c: Likewise.
52260 * math/w_log10l.c: Likewise.
52261 * math/w_log2.c: Likewise.
52262 * math/w_log2f.c: Likewise.
52263 * math/w_log2l.c: Likewise.
52264 * math/w_pow.c: Likewise.
52265 * math/w_powf.c: Likewise.
52266 * math/w_powl.c: Likewise.
52267 * math/w_remainder.c: Likewise.
52268 * math/w_remainderf.c: Likewise.
52269 * math/w_remainderl.c: Likewise.
52270 * math/w_scalb.c: Likewise.
52271 * math/w_scalbf.c: Likewise.
52272 * math/w_scalbl.c: Likewise.
52273 * math/w_sqrt.c: Likewise.
52274 * math/w_sqrtf.c: Likewise.
52275 * math/w_sqrtl.c: Likewise.
52276 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52277 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52279 * math/math_private.h: Declare __kernel_standard_f.
52280 * math/w_cosh.c: Remove cruft and optimize a bit.
52281 * math/w_coshf.c: Likewise.
52282 * math/w_coshl.c: Likewise.
52283 * math/w_exp2.c: Likewise.
52284 * math/w_exp2f.c: Likewise.
52285 * math/w_exp2l.c: Likewise.
52286 * math/w_hypot.c: Likewise.
52287 * math/w_hypotf.c: Likewise.
52288 * math/w_hypotl.c: Likewise.
52289 * math/w_lgamma.c: Likewise.
52290 * math/w_lgamma_r.c: Likewise.
52291 * math/w_lgammaf.c: Likewise.
52292 * math/w_lgammaf_r.c: Likewise.
52293 * math/w_lgammal.c: Likewise.
52294 * math/w_lgammal_r.c: Likewise.
52295 * math/w_sinh.c: Likewise.
52296 * math/w_sinhf.c: Likewise.
52297 * math/w_sinhl.c: Likewise.
52298 * math/w_tgamma.c: Likewise.
52299 * math/w_tgammaf.c: Likewise.
52300 * math/w_tgammal.c: Likewise.
52301 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52302 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52303 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52304 Minor optimizations. Pretty printing. Remove cruft.
52305 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52306 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52307 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52308 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52309 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52310 * sysdeps/i386/fpu/e_asin.S: Likewise.
52311 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52312 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52313 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52314 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52315 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52316 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52317 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52318 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52319 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52320 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52321 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52322 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52323 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52324 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52325 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52326 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52327 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52328 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52329 * sysdeps/i386/fpu/e_log.S: Likewise.
52330 * sysdeps/i386/fpu/e_log10.S: Likewise.
52331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52332 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52333 * sysdeps/i386/fpu/e_log2.S: Likewise.
52334 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52335 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52336 * sysdeps/i386/fpu/e_logf.S: Likewise.
52337 * sysdeps/i386/fpu/e_logl.S: Likewise.
52338 * sysdeps/i386/fpu/e_pow.S: Likewise.
52339 * sysdeps/i386/fpu/e_powf.S: Likewise.
52340 * sysdeps/i386/fpu/e_powl.S: Likewise.
52341 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52342 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52343 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52344 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52346 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52347 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52348 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52349 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52350 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52351 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52353 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52354 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52355 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52356 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52357 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52358 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52359 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52360 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52361 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52364 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52367 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52368 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52370 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52371 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52372 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52373 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52374 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52375 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52376 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52377 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52378 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52379 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52380 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52381 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52382 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52383 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52384 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52385 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52386 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52387 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52388 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52389 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52390 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52391 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52392 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52393 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52395 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52396 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52397 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52398 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52399 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52400 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52401 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52405 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52406 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52407 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52408 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52409 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52410 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52411 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52414 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52415 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52416 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52418 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52420 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52421 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52422 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52424 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52425 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52426 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52427 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52428 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52429 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52430 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52431 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52432 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52433 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52434 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52435 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52436 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52437 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52438 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52439 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52440 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52441 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52442 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52443 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52444 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52445 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52446 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52447 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52448 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52449 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52450 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52451 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52452 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52453 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52454 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52455 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52456 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52458 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52459 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52460 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52461 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52462 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52463 (__isnanf): Likewise.
52464 (__isinf_ns): Likewise.
52465 (__isinf_nsf): Likewise.
52466 (__finite): Likewise.
52467 (__finitef): Likewise.
52468 (__ieee754_sqrt): Define as macro.
52469 (__ieee754_sqrtf): Define as macro.
52470 (__ieee754_sqrtl): Define as macro.
52471 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52473 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52474 __FINITE_MATH_ONLY__ consistent.
52475 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52477 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52479 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52482 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52484 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52486 * po/ja.po: Update from translation team.
52488 2011-10-08 Roland McGrath <roland@hack.frob.com>
52490 * locale/programs/locarchive.c (prepare_address_space): New function.
52491 (create_archive, enlarge_archive, open_archive): Use it.
52493 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52494 inside [SHARED], where it is used.
52496 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52498 * nss/getent.c (netgroup_keys): Remove unused variable.
52499 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52501 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52503 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52504 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52506 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52507 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52508 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52509 * math/Makefile (libm-calls): Add s_isinf_ns.
52510 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52511 * math/multc3.c: Likewise.
52512 * math/s_casin.c: Likewise.
52513 * math/s_casinf.c: Likewise.
52514 * math/s_casinl.c: Likewise.
52515 * math/s_ccos.c: Likewise.
52516 * math/s_ccosf.c: Likewise.
52517 * math/s_ccosl.c: Likewise.
52518 * math/s_ctan.c: Likewise.
52519 * math/s_ctanf.c: Likewise.
52520 * math/s_ctanh.c: Likewise.
52521 * math/s_ctanhf.c: Likewise.
52522 * math/s_ctanhl.c: Likewise.
52523 * math/s_ctanl.c: Likewise.
52524 * math/w_fmod.c: Likewise.
52525 * math/w_fmodf.c: Likewise.
52526 * math/w_fmodl.c: Likewise.
52527 * math/w_remainder.c: Likewise.
52528 * math/w_remainderf.c: Likewise.
52529 * math/w_remainderl.c: Likewise.
52530 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52531 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52532 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52534 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52535 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52536 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52537 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52539 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52541 * stdio-common/printf_fphex.c: Likewise.
52542 * stdio-common/printf_size.c: Likewise.
52544 * math/e_exp10.c: Include math_private.h using <...> not "...".
52545 * math/e_exp10f.c: Likewise.
52546 * math/e_exp10l.c: Likewise.
52547 * math/e_exp2l.c: Likewise.
52548 * math/e_j0l.c: Likewise.
52549 * math/e_j1l.c: Likewise.
52550 * math/e_jnl.c: Likewise.
52551 * math/e_lgammal_r.c: Likewise.
52552 * math/e_rem_pio2l.c: Likewise.
52553 * math/e_scalb.c: Likewise.
52554 * math/e_scalbf.c: Likewise.
52555 * math/e_scalbl.c: Likewise.
52556 * math/k_cosl.c: Likewise.
52557 * math/k_sinl.c: Likewise.
52558 * math/k_tanl.c: Likewise.
52559 * math/s_cacoshf.c: Likewise.
52560 * math/s_catan.c: Likewise.
52561 * math/s_catanf.c: Likewise.
52562 * math/s_catanh.c: Likewise.
52563 * math/s_catanhf.c: Likewise.
52564 * math/s_catanhl.c: Likewise.
52565 * math/s_catanl.c: Likewise.
52566 * math/s_ccosh.c: Likewise.
52567 * math/s_ccoshf.c: Likewise.
52568 * math/s_ccoshl.c: Likewise.
52569 * math/s_cexp.c: Likewise.
52570 * math/s_cexpf.c: Likewise.
52571 * math/s_cexpl.c: Likewise.
52572 * math/s_clog.c: Likewise.
52573 * math/s_clog10.c: Likewise.
52574 * math/s_clog10f.c: Likewise.
52575 * math/s_clog10l.c: Likewise.
52576 * math/s_clogf.c: Likewise.
52577 * math/s_clogl.c: Likewise.
52578 * math/s_csin.c: Likewise.
52579 * math/s_csinf.c: Likewise.
52580 * math/s_csinh.c: Likewise.
52581 * math/s_csinhf.c: Likewise.
52582 * math/s_csinhl.c: Likewise.
52583 * math/s_csinl.c: Likewise.
52584 * math/s_csqrt.c: Likewise.
52585 * math/s_csqrtf.c: Likewise.
52586 * math/s_csqrtl.c: Likewise.
52587 * math/s_ctan.c: Likewise.
52588 * math/s_ctanf.c: Likewise.
52589 * math/s_ctanh.c: Likewise.
52590 * math/s_ctanhf.c: Likewise.
52591 * math/s_ctanhl.c: Likewise.
52592 * math/s_ctanl.c: Likewise.
52593 * math/s_ldexp.c: Likewise.
52594 * math/s_ldexpf.c: Likewise.
52595 * math/s_ldexpl.c: Likewise.
52596 * math/s_significand.c: Likewise.
52597 * math/s_significandf.c: Likewise.
52598 * math/s_significandl.c: Likewise.
52599 * math/w_acos.c: Likewise.
52600 * math/w_acosf.c: Likewise.
52601 * math/w_acosh.c: Likewise.
52602 * math/w_acoshf.c: Likewise.
52603 * math/w_acoshl.c: Likewise.
52604 * math/w_acosl.c: Likewise.
52605 * math/w_asin.c: Likewise.
52606 * math/w_asinf.c: Likewise.
52607 * math/w_asinl.c: Likewise.
52608 * math/w_atan2.c: Likewise.
52609 * math/w_atan2f.c: Likewise.
52610 * math/w_atan2l.c: Likewise.
52611 * math/w_atanh.c: Likewise.
52612 * math/w_atanhf.c: Likewise.
52613 * math/w_atanhl.c: Likewise.
52614 * math/w_cosh.c: Likewise.
52615 * math/w_coshf.c: Likewise.
52616 * math/w_coshl.c: Likewise.
52617 * math/w_dremf.c: Likewise.
52618 * math/w_exp10.c: Likewise.
52619 * math/w_exp10f.c: Likewise.
52620 * math/w_exp10l.c: Likewise.
52621 * math/w_exp2.c: Likewise.
52622 * math/w_exp2f.c: Likewise.
52623 * math/w_fmod.c: Likewise.
52624 * math/w_fmodf.c: Likewise.
52625 * math/w_fmodl.c: Likewise.
52626 * math/w_hypot.c: Likewise.
52627 * math/w_hypotf.c: Likewise.
52628 * math/w_hypotl.c: Likewise.
52629 * math/w_j0.c: Likewise.
52630 * math/w_j0f.c: Likewise.
52631 * math/w_j0l.c: Likewise.
52632 * math/w_j1.c: Likewise.
52633 * math/w_j1f.c: Likewise.
52634 * math/w_j1l.c: Likewise.
52635 * math/w_jn.c: Likewise.
52636 * math/w_jnf.c: Likewise.
52637 * math/w_jnl.c: Likewise.
52638 * math/w_lgamma.c: Likewise.
52639 * math/w_lgamma_r.c: Likewise.
52640 * math/w_lgammaf.c: Likewise.
52641 * math/w_lgammaf_r.c: Likewise.
52642 * math/w_lgammal.c: Likewise.
52643 * math/w_lgammal_r.c: Likewise.
52644 * math/w_log.c: Likewise.
52645 * math/w_log10.c: Likewise.
52646 * math/w_log10f.c: Likewise.
52647 * math/w_log10l.c: Likewise.
52648 * math/w_log2.c: Likewise.
52649 * math/w_log2f.c: Likewise.
52650 * math/w_log2l.c: Likewise.
52651 * math/w_logf.c: Likewise.
52652 * math/w_logl.c: Likewise.
52653 * math/w_pow.c: Likewise.
52654 * math/w_powf.c: Likewise.
52655 * math/w_powl.c: Likewise.
52656 * math/w_remainder.c: Likewise.
52657 * math/w_remainderf.c: Likewise.
52658 * math/w_remainderl.c: Likewise.
52659 * math/w_scalb.c: Likewise.
52660 * math/w_scalbf.c: Likewise.
52661 * math/w_scalbl.c: Likewise.
52662 * math/w_sinh.c: Likewise.
52663 * math/w_sinhf.c: Likewise.
52664 * math/w_sinhl.c: Likewise.
52665 * math/w_sqrt.c: Likewise.
52666 * math/w_sqrtf.c: Likewise.
52667 * math/w_sqrtl.c: Likewise.
52668 * math/w_tgamma.c: Likewise.
52669 * math/w_tgammaf.c: Likewise.
52670 * math/w_tgammal.c: Likewise.
52672 * po/ja.po: Update from translation team.
52674 2011-09-29 Andreas Jaeger <aj@suse.de>
52677 * sunrpc/netname.c (netname2host): Fix logic.
52681 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52683 * math/w_remainder.c (__remainder): Likewise.
52684 * math/w_remainderf.c (__remainderf): Likewise.
52685 * math/libm-test.inc (remainder_test): Add test cases.
52687 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52689 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52692 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52694 * string/test-memcmp.c: Avoid unncessary #defines.
52695 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52697 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52699 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52700 Use new sse2 version for core i3 - i7 as it's faster
52701 than sse42 version.
52702 (bit_Prefer_PMINUB_for_stringop): New.
52703 * sysdeps/x86_64/rawmemchr.S: Update.
52704 Replace with faster SSE2 version.
52705 * sysdeps/x86_64/memrchr.S: New file.
52706 * sysdeps/x86_64/memchr.S: Update.
52707 Replace with faster SSE2 version.
52709 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52711 * elf/dl-load.c (lose): Add cast to avoid warning.
52713 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52715 * po/ca.po: Update from translation team.
52717 * inet/getnetgrent_r.c: Hook up nscd.
52718 * nscd/Makefile (routines): Add nscd_netgroup.
52719 (nscd-modules): Add netgroupcache.
52720 (CFLAGS-netgroupcache.c): Define.
52721 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52722 (cache_search): Add const to second parameter.
52723 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52725 (dbs): Add netgrdb entry.
52726 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52727 (verify_persistent_db): Handle netgrdb.
52728 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52729 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52731 (netgroup_response_header): Define.
52732 (innetgroup_response_header): Define.
52733 (datahead): Add netgroup_response_header and innetgroup_response_header
52735 * nscd/nscd.conf: Add entries for netgroup cache.
52736 * nscd/nscd.h (dbtype): Add netgrdb.
52737 (_PATH_NSCD_NETGROUP_DB): Define.
52738 (netgroup_iov_disabled): Declare.
52739 (xmalloc, xcalloc, xrealloc): Move declarations here.
52740 (cache_search): Adjust prototype.
52741 Add netgroup-related prototypes.
52742 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52743 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52744 (__nscd_innetgr): Declare.
52745 * nscd/selinux.c (perms): Use access_vector_t as element type and
52746 add netgroup-related initializers.
52747 * nscd/netgroupcache.c: New file.
52748 * nscd/nscd_netgroup.c: New file.
52749 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52750 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52751 For four parameters use innetgr.
52752 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52753 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52754 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52755 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52757 * nscd/connections.c (register_traced_file): Don't register file
52758 for disabled databases.
52760 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52762 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52764 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52765 from tree and freeing node.
52767 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52769 * nss/nsswitch.c (__nss_database_lookup): Handle
52770 nss_parse_service_list out of memory case.
52772 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52774 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52775 out of memory case.
52777 2011-10-04 Andreas Schwab <schwab@redhat.com>
52779 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52780 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52782 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52783 elf_machine_rela, elf_machine_lazy_rel.
52784 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52785 (ELF_DYNAMIC_DO_REL): Likewise.
52786 (ELF_DYNAMIC_DO_RELA): Likewise.
52787 (ELF_DYNAMIC_RELOCATE): Likewise.
52788 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52789 to ELF_DYNAMIC_DO_REL.
52790 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52791 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52792 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52794 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52795 skip_ifunc, don't call ifunc function if non-zero.
52796 (elf_machine_rela): Likewise.
52797 (elf_machine_lazy_rel): Likewise.
52798 (elf_machine_lazy_rela): Likewise.
52799 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52800 (elf_machine_lazy_rel): Likewise.
52801 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52803 (elf_machine_lazy_rel): Likewise.
52804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52806 (elf_machine_lazy_rel): Likewise.
52807 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52808 (elf_machine_lazy_rel): Likewise.
52809 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52810 (elf_machine_lazy_rel): Likewise.
52811 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52812 (elf_machine_lazy_rel): Likewise.
52813 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52814 (elf_machine_lazy_rel): Likewise.
52815 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52816 (elf_machine_lazy_rel): Likewise.
52817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52818 (elf_machine_lazy_rel): Likewise.
52820 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52822 * nss/nss_files/files-init.c (_nss_files_init): Use static
52823 initialization for all the *_traced_file variables.
52825 2011-09-28 Andreas Schwab <schwab@redhat.com>
52827 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52829 2011-09-27 Roland McGrath <roland@hack.frob.com>
52832 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52834 2011-09-27 Andreas Schwab <schwab@redhat.com>
52836 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52837 Reread the line before reparsing it.
52839 2011-09-26 Andreas Schwab <schwab@redhat.com>
52841 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52843 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52844 Maxim Kuvyrkov <maxim@codesourcery.com>
52845 Joseph Myers <joseph@codesourcery.com>
52847 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52848 if needed for __stack_chk_guard.
52850 2011-09-19 Roland McGrath <roland@hack.frob.com>
52852 * sysdeps/posix/spawni.c (script_execute): Always define it.
52853 It will be optimized away if unused.
52854 (maybe_script_execute): New function.
52855 (__spawni): Call it.
52857 * Makerules: Don't include tls.make.
52858 (config-tls): Always set to thread.
52859 * tls.make.c: File removed.
52861 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52863 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52864 * config.make.in (CPPFLAGS-config): New substituted variable.
52866 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52871 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52872 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52874 2011-09-15 Roland McGrath <roland@hack.frob.com>
52876 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52877 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52879 (CALL_FAIL): Likewise.
52880 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52881 (CALL_FAIL): Macro removed.
52882 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52884 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52886 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52887 for __FINITE_MATH_ONLY__ == 1.
52889 2011-09-15 Andreas Schwab <schwab@redhat.com>
52891 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52892 __ieee754_sqrt instead of sqrt.
52893 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52894 __ieee754_sqrtf instead of sqrtf.
52895 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52896 __floorf instead of floorf.
52897 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52898 __floorf, __truncf instead of floorf, truncf.
52900 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52902 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52904 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52905 __extern_always_inline.
52906 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52909 2011-09-14 Andreas Schwab <schwab@redhat.com>
52911 * elf/rtld.c (dl_main): Also relocate in dependency order when
52912 doing symbol dependency testing.
52914 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52916 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52917 Always define `refsym'.
52919 2011-09-13 Andreas Schwab <schwab@redhat.com>
52921 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52922 (__FD_ELT): Renamed from __FDELT.
52923 * misc/bits/select2.h (__FD_ELT): Likewise.
52924 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52925 __FD_MASK instead of __FDELT, __FDMASK.
52926 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52928 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52931 * elf/Makefile (gen-ldd): Fix pattern.
52933 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52934 (init_tls): Likewise.
52936 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52940 2011-09-12 Andreas Schwab <schwab@redhat.com>
52942 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52943 `struct cmsghdr *' instead of `void *'.
52944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52947 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52949 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52951 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52952 ldd_rewrite_script.
52954 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52956 * configure.in: Remove --with-tls option.
52957 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52958 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52959 out in case it is missing.
52960 * sysdeps/ia64/elf/configure.in: Likewise.
52961 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52962 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52963 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52964 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52965 * sysdeps/sh/elf/configure.in: Likewise.
52966 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52967 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52968 * sysdeps/x86_64/elf/configure.in: Likewise.
52969 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52970 * sysdeps/mach/hurd/tls.h: Likewise.
52973 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52976 * configure.in: Fix use of AC_INIT.
52978 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52980 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52982 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52984 * malloc/hooks.c: Likewise.
52987 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52988 variables statically.
52989 (narenas): Initialize.
52990 (list_lock): Initialize.
52991 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52992 initializtion of main_arena and list_lock. Small cleanups.
52993 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52994 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52995 Add initializers to main_arena and mp_.
52996 (malloc_state): Remove pagesize member. Change all users to use
52999 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53000 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53001 is always initialized.
53003 * malloc/malloc.c: Removed unused configurations and dead code.
53004 * malloc/arena.c: Likewise.
53005 * malloc/hooks.c: Likewise.
53006 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53008 * include/tls.h: Removed. USE___THREAD must always be defined.
53009 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53010 * elf/dl-libc.c: Likewise.
53011 * elf/dl-tsd.c: Likewise.
53012 * include/errno.h: Likewise.
53013 * include/netdb.h: Likewise.
53014 * include/resolv.h: Likewise.
53015 * inet/herrno-loc.c: Likewise.
53016 * inet/herrno.c: Likewise.
53017 * malloc/arena.c: Likewise.
53018 * malloc/hooks.c: Likewise.
53019 * malloc/malloc.c: Likewise.
53020 * resolv/res-state.c: Likewise.
53021 * resolv/res_libc.c: Likewise.
53022 * sysdeps/i386/dl-machine.h: Likewise.
53023 * sysdeps/ia64/dl-machine.h: Likewise.
53024 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53025 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53026 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53027 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53028 * sysdeps/sh/dl-machine.h: Likewise.
53029 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53030 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53031 * sysdeps/unix/i386/sysdep.S: Likewise.
53032 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53033 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53037 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53038 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53042 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53043 * sysdeps/x86_64/dl-machine.h: Likewise.
53044 * tls.make.c: Likewise.
53046 * configure.in: Remove --with-__thread option. Make tests for
53047 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53048 tls_model attribute fail if no support is available. Remove
53050 * Makeconfig: Adjust for dropped configure option. All features are
53052 * Makerules: Likewise.
53053 * Versions.def: Likewise.
53054 * argp/argp-fmtstream.c: Likewise.
53055 * argp/argp-fmtstream.h: Likewise.
53056 * argp/argp-help.c: Likewise.
53057 * assert/assert.c: Likewise.
53058 * config.h.in: Likewise.
53059 * config.make.in: Likewise.
53060 * configure: Likewise.
53061 * configure.in: Likewise.
53062 * csu/Versions: Likewise.
53063 * csu/init.c: Likewise.
53064 * elf/tst-audit2.c: Likewise.
53065 * elf/tst-tls10.c: Likewise.
53066 * elf/tst-tls10.h: Likewise.
53067 * elf/tst-tls11.c: Likewise.
53068 * elf/tst-tls12.c: Likewise.
53069 * elf/tst-tls14.c: Likewise.
53070 * elf/tst-tlsmod11.c: Likewise.
53071 * elf/tst-tlsmod12.c: Likewise.
53072 * elf/tst-tlsmod13.c: Likewise.
53073 * elf/tst-tlsmod13a.c: Likewise.
53074 * elf/tst-tlsmod14a.c: Likewise.
53075 * elf/tst-tlsmod15b.c: Likewise.
53076 * elf/tst-tlsmod16a.c: Likewise.
53077 * elf/tst-tlsmod16b.c: Likewise.
53078 * elf/tst-tlsmod7.c: Likewise.
53079 * elf/tst-tlsmod8.c: Likewise.
53080 * elf/tst-tlsmod9.c: Likewise.
53081 * gmon/gmon.c: Likewise.
53082 * grp/fgetgrent_r.c: Likewise.
53083 * grp/putgrent.c: Likewise.
53084 * hurd/fopenport.c: Likewise.
53085 * include/libc-symbols.h: Likewise.
53086 * include/tls.h: Likewise.
53087 * intl/gettextP.h: Likewise.
53088 * intl/loadinfo.h: Likewise.
53089 * locale/global-locale.c: Likewise.
53090 * locale/localeinfo.h: Likewise.
53091 * mach/devstream.c: Likewise.
53092 * malloc/arena.c: Likewise.
53093 * malloc/set-freeres.c: Likewise.
53094 * misc/err.c: Likewise.
53095 * misc/getttyent.c: Likewise.
53096 * misc/mntent_r.c: Likewise.
53097 * posix/getopt.c: Likewise.
53098 * posix/wordexp.c: Likewise.
53099 * pwd/fgetpwent_r.c: Likewise.
53100 * resolv/Versions: Likewise.
53101 * resolv/res_hconf.c: Likewise.
53102 * shadow/fgetspent_r.c: Likewise.
53103 * shadow/putspent.c: Likewise.
53104 * stdio-common/printf_fphex.c: Likewise.
53105 * stdio-common/tmpfile.c: Likewise.
53106 * stdlib/abort.c: Likewise.
53107 * stdlib/fmtmsg.c: Likewise.
53108 * sunrpc/auth_unix.c: Likewise.
53109 * sunrpc/clnt_perr.c: Likewise.
53110 * sunrpc/clnt_tcp.c: Likewise.
53111 * sunrpc/clnt_udp.c: Likewise.
53112 * sunrpc/clnt_unix.c: Likewise.
53113 * sunrpc/openchild.c: Likewise.
53114 * sunrpc/svc_simple.c: Likewise.
53115 * sunrpc/svc_tcp.c: Likewise.
53116 * sunrpc/svc_udp.c: Likewise.
53117 * sunrpc/svc_unix.c: Likewise.
53118 * sunrpc/xdr.c: Likewise.
53119 * sunrpc/xdr_array.c: Likewise.
53120 * sunrpc/xdr_rec.c: Likewise.
53121 * sunrpc/xdr_ref.c: Likewise.
53122 * sunrpc/xdr_stdio.c: Likewise.
53124 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53126 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53128 2011-07-03 Andreas Jaeger <aj@suse.de>
53130 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53131 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53132 regenerate with gen-libm-tests.pl.
53134 2010-05-12 Petr Baudis <pasky@suse.cz>
53137 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53138 around j0() zero points by switching to j1().
53139 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53140 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53141 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53142 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53144 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53146 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53148 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53151 Patch in part by Pavel Roskin <proski@gnu.org>.
53154 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53156 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53157 Free memory block if necessary.
53160 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53161 be NULL. Don't lock in this case.
53163 2011-09-09 Roland McGrath <roland@hack.frob.com>
53165 * elf/elf.h (ELFOSABI_GNU): New macro.
53166 (ELFOSABI_LINUX): Define to that.
53168 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53170 * string/strncat.c (strncat): Undef the symbol in case it has been
53171 defined in bits/string.h.
53173 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53175 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53177 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53180 2011-08-17 Andreas Jaeger <aj@suse.de>
53182 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53184 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53185 Ian Lance Taylor <iant@google.com>
53187 * math/libm-test.inc (lround_test): New testcase.
53188 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53190 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53192 * Makefile: Remove support for automatic cvs check-ins.
53193 * Makerules: Likewise.
53194 * config.make.in: Likewise.
53195 * configure.in: Likewise.
53196 * intl/Makefile: Likewise.
53197 * locale/Makefile: Likewise.
53198 * po/Makefile: Likewise.
53199 * posix/Makefile: Likewise.
53200 * sysdeps/gnu/Makefile: Likewise.
53201 * sysdeps/mach/hurd/Makefile: Likewise.
53202 * sysdeps/sparc/sparc32/Makefile: Likewise.
53205 * posix/Makefile (bug-regex32-ENV): Define.
53206 Patch by John Stanley <jpsinthemix@verizon.net>.
53208 * misc/Makefile (headers): Add bits/select2.h.
53209 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53210 * misc/bits/select2.h: New file.
53211 * include/bits/select2.h: New file.
53212 * debug/Makefile (routines): Add fdelt_chk.
53213 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53214 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53216 * debug/fdelt_chk.c: New file.
53218 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53219 * wcsmbs/test-wmemcmp.c: Likewise.
53220 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53221 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53223 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53225 * string/Makefile (strop-tests): Add memcmp.
53226 * string/test-wmemcmp.c: New file.
53227 * string/test-memcmp.c: Add wmemcmp support.
53229 2011-09-08 Roland McGrath <roland@hack.frob.com>
53232 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53235 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53236 garbage value in a __mach_port_mod_refs call in the cases of the
53237 task-self and thread-self ports.
53239 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53241 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53243 2011-09-08 Andreas Schwab <schwab@redhat.com>
53245 * elf/dl-load.c (lose): Check for non-null L.
53247 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53249 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53251 * elf/dl-libc.c (dlerror_run): Pass back error code from
53255 * elf/dl-load.c (lose): Free l_origin if it is valid.
53257 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53259 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53260 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53261 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53262 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53263 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53264 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53266 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53268 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53269 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53270 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53271 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53272 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53273 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53274 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53275 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53276 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53277 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53279 2011-08-15 Alan Modra <amodra@gmail.com>
53282 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53283 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53284 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53285 ppc_mcount to static-only-routines.
53286 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53288 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53289 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53291 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53293 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53294 for finite and infinity parameters.
53296 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53299 and add nop instructions for throughput optimization.
53300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53302 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53305 aligned copy for power7 with vector-scalar instructions.
53306 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53308 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53310 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53313 2011-09-07 Andreas Schwab <schwab@redhat.com>
53316 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53319 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53321 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53322 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53323 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53324 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53327 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53329 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53330 Forgot to demangle the pointer.
53332 * sysdeps/i386/sysdep.h: Define atom_text_section.
53333 * sysdeps/x86_64/sysdep.h: Likewise.
53334 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53335 section with atom_text_section.
53336 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53337 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53338 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53340 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53342 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53343 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53344 already be defined. Change to take two parameters and don't assign
53345 result to variable. Adjust all users.
53346 Define INTERNAL_GETTIME if not already defined.
53347 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53350 HAVE_CLOCK_GETTIME_VSYSCALL.
53351 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53354 gettimeofday vsyscall, just use time.
53356 2011-09-06 Andreas Schwab <schwab@redhat.com>
53358 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53361 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53363 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53367 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53368 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53369 syscall if possible.
53371 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53373 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53374 e_ident. Don't pass to find_mapsXX.
53375 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53377 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53380 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53381 * sysdeps/x86_64/multiarch/strchr.S: Update.
53382 Check bit_slow_BSF bit.
53383 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53384 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53385 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53387 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53390 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53392 (tryshell): Define.
53393 (__spawni): Change last parameter to be flag. Test
53394 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53395 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53396 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53397 * posix/spawni.c: Likewise.
53398 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53399 * posix/spawnp.c: Likewise. Change normal version to use
53400 SPAWN_XFLAGS_USE_PATH.
53401 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53402 SPAWN_XFLAGS_TRY_SHELL.
53405 * posix/glob.h: Remove gcc 1.x support.
53408 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53410 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53413 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53415 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53416 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53417 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53418 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53419 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53420 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53422 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53424 * sysdeps/x86_64/wcscmp.S: New file.
53426 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53427 wcscmp-c wcscmp-sse2
53428 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53429 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53430 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53431 * wcsmbs/wcscmp.c: Allow renaming.
53433 2011-09-05 David S. Miller <davem@davemloft.net>
53435 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53436 stack slot, rather than the struct return pointer slot.
53437 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53438 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53440 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53442 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53444 * po/ja.po: Update from translation team.
53447 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53448 kernel in 64-bit binaries.
53450 2011-09-01 David S. Miller <davem@davemloft.net>
53452 * elf/elf.h (HWCAP_SPARC_*): Move to..
53453 * sysdeps/sparc/sysdep.h: this new file and add new values.
53454 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53455 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53456 _DL_HWCAP_COUNT to 24.
53457 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53459 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53460 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53461 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53463 instead of magic constants.
53464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53466 2011-08-31 David S. Miller <davem@davemloft.net>
53468 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53470 Reimplement to do errno handling inline.
53471 (SYSCALL_ERROR_HANDLER): New macro.
53472 (__SYSCALL_STRING): Do not do errno handling in asm.
53473 (__CLONE_SYSCALL_STRING): Delete.
53474 (__INTERNAL_SYSCALL_STRING): Delete.
53475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53476 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53477 (PSEUDO): Reimplement to do errno handling inline.
53478 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53479 (SYSCALL_ERROR_HANDLER): New macro.
53480 (__SYSCALL_STRING): Do not do errno handling in asm.
53481 (__CLONE_SYSCALL_STRING): Delete.
53482 (__INTERNAL_SYSCALL_STRING): Delete.
53483 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53484 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53486 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53487 (inline_syscall*): Add 'err' argument.
53488 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53489 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53490 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53491 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53493 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53494 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53496 2011-08-30 Andreas Schwab <schwab@redhat.com>
53498 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53500 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53502 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53505 2011-08-24 David S. Miller <davem@davemloft.net>
53507 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53509 2011-08-24 Andreas Schwab <schwab@redhat.com>
53511 * elf/Makefile: Add rules to build and run unload8 test.
53512 * elf/unload8.c: New file.
53513 * elf/unload8mod1.c: New file.
53514 * elf/unload8mod1x.c: New file.
53515 * elf/unload8mod2.c: New file.
53516 * elf/unload8mod3.c: New file.
53518 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53521 2011-08-23 David S. Miller <davem@davemloft.net>
53523 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53524 subtract stack bias.
53525 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53526 %sp not %fp in calculations.
53527 (_JMPBUF_UNWINDS_ADJ): Likewise.
53529 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53530 (aio_suspend): Call it to force an exception region around the
53531 AIO_MISC_WAIT() invocation.
53533 2011-08-23 Andreas Schwab <schwab@redhat.com>
53535 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53538 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53540 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53542 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53543 and <dl-machine.h>.
53544 (Elf64_FuncDesc): Remove.
53546 2011-08-22 David S. Miller <davem@davemloft.net>
53548 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53549 sigaltstack check, add missing cfi directives.
53550 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53551 missing cfi directives, and sigaltstack handling.
53553 2011-08-16 Andreas Schwab <schwab@redhat.com>
53556 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53557 object is seen twice.
53558 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53560 * elf/Makefile (distribute): Add tst-initorder2.c.
53561 (tests): Add tst-initorder2.
53562 (modules-names): Add tst-initorder2a tst-initorder2b
53563 tst-initorder2c tst-initorder2d. Add rules to build them.
53564 ($(objpfx)tst-initorder2.out): New rule.
53565 * elf/tst-initorder2.c: New file.
53566 * elf/tst-initorder2.exp: New file.
53568 2011-08-22 Andreas Schwab <schwab@redhat.com>
53570 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53572 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53573 dependencies back to end of function.
53575 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53576 $(elfobjdir)/ld.so.
53578 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53581 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53583 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53584 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53585 of __vdso_gettimeofday.
53586 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53587 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53589 (_libc_vdso_platform_setup): Remove initialization of
53590 __vdso_gettimeofday and __vdso_time.
53592 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53594 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53595 and fgetc_unlocked.
53596 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53599 * elf/dl-open.c (add_to_global): Report additions to the global scope
53600 for LD_DEBUG=scopes.
53601 (dl_open_worker): Also print scope of newly loaded dependencies.
53602 (_dl_show_scope): Indicate if there is no scope.
53605 * stdio-common/Makefile (tests): Add bug24.
53606 * stdio-common/bug24.c: New file.
53608 2011-08-19 Andreas Jaeger <aj@suse.de>
53611 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53612 non-existant file when using close-on-exec mode.
53614 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53617 the very first instruction.
53619 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53620 the CFI state in the end.
53621 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53622 inclusion of dl-trampoline.h.
53623 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53625 2011-08-19 Andreas Schwab <schwab@redhat.com>
53627 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53628 expectations for long double.
53630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53631 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53633 2011-08-14 David S. Miller <davem@davemloft.net>
53635 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53636 artificual limit depends upon the system page size.
53638 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53640 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53641 * resolv/Makefile: Define CFLAGS-libresolv.
53643 2011-08-17 Andreas Schwab <schwab@redhat.com>
53645 * nss/makedb.c (compute_tables): Make variables used in nested
53648 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53650 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53651 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53652 if buffer was too small.
53654 * elf/pldd.c (main): Attach to all threads in the process.
53655 Rewrite /proc handling to use *at functions.
53657 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53659 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53660 specifies first scope to show.
53661 (dl_open_worker): Update callers. Move printing scope of new
53662 object to before the relocation.
53663 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53664 * sysdeps/generic/ldsodefs.h: Update declaration.
53666 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53667 string for the scope number.
53669 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53671 * nscd/servicescache.c (cache_addserv): Make sure written is always
53674 2011-08-14 Roland McGrath <roland@hack.frob.com>
53676 * sysdeps/i386/i486/bits/atomic.h
53677 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53678 statement expression, so as to suppress "set but not used" warning.
53679 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53681 * string/strncat.c (STRNCAT): Use prototype definition.
53683 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53684 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53686 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53687 (localedef-modules): Add localedef.
53688 (locale-modules): Add locale.
53690 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53691 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53692 to avoid a warning.
53694 2011-08-14 David S. Miller <davem@davemloft.net>
53696 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53697 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53699 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53701 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53702 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53703 * elf/rtld.c (dl_main): Set l_name of vDSO.
53704 Call _dl_show_scope when DL_DEBUG_SCOPES.
53705 (process_dl_debug): Recognize scopes flag and also set it for all.
53706 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53707 Declare _dl_show_scope.
53709 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53710 (do_dlopen): Pass caller_dlopen to dl_open.
53711 (__libc_dlopen_mode): Initialize caller_dlopen.
53713 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53714 of libc. Make tolower call locale-independent. Optimize a bit by
53715 using isdigit instead of isalnum.
53716 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53718 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53720 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53721 was a dependency or dynamically loaded.
53723 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53725 * intl/l10nflist.c: Allow architecture-specific pop function.
53726 * sysdeps/x86_64/l10nflist.c: New file.
53728 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53731 2011-08-10 Andreas Schwab <schwab@redhat.com>
53733 * include/dirent.h: Add libc_hidden_proto for scandirat and
53734 scandirat64. Don't declare __scandirat64.
53735 * dirent/scandirat.c: Add libc_hidden_def.
53736 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53737 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53739 2011-08-10 David S. Miller <davem@davemloft.net>
53741 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53743 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53744 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53745 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53747 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53749 * Versions.def [libc]: Add GLIBC_2.15.
53750 * dirent/Makefile (routines): Add scandirat and scandirat64.
53751 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53753 * dirent/dirent.h: Declare scandirat and scandirat64.
53754 * dirent/scandirat.c: New file.
53755 * dirent/scandirat64.c: New file.
53756 * sysdeps/wordsize-64/scandirat.c: New file.
53757 * sysdeps/wordsize-64/scandirat64.c: New file.
53758 * dirent/opendir.c: Define opendirat.
53759 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53761 * dirent/scandir64.c: Adjust for scandir.c change.
53762 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53763 __scandirat64, and __scandir_cancel_handler.
53764 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53765 additional parameter and use openat instead of open (outside of ld.so).
53766 Add new __opendir as wrapper around __opendirat.
53767 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53768 here without requiring old scandirat implementation.
53770 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53772 * dirent/scandir.c (cancel_handler): Renamed to
53773 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53774 defined. Adjust users.
53775 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53776 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53778 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53780 * string/test-string.h (IMPL): Use __STRING to expand name and then
53783 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53786 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53788 * string/Makefile: Update.
53789 (strop-tests): Append strncat.
53790 * string/test-wcscmp.c: New file.
53791 New comprehensive test for wcscmp.
53792 * string/test-strcmp.c: Update.
53793 (WIDE): New define.
53795 2011-07-22 Andreas Schwab <schwab@redhat.com>
53797 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53800 2011-07-26 Andreas Schwab <schwab@redhat.com>
53802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53803 encoding to ACE if AI_IDN.
53805 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53807 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53808 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53810 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53812 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53813 Fix overflow bug in strncat.
53814 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53816 * string/test-strncat.c: Update.
53817 Add new tests for checking overflow bugs.
53819 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53822 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53823 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53824 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53825 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53826 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53827 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53828 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53829 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53832 (USE_AS_STRCAT): Define.
53833 Add strcat and strncat support.
53834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53836 2011-07-25 Andreas Schwab <schwab@redhat.com>
53838 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53839 __n bigger than INT_MAX+1.
53840 (__strncmp_g): Likewise.
53842 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53844 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53845 * libio/stido.h: Likewise.
53847 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53852 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53854 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53855 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53856 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53859 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53864 (_dl_x86_64_save_sse): Likewise.
53866 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53870 (_dl_x86_64_save_sse): Likewise.
53872 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53874 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53876 2011-07-21 Andreas Schwab <schwab@redhat.com>
53878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53880 (_dl_x86_64_save_sse): Use correct AVX check.
53882 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53884 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53885 bug in strncpy/strncat.
53886 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53888 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53890 * string/tester.c (test_strcat): Add tests for different alignments
53891 of source and destination.
53892 (test_strncat): Likewise.
53894 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53897 * posix/glob.c (glob): Check passed in values before using them in
53898 expressions to avoid some overflows.
53899 (glob_in_dir): Likewise.
53902 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53903 check for AVX enablement so that we don't crash with old kernels and
53905 * elf/tst-audit4.c: Add same checks here.
53906 * elf/tst-audit6.c: Likewise.
53908 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53910 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53912 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53914 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53916 * po/cs.po: Update from translation team.
53917 * po/bg.po: Likewise.
53919 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53921 * misc/sys/cdefs.h: Add support for const attribute.
53922 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53923 to gnu_dev_{major,minor,makedev} functions.
53925 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53927 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53929 2011-07-20 Andreas Schwab <schwab@redhat.com>
53931 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53934 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53936 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53937 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53938 register in order to avoid conflicts with the soft frame pointer
53939 being held in r11 when necessary.
53940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53941 (INTERNAL_VSYSCALL_NCS): Likewise.
53943 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53945 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53946 * elf/dl-fini.c (_dl_fini): Adjust caller.
53947 * elf/dl-close.c (_dl_close_worker): Likewise.
53948 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53950 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53952 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53953 "aux_cache->nlibs < 0".
53955 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53956 in the reload-count case.
53958 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53961 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53962 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53963 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53964 * sysdeps/x86_64/multiarch/strcat.S: New file.
53965 * sysdeps/x86_64/multiarch/strncat.S: New file.
53966 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53967 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53968 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53969 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53970 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53971 (USE_AS_STRCAT): Define.
53972 Add strcat and strncat support.
53973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53974 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53975 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53976 * string/strncat.c: Update.
53977 (USE_AS_STRNCAT): Define.
53978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53979 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53981 * sysdeps/x86_64/multiarch/init-arch.h
53982 (bit_Prefer_PMINUB_for_stringop): New.
53983 (index_Prefer_PMINUB_for_stringop): Likewise.
53984 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53985 bit_Prefer_PMINUB_for_stringop.
53987 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53989 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53991 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53992 of casting of buffer.
53993 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53994 buffer32 and buffer64.
53995 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53996 writes instead of casting of buffer.
53997 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53999 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54002 2011-07-19 Andreas Schwab <schwab@redhat.com>
54004 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54006 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54008 * nscd/nscd.c (termination_handler): Don't do anything for a database
54009 if it has not yet been initialized.
54011 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54013 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54015 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54017 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54019 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54021 * po/nl.po: Update from translation team.
54022 * po/sv.po: Likewise.
54024 2011-07-16 Roland McGrath <roland@hack.frob.com>
54026 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54027 now disallowed by GCC.
54029 * configure.in (use-default-link): Default to yes if a test -shared
54030 link meets our qualifications.
54031 * configure: Regenerated.
54033 * config.make.in (output-format): New variable.
54034 * configure.in: Check for ld --print-output-format support.
54035 * configure: Regenerated.
54036 * Makerules ($(common-objpfx)format.lds)
54037 [$(output-format) != unknown]: Just use $(output-format),
54038 instead of the linker-script munging.
54040 2011-07-14 Roland McGrath <roland@hack.frob.com>
54042 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54043 of $(common-objpfx)shlib.lds.
54044 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54046 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54047 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54049 * configure.in (-z relro check): Adjust test code to add a large
54050 writable data section after it.
54051 * configure: Regenerated.
54053 2011-07-11 Roland McGrath <roland@hack.frob.com>
54055 * configure.in (-z relro check): Fix test code to make the variable
54057 * configure: Regenerated.
54059 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54061 * nscd/nscd.h (struct traced_file): Define.
54062 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54063 elements. Add traced_files.
54064 (inotify_fd): Declare.
54065 (register_traced_file): Declare.
54066 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54067 (inotify_fd): Export.
54068 (resolv_conf_descr): Remove.
54069 (nscd_init): Move inotify descriptor creation to main.
54070 Don't register files for notification here.
54071 (register_traced_file): New function.
54072 (invalidate_cache): Don't use reset_res to determine whether to call
54073 res_init, go through the list of registered files.
54074 (main_loop_poll): The inotify descriptors are now stored in the
54075 structures for the traced files.
54076 (main_loop_epoll): Likewise
54077 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54078 to __nss_disable_nscd.
54079 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54080 for a database anymore. Check the records for all the registered
54082 * nss/Makefile (libnss_files-routines): Add files-init.
54083 (libnss_db-routines): Add db-init.
54084 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54085 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54086 * nss/nss_db/db-init.c: New file.
54087 * nss/nss_files/files-init.c: New file.
54088 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54089 __nss_lookup_function.
54090 (__nss_lookup_function): Call nss_load_library.
54091 (nss_load_all_libraries): New function.
54092 (__nss_disable_nscd): Take parameter with callback function for files
54093 to register. Set is_nscd. Load all the DSOs for the NSS modules
54094 used for the cached services.
54095 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54096 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54097 options for features to all the files in nscd.
54099 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54101 2011-07-10 Roland McGrath <roland@hack.frob.com>
54103 * csu/elf-init.c (__libc_csu_init): Comment typo.
54105 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54107 * po/pl.po: Update from translation team.
54108 * po/ja.po: Likewise.
54109 * po/ru.po: Likewise.
54110 * po/ko.po: Likewise.
54111 * po/fr.po: Likewise.
54113 2011-07-09 Roland McGrath <roland@hack.frob.com>
54115 * configure.in (.ctors/.dtors header and trailer check):
54116 Use an empirical test on a built program.
54117 * configure: Regenerated.
54119 * configure.in (-z relro check): Use an empirical test on a built DSO.
54120 Detect, but do not require, on ia64.
54121 * configure: Regenerated.
54123 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54124 Update tests that use readelf to use $READELF instead.
54125 * configure: Regenerated.
54127 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54129 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54130 if the result is not used.
54132 2011-07-05 Andreas Jaeger <aj@suse.de>
54135 * stdlib/tst-strtod.c: Add testcase.
54137 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54139 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54140 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54141 The latter has a higher limit. Take additional parameter to pass to
54143 (__pathconf): Pass file to __statfs_link_max.
54144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54146 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54150 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54151 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54153 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54154 (__statfs_filesize_max): Likewise.
54155 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54157 2011-07-05 Andreas Jaeger <aj@suse.de>
54159 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54161 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54163 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54165 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54168 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54170 * Makefile (strop-tests): Add strncat.
54171 * string/test-strncat.c: New file.
54173 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54175 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54177 2011-06-21 Andreas Jaeger <aj@suse.de>
54179 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54180 Copy rule from iconvdata/Makefile.
54182 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54185 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54186 but no long options are defined, just return 'W'.
54188 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54191 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54193 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54195 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54197 (innetgr): Likewise.
54199 2011-07-05 Roland McGrath <roland@hack.frob.com>
54201 * config.make.in (install_root): Default to $(DESTDIR).
54203 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54207 2011-07-02 Roland McGrath <roland@hack.frob.com>
54209 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54211 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54212 containing directory rather than embedding absolute directory names.
54214 * scripts/check-local-headers.sh: Rewritten using awk.
54215 Match by word, not by line. Print error messages for matches.
54216 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54218 * Makerules [shlib-lds-flags empty]:
54219 ($(common-objpfx)libc_pic.opts): New target.
54220 ($(common-objpfx)libc_pic.os.clean): New target.
54221 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54223 * config.make.in (OBJCOPY): New variable.
54224 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54225 * configure: Regenerated.
54227 * config.make.in (use-default-link): New variable.
54228 * configure.in (use_default_link): Grok --with-default-link to set it.
54229 * configure: Regenerated.
54230 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54231 (shlib-lds, shlib-lds-flags): Define to empty.
54233 * Makerules (shlib-lds): New variable.
54234 (shlib-lds-flags): New variable.
54235 (build-shlib, build-moduile, build-module-asneeded): Use it.
54236 ($(common-objpfx)libc.so): Use $(shlib-lds).
54237 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54238 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54240 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54241 DT_FLAGS/DT_FLAGS_1 with zero flags.
54243 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54244 linker script munging.
54246 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54248 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54250 * crypt/sha512.c (sha512_process_block): Perform total addition using
54251 128-bit if possible.
54252 (__sha512_finish_ctx): Likewise.
54253 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54255 * crypt/sha256.c (SWAP64): Define.
54256 (sha256_process_block): Perform total addition using 64-bit if
54258 (__sha256_finish_ctx): Likewise.
54260 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54262 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54263 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54264 * nscd/hstcache.c (cache_addhst): Likewise.
54265 * nscd/grpcache.c (cache_addgr): Likewise.
54266 * nscd/aicache.c (addhstaiX): Likewise
54267 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54269 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54271 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54273 * nscd/hstcache.c (cache_addhst): Likewise.
54274 * nscd/grpcache.c (cache_addgr): Likewise.
54275 * nscd/aicache.c (addhstaiX): Likewise
54277 2011-07-01 Andreas Schwab <schwab@redhat.com>
54279 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54280 domain only when needed.
54282 2011-06-30 Andreas Schwab <schwab@redhat.com>
54284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54285 is always restored.
54287 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54289 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54290 are re-adding the entry.
54291 * nscd/servicescache.c (cache_addserv): Likewise.
54293 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54295 * sysdeps/generic/dl-irel.h: fix protection against multiple
54297 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54299 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54302 * malloc/memusage.sh: Fix quoting in message.
54303 * debug/xtrace.sh: Likewise.
54305 * configure.in: Remove support for --experimental-malloc option, make
54307 * config.make.in: Likewise.
54308 * malloc/Makefile: Likewise.
54310 2011-06-27 Andreas Schwab <schwab@redhat.com>
54312 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54313 two-byte characters.
54315 2011-06-27 Roland McGrath <roland@hack.frob.com>
54317 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54318 AC_CACHE_CHECK invocation.
54319 * configure: Regenerated.
54321 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54323 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54326 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54327 bit from old_res_options.
54329 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54331 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54332 value type for setfct.
54334 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54337 __gettimeofday instead of gettimeofday.
54339 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54341 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54343 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54345 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54350 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54353 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54354 strcpy-sse2-unaligned strncpy-sse2-unaligned
54355 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54356 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54357 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54358 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54359 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54360 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54361 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54362 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54363 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54364 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54365 (STRCPY): Support SSE2 and SSSE3 versions.
54367 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54371 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54372 kernels which artificially limit size of requests.
54374 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54377 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54378 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54379 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54380 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54381 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54382 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54383 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54384 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54386 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54387 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54388 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54389 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54390 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54392 Enable unaligned load optimization for Intel Core i3, i5 and i7
54394 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54396 (index_Fast_Unaligned_Load): Define.
54397 (HAS_FAST_UNALIGNED_LOAD): Define.
54399 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54401 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54403 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54407 until it is clear that the information is realy needed.
54408 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54410 2011-06-22 Andreas Schwab <schwab@redhat.com>
54412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54414 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54417 /sys/devices/system/cpu/online if it is usable.
54419 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54420 reading the information from the /proc filesystem to once a second.
54422 2011-06-21 Andreas Jaeger <aj@suse.de>
54424 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54425 NULL after inclusion of kernel headers.
54427 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54429 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54430 calls to internal_setent.
54433 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54434 addresses using gethostbyname4_r ignore IPv4 addresses.
54436 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54437 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54439 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54441 2011-06-20 David S. Miller <davem@davemloft.net>
54443 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54445 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54447 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54448 (elf_irel): Use it.
54449 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54450 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54451 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54452 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54453 * sysdeps/x86_64/dl-irel.h: Likewise.
54455 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54456 * elf/dl-sym.c: Likewise.
54458 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54460 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54461 need to dereference resplen2.
54463 2011-06-14 Andreas Schwab <schwab@redhat.com>
54465 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54467 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54469 * Makeconfig: Define vardbdir and inst_vardbdir.
54470 * nss/Makefile: Add rules to install db-Makefile.
54472 * nss/nss_db/db-XXX.c: Cleanup.
54474 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54475 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54477 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54478 * nss/makedb.c: Implement -g option to specify that value strings
54479 are generated and should not be added to table iterated over for
54481 * nss/nss_db/db-initgroups.c: New file.
54483 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54486 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54487 (internal_getgrouplist): Adjust to name change.
54488 Update use_initgroups_entry if this is not the first call.
54489 * nss/databases.def: Add initgroups entry.
54491 * nss/makedb.c (compute_tables): Check result of multiple hash table
54492 sizes to minimize maximum chain length.
54494 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54496 * Versions.def: Add entry for libnss_db.
54497 * shlib-versions: Likewise.
54498 * nss/Makefile: Add rules to build libnss_db.
54499 * nss/Versions: Add libnss_db information. Organize libnss_files
54501 * nss/db-Makefile: Add gshadow support. Change rules for the new
54502 makedb progra. Some minor improvements to generate smaller files.
54503 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54505 * nss/makedb.c: ...here.
54506 Improve database format to be smaller and require less memory at
54508 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54510 * nss/nss_db/db-netgrp.c: Likewise.
54511 * nss/nss_db/db-open.c: Likewise.
54512 * nss/nss_files/flies-XXX.x: Adjust comments.
54513 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54514 * nss/nss_files/files-grp.c: Likewise.
54515 * nss/nss_files/files-hosts.c: Likewise.
54516 * nss/nss_files/files-network.c: Likewise.
54517 * nss/nss_files/files-proto.c: Likewise.
54518 * nss/nss_files/files-pwd.c: Likewise.
54519 * nss/nss_files/files-rpc.c: Likewise.
54520 * nss/nss_files/files-service.c: Likewise.
54521 * nss/nss_files/files-sgrp.c: Likewise.
54522 * nss/nss_files/files-spwd.c: Likewise.
54523 * nss/nss_db/db-alias.c: Removed.
54524 * nss/nss_db/dummy-db.h: Removed.
54526 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54528 * nss/makedb.c: Rewritten to not use database library.
54529 * nss/Makefile: Update to build new makedb program.
54531 2011-06-14 Andreas Jaeger <aj@suse.de>
54533 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54534 memset declaration.
54536 2011-06-10 Andreas Schwab <schwab@redhat.com>
54538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54541 2011-06-10 Roland McGrath <roland@hack.frob.com>
54543 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54544 * elf/Makefile ($(objpfx)ld.so): Likewise.
54546 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54547 Don't list ld.so twice in dependencies.
54549 * posix/bug-regex31.c: Include <stdlib.h>.
54551 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54553 * nis/nss_compat/compat-spwd.c
54554 (getspent_next_nss_netgr): Remove unused variable.
54555 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54557 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54558 nonmembers" output to use the right array.
54560 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54562 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54564 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54565 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54566 * catgets/gencat.c (read_input_file): Likewise.
54567 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54569 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54570 variable definition inside #if's controlling its use.
54572 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54574 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54576 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54578 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54581 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54583 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54584 * configure: Regenerated.
54586 * Makerules: Revert last change.
54587 * elf/Makefile: Likewise.
54589 2011-06-09 Roland McGrath <roland@hack.frob.com>
54591 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54592 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54593 (reloc-link): Likewise.
54595 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54597 * elf/Makefile: Add rules to build pldd.
54598 * elf/pldd.c: New file.
54599 * elf/pldd-xx.c: New file.
54601 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54603 * version.h: Update for 2.15 development version.
54605 2011-06-07 David S. Miller <davem@davemloft.net>
54607 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54610 elf_machine_lazy_rel): Likewise.
54611 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54613 elf_machine_lazy_rel): Likewise.
54614 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54615 dl_hwcap via passed in argument.
54616 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54619 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54621 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54623 2011-06-06 Roland McGrath <roland@hack.frob.com>
54626 * manual/fdl-1.1.texi: New file, verbatim from:
54627 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54628 * manual/lgpl-2.1.texi: New file, verbatim from:
54629 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54630 * manual/Makefile (licenses): New variable, list those new file names.
54632 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54634 * manual/fdl.texi: File removed.
54635 * manual/lesser.texi: File removed.
54636 * manual/libc.texinfo (Copying, Documentation License):
54637 Use new @include file names, put @appendix directive before @include.
54639 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54642 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54643 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54644 (mq_open): Add __NTH.
54646 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54649 Assume Intel Core i3/i5/i7 processor if AVX is available.
54651 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54656 2011-05-31 Andreas Schwab <schwab@redhat.com>
54658 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54659 memory. Use alloca_account. Fix memory leak when retrying.
54661 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54663 * version.h (RELEASE): Bump for 2.14 release.
54664 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54666 * config.make.in (RANLIB): Remove entry.
54668 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54670 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54671 (libc.pot): Work around missing support for .ksh extension in xgettext.
54674 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54675 if both request failed.
54676 (send_dg): In case of server errors clear resplen or *resplen2.
54679 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54680 when there are multiple maps.
54681 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54682 (_dl_fini): Remove test here.
54684 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54686 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54689 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54690 bit from old_res_options.
54691 (gaih_inet): Likewise.
54694 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54697 * resolv/res_init.c (res_setoptions): Make the code more compact.
54700 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54704 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54706 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54709 * malloc/malloc.h: Declare malloc hook variables as volatile.
54711 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54715 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54716 raise in the comment.
54717 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54719 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54721 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54724 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54725 grow the buffers more if it already has to be sufficient.
54726 (build_wcs_upper_buffer): Likewise.
54727 * posix/regexec.c (check_matching): Likewise.
54728 (clean_state_log_if_needed): Likewise.
54729 (extend_buffers): Don't enlarge buffers beyond size of the input
54731 Patches mostly by Emil Wojak <emil@wojak.eu>.
54732 * posix/bug-regex32.c: New file.
54733 * posix/Makefile (tests): Add bug-regex32.
54735 * locale/findlocale.c (_nl_find_locale): Return right away if
54736 _nl_explode_name failed.
54737 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54739 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54741 * debug/xtrace.sh: Unify messages.
54742 * malloc/memusage.sh: Likewise.
54745 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54746 time symbol from vDSO. Substitute with vsyscall if not available.
54747 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54750 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54751 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54752 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54753 Add sendmmsg and internal_sendmmsg.
54754 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54755 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54756 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54758 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54759 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54760 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54762 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54765 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54766 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54768 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54772 * iconvdata/Makefile (tests): Add bug-iconv9.
54773 * iconvdata/bug-iconv9.c: New file.
54775 2011-05-27 Andreas Schwab <schwab@redhat.com>
54778 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54780 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54783 (struct user_regs_struct): Change intcs field back to cs.
54785 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54787 * po/ja.po: Update from translation team.
54789 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54792 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54793 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54795 2011-05-20 Andreas Schwab <schwab@redhat.com>
54797 * stdlib/longlong.h: Update from GCC.
54799 2011-05-23 Andreas Schwab <schwab@redhat.com>
54801 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54803 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54804 Add parameter name.
54805 (__sysconf): Pass it down.
54807 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54810 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54812 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54813 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54814 add in in __libc_use_alloca calls. Adjust callers.
54815 (glob): Use malloc in some situations.
54817 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54818 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54821 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54823 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54824 and CLOCK_BOOTTIME_ALARM.
54827 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54830 * string/_strerror.c (__strerror_r): Print negative errors as signed
54834 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54835 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54836 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54838 * configure.in: Fix typo in redirection and correct removal of test
54839 files in two cases.
54842 * locale/setlocale.c (new_composite_name): Fix test to check for
54843 identical name of all categories.
54846 * libio/filedoalloc.c (local_isatty): New function.
54847 (_IO_file_doallocate): Use local_isatty.
54848 * stdio-common/perror.c (perror): In case a new stream is used
54849 forward the stream error.
54850 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54853 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54858 * include/alloca.h (extend_alloca_account): Define.
54861 * posix/regex.h: Fix comments with documentation of user-accessible
54862 fields after compilation and describe correct free'ing of pattern
54863 after re_compile_pattern.
54864 Patch by Reuben Thomas <rrt@sc3d.org>.
54866 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54868 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54869 and -mno-altivec to prevent the compiler from using Altivec and/or
54870 VSX instructions when the corresponding registers are not available.
54872 2011-05-19 Andreas Schwab <schwab@redhat.com>
54874 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54876 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54878 * libio/freopen.c (freopen): Use __dup2, not dup2.
54879 * libio/freopen64.c (freopen64): Likewise.
54881 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54884 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54885 * math/Makefile (tests): Add test-powl.
54886 (CFLAGS-test-powl.c): Define.
54887 * math/test-powl.c: New file.
54889 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54891 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54893 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54896 * iconvdata/gb18030.c: Update to GB18020-2005.
54898 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54900 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54901 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54902 Patch by Aharon Robbins <arnold@skeeve.com>.
54905 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54909 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54910 through underflows.
54913 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54914 point to strings before performing equality test for error_one_per_line
54918 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54922 (struct user_fpregs_struct): Avoid __uint*_t types.
54925 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54926 symbol info. Use it instead of calling _dl_addr locally.
54927 (lock_and_info): New function.
54928 (tr_freehook): Call lock_and_info and pass symbol info as additional
54929 parameter to tr_where.
54930 (tr_mallochook): Likewise.
54931 (tr_reallochook): Likewise.
54932 (tr_memalignhook): Likewise.
54934 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54935 used and couldn't be at all thread-safe.
54937 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54939 * libio/freopen.c (freopen): Don't close old file descriptor
54940 before the new one is opened. Instead dup the new file descriptor
54941 to the old one after the new stream is created.
54942 * libio/freopen64.c (freopen64): Likewise.
54943 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54944 * libio/fileops.c (_IO_new_file_close_it): Handle new
54945 _IO_FLAGS2_NOCLOSE flag.
54946 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54947 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54948 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54949 _IO_FLAGS2_NOCLOSE flag.
54950 * include/unistd.h: Add hidden_proto for dup3.
54951 Define __have_dup3.
54952 * io/dup3.c: Define hidden symbol.
54953 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54956 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54957 when an incomplete long option is used.
54958 * posix/tst-getopt_long1.c: New file.
54959 * posix/Makefile (tests): Add tst-getopt_long1.
54962 * scripts/config.guess: Update from autoconf-2.68.
54963 * scripts/config.sub: Likewise.
54966 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54968 (has_cpuclock): ...this. New function.
54969 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54970 macro here based on has_cpuclock code.
54973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54974 First byte (not low byte) is now always NUL.
54975 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54978 Use non-cancelable interfaces.
54981 * locale/iso-639.def: Add entry for Sorani.
54984 * include/stdlib.h: Move include protection to the right place.
54985 Define abort_msg_s. Declare __abort_msg with it.
54986 * stdlib/abort.c (__abort_msg): Adjust type.
54987 * assert/assert.c (__assert_fail_base): New function. Majority
54988 of code from __assert_fail. Allocate memory for __abort_msg with
54990 (__assert_fail): Now call __assert_fail_base.
54991 * assert/assert-perr.c: Remove bulk of implementation. Use
54992 __assert_fail_base.
54993 * include/assert.hL Declare __assert_fail_base.
54994 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54996 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54998 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55002 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55003 until all modules are registered in the DTV.
55004 * elf/Makefile: Add rules to build and run tst-tls19.
55005 * elf/tst-tls19.c: New file.
55006 * elf/tst-tls19mod1.c: New file.
55007 * elf/tst-tls19mod2.c: New file.
55008 * elf/tst-tls19mod3.c: New file.
55009 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55012 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55016 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55017 two-byte sequence errors.
55018 * iconvdata/Makefile (tests): Add bug-iconv8.
55019 * iconvdata/bug-iconv8.c: New file.
55022 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55025 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55028 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55029 (dummy_getcfa): New function.
55030 (init): Get _Unwind_GetCFA address, use dummy if not found.
55031 (backtrace_helper): In recursion check, also check whether CFA changes.
55032 (__backtrace): Completely initialize arg.
55034 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55035 storing incomplete byte sequence in state object. Avoid testing for
55036 guaranteed too small input if we know there is enough data available.
55038 2011-05-11 Andreas Schwab <schwab@redhat.com>
55040 * Makeconfig (+link-pie): Indent.
55041 * Rules (binaries-pie): Define if $(have-fpie) and
55043 (binaries-shared): Also filter out $(binaries-pie).
55044 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55045 * nscd/Makefile (others-pie): Add nscd.
55046 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55047 ($(objpfx)nscd): Remove command override.
55048 * login/Makefile (others-pie): Add pt_chown.
55049 ($(objpfx)pt_chown): Remove command override.
55050 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55051 remove command overrides.
55053 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55055 * libio/tst_putwc.c: Fix error messages.
55058 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55059 currently writing and seek to current position when not.
55060 * libio/Makefile (tests): Add bug-fclose1.
55061 * libio/bug-fclose1.c: New file.
55063 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55066 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55067 don't set DF_1_NODELETE here.
55068 (do_lookup_x): When entering new entry test for copy relocation
55069 and if necessary set DF_1_NODELETE flag.
55070 * elf/tst-unique4.cc: New file.
55071 * elf/tst-unique4.h: New file.
55072 * elf/tst-unique4lib.cc: New file.
55073 * elf/Makefile: Add rules to build and run tst-unique4.
55074 Patch by Piotr Bury <pbury@goahead.com>.
55076 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55079 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55082 * misc/mntent_r.c (addmntent): Flush the stream after the output
55085 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55086 (is_trusted_path_normalize): Skip initial colon. Append slash
55087 to empty buffer. Duplicate is_trusted_path code but allow
55088 constructed patch to be prefix.
55089 (is_dst): Allow $ORIGIN followed by /.
55090 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55091 Correct testing of result of is_trusted_path_normalize
55092 (decompose_rpath): Fix warning.
55094 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55097 * grp/initgroups.c (internal_getgrouplist): When we found the service
55098 list through the initgroups entry in nsswitch.conf do not always
55099 continue on a successful lookup. Don't always use the
55100 __nss_group_database value if it is set.
55101 * nss/nsswitch.conf (initgroups): Change action for successful db
55102 lookup to continue for compatibility.
55104 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55107 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55109 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55111 * iconvdata/tst-tables.sh: Likewise.
55112 * iconvdata/cp770.c: New file.
55113 * iconvdata/cp771.c: New file.
55114 * iconvdata/cp772.c: New file.
55115 * iconvdata/cp773.c: New file.
55116 * iconvdata/cp774.c: New file.
55117 * iconvdata/testdata/CP770: New file.
55118 * iconvdata/testdata/CP770..UTF8: New file.
55119 * iconvdata/testdata/CP771: New file.
55120 * iconvdata/testdata/CP771..UTF8: New file.
55121 * iconvdata/testdata/CP772: New file.
55122 * iconvdata/testdata/CP772..UTF8: New file.
55123 * iconvdata/testdata/CP773: New file.
55124 * iconvdata/testdata/CP773..UTF8: New file.
55125 * iconvdata/testdata/CP774: New file.
55126 * iconvdata/testdata/CP774..UTF8: New file.
55128 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55130 * iconvdata/gen-8bit-gap.sh: Likewise.
55131 * iconvdata/gen-8bit.sh: Likewise.
55133 * locale/iso-639.def: Add ary entry.
55136 * locale/C-translit.h.in: Add U20A1 transliteration.
55139 * locale/iso-639.def: Add wae entry.
55140 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55143 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55147 * locale/C-translit.h.in: Add entry for U20B9.
55148 Patch by pravin.d.s@gmail.com.
55150 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55153 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55154 ENAMETOOLONG use generic getcwd.
55155 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55156 in rtld. Use *stat64.
55157 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55158 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55159 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55160 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55161 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55162 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55163 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55164 __fstatat64 macros.
55165 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55166 * dirent/rewinddir.c: Add libc_hidden_def.
55167 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55168 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55170 * include/dirent.h (__alloc_dir): Add flags parameter.
55171 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55172 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55174 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55175 from fdopendir if O_CLOEXEC is already set.
55177 2011-03-15 Alan Modra <amodra@gmail.com>
55179 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55180 l_tls_firstbyte_offset non-zero. Save padding offset in
55181 l_tls_firstbyte_offset for later use.
55182 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55183 freeing static tls block.
55185 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55187 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55188 where #ifdef was intended. The intent is to prevent ARG_MAX from
55189 being defined by the kernel headers.
55191 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55194 * resolv/resolv.h: Define RES_NOTLDQUERY.
55195 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55196 no-tld-query and set RES_NOTLDQUERY.
55197 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55198 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55199 modern BIND to search name as TLD unless forbidden.
55201 2011-05-07 Petr Baudis <pasky@suse.cz>
55202 Ulrich Drepper <drepper@gmail.com>
55205 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55206 (is_trusted_path): ...to here.
55207 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55208 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55209 using is_trusted_path_normalize() in setuid scripts.
55211 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55213 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55214 __BEGIN/__END_DECLS.
55216 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55219 NSS_STATUS_NOTFOUND if no record was found.
55221 2011-05-05 Andreas Schwab <schwab@redhat.com>
55223 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55224 (headers-not-in-tirpc): Remove rpc/netdb.h
55225 * resolv/netdb.h: Revert last change.
55227 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55229 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55230 circular dependency between libgcc.a and libc.a.
55232 2011-05-05 Andreas Schwab <schwab@redhat.com>
55234 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55235 * nis/Makefile: Don't install rpcsvc/*.
55236 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55237 instead of <rpc/types.h>.
55238 (MAXHOSTNAMELEN): Define.
55240 2011-05-03 Andreas Schwab <schwab@redhat.com>
55242 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55244 2011-04-28 Maciej Babinski <mbabinski@google.com>
55247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55248 gethostbyname4_r when IPv6 results are possible.
55250 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55253 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55254 _PC_PIPE_BUF handling.
55256 2011-04-30 Bruno Haible <bruno@clisp.org>
55259 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55260 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55262 * inet/getnameinfo.c (getnameinfo): Likewise.
55264 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55266 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55267 to groups setting in database lookup.
55268 * nss/nsswitch.conf: Add initgroups entry.
55270 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55273 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55275 Patch by Eric Blake <eblake@redhat.com>.
55277 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55279 * sunrpc/Makefile (need-export-routines): Add svc_run.
55280 (routines): Remove svc_run.
55281 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55282 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55283 * sunrpc/svc_run.c (svc_run): Likewise.
55284 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55286 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55288 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55289 problem in reallocation in last patch.
55291 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55293 * sunrpc/Makefile: Move inclusion of Rules.
55295 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55297 * nss/nss_files/files-initgroups.c: New file.
55298 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55299 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55300 _nss_files_initgroups_dyn.
55302 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55304 * elf/elf.h (R_ARM_IRELATIVE): Define.
55306 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55308 * po/ru.po: Update from translation team.
55310 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55312 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55315 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55318 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55319 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55320 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55321 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55324 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55328 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55332 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55335 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55337 * stdlib/bug-getcontext.c: New file.
55338 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55340 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55342 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55343 instructions into .machine "z9-109".
55344 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55345 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55347 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55349 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55350 between environment variables and auxiliary vector.
55352 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55354 * Makefile: Add rules to build linkobj/libc.so.
55355 * include/libc-symbols.h: Define libc_hidden_nolink.
55356 * include/rpc/auth.h: Mark functions which are to be hidden.
55357 * include/rpc/auth_des.h: Likewise.
55358 * include/rpc/auth_unix.h: Likewise.
55359 * include/rpc/clnt.h: Likewise.
55360 * include/rpc/des_crypt.h: Likewise.
55361 * include/rpc/key_prot.h: Likewise.
55362 * include/rpc/pmap_clnt.h: Likewise.
55363 * include/rpc/pmap_prot.h: Likewise.
55364 * include/rpc/pmap_rmt.h: Likewise.
55365 * include/rpc/rpc_msg.h: Likewise.
55366 * include/rpc/svc.h: Likewise.
55367 * include/rpc/svc_auth.h: Likewise.
55368 * include/rpc/xdr.h: Likewise.
55369 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55370 * nss/Makefile: Likewise.
55371 * sunrpc/Makefile: Don't install headers. Build library with normal
55372 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55373 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55374 for the compat linking library. Remove use of INTDEF/INTUSE.
55375 * sunrpc/auth_none.c: Likewise.
55376 * sunrpc/auth_unix.c: Likewise.
55377 * sunrpc/authdes_prot.c: Likewise.
55378 * sunrpc/authuxprot.c: Likewise.
55379 * sunrpc/clnt_gen.c: Likewise.
55380 * sunrpc/clnt_perr.c: Likewise.
55381 * sunrpc/clnt_raw.c: Likewise.
55382 * sunrpc/clnt_simp.c: Likewise.
55383 * sunrpc/clnt_tcp.c: Likewise.
55384 * sunrpc/clnt_udp.c: Likewise.
55385 * sunrpc/clnt_unix.c: Likewise.
55386 * sunrpc/des_crypt.c: Likewise.
55387 * sunrpc/des_soft.c: Likewise.
55388 * sunrpc/get_myaddr.c: Likewise.
55389 * sunrpc/key_call.c: Likewise.
55390 * sunrpc/key_prot.c: Likewise.
55391 * sunrpc/netname.c: Likewise.
55392 * sunrpc/pm_getmaps.c: Likewise.
55393 * sunrpc/pm_getport.c: Likewise.
55394 * sunrpc/pmap_clnt.c: Likewise.
55395 * sunrpc/pmap_prot.c: Likewise.
55396 * sunrpc/pmap_prot2.c: Likewise.
55397 * sunrpc/pmap_rmt.c: Likewise.
55398 * sunrpc/publickey.c: Likewise.
55399 * sunrpc/rpc_cmsg.c: Likewise.
55400 * sunrpc/rpc_common.c: Likewise.
55401 * sunrpc/rpc_dtable.c: Likewise.
55402 * sunrpc/rpc_prot.c: Likewise.
55403 * sunrpc/rpc_thread.c: Likewise.
55404 * sunrpc/rtime.c: Likewise.
55405 * sunrpc/svc.c: Likewise.
55406 * sunrpc/svc_auth.c: Likewise.
55407 * sunrpc/svc_authux.c: Likewise.
55408 * sunrpc/svc_raw.c: Likewise.
55409 * sunrpc/svc_run.c: Likewise.
55410 * sunrpc/svc_simple.c: Likewise.
55411 * sunrpc/svc_tcp.c: Likewise.
55412 * sunrpc/svc_udp.c: Likewise.
55413 * sunrpc/svc_unix.c: Likewise.
55414 * sunrpc/svcauth_des.c: Likewise.
55415 * sunrpc/xcrypt.c: Likewise.
55416 * sunrpc/xdr.c: Likewise.
55417 * sunrpc/xdr_array.c: Likewise.
55418 * sunrpc/xdr_float.c: Likewise.
55419 * sunrpc/xdr_intXX_t.c: Likewise.
55420 * sunrpc/xdr_mem.c: Likewise.
55421 * sunrpc/xdr_rec.c: Likewise.
55422 * sunrpc/xdr_ref.c: Likewise.
55423 * sunrpc/xdr_sizeof.c: Likewise.
55424 * sunrpc/xdr_stdio.c: Likewise.
55426 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55429 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55430 * sysdeps/ia64/dl-tls.h: Likewise.
55431 * sysdeps/powerpc/dl-tls.h: Likewise.
55432 * sysdeps/s390/dl-tls.h: Likewise.
55433 * sysdeps/sh/dl-tls.h: Likewise.
55434 * sysdeps/sparc/dl-tls.h: Likewise.
55435 * sysdeps/x86_64/dl-tls.h: Likewise.
55436 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55438 2011-03-14 Andreas Schwab <schwab@redhat.com>
55440 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55441 rpath element also skip the following colon.
55442 (expand_dynamic_string_token): Add is_path parameter and pass
55443 down to DL_DST_REQUIRED and _dl_dst_substitute.
55444 (decompose_rpath): Call expand_dynamic_string_token with
55445 non-zero is_path. Ignore empty rpaths.
55446 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55449 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55454 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55457 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55458 Patch by Filipe David Manana <fdmanana@apache.org>.
55460 2011-04-07 Andreas Schwab <schwab@redhat.com>
55462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55463 Maintain aligned stack.
55464 (CHECK_RSP): Remove unused macro.
55466 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55468 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55469 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55471 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55473 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55475 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55477 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55480 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55481 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55482 * sysdeps/x86_64/memmove.c: New file.
55483 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55484 (memcpy): Renamed to ...
55485 (__new_memcpy): This.
55486 (memcpy): Provide GLIBC_2_14 memcpy.
55487 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55488 (memcpy): Provide GLIBC_2_2_5 memcpy.
55490 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55493 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55495 2011-03-30 Andreas Schwab <schwab@redhat.com>
55497 * misc/syncfs.c: New file.
55498 * misc/Makefile (routines): Add syncfs.
55499 * posix/unistd.h: Declare syncfs.
55500 * sysdeps/unix/syscalls.list: Add syncfs.
55502 2011-04-01 Andreas Schwab <schwab@redhat.com>
55504 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55506 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55507 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55509 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55511 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55514 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55517 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55518 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55519 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55520 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55524 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55525 sync_file_range.c with -fexceptions.
55526 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55527 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55528 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55529 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55530 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55531 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55533 sync_file_range as cancellation point
55534 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55535 now a wrapper around __call_sync_file_range with cancellation handling.
55536 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55537 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55538 function name to __call_sync_file_range.
55539 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55540 Add call_sync_file_range.
55542 2011-04-01 Andreas Schwab <schwab@redhat.com>
55544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55547 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55549 * iconv/iconv.h: Fix typo in comment.
55550 * io/fcntl.h: Likewise.
55551 * libio/stdio.h: Likewise.
55552 * posix/spawn.h: Likewise.
55553 * posix/unistd.h: Likewise.
55554 * stdlib/stdlib.h: Likewise.
55555 * time/time.h: Likewise.
55556 * wcsmbs/wchar.h: Likewise.
55558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55559 open_by_handle): Add.
55560 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55561 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55562 Augment a few comments.
55563 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55565 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55568 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55571 * io/fcntl.h (AT_EMPTY_PATH): Define.
55573 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55575 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55576 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55577 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55579 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55580 * Versions.def: Add GLIBC_2.14.
55581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55584 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55586 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55588 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55590 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55593 * string/test-strncmp.c (do_page_test): New function.
55594 (check2): Likewise.
55595 (test_main): Call check2.
55596 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55598 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55601 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55602 Handle cache information in CPU leaf 4.
55603 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55605 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55608 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55609 character representation.
55610 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55612 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55614 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55615 END(__isnan) to END(__isnanf) to match function entry point/label
55616 EALIGN(__isnanf,...).
55618 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55620 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55622 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55625 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55626 copy from the symbol referenced in the relocation to initialize the
55628 Patch by Piotr Bury <pbury@goahead.com>.
55629 * elf/Makefile: Add rules to build and tst-unique3.
55630 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55631 * elf/tst-unique3.cc: New file.
55632 * elf/tst-unique3.h: New file.
55633 * elf/tst-unique3lib.cc: New file.
55634 * elf/tst-unique3lib2.cc: New file.
55636 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55638 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55640 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55641 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55644 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55646 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55647 to-be-loaded object along a path to loader is ld.so.
55649 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55650 Ulrich Drepper <drepper@gmail.com>
55652 * sysdeps/x86_64/memset.S: After aligning destination, code
55653 branches to different locations depending on the value of
55654 misalignment, when multiarch is enabled. Fix this.
55656 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55658 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55659 Set _x86_64_preferred_memory_instruction for AMD processsors.
55660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55661 Set bit_Prefer_SSE_for_memop for AMD processors.
55663 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55665 * libio/fmemopen.c (fmemopen): Optimize a bit.
55667 2011-03-03 Andreas Schwab <schwab@redhat.com>
55669 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55671 2011-03-03 Roland McGrath <roland@redhat.com>
55673 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55675 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55677 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55678 __bzero_ultra1 instead of __memset_ultra1.
55680 2011-02-23 Andreas Schwab <schwab@redhat.com>
55681 Ulrich Drepper <drepper@gmail.com>
55684 * include/link.h (struct link_map): Add l_orig_initfini.
55685 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55686 returning unsuccessfully.
55687 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55688 close of a file loaded at startup, restore the original l_initfini
55690 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55691 list, store the pointer.
55692 * elf/Makefile ($(objpfx)noload-mem): New rule.
55693 (noload-ENV): Define.
55694 (tests): Add $(objpfx)noload-mem.
55695 * elf/noload.c: Include <memcheck.h>.
55696 (main): Call mtrace. Close all opened handles.
55698 2011-02-17 Andreas Schwab <schwab@redhat.com>
55701 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55702 dependencies are missing.
55704 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55706 Fix __if_freereq crash: Unlike the generic version which uses free,
55708 * sysdeps/mach/hurd/ifreq.h: New file.
55710 2011-01-27 Petr Baudis <pasky@suse.cz>
55711 Ulrich Drepper <drepper@gmail.com>
55714 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55715 to extend_alloca().
55716 * stdio-common/bug23.c: New file.
55717 * stdio-common/Makefile (tests): Add bug23.
55719 2010-09-28 Andreas Schwab <schwab@redhat.com>
55720 Ulrich Drepper <drepper@gmail.com>
55723 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55724 before performing relro protection. At old place add assertion
55725 to make sure nothing changed.
55727 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55728 Glauber de Oliveira Costa <glommer@gmail.com>
55730 * elf/elf.h: Add new ARM TLS relocs.
55732 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55735 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55737 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55739 * sysdeps/wordsize-64/tst-writev.c: New file.
55741 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55743 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55744 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55745 insns in _dl_start to prevent a TOC reference before relocs are
55748 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55751 * Makeconfig: Remove RANLIB definition.
55752 * Makerules: Don't use RANLIB.
55753 * aclocal.m4: Remove ranlib test.
55754 * configure.in: No need to check for ranlib.
55755 * elf/rtld-Rules: Don't use RANLIB.
55757 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55759 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55761 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55762 inclusion protection macro.
55764 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55765 SIGRTMIN and SIGRTMAX and print information in that case only when
55766 SIGRTMIN is defined.
55768 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55770 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55771 arginfo fn returning -1.
55773 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55774 and thousands string is zero terminated.
55776 2011-02-03 Andreas Schwab <schwab@redhat.com>
55778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55779 sysdeps/unix/sysv/linux/bits/socket.h.
55781 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55783 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55784 (__CPU_COUNT): Remove old macros.
55785 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55786 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55787 (__CPU_ALLOC, __CPU_FREE): Add macros.
55788 (__sched_cpualloc, __sched_cpufree): Add declarations.
55790 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55792 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55793 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55794 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55795 (readdhstai): Return value of addhstaiX call.
55796 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55797 (addgrbyX): Return value returned by cache_addgr.
55798 (readdgrbyname): Return value returned by addgrbyX.
55799 (readdgrbygid): Likewise.
55800 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55801 (addpwbyX): Return value returned by cache_addpw.
55802 (readdpwbyname): Return value returned by addhstbyX.
55803 (readdpwbyuid): Likewise.
55804 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55805 (addservbyX): Return value returned by cache_addserv.
55806 (readdservbyname): Return value returned by addservbyX:
55807 (readdservbyport): Likewise.
55808 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55809 (addhstbyX): Return value returned by cache_addhst.
55810 (readdhstbyname): Return value returned by addhstbyX.
55811 (readdhstbyaddr): Likewise.
55812 (readdhstbynamev6): Likewise.
55813 (readdhstbyaddrv6): Likewise.
55814 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55815 (readdinitgroups): Return value returned by addinitgroupsX.
55816 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55817 (prune_cache): Keep track of timeout value of re-added entries.
55818 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55819 * nscd/nscd.h: Adjust prototypes of readd* functions.
55821 2011-02-04 Roland McGrath <roland@redhat.com>
55823 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55824 (nis_stats): Likewise.
55825 * nis/nis_modify.c (nis_modify): Likewise.
55826 * nis/nis_remove.c (nis_remove): Likewise.
55827 * nis/nis_add.c (nis_add): Likewise.
55829 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55831 * posix/fnmatch_loop.c: Add some consts.
55833 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55835 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55838 * config.make.in (config-cflags-novzeroupper): Define.
55839 * configure.in: Substitute libc_cv_cc_novzeroupper.
55840 * elf/Makefile (AVX-CFLAGS): Define.
55841 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55842 (CFLAGS-tst-auditmod4a.c): Likewise.
55843 (CFLAGS-tst-auditmod4b.c): Likewise.
55844 (CFLAGS-tst-auditmod6b.c): Likewise.
55845 (CFLAGS-tst-auditmod6c.c): Likewise.
55846 (CFLAGS-tst-auditmod7b.c): Likewise.
55847 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55849 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55851 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55852 function to the callback.
55853 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55855 2011-02-02 Andreas Schwab <schwab@redhat.com>
55857 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55860 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55863 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55865 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55867 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55870 * elf/Makefile: Add rules to build and run new test.
55871 * elf/tst-initorder.c: New file.
55872 * elf/tst-initorder.exp: New file.
55873 * elf/tst-initordera1.c: New file.
55874 * elf/tst-initordera2.c: New file.
55875 * elf/tst-initordera3.c: New file.
55876 * elf/tst-initordera4.c: New file.
55877 * elf/tst-initorderb1.c: New file.
55878 * elf/tst-initorderb2.c: New file.
55879 * elf/tst-order-a1.c: New file.
55880 * elf/tst-order-a2.c: New file.
55881 * elf/tst-order-a3.c: New file.
55882 * elf/tst-order-a4.c: New file.
55883 * elf/tst-order-b1.c: New file.
55884 * elf/tst-order-b2.c: New file.
55885 * elf/tst-order-main.c: New file.
55886 New test case by George Gensure <werkt0@gmail.com>.
55888 2010-10-01 Andreas Schwab <schwab@redhat.com>
55890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55891 decoding ACE if AI_CANONIDN.
55893 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55895 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55897 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55899 * version.h (RELEASE): Bump for 2.13 release.
55900 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55902 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55904 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55906 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55907 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55908 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55909 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55910 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55913 * posix/getconf.c: Update copyright year.
55914 * catgets/gencat.c: Likewise.
55915 * csu/version.c: Likewise.
55916 * debug/catchsegv.sh: Likewise.
55917 * debug/xtrace.sh: Likewise.
55918 * elf/ldconfig.c: Likewise.
55919 * elf/ldd.bash.in: Likewise.
55920 * elf/sprof.c (print_version): Likewise.
55921 * iconv/iconv_prog.c: Likewise.
55922 * iconv/iconvconfig.c: Likewise.
55923 * locale/programs/locale.c: Likewise.
55924 * locale/programs/localedef.c: Likewise.
55925 * malloc/memusage.sh: Likewise.
55926 * malloc/mtrace.pl: Likewise.
55927 * nscd/nscd.c (print_version): Likewise.
55928 * nss/getent.c: Likewise.
55930 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55931 PF_CAIF, and PF_ALG.
55932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55934 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55936 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55937 (modules-names): Use them.
55938 (ifunc-test-modules, ifunc-pie-tests): Define.
55939 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55940 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55941 (test-extras): Likewise.
55942 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55943 $(compile-command.c).
55944 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55945 (all-built-dso): Define.
55946 (check-textrel.out, check-execstack.out): Depend on it.
55948 * configure.in: Don't override --enable-multi-arch.
55950 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55953 * nscd/hstcache.c (tryagain): Define.
55954 (cache_addhst): Return tryagain not notfound for temporary errors.
55955 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55958 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55961 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55962 to make the syscall.
55963 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55966 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55967 and fall back to matching as normal character if the string ends before
55968 the matching ']' is found. This is what POSIX requires.
55969 * posix/testfnm.c: Adjust test result.
55970 * posix/globtest.sh: Adjust test result. Add new test.
55971 * posix/tst-fnmatch.input: Likewise.
55972 * posix/tst-fnmatch2.c: Add new test.
55974 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55976 * elf/Makefile (check-execstack): Revert last change. Depend on
55978 (check-execstack.h): New target.
55979 (generated): Add check-execstack.h.
55980 * elf/check-execstack.c: Include "check-execstack.h".
55981 (main): Revert last change.
55982 (handle_file): Return zero if GNU_STACK is absent and
55983 DEFAULT_STACK_PERMS doesn't include PF_X.
55985 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55987 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55988 in child fails because the descriptor is already closed.
55989 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55990 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55991 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55994 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55998 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55999 temporary buffer used to handle multi lookups locally.
56000 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56002 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56004 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56007 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56009 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56010 alignment for SSE2.
56012 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56015 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56016 characters. When rounding increased number of integer digits recompute
56018 * stdio-common/tst-grouping.c: New file.
56019 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56021 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56023 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56024 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56026 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56028 * bits/select.h: Likewise.
56030 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56032 * po/ja.po: Update from translation team.
56034 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56037 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56038 implementation just like for lxstat, fxstatat, et al.
56040 2010-12-27 Jim Meyering <meyering@redhat.com>
56043 * posix/regexec.c (build_trtable): Return failure indication upon
56044 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56046 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56049 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56050 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56051 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56052 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56055 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56058 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56059 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56061 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56063 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56064 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56065 script has SORT_BY_INIT_PRIORITY.
56066 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56067 NO_CTORS_DTORS_SECTIONS is defined.
56068 * elf/soinit.c: Likewise.
56069 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56070 NO_CTORS_DTORS_SECTIONS is defined.
56071 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56072 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56073 * sysdeps/sh/init-first.c: Likewise.
56074 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56076 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56078 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56079 always use the slow path.
56081 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56083 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56084 similar rule which adds the sysdep directories to the header search in
56085 order to pick up the correct platform stackinfo.h.
56086 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56087 perform test if it is, otherwise return successfully without testing.
56088 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56089 DEFAULT_STACK_PERMS define in stackinfo.h.
56090 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56091 defined in stackinfo.h.
56092 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56093 DEFAULT_STACK_PERMS defined in stackinfo.h.
56094 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56095 * sysdeps/ia64/stackinfo.h: Likewise.
56096 * sysdeps/s390/stackinfo.h: Likewise.
56097 * sysdeps/sh/stackinfo.h: Likewise.
56098 * sysdeps/sparc/stackinfo.h: Likewise.
56099 * sysdeps/x86_64/stackinfo.h: Likewise.
56100 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56101 PF_X for powerpc64. Retain PF_X for powerpc32.
56103 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56105 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56107 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56108 GETDENTS_64BIT_ALIGNED.
56110 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56112 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56114 2010-12-10 Andreas Schwab <schwab@redhat.com>
56116 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56119 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56120 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56122 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56123 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56125 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56128 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56131 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56133 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56135 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56137 * po/it.po: Update from translation team.
56139 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56144 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56146 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56148 2010-11-24 Andreas Schwab <schwab@redhat.com>
56150 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56152 (gaih_getanswer_slice): Likewise.
56154 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56158 2010-05-31 Petr Baudis <pasky@suse.cz>
56161 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56162 silently even in the chroot mode.
56164 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56166 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56167 last patch a bit. Pretty printing
56169 2010-05-31 Petr Baudis <pasky@suse.cz>
56172 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56173 initialization of skip_initgroups_dyn.
56175 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56180 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56182 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56184 2010-11-11 Andreas Schwab <schwab@redhat.com>
56186 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56187 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56188 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56189 ($(objpfx)tst-fnmatch-mem): New rule.
56190 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56191 * posix/tst-fnmatch.c (main): Call mtrace.
56193 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56196 Support Intel processor model 6 and model 0x2c.
56198 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56203 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56206 * string/test-strncasecmp.c (check_result): New function.
56207 (do_one_test): Use it.
56208 (check1): New function.
56209 (test_main): Use it.
56210 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56211 Support strcasecmp and strncasecmp.
56213 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56216 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56219 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56221 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56225 * sysdeps/x86_64/multiarch/bzero.S: New file.
56226 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56227 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56228 * sysdeps/x86_64/multiarch/memset.S: New file.
56229 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56231 Set bit_Prefer_SSE_for_memop for Intel processors.
56232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56234 (index_Prefer_SSE_for_memop): Define.
56235 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56237 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56239 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56240 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56242 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56245 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56246 (__x86_64_raw_data_cache_size_half): Likewise.
56247 (__x86_64_raw_shared_cache_size): Likewise.
56248 (__x86_64_raw_shared_cache_size_half): Likewise.
56250 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56251 (__x86_64_raw_data_cache_size_half): Likewise.
56252 (__x86_64_raw_shared_cache_size): Likewise.
56253 (__x86_64_raw_shared_cache_size_half): Likewise.
56254 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56255 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56256 and __x86_64_raw_shared_cache_size_half. Round
56257 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56258 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56259 to multiple of 256 bytes.
56261 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56265 of inacessible symlinks. Verify result of symlink before returning it.
56266 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56267 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56269 2010-10-28 Erich Ritz <erichritz@gmail.com>
56271 * math/math.h (isinf): Fix typo in comment.
56273 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56275 * po/da.po: Update from translation team.
56277 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56279 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56280 is added to the list.
56282 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56283 Ulrich Drepper <drepper@gmail.com>
56285 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56286 the global list here. Move code to...
56287 (_dl_add_to_namespace_list): ...here. New function.
56288 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56289 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56290 * elf/dl-load.c (lose): Don't remove the element from the list.
56291 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56292 (_dl_map_object): Likewise.
56294 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56297 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56298 into all bytes of SSE register.
56299 Patch by Richard Li <richardpku@gmail.com>.
56301 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56304 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56307 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56309 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56310 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56311 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56312 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56317 2010-10-22 Andreas Schwab <schwab@redhat.com>
56319 * include/dlfcn.h (__RTLD_SECURE): Define.
56320 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56321 mode & __RTLD_SECURE instead.
56322 (open_path): Rename preloaded parameter to secure.
56323 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56324 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56325 * elf/dl-deps.c (openaux): Likewise.
56326 * elf/rtld.c (struct map_args): Remove is_preloaded.
56327 (map_doit): Don't use it.
56328 (dl_main): Likewise.
56329 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56330 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56332 2010-09-09 Andreas Schwab <schwab@redhat.com>
56334 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56335 (sysd-rules-targets): Remove duplicates.
56336 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56337 rtld-%.$o dependency.
56339 2010-10-18 Andreas Schwab <schwab@redhat.com>
56341 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56342 _dl_map_object do it.
56344 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56346 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56347 fast fma builtins, define the macros in the C99 standard.
56348 (FP_FAST_FMAF): Likewise.
56349 (FP_FAST_FMAL): Likewise.
56350 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56352 * bits/mathdef.h: Update copyright year.
56353 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56355 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56357 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56358 builtins, define the macros in the C99 standard.
56359 (FP_FAST_FMAF): Likewise.
56360 (FP_FAST_FMAL): Likewise.
56361 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56363 (FP_FAST_FMAF): Likewise.
56365 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56368 * math/libm-test.inc (fma_test): Some new testcases.
56369 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56370 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56371 y and infinite z. Do multiplication by C already in long double.
56372 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56374 y and infinite z. Do bitwise or of inexact bit into u.d.
56375 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56376 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56377 * sysdeps/i386/fpu/s_fma.S: Removed.
56378 * sysdeps/i386/fpu/s_fmal.S: Removed.
56380 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56383 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56385 computation is not scheduled after fetestexcept. Fix value
56386 of minimum denormal long double.
56388 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56391 * math/libm-test.inc (fma_test): Add some more tests.
56392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56395 2010-10-15 Andreas Schwab <schwab@redhat.com>
56397 * scripts/data/localplt-s390-linux-gnu.data: New file.
56398 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56400 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56403 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56404 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56406 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56408 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56410 if one of x and y is very large and the other is subnormal.
56411 * sysdeps/s390/fpu/s_fmaf.c: New file.
56412 * sysdeps/s390/fpu/s_fma.c: New file.
56413 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56414 * sysdeps/powerpc/fpu/s_fma.S: New file.
56415 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56416 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56417 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56419 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56422 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56425 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56426 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56427 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56428 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56429 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56430 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56432 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56435 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56436 * posix/bug-regex31.input: Add test case.
56438 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56440 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56441 * posix/bug-regex31.input: New file.
56444 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56445 (parse_sub_exp): Fix last change, use postorder.
56447 * posix/bug-regex31.c: New file.
56448 * posix/Makefile: Add rules to build and run bug-regex31.
56450 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56453 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56456 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56457 to have entries in sys_siglist.
56460 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56463 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56466 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56467 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56468 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56469 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56470 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56471 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56472 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56473 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56474 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56475 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56476 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56477 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56478 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56479 * math/ftestexcept.c (fetestexcept): Likewise.
56480 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56481 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56482 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56483 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56484 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56485 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56486 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56488 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56491 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56494 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56496 * string/bug-strstr1.c: New file.
56497 * string/Makefile: Add rules to build and run bug-strstr1.
56499 2010-10-05 Eric Blake <eblake@redhat.com>
56502 * string/str-two-way.h (two_way_long_needle): Always clear memory
56503 when skipping input due to the shift table.
56505 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56508 * malloc/mcheck.c: Handle large requests.
56511 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56512 for strncmp and strncasecmp.
56513 * string/stratcliff.c: Add tests for strcmp and strncmp.
56514 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56516 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56518 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56521 2010-09-30 Andreas Jaeger <aj@suse.de>
56523 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56524 (CGROUP_SUPER_MAGIC): Define.
56525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56526 Handle btrfs and cgroup file systems.
56527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56530 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56532 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56533 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56535 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56538 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56539 trying to locate the ELF header.
56541 2010-09-27 Andreas Schwab <schwab@redhat.com>
56544 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56545 Mask out sign-bit copies when constructing f_fsid.
56547 2010-09-24 Petr Baudis <pasky@suse.cz>
56549 * debug/stack_chk_fail_local.c: Add missing licence exception.
56550 * debug/warning-nop.c: Likewise.
56552 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56554 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56555 implementing getdents64 using getdents syscall, set d_type if
56556 __ASSUME_GETDENTS32_D_TYPE.
56558 2010-09-16 Andreas Schwab <schwab@redhat.com>
56560 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56561 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56563 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56566 * posix/unistd.h: Undo change of feature selection for ftruncate from
56569 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56571 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56574 2010-09-20 Andreas Schwab <schwab@redhat.com>
56576 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56578 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56580 2010-09-14 Andreas Schwab <schwab@redhat.com>
56582 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56583 variables after CHECK_SP call.
56584 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56586 2010-09-13 Andreas Schwab <schwab@redhat.com>
56587 Ulrich Drepper <drepper@redhat.com>
56589 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56590 re-relocationg ld.so.
56591 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56592 _dl_init_paths call.
56593 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56596 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56598 * resolv/res_init.c (__res_vinit): Count the default server we added.
56600 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56601 Ulrich Drepper <drepper@redhat.com>
56604 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56605 (____longjmp_chk): Use %ebx for saving value across system call.
56608 2010-09-06 Andreas Schwab <schwab@redhat.com>
56610 * manual/Makefile: Don't mix pattern rules with normal rules.
56612 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56614 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56616 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56617 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56618 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56619 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56623 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56626 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56627 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56629 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56631 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56632 * sysdeps/x86_64/addmul_1.S: Likewise.
56633 * sysdeps/x86_64/lshift.S: Likewise.
56634 * sysdeps/x86_64/mul_1.S: Likewise.
56635 * sysdeps/x86_64/rshift.S: Likewise.
56636 * sysdeps/x86_64/sub_n.S: Likewise.
56637 * sysdeps/x86_64/submul_1.S: Likewise.
56639 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56641 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56642 Define __sched_param instead of SCHED_* and sched_param when
56643 <bits/sched.h> is included with __need_schedparam defined.
56644 * bits/sched.h [__need_schedparam]
56645 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56646 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56647 (__defined_schedparam): Define to 1.
56648 (__sched_param): New structure, identical to sched_param.
56649 (__need_schedparam): Undefine.
56651 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56653 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56654 (epoll_create1): Declare.
56656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56658 2010-08-31 Andreas Schwab <schwab@redhat.com>
56661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56662 shifting retval into place.
56664 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56666 * nis/rpcsvc/nis.h: Update copyright notice.
56667 * nis/rpcsvc/nis.x: Likewise.
56668 * nis/rpcsvc/nis_callback.h: Likewise.
56669 * nis/rpcsvc/nis_callback.x: Likewise.
56670 * nis/rpcsvc/nis_object.x: Likewise.
56671 * nis/rpcsvc/nis_tags.h: Likewise.
56672 * nis/rpcsvc/yp.h: Likewise.
56673 * nis/rpcsvc/yp.x: Likewise.
56674 * nis/rpcsvc/ypupd.h: Likewise.
56675 * nis/yp_xdr.c: Likewise.
56676 * nis/ypupdate_xdr.c: Likewise.
56678 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56679 mainly the body of pmap_getport. Add parameters to specify timeouts.
56680 (pmap_getport): Use __libc_rpc_getport.
56681 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56682 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56683 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56685 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56690 2010-08-27 Roland McGrath <roland@redhat.com>
56692 * sysdeps/i386/i686/multiarch/Makefile
56693 (CFLAGS-varshift.c): New variable.
56695 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56697 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56698 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56700 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56702 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56704 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56706 * sysdeps/x86_64/strlen.S: Unroll the loop.
56707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56708 strlen-sse2 strlen-sse2-bsf.
56709 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56710 __strlen_no_bsf if bit_Slow_BSF is set.
56711 (__strlen_sse42): Removed.
56712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56713 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56715 2010-08-25 Roland McGrath <roland@redhat.com>
56717 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56718 * sysdeps/x86_64/multiarch/varshift.c: New file.
56719 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56720 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56721 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56722 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56724 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56727 strlen-sse2 strlen-sse2-bsf.
56728 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56729 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56730 (__strlen_sse2): Removed.
56731 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56734 bit_Slow_BSF for Atom.
56735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56736 (index_Slow_BSF): Define.
56737 (HAS_SLOW_BSF): Define.
56739 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56742 * resolv/res_init.c (__res_vinit): When no server address at all
56743 is given default to loopback.
56745 2010-08-24 Roland McGrath <roland@redhat.com>
56747 * configure.in: Remove config-name.h generation.
56748 * configure: Regenerated.
56749 * config-name.in: File removed.
56750 * scripts/config-uname.sh: New file.
56751 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56752 ($(objdir)config-name.h): New target.
56754 * sunrpc/rpc_parse.h: Avoid nested comment.
56756 2010-08-24 Richard Henderson <rth@redhat.com>
56757 Ulrich Drepper <drepper@redhat.com>
56758 H.J. Lu <hongjiu.lu@intel.com>
56760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56762 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56763 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56764 _mm_alignr_epi8 with _mm_loadu_si128.
56765 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56766 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56767 (__m128i_shift_right): Removed.
56768 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56769 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56770 * sysdeps/x86_64/multiarch/varshift.h: New file.
56771 * sysdeps/x86_64/multiarch/varshift.S: New file.
56773 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56775 * configure.in: Move assembler checks to before sysdep dir checking.
56777 2010-08-20 Petr Baudis <pasky@suse.cz>
56779 * LICENSES: Sync the sunrpc license.
56781 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56783 * sunrpc/auth_des.c: Update copyright notice once again.
56784 * sunrpc/auth_none.c: Likewise.
56785 * sunrpc/auth_unix.c: Likewise.
56786 * sunrpc/authdes_prot.c: Likewise.
56787 * sunrpc/authuxprot.c: Likewise.
56788 * sunrpc/bindrsvprt.c: Likewise.
56789 * sunrpc/clnt_gen.c: Likewise.
56790 * sunrpc/clnt_perr.c: Likewise.
56791 * sunrpc/clnt_raw.c: Likewise.
56792 * sunrpc/clnt_simp.c: Likewise.
56793 * sunrpc/clnt_tcp.c: Likewise.
56794 * sunrpc/clnt_udp.c: Likewise.
56795 * sunrpc/clnt_unix.c: Likewise.
56796 * sunrpc/des_crypt.c: Likewise.
56797 * sunrpc/des_soft.c: Likewise.
56798 * sunrpc/get_myaddr.c: Likewise.
56799 * sunrpc/getrpcport.c: Likewise.
56800 * sunrpc/key_call.c: Likewise.
56801 * sunrpc/key_prot.c: Likewise.
56802 * sunrpc/openchild.c: Likewise.
56803 * sunrpc/pm_getmaps.c: Likewise.
56804 * sunrpc/pm_getport.c: Likewise.
56805 * sunrpc/pmap_clnt.c: Likewise.
56806 * sunrpc/pmap_prot.c: Likewise.
56807 * sunrpc/pmap_prot2.c: Likewise.
56808 * sunrpc/pmap_rmt.c: Likewise.
56809 * sunrpc/rpc/auth.h: Likewise.
56810 * sunrpc/rpc/auth_unix.h: Likewise.
56811 * sunrpc/rpc/clnt.h: Likewise.
56812 * sunrpc/rpc/des_crypt.h: Likewise.
56813 * sunrpc/rpc/key_prot.h: Likewise.
56814 * sunrpc/rpc/netdb.h: Likewise.
56815 * sunrpc/rpc/pmap_clnt.h: Likewise.
56816 * sunrpc/rpc/pmap_prot.h: Likewise.
56817 * sunrpc/rpc/pmap_rmt.h: Likewise.
56818 * sunrpc/rpc/rpc.h: Likewise.
56819 * sunrpc/rpc/rpc_des.h: Likewise.
56820 * sunrpc/rpc/rpc_msg.h: Likewise.
56821 * sunrpc/rpc/svc.h: Likewise.
56822 * sunrpc/rpc/svc_auth.h: Likewise.
56823 * sunrpc/rpc/types.h: Likewise.
56824 * sunrpc/rpc/xdr.h: Likewise.
56825 * sunrpc/rpc_clntout.c: Likewise.
56826 * sunrpc/rpc_cmsg.c: Likewise.
56827 * sunrpc/rpc_common.c: Likewise.
56828 * sunrpc/rpc_cout.c: Likewise.
56829 * sunrpc/rpc_dtable.c: Likewise.
56830 * sunrpc/rpc_hout.c: Likewise.
56831 * sunrpc/rpc_main.c: Likewise.
56832 * sunrpc/rpc_parse.c: Likewise.
56833 * sunrpc/rpc_parse.h: Likewise.
56834 * sunrpc/rpc_prot.c: Likewise.
56835 * sunrpc/rpc_sample.c: Likewise.
56836 * sunrpc/rpc_scan.c: Likewise.
56837 * sunrpc/rpc_scan.h: Likewise.
56838 * sunrpc/rpc_svcout.c: Likewise.
56839 * sunrpc/rpc_tblout.c: Likewise.
56840 * sunrpc/rpc_util.c: Likewise.
56841 * sunrpc/rpc_util.h: Likewise.
56842 * sunrpc/rpcinfo.c: Likewise.
56843 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56844 * sunrpc/rpcsvc/key_prot.x: Likewise.
56845 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56846 * sunrpc/rpcsvc/mount.x: Likewise.
56847 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56848 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56849 * sunrpc/rpcsvc/rex.x: Likewise.
56850 * sunrpc/rpcsvc/rstat.x: Likewise.
56851 * sunrpc/rpcsvc/rusers.x: Likewise.
56852 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56853 * sunrpc/rpcsvc/spray.x: Likewise.
56854 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56855 * sunrpc/rtime.c: Likewise.
56856 * sunrpc/svc.c: Likewise.
56857 * sunrpc/svc_auth.c: Likewise.
56858 * sunrpc/svc_authux.c: Likewise.
56859 * sunrpc/svc_raw.c: Likewise.
56860 * sunrpc/svc_run.c: Likewise.
56861 * sunrpc/svc_simple.c: Likewise.
56862 * sunrpc/svc_tcp.c: Likewise.
56863 * sunrpc/svc_udp.c: Likewise.
56864 * sunrpc/svc_unix.c: Likewise.
56865 * sunrpc/svcauth_des.c: Likewise.
56866 * sunrpc/xcrypt.c: Likewise.
56867 * sunrpc/xdr.c: Likewise.
56868 * sunrpc/xdr_array.c: Likewise.
56869 * sunrpc/xdr_float.c: Likewise.
56870 * sunrpc/xdr_mem.c: Likewise.
56871 * sunrpc/xdr_rec.c: Likewise.
56872 * sunrpc/xdr_ref.c: Likewise.
56873 * sunrpc/xdr_sizeof.c: Likewise.
56874 * sunrpc/xdr_stdio.c: Likewise.
56876 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56879 2010-08-19 Andreas Schwab <schwab@redhat.com>
56881 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56883 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56885 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56886 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56887 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56888 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56889 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56890 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56891 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56892 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56895 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56896 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56897 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56898 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56900 2010-07-26 Anton Blanchard <anton@samba.org>
56902 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56903 * malloc/arena.c (heap_trim): Likewise.
56905 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56907 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56909 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56910 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56912 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56914 * sysdeps/i386/elf/Makefile: New file.
56916 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56918 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56919 from fanotify_init.
56920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56923 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56925 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56927 * sysdeps/multiarch/strcmp.S: Likewise.
56929 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56931 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56932 strncase_l-nonascii.
56933 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56934 Add strncase_l-ssse3.
56935 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56936 * sysdeps/x86_64/strcmp.S: Likewise.
56937 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56938 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56939 * sysdeps/x86_64/strncase.S: New file.
56940 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56941 * sysdeps/x86_64/strncase_l.S: New file.
56942 * string/Makefile (strop-tests): Add strncasecmp.
56943 * string/test-strncasecmp.c: New file.
56945 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56948 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56949 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56951 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56953 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56955 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56957 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56958 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56959 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56961 2010-05-01 Alan Modra <amodra@gmail.com>
56963 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56964 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56965 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56966 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56967 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56968 tidying. Don't tail-call __sigjmp_save for static lib.
56969 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56971 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56972 (CALL_MCOUNT): Add eh info, and nop after bl.
56973 (TAIL_CALL_SYSCALL_ERROR): New macro.
56974 (PSEUDO_RET): Use it.
56975 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56976 Correct save location of integer regs and cr.
56977 (_dl_profile_resolve): Correct cr save location. Delete nops
56978 after bl when SHARED. Reduce cfi size a little by better
56979 placement of cfi directives.
56980 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56981 make a stack frame. Instead use parm save area as a temp.
56982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56983 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56985 Don't make a stack frame for parent, use parm save area.
56986 Increase child stack frame to 112 bytes. Don't save unused reg,
56987 and adjust reg usage. Set up cfi on error recovery and
56988 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56990 (__makecontext): Add dummy nop after jump to exit.
56991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56992 Use correct parm save area and cr save, reduce stack frame.
56993 Correct cfi for possible PSEUDO_RET frame setup.
56994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56995 Branch to local label emitted by PSEUDO_RET rather than
56998 2010-08-12 Andreas Schwab <schwab@redhat.com>
57001 * locale/programs/locale.c (print_assignment): New function.
57002 (show_locale_vars): Use it.
57004 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57006 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57008 (struct statfs64): Likewise.
57009 (_STATFS_F_FLAGS): Define.
57010 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57011 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57012 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57013 (ST_VALID): Define locally.
57014 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57015 __statvfs_getflags, use the provided value.
57016 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57017 __ASSUME_STATFS_F_FLAGS.
57019 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57021 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57022 Add sys/fanotify.h.
57023 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57024 fanotify_mask for GLIBC_2.13.
57025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57026 fanotify_init and fanotify_mark.
57027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57028 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57030 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57032 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57033 prlimit64 for GLIBC_2.13.
57034 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57036 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57039 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57040 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57041 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57044 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57047 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57048 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57050 * nss/Makefile: Add rules to build and run tst-nss-test1.
57051 * shlib-versions: Add entry for libnss_test1.
57052 * nss/nss_test1.c: New file.
57053 * nss/tst-nss-test1.c: New file.
57055 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57056 (__nss_configure_lookup): Set appropriate entry in
57057 __nss_configure_lookup to true.
57058 * nss/nsswitch.h: Define enum with indeces of databases in
57059 databases and __nss_database_custom arrays. Declare
57060 __nss_database_custom.
57061 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57062 to avoid using nscd when custom rules are installed.
57063 * nss/getXXbyYY_r.c: Likewise.
57064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57066 * nss/nss_files/files-parse.c: Whitespace fixes.
57068 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57071 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57072 * posix/fnmatch_loop.c: Likewise.
57074 2010-07-17 Andi Kleen <ak@linux.intel.com>
57076 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57077 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57078 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57079 * Versions.def [GLIBC_2.13]: Add.
57081 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57083 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57084 Also fail if tpwd after pwuid call is NULL.
57086 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57088 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57089 when converting to ms.
57091 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57093 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57094 EOPNOTSUPP errors with ENOTTY.
57095 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57096 EOPNOTSUPP errors with ENOTTY.
57098 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57100 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57101 Add strcasecmp_l-ssse3.
57102 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57104 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57105 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57106 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57108 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57110 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57112 * string/Makefile (strop-tests): Add strcasecmp.
57113 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57114 strcasecmp_l-nonascii.
57115 (gen-as-const-headers): Add locale-defines.sym.
57116 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57117 * sysdeps/x86_64/strcasecmp.S: New file.
57118 * sysdeps/x86_64/strcasecmp_l.S: New file.
57119 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57120 * sysdeps/x86_64/locale-defines.sym: New file.
57121 * string/test-strcasecmp.c: New file.
57123 * string/test-strcasestr.c: Test both ends of the range of characters.
57124 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57126 2010-07-29 Roland McGrath <roland@redhat.com>
57129 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57131 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57133 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57136 2010-07-27 Andreas Schwab <schwab@redhat.com>
57138 * manual/memory.texi (Malloc Tunable Parameters): Document
57141 2010-07-26 Roland McGrath <roland@redhat.com>
57144 * configure.in (-fgnu89-inline check): Set and substitute
57145 gnu89_inline, not libc_cv_gnu89_inline.
57146 * configure: Regenerated.
57147 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57149 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57151 * string/test-strnlen.c: New file.
57152 * string/Makefile (strop-tests): Add strnlen.
57153 * string/tester.c (test_strnlen): Add a few more test cases.
57154 * string/tst-strlen.c: Better error reporting.
57156 * sysdeps/x86_64/strnlen.S: New file.
57158 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57160 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57161 lower-latency instructions.
57163 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57165 * string/test-strcasestr.c: New file.
57166 * string/test-strstr.c: New file.
57167 * string/Makefile (strop-tests): Add strstr and strcasestr.
57168 * string/str-two-way.h: Don't undefine MAX.
57169 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57171 2010-07-21 Andreas Schwab <schwab@redhat.com>
57173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57174 strcasestr-nonascii.
57175 (CFLAGS-strcasestr-nonascii.c): Define.
57176 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57177 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57178 Remove unused attribute.
57180 2010-07-20 Roland McGrath <roland@redhat.com>
57182 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57183 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57184 ld.so.cache was broken. With it, there is no way to disable dsocaps
57185 like LD_HWCAP_MASK can disable hwcaps.
57187 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57189 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57191 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57193 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57194 call in strcasestr.
57195 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57196 __strcasestr_sse42_nonascii.
57197 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57198 strcasestr-nonascii.c.
57199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57201 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57204 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57205 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57206 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57208 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57210 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57213 2010-07-06 Andreas Schwab <schwab@redhat.com>
57216 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57219 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57221 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57222 _PC_PIPE_BUF using F_GETPIPE_SZ.
57224 2010-07-05 Roland McGrath <roland@redhat.com>
57226 * manual/arith.texi (Rounding Functions): Fix rint description
57227 implicit in round description.
57229 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57231 * elf/Makefile: Fix linking for a few tests to make recent linker
57234 2010-06-30 Andreas Schwab <schwab@redhat.com>
57236 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57237 $(common-objpfx)libc_nonshared.a.
57239 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57241 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57242 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57243 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57244 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57245 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57246 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57247 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57248 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57263 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57264 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57265 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57266 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57267 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57268 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57269 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57270 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57271 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57272 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57273 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57274 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57290 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57292 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57293 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57294 * string/memmove.c (memmove): Renamed to ...
57295 (MEMMOVE): ...this. Default to memmove.
57296 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57297 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57300 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57301 mempcpy-ssse3-back memmove-ssse3-back.
57302 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57303 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57305 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57306 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57307 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57308 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57309 * sysdeps/x86_64/multiarch/memmove.c: New file.
57310 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57311 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57312 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57313 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57314 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57315 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57317 (index_Fast_Copy_Backward): Define.
57318 (HAS_ARCH_FEATURE): Define.
57319 (HAS_FAST_REP_STRING): Define.
57320 (HAS_FAST_COPY_BACKWARD): Define.
57322 2010-06-21 Andreas Schwab <schwab@redhat.com>
57324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57325 Restore proper fallback handling.
57327 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57330 * posix/group_member.c (__group_member): Correct checking loop.
57332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57333 OOM in getpwuid_r correctly. Return error number when the caller
57334 should return, otherwise -1.
57335 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57336 call returning > 0 value.
57337 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57339 2010-06-07 Andreas Schwab <schwab@redhat.com>
57341 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57342 libc_nonshared.a from targets in modules-names.
57344 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57346 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57349 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57351 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57352 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57353 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57354 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57356 2010-06-02 Andreas Schwab <schwab@redhat.com>
57358 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57360 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57362 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57369 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57371 2010-06-14 Roland McGrath <roland@redhat.com>
57373 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57375 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57377 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57378 __REDIRECT followed by __THROW.
57379 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57380 * posix/getopt.h (getopt): Likewise.
57382 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57384 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57385 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57386 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57388 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57389 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57391 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57393 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57395 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57399 Properly check family and model.
57401 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57403 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57405 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57407 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57409 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57411 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57414 2010-05-19 Andreas Schwab <schwab@redhat.com>
57416 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57419 2010-05-21 Andreas Schwab <schwab@redhat.com>
57421 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57422 and internal_recvmmsg.
57423 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57424 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57425 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57426 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57428 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57429 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57430 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57432 2010-05-20 Andreas Schwab <schwab@redhat.com>
57434 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57436 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57438 POWER7 optimizations.
57439 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57440 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57442 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57444 * version.h: Update for 2.13 development version.
57446 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57448 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57449 exceptions. Return 0.
57451 2010-05-07 Roland McGrath <roland@redhat.com>
57453 * elf/ldconfig.c (main): Add a const.
57455 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57457 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57458 (args_options): Add no-idn option.
57459 (ahosts_keys_int): Add idn_flags to ai_flags.
57460 (parse_option): Handle 'i' option to clear idn_flags.
57462 * malloc/malloc.c (_int_free): Possible race in the most recently
57463 added check. Only act on the data if no current modification
57466 See ChangeLog.17 for earlier changes.