1 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7 (__setcontext): Likewise.
8 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
9 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
10 Call rt_sigprocmask syscall one time to set new signal mask
11 and retrieve the current signal mask instead of two calls.
12 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13 (__swapcontext): Likewise.
14 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15 * stdlib/tst-setcontext2.c: New file.
17 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
24 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
30 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
34 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
39 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
40 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
41 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
42 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
44 * nptl_db/td_symbol_list.c (td_lookup): Remove
45 HAVE_ASM_GLOBAL_DOT_NAME code.
46 * sysdeps/powerpc/powerpc64/configure.ac: Remove
47 HAVE_ASM_GLOBAL_DOT_NAME check.
48 * sysdeps/powerpc/powerpc64/configure: Regenerate.
49 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
50 (DOT_LABEL): Remove define.
51 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
52 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
53 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
54 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
55 (__TLS_GET_ADDR): Likewise.
56 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
57 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
59 2015-03-11 Carlos O'Donell <carlos@redhat.com>
62 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
63 (_FPU_SETCW): Initialize cw from fpsr before storing.
64 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
65 (fesetexceptflag): Rewrite using fpu_control.h.
66 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
68 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
71 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
73 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
75 2015-03-11 Joseph Myers <joseph@codesourcery.com>
77 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
78 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
83 2015-03-10 Roland McGrath <roland@hack.frob.com>
85 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
87 * Makefile (summarize-tests): New canned sequence, factored out of
88 commands for targets tests and xtests. Display summary lines that
89 don't start with PASS: or XFAIL: rather than ones that do start with
90 ERROR: or FAIL:. Make the commands fail if any summary lines fail
91 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
92 do start with ERROR: or FAIL:.
93 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
94 (except for [$(build-shared) = yes]).
95 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
96 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
97 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
98 * nptl/Makefile: Revert 2015-03-04 changes.
99 [$(CXX) empty] (tests-unsupported): New variable.
100 * debug/Makefile: Likewise.
102 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
103 gnulib file. Replace __attribute with __attribute__ throughout.
105 2015-03-10 Carlos O'Donell <carlos@redhat.com>
107 * sysdeps/hppa/fpu/libm-test-ulps: Update.
109 2015-03-10 Joseph Myers <joseph@codesourcery.com>
112 * math/auto-libm-test-in: Add another test of pow.
113 * math/auto-libm-test-out: Regenerated.
115 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
117 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
118 $(config-cflags-nofma).
120 2015-03-10 Joseph Myers <joseph@codesourcery.com>
122 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
123 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
124 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
125 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
126 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
127 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
128 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
129 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
130 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
131 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
132 Add comment on closing #endif.
134 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
136 * posix/wordexp.c (CHAR_IN_SET): New macro.
137 (parse_param): Use it.
139 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141 * sysdeps/powerpc/fpu/libm-test-ulps: update.
143 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
146 * posix/wordexp.c (parse_param): Fix buffer overflow.
147 * posix/wordexp-test.c (test_case): Add test case.
149 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
152 * posix/wordexp.c (parse_backtick): Fix off-by-one.
153 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
155 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
158 * posix/wordexp-test.c (test_case): Add test for BZ #18043
159 (do_bz18043): Delete.
161 (testit): Refactor to have words at the edge of unreadable page.
163 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
166 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
167 Cleanup read-only streams as well.
168 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
170 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
172 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
175 2015-03-07 Joseph Myers <joseph@codesourcery.com>
177 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
179 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
180 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
181 * soft-fp/op-common.h (_FP_DECL): Likewise.
183 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
185 * elf/ifuncdep2.c (global): Replace
186 __attribute__((visibility("protected"))) with
187 asm (".protected global").
188 * elf/ifuncmod1.c (global): Likewise.
189 * elf/ifuncmod5.c (global): Likewise.
191 2015-03-06 Joseph Myers <joseph@codesourcery.com>
193 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
194 <asm/sfp-machine.h> instead of <sfp-machine.h>.
196 2015-03-06 Roland McGrath <roland@hack.frob.com>
198 * manual/install.texi (Configuring and compiling):
199 Document test-wrapper-env-only.
200 * INSTALL: Regenerated.
202 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
205 * posix/wordexp.c (parse_param): Fix buffer overflow.
206 * posix/wordexp-test.c (do_bz18043): Add test case.
208 2015-03-06 Vincent Bernat <vincent@bernat.im>
210 * time/tst-strptime2.c (do_test): Ensure failing tests are
212 * time/tst-strptime3.c (do_test): Likewise.
214 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
216 Fix aio_error thread-safety.
217 * sysdeps/pthread/aio_error.c: New file
218 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
221 2015-03-06 Florian Weimer <fweimer@redhat.com>
223 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
224 (group_number, vfprintf): Use it.
225 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
227 (WORK_BUFFER_SIZE): New enum constant.
228 (process_arg, vfprintf): Use it.
230 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
232 * manual/errno.texi (Error Messages): Complete example function
233 by adding missing #define.
234 (program_invocation_name): Add statement indicating GNU
235 extension and reference which header file declares the variable.
236 (program_invocation_short_name): Likewise.
238 2015-03-06 Mike Frysinger <vapier@gentoo.org>
240 * manual/errno.texi (Error Messages): Delete strerror ISO C89
243 2015-03-05 Roland McGrath <roland@hack.frob.com>
245 * Makeconfig (test-wrapper-env-only): New variable.
246 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
247 then use that with $(test-wrapper-env-only) rather than using
248 $(test-wrapper-env) $(run-program-env) $($*-ENV).
250 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
253 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
254 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
255 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
256 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
257 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
258 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
259 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
260 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
262 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
263 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
267 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
269 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
271 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
274 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
276 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
277 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
279 2015-03-04 Roland McGrath <roland@hack.frob.com>
281 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
282 (ETH_ALEN): New macro.
283 (struct ether_addr): Use it for length of ether_addr_octet.
285 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
286 (setdb): Don't call __nss_configure_lookup for "rpc".
287 (do_test): Don't call test_rpc.
288 (output_rpcent, test_rpc): Functions moved ...
289 * sunrpc/test-rpcent.c: ... to this new file.
290 * sunrpc/Makefile (tests): Add it.
292 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
294 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
295 * nptl/tst-signal6.c: Likewise.
296 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
297 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
299 * configure.ac (libc_cv_cxx_link_ok): New check.
300 Reset CXX to empty if it fails to link.
301 * configure: Regenerated.
302 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
303 bug-atexit3-lib only if $(CXX) is nonempty.
304 * nptl/Makefile (tests): Likewise for tst-cancel24.
305 (tests, tests-static): Likewise for tst-cancel24-static.
306 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
307 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
308 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
309 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
311 2015-03-04 Andreas Schwab <schwab@suse.de>
314 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
315 for non-GCC compilers.
316 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
319 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
322 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
323 integer before bitwise and assembly operations.
324 (feclearexcept): Likewise.
325 * math/test-fenvinline.c: New file.
326 * math/Makefile: Add test-fenvinline test.
328 2015-03-03 Alan Modra <amodra@gmail.com>
331 * scripts/localplt.awk: Strip off symbol version.
332 * NEWS: Mention bug fix.
334 2015-03-02 Roland McGrath <roland@hack.frob.com>
336 * sysdeps/pthread/timer_routines.c
337 (timer_free_list, thread_free_list, thread_active_list): Make static.
339 2015-03-02 Joseph Myers <joseph@codesourcery.com>
342 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
343 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
346 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
348 * sysdeps/unix/sysv/linux/sh/kernel-features.h
349 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
352 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
355 * posix/fnmatch_loop.c (END): Detect invalid pattern.
356 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
358 2015-03-02 Andreas Schwab <schwab@suse.de>
360 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
363 2015-03-02 Florian Weimer <fweimer@redhat.com>
365 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
368 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
371 * locale/findlocale.c (_nl_find_locale): Introduce const
372 version of loc_name and drop unsafe type casts.
374 2015-02-27 Roland McGrath <roland@hack.frob.com>
376 * dlfcn/tststatic2.c (main): Converted to ...
378 (TEST_FUNCTION): New macro.
379 Include test-skeleton.c.
381 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
384 * elf/Makefile (tests): Add vismain only if PIE is enabled.
385 (tests-pie): Add vismain.
386 (CFLAGS-vismain.c): New.
387 * elf/vismain.c: Add comments for PIE requirement.
389 2015-02-27 Joseph Myers <joseph@codesourcery.com>
393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
394 0x1p-56L as threshold for just returning the argument.
395 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
396 0x1p-32L as threshold for just returning the argument.
397 * math/auto-libm-test-in: Add more tests of atanh.
398 * math/auto-libm-test-out: Regenerated.
399 * sysdeps/i386/fpu/libm-test-ulps: Update.
400 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
402 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
404 * string/bcopy.c (bcopy): Call memmove for performance.
406 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
408 * string/bzero.c (__bzero): Call memset for performance.
410 2015-02-27 John David Anglin <dave.anglin@bell.net>
413 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
416 2015-02-27 Joseph Myers <joseph@codesourcery.com>
418 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
420 2015-02-26 Joseph Myers <joseph@codesourcery.com>
422 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
423 (__kernel_standard): Use CSTR macro when setting exc.name.
424 * sysdeps/ieee754/Makefile [$(subdir) = math]
425 (CFLAGS-k_standard.c): Remove variable.
427 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
428 setting p and q from "else if" to "else".
430 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
432 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
434 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
436 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
438 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
443 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
444 return pi/2 for arguments below 0x1p-113L.
445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
446 return pi/2 for arguments below 0x1p-106L.
447 * math/auto-libm-test-in: Add more tests of acos.
448 * math/auto-libm-test-out: Regenerated.
451 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
453 (__ieee754_asin): Force underflow exception for results with small
455 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
457 (__ieee754_asinf): Force underflow exception for results with
458 small absolute value.
459 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
460 (__ieee754_asin): Force underflow exception for results with small
462 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
463 (__ieee754_asinf): Force underflow exception for results with
464 small absolute value.
465 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
466 (__ieee754_asinl): Force underflow exception for results with
467 small absolute value.
468 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
469 (__ieee754_asinl): Force underflow exception for results with
470 small absolute value.
471 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
472 (__ieee754_asinl): Force underflow exception for results with
473 small absolute value.
474 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
476 * math/auto-libm-test-in: Do not mark underflow exceptions as
477 possibly missing for bug 16351.
478 * math/auto-libm-test-out: Regenerated.
481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
482 of power of 2 down when low part has opposite sign.
483 * math/libm-test.inc (logb_test_data): Add more tests.
485 2015-02-26 Andreas Schwab <schwab@suse.de>
488 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
489 over collating symbol inside a bracket expression. Minor cleanup.
490 * posix/tst-fnmatch3.c (do_test): Add test case.
492 2015-02-26 Joseph Myers <joseph@codesourcery.com>
495 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
496 Adjust exponent of power of 2 down when low part has opposite
498 * math/libm-test.inc (ilogb_test_data): Add more tests.
500 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
503 * locale/findlocale.c (_nl_find_locale): Fix constness error in
507 * locale/findlocale.c (_nl_find_locale): Retry archive search
508 after alias expansion.
510 2015-02-25 Roland McGrath <roland@hack.frob.com>
512 * iconv/tst-iconv3.c (main): Converted to ...
514 (TEST_FUNCTION): New macro.
515 Include test-skeleton.c.
517 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
518 (convert): Make function static.
519 (test_unalign): Likewise. Add const to argument pointee types.
520 (main): Replace with static function do_test.
521 Print "Succeeded." only if RET is zero.
522 (TEST_FUNCTION): New macro.
523 Include test-skeleton.c.
525 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
526 returns a null pointer.
528 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
530 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
531 to __memcpy_ppc only for static builds.
533 2015-02-25 Joseph Myers <joseph@codesourcery.com>
536 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
537 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
538 * math/auto-libm-test-in: Add more tests of asinh.
539 * math/auto-libm-test-out: Regenerated.
540 * sysdeps/i386/fpu/libm-test-ulps: Update.
541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
543 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
546 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
547 and ip6_mtuinfo definitions here.
548 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
549 in this define too. Update comment.
551 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
553 * elf/sprof.c (load_shobj): Tweak error message to match others.
555 2015-02-24 Kevin Easton <kevin@guarana.org>
557 [BZ #16145] (partial fix)
558 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
559 to reduce lock contention.
561 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
563 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
564 (struct timex): Update time comment.
565 (ADJ_SETOFFSET): Define.
567 2015-02-24 Joseph Myers <joseph@codesourcery.com>
570 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
571 2**56 not 2**28 as threshold for log (2x) formula.
572 * math/auto-libm-test-in: Add more tests of acosh.
573 * math/auto-libm-test-out: Regenerated.
574 * sysdeps/i386/fpu/libm-test-ulps: Update.
575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
577 2015-02-24 Mike Frysinger <vapier@gentoo.org>
579 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
580 parenthesis around the buf assignment.
581 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
583 2015-02-24 Joseph Myers <joseph@codesourcery.com>
586 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
587 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
588 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
589 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
590 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
591 * math/libm-test.inc (scalb_test_data): Add more tests.
593 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
596 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
597 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
599 2015-02-24 Eric Rannaud <e@nanocritical.com>
602 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
603 * io/bits/fcntl2.h (open): Use it.
605 * io/open.c (__libc_open): Likewise.
606 * io/open64.c (__libc_open64): Likewise.
607 * io/open64_2.c (__open64_2): Likewise.
608 * io/open_2.c (__open_2): Likewise.
609 * io/openat.c (__openat): Likewise.
610 * io/openat64.c (__openat64): Likewise.
611 * io/openat64_2.c (__openat64_2): Likewise.
612 * io/openat_2.c (__openat_2): Likewise.
613 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
614 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
615 * sysdeps/posix/open64.c (__libc_open64): Likewise.
616 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
617 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
618 (__open_nocancel): Likewise.
619 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
620 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
621 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
623 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
626 * resolv/gethnamaddr.c (getanswer): Skip logging if
627 RES_USE_DNSSEC is set.
628 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
630 2015-02-24 Mike Frysinger <vapier@gentoo.org>
632 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
634 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
636 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
637 201304L, for Unicode 7.
639 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
642 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
643 shared library. Add gmon-start.os otherwise.
644 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
645 $(objpfx)gmon-start.os if builing shared library.
646 ($(objpfx)g$(static-start-installed-name)): Likewise.
648 2015-02-23 Andreas Schwab <schwab@suse.de>
650 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
652 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
655 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
656 (enlarge_userbuf): Likewise.
658 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
660 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
661 * math/atest-exp.c (TIMEOUT): Adjust to 200.
662 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
663 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
665 2015-02-20 Joseph Myers <joseph@codesourcery.com>
667 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
668 expression inside statement expression.
670 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
672 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
673 <sysdeps/nptl/lowlevellock.h> and remove macros and
674 functions that are now defined there.
676 (lll_compare_and_swap): Remove.
677 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
679 2015-02-19 Joseph Myers <joseph@codesourcery.com>
682 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
683 instead of scandirat.
684 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
685 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
686 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
688 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
689 (__scandirat): Declare. Use libc_hidden_proto.
690 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
692 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
694 2015-02-18 Joseph Myers <joseph@codesourcery.com>
697 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
699 (__ieee754_atan2): For results with small absolute value, force
700 underflow exception and remove excess range and precision from
702 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
704 (__ieee754_atan2f): For results with small absolute value, force
705 underflow exception and remove excess range and precision from
707 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
709 (__atan): For results with small absolute value, force underflow
710 exception and remove excess range and precision from return value.
711 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
713 (__atanf): For results with small absolute value, force underflow
714 exception and remove excess range and precision from return value.
715 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
717 (__ieee754_atan2): Force underflow exception for results with
718 small absolute value.
719 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
721 (atan): Force underflow exception for results with small absolute
723 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
724 (__atanf): Force underflow exception for results with small
726 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
728 (__atanl): Force underflow exception for results with small
730 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
731 (__atanl): Force underflow exception for results with small
733 * sysdeps/x86/fpu/bits/mathinline.h
734 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
735 (__ieee754_atan2): Only define inline for long double.
736 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
737 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
738 * math/auto-libm-test-in: Do not mark underflow exceptions as
739 possibly missing for bug 15319. Add more tests of atan2.
740 * math/auto-libm-test-out: Regenerated.
741 * math/libm-test.inc (casin_test_data): Do not mark underflow
742 exceptions as possibly missing for bug 15319.
743 (casinh_test_data): Likewise.
744 * sysdeps/i386/fpu/libm-test-ulps: Update.
746 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
748 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
749 * sysdeps/mips/bits/endian.h: Fix comments.
751 2015-02-18 Joseph Myers <joseph@codesourcery.com>
754 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
755 (hdestroy_r): Likewise.
756 (hsearch_r): Likewise.
757 (__hcreate_r): Declare and use libc_hidden_proto.
758 (__hdestroy_r): Likewise.
759 (__hsearch_r): Likewise.
760 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
761 (hcreate): Call __hcreate_r instead of hcreate_r.
762 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
763 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
764 as weak alias of __hcreate_r.
765 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
767 (hsearch_r): Rename to __hsearch_r and define as weak alias of
769 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
771 (test-xfail-XPG4/search.h/linknamespace): Likewise.
772 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
773 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
774 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
776 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
778 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
779 arena_lock into a single arena_get.
781 2015-02-17 Carlos O'Donell <carlos@redhat.com>
783 * dl-reloc.c: Inlucde libc-internal.h.
784 (_dl_try_allocate_static_tls): Call ALIGN_UP.
785 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
786 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
787 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
788 (grow_heap): Likewise.
789 * malloc/malloc.c: Include libc-internal.h.
790 (do_check_malloc): Call powerof2.
791 (sysmalloc): Use pagesize. Call ALIGN_UP.
792 (systrim): Use pagesize.
793 (mremap_chunk): Use pagesize. Call ALIGN_UP.
794 (__libc_valloc): Use pagesize.
795 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
797 2015-02-17 Joseph Myers <joseph@codesourcery.com>
800 * include/sys/resource.h (__getrlimit64): Declare. Use
802 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
803 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
804 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
806 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
808 [!getrlimit64] (getrlimit64): Define as weak alias of
809 __getrlimit64. Use libc_hidden_weak.
810 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
811 using __getrlimit64 not __new_getrlimit64.
812 (__GI_getrlimit64): Likewise.
813 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
815 (__GI_getrlimit64): Likewise.
816 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
818 (getrlimit): Add __getrlimit64 alias.
819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
821 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
823 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
824 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
826 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
828 * libio/fileops.c: Add missing sys/mman.h
829 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
831 2015-02-17 Joseph Myers <joseph@codesourcery.com>
833 * manual/math.texi (Errors in Math Functions): Clarify goals
834 regarding inexact and underflow exceptions.
836 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
838 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
839 * sysdeps/mips/memset.S: Ditto.
841 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
843 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
845 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
847 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
848 (__v1longjmp): Remove versioned symbol.
849 (__v1siglongjmp): Remove alias and versioned symbol.
850 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
851 (__v2siglongjmp): Likewise.
853 2015-02-16 Torvald Riegel <triegel@redhat.com>
855 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
857 2015-02-16 Mike Frysinger <vapier@gentoo.org>
859 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
861 2015-02-16 Joseph Myers <joseph@codesourcery.com>
864 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
865 zero result does not depend on the sign resulting from
867 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
869 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
870 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
872 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
873 * math/libm-test.inc (remquo_test_data): Add more tests.
875 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
877 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
878 Problem reported by J William Piggott.
880 2015-02-16 Joseph Myers <joseph@codesourcery.com>
883 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
884 products 4 * y and 2 * y where those would overflow.
885 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
887 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
888 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
889 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
890 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
891 * math/libm-test.inc (remquo_test_data): Add more tests.
893 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
895 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
896 [defined _COMPILING_NEWLIB].
897 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
898 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
900 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
901 [!defined __mips_isa_rev || __mips_isa_rev < 6].
903 2015-02-16 Torvald Riegel <triegel@redhat.com>
905 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
908 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
911 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
912 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
913 HOST_STACK_END_ADDR): Likewise.
915 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
917 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
918 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
919 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
921 2015-02-13 Roland McGrath <roland@hack.frob.com>
923 * sysdeps/generic/c++-types.data: New file.
924 * sysdeps/generic/ld.abilist: New file.
925 * sysdeps/generic/libBrokenLocale.abilist: New file.
926 * sysdeps/generic/libanl.abilist: New file.
927 * sysdeps/generic/libc.abilist: New file.
928 * sysdeps/generic/libcrypt.abilist: New file.
929 * sysdeps/generic/libdl.abilist: New file.
930 * sysdeps/generic/libm.abilist: New file.
931 * sysdeps/generic/libpthread.abilist: New file.
932 * sysdeps/generic/libresolv.abilist: New file.
933 * sysdeps/generic/librt.abilist: New file.
935 2015-02-13 Joseph Myers <joseph@codesourcery.com>
938 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
939 Compute absolute value of x as modified by fmod, not original
941 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
942 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
943 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
944 RUN_TEST_ffI_f1_mod8.
945 (remquo_test_data): Add more tests.
947 2015-02-13 Roland McGrath <roland@hack.frob.com>
949 * sysdeps/init_array/pt-crti.S: New file.
951 2015-02-13 Joseph Myers <joseph@codesourcery.com>
954 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
955 __builtin_fmaf instead of relying on contraction of a * b + c.
957 2015-02-12 J William Piggott <elseifthen@gmx.com>
960 * manual/time.texi: correct the zoneinfo path in the TZ Variable
963 2015-02-12 Joseph Myers <joseph@codesourcery.com>
966 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
967 __builtin_fma instead of relying on contraction of a * b + c.
969 2015-02-12 Roland McGrath <roland@hack.frob.com>
971 * Makeconfig (ASFLAGS): Add -Werror=undef.
972 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
973 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
974 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
976 * Makeconfig (after-link): New variable.
977 (+link-pie, +link-pie-tests): Use it.
978 (+link-static, +link-static-tests): Likewise.
979 (+link, +link-tests): Likewise.
980 * Makerules (build-module, build-module-asneeded): Likewise.
981 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
983 * elf/Makefile ($(objpfx)ld.so): Likewise.
985 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
988 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
989 both struct timeval and struct timespec.
991 2015-02-12 Joseph Myers <joseph@codesourcery.com>
994 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
996 (__ieee754_exp2l): Do not multiply small fractional parts by
998 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1000 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1001 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1002 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1003 * math/auto-libm-test-in: Add more tests of exp2.
1004 * math/auto-libm-test-out: Regenerated.
1006 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1008 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1011 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1013 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1016 2015-02-12 Andreas Schwab <schwab@suse.de>
1019 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1020 Filter out elision flags from value returned in kind.
1021 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1022 * nptl/tst-pthread-mutexattr.c: New file.
1024 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1026 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1027 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1028 into gnu-gnu, and update comment to refer to abi-tags.
1030 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1033 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1034 (__sincos): Set errno to EDOM for infinite argument.
1035 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1036 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1037 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1038 (__sincosl): Set errno to EDOM for infinite argument.
1039 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1040 (__sincosl): Set errno to EDOM for infinite argument.
1041 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1042 (__sincosl): Set errno to EDOM for infinite argument.
1043 * math/libm-test.inc (sincos_test_data): Test errno setting.
1045 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1047 * string/strxfrm_l.c: Remove #define STRCMP.
1048 * string/strcoll_l.c: Remove #define STRLEN.
1049 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1050 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1052 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1054 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1055 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1056 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1057 * sysdeps/mips/mips64/Makefile: ... here.
1058 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1059 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1060 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1061 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1062 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1063 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1064 * sysdeps/mips/mips64/n64/Implies: Likewise.
1066 2015-02-10 Roland McGrath <roland@hack.frob.com>
1068 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1069 <sys/time.h>, <string.h>, and <errno.h>.
1070 (dest_offset, dest_address, value, zero): Remove unused variables.
1071 (ldouble): Remove typedef.
1072 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1073 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1075 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1076 (check): Function removed.
1078 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1079 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1080 Don't call set_sigaction_FP and remove_sigaction_FP here.
1081 (ldouble_test): Just use 'long double' as macro argument, no need for
1082 the 'ldouble' typedef.
1083 (do_test): Set up SIGFPE handler at start, using plain signal rather
1084 than sigaction. Fix code style.
1086 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1092 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1094 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1095 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1097 * sysdeps/powerpc/configure.ac: Remove file.
1098 * sysdeps/powerpc/configure: Likewise.
1100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1101 [sysdep_routines]: Remove wordcopy-power6 object.
1102 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1103 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1105 (__memmove_ppc32): Likewise.
1106 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1108 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1109 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1110 Remove preprocessor.
1112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1113 [sysdep_routines]: Remove wide chars objects.
1114 [wcsmbs]: New rule for wide char objects.
1116 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1117 Remove wordcopy-power6 obejct.
1118 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1119 Use local call for wordcopy and memcpy symbols.
1120 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1121 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1122 implementation for loader.
1123 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1125 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1126 Remove wordcopy-power7 object.
1127 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1128 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1129 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1130 (_wordcopy_fwd_dest_aligned): Likewise.
1131 (_wordcopy_bwd_aligned): Likewise.
1132 (_wordcopy_bwd_dest_aligned): Likewise.
1134 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1135 Rewrite to call __memmove_ppc instead of include default
1138 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1139 Remove wide chars objects.
1140 [wcsmbs]: New rule for wide char objects.
1142 2015-02-09 Andreas Schwab <schwab@suse.de>
1145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1146 in terms of __O_DIRECTORY.
1148 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1150 * time/getdate.c: Include <stdbool.h>.
1151 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1153 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1156 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1158 Add ersatz _Static_assert on older C hosts
1159 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1160 pre-C11 C platform that is not known to support _Static_assert.
1162 2015-02-07 Richard Braun <rbraun@sceen.net>
1164 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1166 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1168 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1170 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1171 priority against unexistent AIO_PRIO_DELTA_MAX.
1172 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1174 * misc/fchflags.c (fchflags): Likewise.
1175 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1176 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1177 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1178 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1179 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1181 [__USE_MISC] (chflags, fchflags): Declare functions.
1182 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1183 EINVAL when nfds is greater than FD_SETSIZE.
1184 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1185 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1187 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1188 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1189 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1191 * hurd/hurd/signal.h (_hurd_self_sigstate,
1192 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1193 Explicit casts from void *.
1194 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1195 * abi-tags: Rename gnu-gnu os into gnu.
1198 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1199 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1200 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1201 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1202 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1203 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1206 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1207 duplicates ADDR->sun_path with sockaddr LEN limitation.
1208 * sysdeps/mach/hurd/connect.c: Include <string.h>
1209 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1210 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1211 * sysdeps/mach/hurd/sendto.c: Likewise.
1212 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1213 implementing it by hand.
1215 2015-02-06 Roland McGrath <roland@hack.frob.com>
1217 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1218 Use sfi_breg on ldr.
1219 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1222 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1224 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1225 Test SIGSETXID only if it's defined.
1227 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1229 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1230 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1232 * nptl/tst-align2.c: Moved ...
1233 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1234 * nptl/Makefile (tests): Remove tst-align2.
1235 * sysdeps/unix/sysv/linux/Makefile
1236 [$(subdir) = nptl] (tests): Add tst-align-clone.
1237 * nptl/tst-getpid1.c: Moved ...
1238 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1239 * nptl/tst-getpid2.c: Moved ...
1240 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1241 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1242 * sysdeps/unix/sysv/linux/Makefile
1243 [$(subdir) = nptl] (tests): ... here.
1244 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1245 * sysdeps/unix/sysv/linux/Makefile
1246 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1248 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1249 Drop trailing \n from perror argument. Use return rather than exit.
1251 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1253 * nptl/tst-cancel21.c (do_test): Likewise.
1254 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1255 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1256 [!SA_SIGINFO]: Make it a stub test.
1258 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1259 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1261 * posix/tst-getlogin.c: Move to ...
1262 * login/tst-getlogin.c: ... here.
1263 * posix/Makefile (tests): Move tst-getlogin to ...
1264 * login/Makefile (tests): ... here.
1266 * libio/tst-atime.c (do_test): Move local variables SV and E
1267 inside [ST_NOATIME] conditional.
1269 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1271 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1273 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1274 (wait_code): New function replaces macro.
1275 Call nanosleep rather than syscall.
1277 * nptl/pt-system.c: Rewritten. Put everything under
1278 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1279 Use IFUNC to redirect when possible.
1281 * nptl/pt-longjmp.c: Rewritten. Put everything under
1282 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1283 Use IFUNC to redirect when possible.
1285 * nptl/pt-fork.c: Rewritten. Put everything under
1286 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1287 Use IFUNC to redirect when possible.
1288 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1290 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1291 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1292 unconditionally nowadays. This included the only reference to
1293 __vdso_clock_gettime that appears outside libc proper.
1294 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1295 Remove version set (containing only __vdso_clock_gettime).
1296 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1297 Add attribute_hidden.
1298 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1299 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1300 libc_hidden_data_def.
1301 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1302 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1304 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1305 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1306 setrpcent, and getrpcport to ...
1307 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1308 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1309 getrpcbynumber_r, and getrpcent_r to ...
1310 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1311 * inet/getrpcbyname.c: Moved ...
1312 * sunrpc/getrpcbyname.c: ... here.
1313 * inet/getrpcbyname_r.c: Moved ...
1314 * sunrpc/getrpcbyname_r.c: ... here.
1315 * inet/getrpcbynumber.c: Moved ...
1316 * sunrpc/getrpcbynumber.c: ... here.
1317 * inet/getrpcbynumber_r.c: Moved ...
1318 * sunrpc/getrpcbynumber_r.c: ... here.
1319 * inet/getrpcent.c: Moved ...
1320 * sunrpc/getrpcent.c: ... here.
1321 * inet/getrpcent_r.c: Moved ...
1322 * sunrpc/getrpcent_r.c: ... here.
1323 * inet/Makefile (routines): Move those to ...
1324 * sunrpc/Makefile (routines): ... here.
1325 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1326 the $(subdirs) list.
1327 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1328 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1329 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1330 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1332 * elf/Makefile (routines): Include $(all-dl-routines), not just
1334 (rtld-routines): Likewise. Use = rather than :=.
1335 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1336 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1337 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1338 * sysdeps/arm/Makefile: Likewise.
1339 * sysdeps/i386/Makefile: Likewise.
1340 * sysdeps/x86_64/Makefile: Likewise.
1341 * sysdeps/hppa/Makefile [$(subdir) = elf]
1342 (sysdep_routines, sysdep-rtld-routines): Don't add
1343 $(sysdep-dl-routines) to these.
1344 * sysdeps/ia64/Makefile: Likewise.
1345 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1346 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1347 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1348 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1349 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1350 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1352 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1353 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1354 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1355 these; sysdep-dl-routines alone is enough.
1357 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1360 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1361 where multiplication results in zero and third argument is finite
1363 * math/auto-libm-test-in: Add more tests of fma.
1364 * math/auto-libm-test-out: Regenerated.
1366 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1367 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1368 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1369 (_FP_CMP_EQ): Likewise.
1370 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1372 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1373 extra argument CHECK_NAN. Redefine as wrapper around
1376 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1378 * version.h (RELEASE): Set to "stable".
1379 (VERSION): Set to "2.21"
1380 * include/features.h (__GLIBC_MINOR__): Set to 21.
1382 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1384 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1385 Paul Eggert <eggert@cs.ucla.edu>
1388 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1389 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1390 size in bytes. Store needed elements in wpmax. Use needed size
1391 in bytes for extend_alloca.
1393 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1395 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1396 binutls 2.25, and texinfo 5.2.
1397 * INSTALL: Regenerate.
1398 * sysdeps/nios2/configure: Regenerate.
1399 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1400 * manual/contrib.texi: Update.
1424 * po/pt_BR.po: Update.
1433 * po/zh_CN.po: Update.
1434 * po/zh_TW.po: Update.
1436 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1437 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1438 * sysdeps/hppa/dl-irel.h: Remove #warning.
1439 * sysdeps/hppa/entry.h: Provide prototype for
1440 __canonicalize_funcptr_for_compare and cast argument.
1441 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1442 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1443 * sysdeps/hppa/sotruss-lib.c: New file.
1444 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1445 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1446 (atomic_compare_and_exchange_bool_acq): Likewise.
1447 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1448 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1450 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1451 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1452 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1454 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1456 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1457 called function in non-PIC case.
1459 2015-01-31 David S. Miller <davem@davemloft.net>
1461 * sysdeps/sparc/sparc32/bits/atomic.h
1462 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1463 unlock not after it.
1464 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1465 volatile register usage warnings from the compiler.
1467 * sysdeps/sparc/nptl/sem_init.c: Delete.
1468 * sysdeps/sparc/nptl/sem_post.c: Delete.
1469 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1470 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1471 * sysdeps/sparc/sparc32/sem_init.c: New file.
1472 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1473 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1474 padding explicitly initialized.
1475 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1476 padding for in-semaphore spinlock.
1477 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1478 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1479 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1480 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1481 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1482 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1483 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1484 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1486 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1487 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1489 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1493 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1494 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1496 (index_AVX_Fast_Unaligned_Load): Likewise.
1497 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1498 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1499 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1500 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1501 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1502 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1503 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1504 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1505 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1507 2015-01-29 Andreas Schwab <schwab@suse.de>
1509 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1511 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1514 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1516 2015-01-28 Martin Sebor <msebor@redhat.com>
1518 * math/README.libm-test: Clarify. Add "How to read the test output."
1520 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1522 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1525 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1527 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1528 (__HAVE_64B_ATOMICS): Define to 0.
1530 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1533 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1534 value to set as new flag.
1537 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1538 and use _ARCH_PPCSQ instead.
1539 (__ieee754_sqrt): Likewise.
1540 (__ieee754_sqrtf): Likewise.
1541 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1542 _ARCH_PPCSQ is defined.
1543 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1545 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1546 _ARCH_PPCSQ is defined.
1547 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1549 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1551 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1553 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1554 bug (GCC BZ #64739).
1556 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1558 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1559 Mark _retval as used.
1560 (lll_futex_wake_unlock): Likewise.
1561 (lll_futex_timed_wait_requeue_pi): Likewise.
1563 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1564 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1567 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1570 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1571 (__bswap_64): Mark as __always_inline.
1573 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1576 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1577 when none of the search directories exist.
1579 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1582 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1583 power8 in .machine directive.
1586 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1587 set dependency from opd value.
1589 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1592 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1595 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1598 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1600 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1602 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1603 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1604 Replace 1UL with (uint64_t) 1.
1605 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1608 2015-01-23 Roland McGrath <roland@hack.frob.com>
1610 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1611 (if_freenameindex): Likewise.
1613 * resource/getrlimit64.c: Add missing libc_hidden_def.
1615 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1617 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1619 (_FP_FMA): Likewise.
1620 (_FP_TO_INT_ROUND): Likewise.
1621 (_FP_FROM_INT): Likewise.
1623 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1627 Make code racy and cancel safe.
1629 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1631 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1632 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1635 * pwd/tst-getpw.c: Rewrite.
1638 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1639 (modules-names): Add moddummy1 and moddummy2.
1640 ($(objpfx)tst-rec-dlopen): Define.
1641 * dlfcn/moddummy1.c: New file.
1642 * dlfcn/moddummy2.c: New file.
1643 * dlfcn/tst-rec-dlopen.c: New file.
1644 * elf/dl-cache.c (_dl_load_cache_lookup):
1645 Return char*. Copy result with alloca/strcpy/strdup.
1646 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1647 returns char*. Free cached. If not saving realname
1649 * elf/dl-open.c (dl_open_worker): Do not assert that
1650 _r_debug->r_state is RT_CONSISTENT.
1651 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1654 2015-01-21 Torvald Riegel <triegel@redhat.com>
1655 Carlos O'Donell <carlos@redhat.com>
1658 * nptl/sem_waitcommon.c: New file.
1659 * nptl/sem_wait.c: Include sem_waitcommon.c.
1660 (__sem_wait_cleanup, do_futex_wait): Remove.
1661 (__new_sem_wait): Adapt.
1662 (__new_sem_trywait): New function.
1663 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1664 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1665 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1666 (sem_timedwait): Adapt.
1667 * nptl/sem_post.c (__new_sem_post): Adapt.
1668 (futex_wake): New function.
1669 (__old_sem_post): Add release MO fence.
1670 * nptl/sem_open.c (sem_open): Adapt.
1671 * nptl/sem_init.c (__new_sem_init): Adapt.
1672 (futex_private_if_supported): New function.
1673 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1674 (__old_sem_getvalue): Add using previous code.
1675 * sysdeps/nptl/internaltypes.h: Adapt.
1676 * nptl/tst-sem13.c (do_test): Adapt.
1677 * nptl/tst-sem11.c (main): Adapt.
1678 * nptl/sem_trywait.c: Remove.
1679 * nptl/DESIGN-sem.txt: Remove.
1680 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1681 (gen-as-const-headers): Remove structsem.sym.
1682 * nptl/structsem.sym: Remove.
1683 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1684 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1685 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1686 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1687 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1688 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1689 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1690 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1691 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1692 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1693 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1694 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1695 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1696 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1697 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1698 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1699 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1700 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1701 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1702 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1703 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1704 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1706 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1708 * INSTALL: Regenerated.
1710 * po/libc.pot: Regenerated.
1712 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1713 Sandra Loosemore <sandra@codesourcery.com>
1714 Andrew Jenner <andrew@codesourcery.com>
1715 Joseph Myers <joseph@codesourcery.com>
1716 Nathan Sidwell <nathan@codesourcery.com>
1718 * NEWS: Mention new Nios II port.
1719 * sysdeps/nios2/Implies: New file.
1720 * sysdeps/nios2/Makefile: New file.
1721 * sysdeps/nios2/Subdirs: New file.
1722 * sysdeps/nios2/Versions: New file.
1723 * sysdeps/nios2/__longjmp.S: New file.
1724 * sysdeps/nios2/abort-instr.h: New file.
1725 * sysdeps/nios2/backtrace.c: New file.
1726 * sysdeps/nios2/bits/endian.h: New file.
1727 * sysdeps/nios2/bits/fenv.h: New file.
1728 * sysdeps/nios2/bits/link.h: New file.
1729 * sysdeps/nios2/bits/setjmp.h: New file.
1730 * sysdeps/nios2/bsd-_setjmp.S: New file.
1731 * sysdeps/nios2/bsd-setjmp.S: New file.
1732 * sysdeps/nios2/configure: New generated file.
1733 * sysdeps/nios2/configure.ac: New file.
1734 * sysdeps/nios2/crti.S: New file.
1735 * sysdeps/nios2/crtn.S: New file.
1736 * sysdeps/nios2/dl-init.c: New file.
1737 * sysdeps/nios2/dl-machine.h: New file.
1738 * sysdeps/nios2/dl-sysdep.h: New file.
1739 * sysdeps/nios2/dl-tls.h: New file.
1740 * sysdeps/nios2/dl-trampoline.S: New file.
1741 * sysdeps/nios2/gccframe.h: New file.
1742 * sysdeps/nios2/gmp-mparam.h: New file.
1743 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1744 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1745 * sysdeps/nios2/ldsodefs.h: New file.
1746 * sysdeps/nios2/libc-tls.c: New file.
1747 * sysdeps/nios2/libm-test-ulps: New file.
1748 * sysdeps/nios2/machine-gmon.h: New file.
1749 * sysdeps/nios2/math-tests.h: New file.
1750 * sysdeps/nios2/math_private.h: New file.
1751 * sysdeps/nios2/memusage.h: New file.
1752 * sysdeps/nios2/nptl/Makefile: New file.
1753 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1754 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1755 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1756 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1757 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1758 * sysdeps/nios2/nptl/tls.h: New file.
1759 * sysdeps/nios2/preconfigure: New file.
1760 * sysdeps/nios2/s_fma.c: New file.
1761 * sysdeps/nios2/s_fmaf.c: New file.
1762 * sysdeps/nios2/setjmp.S: New file.
1763 * sysdeps/nios2/sfp-machine.h: New file.
1764 * sysdeps/nios2/sotruss-lib.c: New file.
1765 * sysdeps/nios2/stackguard-macros.h: New file.
1766 * sysdeps/nios2/stackinfo.h: New file.
1767 * sysdeps/nios2/start.S: New file.
1768 * sysdeps/nios2/sysdep.h: New file.
1769 * sysdeps/nios2/tls-macros.h: New file.
1770 * sysdeps/nios2/tst-audit.h: New file.
1771 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1772 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1773 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1774 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1775 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1776 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1777 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1778 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1779 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1780 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1781 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1782 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1783 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1784 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1785 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1786 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1787 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1788 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1789 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1790 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1791 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1792 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1793 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1794 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1795 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1796 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1797 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1798 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1799 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1800 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1801 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1802 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1803 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1804 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1805 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1806 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1807 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1808 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1809 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1810 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1811 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1812 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1813 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1814 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1816 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1819 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1820 (getutent): Use weak_alias in non SHARED case
1821 and default_symbol_version in SHARED case.
1822 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1823 (getutent_r, pututline): Likewise.
1824 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1825 (getutid): Likewise.
1826 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1827 (getutid_r): Likewise.
1828 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1829 (getutline): Likewise.
1830 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1831 (getutline_r): Likewise.
1832 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1833 (updwtmp): Likewise.
1835 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1838 * sysdeps/s390/s390-32/memcmp.S
1839 (memcmp_g5): Rename to __memcmp_g5.
1840 * sysdeps/s390/s390-32/memcpy.S
1841 (memcpy_g5): Rename to __memcpy_g5.
1842 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1843 (memcpy_mvcle) Rename to __memcpy_mvcle.
1844 * sysdeps/s390/s390-32/memset.S
1845 (memset_g5): Rename to __memset_g5.
1846 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1847 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1848 and use prefixed functions.
1849 * sysdeps/s390/s390-32/multiarch/memcmp.S
1850 (memcmp_z196): Rename to __memcmp_z196.
1851 (memcmp_z10): Rename to __memcmp_z10.
1852 (memcmp): Set alias to __memcmp_g5.
1853 (bcmp): Set alias to __memcmp_g5.
1854 * sysdeps/s390/s390-32/multiarch/memcpy.S
1855 (memcpy_z196): Rename to __memcpy_z196.
1856 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1857 (memcpy_z10): Rename to __memcpy_z10.
1858 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1859 (memcpy): Set alias to __memcpy_g5.
1860 * sysdeps/s390/s390-32/multiarch/memset.S
1861 (memset_z196): Rename to __memset_z196.
1862 Jump to __memset_mvcle instead of memset_mvcle.
1863 (memset_z10): Rename to __memset_z10.
1864 Jump to __memset_mvcle instead of memset_mvcle.
1865 (memset_mvcle) Rename to __memset_mvcle.
1866 (memset): Set alias to __memset_g5.
1867 * sysdeps/s390/s390-64/memcmp.S
1868 (memcmp_z900): Rename to __memcmp_z900.
1869 * sysdeps/s390/s390-64/memcpy.S
1870 (memcpy_z900): Rename to __memcpy_z900.
1871 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1872 (memcpy_mvcle) Rename to __memcpy_mvcle.
1873 * sysdeps/s390/s390-64/memset.S
1874 (memset_z900): Rename to __memset_z900.
1875 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1876 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1877 and use prefixed functions.
1878 * sysdeps/s390/s390-64/multiarch/memcmp.S
1879 (memcmp_z196): Rename to __memcmp_z196.
1880 (memcmp_z10): Rename to __memcmp_z10.
1881 (memcmp): Set alias to __memcmp_z900.
1882 (bcmp): Set alias to __memcmp_z900.
1883 * sysdeps/s390/s390-64/multiarch/memcpy.S
1884 (memcpy_z196): Rename to __memcpy_z196.
1885 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1886 (memcpy_z10): Rename to __memcpy_z10.
1887 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1888 (memcpy): Set alias to __memcpy_z900.
1889 * sysdeps/s390/s390-64/multiarch/memset.S
1890 (memset_z196): Rename to __memset_z196.
1891 Jump to __memset_mvcle instead of memset_mvcle.
1892 (memset_z10): Rename to __memset_z10.
1893 Jump to __memset_mvcle instead of memset_mvcle.
1894 (memset_mvcle) Rename to __memset_mvcle.
1895 (memset): Set alias to __memset_z900.
1897 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1900 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1901 __fesetenv instead of fesetenv.
1903 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1905 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1908 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1910 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1913 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1914 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1915 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1916 strncmp-power8 object.
1917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1918 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1919 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1922 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1923 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1926 trailing byte check.
1928 2015-01-13 David S. Miller <davem@davemloft.net>
1930 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1932 2015-01-13 Roland McGrath <roland@hack.frob.com>
1934 * login/logout.c (logout): Use memset rather than bzero.
1935 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1936 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1937 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1938 (_gethtbyaddr): Likewise.
1939 * locale/programs/simple-hash.c (bcopy): Macro removed.
1941 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1943 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1944 Add strcmp-power8 object.
1945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1946 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1947 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1948 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1949 __strcmp_power8 implementation.
1950 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1953 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1954 Add strncpy-power8 and stpncpy-power8 objects.
1955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1956 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1958 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1959 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1960 __stpncpy_power8 implementation.
1961 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1962 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1963 __strncpy_power8 implementation.
1964 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1965 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1968 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1969 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1970 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1972 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1973 strncat-power8 object.
1974 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1975 __strcat_power8 implementation.
1976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1977 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1978 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1979 optimized strcat for power8.
1981 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1982 strcpy-power8 and stpcpy-power8 objects.
1983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1984 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1986 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1987 multiarch stpcpy implementation for POWER8.
1988 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1989 multiarch strcpy implementation for POWER8.
1990 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1991 __strcpy_power8 function.
1992 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1994 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1998 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2001 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2002 weights and rules. Use do_xfrm_cached if data fits in cache,
2003 do_xfrm otherwise. Moved former main loop to...
2004 * (do_xfrm_cached): New function.
2005 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2006 find_idx, find_position and stack_push.
2007 * (find_idx): New function.
2008 * (find_position): Likewise.
2009 * localedata/sort-test.sh: Added test run for do_xfrm.
2010 * localedata/xfrm-test.c (main): Added command line option
2011 -nocache to run the test with strings that are too large for
2014 2015-01-13 Torvald Riegel <triegel@redhat.com>
2016 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2017 variable to lll_futex_wake call, not the value itself.
2019 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2022 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2023 twom64. Adjust value to 0x1p-64L.
2024 (__scalblnl): Only return standard underflowing result for K <=
2025 -64 not K <= -63; adjust exponent for underflowing result by 64
2027 * math/libm-test.inc (scalbn_test_data): Add more tests.
2028 (scalbln_test_data): Likewise.
2031 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2033 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2035 * math/libm-test.inc (scalbn_test_data): Add more tests.
2036 (scalbln_test_data): Likewise.
2038 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039 Stefani Seibold <stefani@seibold.net>
2041 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2042 (sysdep_routines): Add dl-vdso here, ...
2043 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2044 (sysdep_routines): ... not here.
2045 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2046 fallback when vDSO is not presented.
2047 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2048 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2049 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2050 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2051 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2052 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2053 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2055 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2056 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2057 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2058 fallback configurable symbol when vDSO is not available.
2059 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2060 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2061 be able to redefine fallback symbol when vDSO is not available.
2062 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2063 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2065 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2068 (TLS_INIT_TP): Add tm_capable initialization.
2069 (TLS_DEFINE_INIT_TP): Likewise.
2070 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2072 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2073 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2075 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2076 transactoion is lock elision is built and TCB tm_capable is set.
2077 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2079 (INTERNAL_SYSCALL_NCS): Likewise.
2080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2081 (INTERNAL_SYSCALL_NCS): Likewise.
2082 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2084 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2086 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2087 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2088 and remove it for 32 bits case.
2089 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2092 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2093 Disable lock elision with rdlocks if elision is not available.
2095 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2096 (sysdep_routines): Add lock elision objects.
2097 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2098 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2099 [pthread_mutex_t] (__elision): Add field.
2100 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2101 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2102 elision definitions for powerpc.
2103 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2104 implementation of lock elision for powerpc.
2105 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2106 implementation of timed lock elision for powerpc.
2107 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2108 implementation of trylock with lock elision for powerpc.
2109 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2110 implementaion of unlock for lock elision for powerpc.
2111 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2112 automatic enable lock elision for mutexes.
2113 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2114 transaction execution definitions for powerpc.
2115 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2117 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2118 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2119 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2120 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2123 2015-01-09 Roland McGrath <roland@hack.frob.com>
2125 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2126 for #include of <shm-directory.h>.
2128 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2130 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2131 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2133 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2136 * NEWS: Mention bug fix.
2137 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2138 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2139 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2141 2015-01-09 Torvald Riegel <triegel@redhat.com>
2143 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2145 2015-01-09 Torvald Riegel <triegel@redhat.com>
2147 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2149 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2151 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2152 pointer and cast to uintptr_t.
2154 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2156 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2158 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2160 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2162 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2165 2015-01-08 Roland McGrath <roland@hack.frob.com>
2167 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2168 <nptl/pthreadP.h> instead.
2169 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2171 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2173 [__SIGRTMIN] (init): Function removed.
2174 [__SIGRTMIN] (initialized): Variable removed.
2175 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2176 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2177 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2178 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2179 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2180 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2181 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2182 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2183 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2184 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2185 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2186 * sysdeps/nptl/allocrtsig.c: New file.
2187 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2188 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2189 * sysdeps/generic/testrtsig.h: File removed.
2191 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2192 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2194 * nptl/nptl-init.c (pthread_functions): Conditionalize
2195 .ptr__nptl_setxid initialization on [SIGSETXID].
2197 * sysdeps/nptl/sys/procfs.h: New file.
2198 * nptl_db/Makefile (headers): Add it.
2199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2201 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2202 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2203 * nptl/pthread_attr_setaffinity.c: Include it.
2204 * nptl/pthread_setattr_default_np.c: Likewise.
2205 * nptl/check-cpuset.h: New file.
2207 2015-01-08 Richard Henderson <rth@redhat.com>
2209 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2210 (CFLAGS-tst-execstack-prog.c): Likewise.
2211 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2213 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2214 Sandra Loosemore <sandra@codesourcery.com>
2215 Andrew Jenner <andrew@codesourcery.com>
2216 Joseph Myers <joseph@codesourcery.com>
2217 Nathan Sidwell <nathan@codesourcery.com>
2219 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2220 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2221 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2222 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2223 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2224 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2225 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2226 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2227 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2228 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2229 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2230 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2231 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2232 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2233 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2234 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2235 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2237 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2240 timespec struct member in syscall macro.
2241 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2242 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2243 first timeval struct member in syscall macro.
2244 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2246 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2249 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2250 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2251 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2252 __feupdateenv and define as weak alias of __feupdateenv. Use
2254 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2256 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2257 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2258 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2259 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2261 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2262 __feupdateenv and define as weak alias of __feupdateenv. Use
2264 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2266 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2267 __feupdateenv and define as weak alias of __feupdateenv. Use
2269 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2271 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2272 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2273 (__feupdateenv): Likewise.
2274 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2275 __feupdateenv and define as weak alias of __feupdateenv. Use
2277 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2278 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2280 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2282 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2284 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2285 __feupdateenv instead of feupdateenv.
2286 (default_libc_feupdateenv_test): Likewise.
2287 (libc_feresetround_ctx): Likewise.
2289 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2294 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2296 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2297 COLL_SYM in a couple of places to avoid uninitialized variable
2298 wanings on tilegx gcc 4.8.2.
2300 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2302 * sysdeps/aarch64/strcpy.S: New file.
2303 * sysdeps/aarch64/stpcpy.S: New file.
2306 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2308 * sysdeps/aarch64/strrchr.S: New file.
2311 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2314 * stdlib/setenv.c: Fix memory leak when setting large,
2317 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2320 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2321 and tabs from buffer before parsing fstab entry.
2322 * misc/tst-mntent.c (main): Add test for mount entry with
2323 trailing spaces and tabs.
2325 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2328 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2329 * math/fesetround.c (fesetround): Rename to __fesetround and
2330 define as weak alias of __fesetround. Use libm_hidden_weak.
2331 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2332 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2333 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2334 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2335 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2336 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2337 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2338 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2339 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2340 __fesetround_inline.
2341 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2342 __fesetround_inline instead of __fesetround.
2343 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2344 __fesetround and define as weak alias of __fesetround. Use
2345 libm_hidden_weak. Call __fesetround_inline instead of
2347 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2348 __fesetround and define as weak alias of __fesetround. Use
2350 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2352 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2353 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2354 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2355 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2356 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2357 __fesetround and define as weak alias of __fesetround. Use
2359 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2360 __fesetround instead of fesetround.
2361 (default_libc_feholdexcept_setround): Likewise.
2362 (libc_feholdsetround_ctx): Likewise.
2363 (libc_feholdsetround_noex_ctx): Likewise.
2366 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2367 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2368 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2369 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2370 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2371 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2372 define as weak alias of __fesetenv. Use libm_hidden_weak.
2373 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2374 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2375 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2376 define as weak alias of __fesetenv. Use libm_hidden_weak.
2377 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2378 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2379 define as weak alias of __fesetenv. Use libm_hidden_weak.
2380 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2382 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2383 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2385 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2386 define as weak alias of __fesetenv. Use libm_hidden_weak.
2387 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2388 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2389 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2390 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2391 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2392 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2393 __fesetenv instead of fesetenv.
2394 (libc_feresetround_noex_ctx): Likewise.
2395 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2396 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2397 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2398 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2399 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2400 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2401 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2402 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2403 (__feupdateenv): Likewise.
2404 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2405 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2406 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2407 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2409 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2412 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2413 addresses have been freed.
2415 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2417 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2420 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2422 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2423 Clean up check_pf allocation pattern. addresses
2425 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2428 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2429 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2430 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2431 * nptl/pthread_join.c (pthread_join): Likewise.
2432 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2433 * sysdeps/posix/waitid.c (__waitid): Likewise.
2434 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2435 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2436 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2437 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2438 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2440 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2441 (__libc_pread64): Likewise.
2442 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2443 (__libc_pwrite): Likewise.
2444 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2445 (__libc_pwrite64): Likewsie.
2446 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2447 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2448 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2449 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2450 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2451 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2452 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2456 (__libc_pread64): Likewise.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2460 (__libc_pwrite64): Likewise.
2461 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2462 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2463 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2464 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2465 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2466 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2467 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2468 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2469 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2470 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2471 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2472 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2473 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2474 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2475 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2476 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2479 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2481 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2482 (CFLAGS-test-double.c): Likewise.
2483 (CFLAGS-test-ldouble.c): Likewise.
2484 (CPPFLAGS-test-ifloat.c): Likewise.
2485 (CPPFLAGS-test-idouble.c): Likewise.
2486 (CPPFLAGS-test-ildoubl.c): Likewise.
2487 (CFLAGS-test-test-fenv.c): Remove variable.
2488 (CFLAGS-test-misc.c): Likewise.
2490 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2493 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2494 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2495 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2496 CLOCKS_PER_SEC == 1000000.
2497 * time/clocktest.c (main): Replace %ld with %jd and cast to
2500 2015-01-05 Roland McGrath <roland@hack.frob.com>
2502 * sysdeps/generic/unwind-resume.h: New file.
2503 * sysdeps/gnu/unwind-resume.c: Include it.
2504 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2505 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2507 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2508 global rather than static.
2509 (_Unwind_Resume): Update user.
2510 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2511 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2512 rather than static. Add __attribute__ ((cold)).
2513 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2514 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2515 * sysdeps/arm/arm-unwind-resume.S: New file.
2516 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2517 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2518 * sysdeps/arm/Makefile [$(subdir) = csu]
2519 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2520 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2521 Add rt-arm-unwind-resume.
2523 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2524 Add pt-arm-unwind-resume.
2525 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2526 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2528 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2531 * include/fenv.h (__feholdexcept): Declare. Use
2533 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2534 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2535 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2536 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2537 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2538 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2539 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2540 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2541 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2542 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2543 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2544 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2545 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2546 (feholdexcept): Likewise.
2547 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2548 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2549 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2550 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2551 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2552 __feholdexcept instead of feholdexcept.
2553 (default_libc_feholdexcept_setround): Likewise.
2555 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2557 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2558 to avoid using stl/str to align destination.
2560 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2562 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2564 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2567 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2568 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2569 Define as weak alias not strong alias.
2571 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2573 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2574 bltzal with addiupc.
2575 (RTLD_START): Ditto.
2577 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2579 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2580 for __vdso_* functions in declarations.
2581 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2583 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2584 INTERNAL_VSYSCALL): Use struct return types to check for error.
2586 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2587 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2588 function with cast from llround().
2589 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2590 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2593 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2596 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2597 Define as weak alias not strong alias.
2600 * ctype/ctype-c99.c: New file. isblank implementation moved from
2602 * ctype/ctype-extn.c: ... here.
2603 (__isblank_l): Move to ...
2604 * ctype/ctype-c99_l.c: ... here. New file.
2605 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2606 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2608 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2609 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2610 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2611 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2612 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2615 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2616 (posix_fadvise64): Define as weak alias not strong alias.
2617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2618 (posix_fallocate64): Likewise.
2619 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2621 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2622 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2623 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2624 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2625 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2627 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2630 * NEWS: Mention bug fix.
2631 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2632 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2633 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2634 (HOST_STACK_END_ADDR): Likewise.
2636 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2639 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2640 * math/fegetround.c (fegetround): Rename to __fegetround and
2641 define as weak alias of __fegetround. Use libm_hidden_weak.
2642 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2643 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2644 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2645 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2646 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2647 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2648 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2649 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2650 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2651 Undefine after rather than before function definition; use
2652 parentheses around function name in definition.
2653 (__fegetround): Also undefine macro after function definition.
2654 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2655 __fegetround and define as weak alias of __fegetround. Use
2656 libm_hidden_weak. Do not undefine as macro.
2657 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2659 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2660 __fegetround and define as weak alias of __fegetround. Use
2662 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2663 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2664 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2665 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2666 __fegetround and define as weak alias of __fegetround. Use
2668 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2669 __fegetround instead of fegetround.
2672 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2673 Condition macro definition on [__USE_MISC].
2676 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2677 (struct sigaction): Change type of sa_flags field to int.
2680 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2681 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2684 * nptl/version.c (banner): Use single year in copyright notice.
2686 * NEWS: Update copyright dates.
2687 * catgets/gencat.c (print_version): Likewise.
2688 * csu/version.c (banner): Likewise.
2689 * debug/catchsegv.sh: Likewise.
2690 * debug/pcprofiledump.c (print_version): Likewise.
2691 * debug/xtrace.sh (do_version): Likewise.
2692 * elf/ldconfig.c (print_version): Likewise.
2693 * elf/ldd.bash.in: Likewise.
2694 * elf/pldd.c (print_version): Likewise.
2695 * elf/sotruss.sh: Likewise.
2696 * elf/sprof.c (print_version): Likewise.
2697 * iconv/iconv_prog.c (print_version): Likewise.
2698 * iconv/iconvconfig.c (print_version): Likewise.
2699 * locale/programs/locale.c (print_version): Likewise.
2700 * locale/programs/localedef.c (print_version): Likewise.
2701 * login/programs/pt_chown.c (print_version): Likewise.
2702 * malloc/memusage.sh (do_version): Likewise.
2703 * malloc/memusagestat.c (print_version): Likewise.
2704 * malloc/mtrace.pl: Likewise.
2705 * manual/libc.texinfo: Likewise.
2706 * nptl/version.c (banner): Likewise.
2707 * nscd/nscd.c (print_version): Likewise.
2708 * nss/getent.c (print_version): Likewise.
2709 * nss/makedb.c (print_version): Likewise.
2710 * posix/getconf.c (main): Likewise.
2711 * scripts/test-installation.pl: Likewise.
2712 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2714 2015-01-02 Will Newton <will.newton@linaro.org>
2716 * sysdeps/arm/armv7/configure: Removed.
2717 * sysdeps/arm/armv7/configure.ac: Likewise.
2719 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2721 * All files with FSF copyright notices: Update copyright dates
2722 using scripts/update-copyrights.
2723 * intl/plural.c: Regenerated.
2724 * locale/programs/charmap-kw.h: Likewise.
2725 * locale/programs/locfile-kw.h: Likewise.
2727 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2729 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2731 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2734 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2735 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2736 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2737 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2738 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2739 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2740 define as weak alias of __fegetenv. Use libm_hidden_weak.
2741 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2742 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2743 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2744 define as weak alias of __fegetenv. Use libm_hidden_weak.
2745 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2746 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2747 define as weak alias of __fegetenv. Use libm_hidden_weak.
2748 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2750 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2751 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2753 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2754 define as weak alias of __fegetenv. Use libm_hidden_weak.
2755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2756 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2757 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2758 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2759 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2760 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2761 __fegetenv instead of fegetenv.
2762 (libc_feholdsetround_noex_ctx): Likewise.
2764 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2766 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2767 (Elf_MIPS_ABIFlags_v0): New structure.
2768 (EF_MIPS_FP64): Define.
2769 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2770 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2771 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2772 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2773 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2774 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2775 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2776 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2777 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2778 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2779 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2780 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2781 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2782 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2783 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2784 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2785 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2786 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2787 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2788 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2789 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2790 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2792 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2794 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2795 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2796 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2797 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2798 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2799 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2800 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2801 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2802 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2803 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2804 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2805 record the current FP ABI extension.
2806 (mips-mode-switch): Define to show if kernel headers support mode
2808 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2809 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2810 supported SYSV ABI version to 3.
2811 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2814 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2815 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2817 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2819 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2821 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2823 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2824 __fegetround and redefine to call __fegetround. Remove condition
2825 on [!__NO_MATH_INLINES].
2826 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2828 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2829 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2832 instead of <fenv_libc.h>.
2833 (__llrintl): Call fegetround instead of __fegetround.
2834 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2835 instead of <fenv_libc.h>.
2836 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2837 (__lrintl): Call fegetround instead of __fegetround.
2838 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2839 instead of <fenv_libc.h>.
2840 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2841 (__rintl): Call fegetround instead of __fegetround.
2843 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2845 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2848 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2851 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2852 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2853 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2855 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2857 * sysdeps/i386/tls-macros.h: Include <features.h>.
2858 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2862 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2863 define for GCC >= 5.0.
2865 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2867 * math/test-fenv.c (test_single_exception, set_single_exc,
2868 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2869 feexcp_mask_test, feenable_test, fe_single_test): Add
2870 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2871 case where they are not used.
2872 * math/libm-test.inc: Likewise.
2873 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2874 unused in the absence of FP rounding/exception support.
2875 * stdio-common/tst-printf-round.c: Likewise.
2876 * stdlib/tst-strtod-round.c: Likewise.
2877 * stdlib/tst-strtod-underflow.c: Likewise.
2879 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2882 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2883 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2884 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2885 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2887 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2888 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2889 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2891 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2892 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2894 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2896 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2897 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2898 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2900 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2902 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2903 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2904 (__feraiseexcept): Likewise.
2905 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2906 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2908 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2909 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2911 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2912 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2913 Use libm_hidden_def.
2914 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2916 (feraiseexcept): Define as weak not strong alias. Use
2918 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2919 New inline function. Factored out of ...
2920 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2921 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2922 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2924 * math/w_acos.c (__acos): Likewise.
2925 * math/w_asin.c (__asin): Likewise.
2926 * math/w_ilogb.c (__ilogb): Likewise.
2927 * math/w_j0.c (y0): Likewise.
2928 * math/w_j1.c (y1): Likewise.
2929 * math/w_jn.c (yn): Likewise.
2930 * math/w_log.c (__log): Likewise.
2931 * math/w_log10.c (__log10): Likewise.
2932 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2933 * sysdeps/aarch64/fpu/math_private.h
2934 (libc_feupdateenv_test_aarch64): Likewise.
2935 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2936 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2937 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2938 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2939 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2940 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2941 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2942 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2943 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2944 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2946 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2949 * io/test-utime.c (main): Replace %ld with %jd and cast to
2951 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2952 * nptl/tst-mutex5.c: Include <stdint.h>.
2953 (do_test): Replace %ld with %jd and cast to intmax_t.
2954 * posix/tst-regex.c (run_test): Likewise.
2955 (run_test_backwards): Likewise.
2956 * rt/tst-clock.c: Include <stdint.h>.
2957 (clock_test): Replace %ld with %jd and cast to intmax_t.
2958 * rt/tst-cpuclock1.c: Include <stdint.h>.
2959 (do_test): Replace %lu with %ju and cast to uintmax_t.
2960 * rt/tst-cpuclock2.c: Include <stdint.h>.
2961 (do_test): Replace %lu with %ju and cast to uintmax_t.
2962 * rt/tst-mqueue1.c: Include <stdint.h>.
2963 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2964 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2966 * rt/tst-mqueue4.c (do_test): Likewise.
2967 * rt/tst-timer4.c: Include <stdint.h>.
2968 (check_ts): Replace %ld with %jd and cast to intmax_t.
2969 (do_test): Likewise.
2970 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2971 and cast to intmax_t.
2972 * sysdeps/pthread/tst-timer.c (main): Likewise.
2973 * time/clocktest.c (main): Likewise.
2974 * time/tst-posixtz.c (do_test): Likewise.
2975 * timezone/tst-timezone.c (main): Likewise.
2977 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2978 H.J. Lu <hongjiu.lu@intel.com>
2980 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2981 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2982 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2983 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2984 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2985 version if bit_Fast_Unaligned_Load is set.
2986 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2987 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2988 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2989 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2990 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2993 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2994 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2995 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2997 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2998 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2999 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3000 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3002 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3004 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3005 instead of #if to avoid a Wundef warning.
3006 * stdlib/tst-limits.c (do_test): Likewise.
3008 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3009 parallel other exception macros.
3010 (fegetenv): Convert from macro to extern inline so that it applies
3011 retroactively to inline functions already seen by the compiler.
3012 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3014 * posix/Makefile (before-compile): Use $(objpfx) for
3015 posix-conf-vars-def.h.
3017 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3019 * posix/getconf.c (main): Use size_t for type of I.
3020 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3023 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3024 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3025 * posix/posix-envs.def: Likewise.
3026 * sysdeps/posix/sysconf.c: Likewise.
3027 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3028 (specs): Remove array.
3029 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3032 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3033 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3034 (__sysconf): Use CONF_IS_* macros.
3036 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3037 ($(objpfx)posix-conf-vars-def.h): New target.
3038 * posix/posix-conf-vars.list: New file.
3039 * posix/posix-conf-vars.h: New file.
3040 * posix/confstr.c: Include posix-conf-vars.h.
3041 (confstr): Use CONF_IS_* macros.
3042 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3044 * scripts/gen-posix-conf-vars.awk: New file.
3046 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3048 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3049 fegetround): Add no-op macros to avoid linknamespace issues.
3051 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3052 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3054 * sysdeps/unix/sysv/linux/tile/sysdep.h
3055 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3056 assembly-specific section to avoid a redefinition warning.
3058 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3059 long before casting to pointer to avoid a cast warning.
3061 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3063 * sysdeps/tile/tilegx/Implies: New file.
3065 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3067 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3069 2014-12-23 Florian Weimer <fweimer@redhat.com>
3071 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3073 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3077 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3078 <kernel-features.h>.
3079 (__utimes) [__NR_utimes]: Make code unconditional.
3080 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3081 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3082 (__ASSUME_UTIMES): Do not undefine.
3083 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3084 (__ASSUME_UTIMES): Likewise.
3085 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3086 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3087 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3088 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3090 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3092 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3094 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3097 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3098 alias to weak alias for j0l, y0l.
3099 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3100 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3103 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3106 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3108 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3109 to zero if not already defined.
3111 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3114 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3115 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3116 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3117 (char *) casts added.
3118 * sysdeps/ieee754/k_standardf.c: New file.
3119 * sysdeps/ieee754/k_standardl.c: Likewise.
3120 * math/Makefile (libm-support): Remove k_standard.
3121 (libm-calls): Add k_standard.
3123 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3125 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3126 Optimize to avoid an unnecessary FPCR read.
3128 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3130 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3131 Optimize to reduce FPCR/FPSR accesses.
3133 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3135 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3136 Call libc_fetestexcept_aarch64.
3138 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3140 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3141 Call libc_fesetround_aarch64.
3143 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3146 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3147 (__bind): Do not define as weak alias.
3148 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3150 (__getsockname): Do not define as weak alias.
3152 2014-12-22 Will Newton <will.newton@linaro.org>
3154 * manual/install.texi: Document that we require bison 2.7
3156 * INSTALL: Regenerate.
3157 * configure.ac: Use AC_CHECK_PROG_VER instead of
3158 AC_PATH_PROG when checking for bison and check for
3159 version 2.7 or above.
3160 * configure: Regenerate.
3162 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3165 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3166 * sysdeps/tile/ffsll.c (ffsll): To here.
3168 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3170 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3172 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3174 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3176 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3177 hidden ___tls_get_addr.
3178 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3179 hidden __tls_get_addr.
3180 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3181 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3184 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3186 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3189 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3191 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3192 from "call _dl_init@PLT".
3193 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3195 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3197 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3200 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3202 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3204 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3207 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3210 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3212 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3214 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3215 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3216 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3217 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3218 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3220 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3222 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3223 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3224 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3225 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3226 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3228 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3230 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3232 * string/strncat.c (STRNCAT): Simplify implementation.
3234 2014-12-19 David S. Miller <davem@davemloft.net>
3236 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3237 access the quad as both a long double and as a series of 4 words.
3239 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3240 link_map->l_info array access.
3242 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3244 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3246 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3247 * math/atest-exp2.c (TIMEOUT): Likewise.
3248 * math/atest-sincos.c (TIMEOUT): Likewise.
3250 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3252 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3253 -Wno-error with -fno-builtin-lround.
3255 2014-12-19 Torvald Riegel <triegel@redhat.com>
3257 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3258 Contains futex constants and functions moved over from ...
3259 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3260 <lowlevellock-futex.h>.
3261 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3262 (lll_timedwait_tid): Add comments and parentheses around macro
3265 2014-12-19 Torvald Riegel <triegel@redhat.com>
3267 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3268 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3269 (__lll_private_flag): Remove.
3270 (lll_futex_wait): Likewise.
3271 (lll_futex_timed_wait): Likewise.
3272 (lll_futex_wake): Likewise.
3273 (lll_futex_requeue): Likewise.
3274 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3275 (__lll_timedwait_tid): Spell out argument names.
3276 (lll_timedwait_tid): Add comments and parentheses around macro
3278 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3279 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3281 2014-12-19 Torvald Riegel <triegel@redhat.com>
3283 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3284 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3285 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3286 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3287 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3288 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3289 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3290 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3291 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3292 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3293 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3294 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3295 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3296 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3297 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3298 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3299 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3300 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3301 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3303 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3305 * sysdeps/x86_64/x32/Makefile: New file.
3307 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3309 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3310 1L with (mp_limb_t) 1.
3312 2014-12-17 Roland McGrath <roland@hack.frob.com>
3314 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3315 * nptl/libc_pthread_init.c: ... here.
3316 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3317 * nptl/register-atfork.c: ... here.
3319 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3320 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3321 Use assert_perror to check its return value.
3322 (__gai_create_helper_thread): Likewise.
3324 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3326 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3328 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3331 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3333 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3335 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3337 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3339 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3340 (profil_counter): Likewise.
3341 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3342 (profil_counter): Likewise.
3343 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3345 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3347 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3348 (profil_counter): Likewise.
3349 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3351 [!__profil_counter] (profil_counter): Define as weak alias of
3353 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3354 (profil_counter): Rename to __profil_counter.
3355 [!__profil_counter] (profil_counter): Define as weak alias of
3357 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3358 (profil_counter): Rename to __profil_counter.
3359 [!__profil_counter] (profil_counter): Define as weak alias of
3361 * sysdeps/posix/profil.c: Update comment referring to
3363 (__profil): Use __profil_counter instead of profil_counter.
3364 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3365 __profil_counter. Use __profil_counter_ushort and
3366 __profil_counter_uint in definitions.
3367 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3368 instead of profil_counter_uint and profil_counter_ushort.
3371 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3372 define as weak alias of __inet_makeaddr.
3373 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3374 as weak alias of __inet_addr.
3375 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3376 as weak alias of __inet_pton. Use libc_hidden_weak.
3377 * include/arpa/inet.h (__inet_pton): Declare. Use
3379 (inet_makeaddr): Don't use libc_hidden_proto.
3380 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3381 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3382 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3383 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3385 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3386 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3388 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3390 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3392 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3394 * stdio-common/bug-vfprintf-nargs.c (do_test):
3395 Cast value to intptr_t to avoid format warning
3396 for usage with PRIdPTR printing macro.
3398 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3400 * libio/tst-widetext.c (do_test):
3401 Use format type %td instead of %Zd for ptrdiff_t
3402 in order to avoid format warning.
3404 2014-12-17 Andreas Schwab <schwab@suse.de>
3406 * nscd/mem.c (gc): Add size_t cast to match printf format.
3408 2014-12-16 Roland McGrath <roland@hack.frob.com>
3410 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3411 (init): Apply PTR_MANGLE to pointers before storing them.
3412 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3415 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3418 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3419 define as weak alias of __memrchr.
3420 (__memrchr): Do not define as strong alias of memrchr.
3421 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3423 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3424 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3425 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3428 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3429 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3430 (if_indextoname): Rename to __if_indextoname and define as weak
3431 alias of __if_indextoname. Use libc_hidden_weak.
3432 (if_freenameindex): Rename to __if_freenameindex and define as
3433 weak alias of __if_freenameindex.
3434 (if_nameindex): Rename to __if_nameindex and define as weak alias
3436 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3437 __if_nametoindex and define as weak alias of __if_nametoindex.
3438 Use libc_hidden_weak.
3439 (if_freenameindex): Rename to __if_freenameindex and define as
3440 weak alias of __if_freenameindex.
3441 (if_nameindex): Rename to __if_nameindex and define as weak alias
3443 (if_indextoname): Rename to __if_indextoname and define as weak
3444 alias of __if_indextoname. Use libc_hidden_weak.
3445 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3446 __if_nametoindex and define as weak alias of __if_nametoindex.
3447 Use libc_hidden_weak.
3448 (if_freenameindex): Rename to __if_freenameindex and define as
3449 weak alias of __if_freenameindex. Use libc_hidden_weak.
3450 (if_nameindex_netlink): Use __if_freenameindex instead of
3452 (if_nameindex): Rename to __if_nameindex and define as weak alias
3453 of __if_nameindex. Use libc_hidden_weak.
3454 (if_indextoname): Rename to __if_indextoname and define as weak
3455 alias of __if_indextoname. Use libc_hidden_weak.
3456 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3458 [!_ISOMAC] (__if_freenameindex): Likewise.
3459 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3461 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3463 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3464 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3465 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3466 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3467 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3468 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3469 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3471 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3473 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3474 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3476 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3478 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3479 subscript above bounds'
3481 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3484 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3486 * libio/tst-fopenloc.c: Use test-skeleton.c.
3488 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3489 (entry): Rename to ITEM.
3490 (do_test, comp): Adjust.
3492 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3494 2014-12-16 Torvald Riegel <triegel@redhat.com>
3496 * string/tester.c: Include <libc-internal.h>.
3497 (test_memset): Ignore -Wmemset-transposed-args.
3499 2014-12-16 Torvald Riegel <triegel@redhat.com>
3501 * misc/tst-mntent2.c (do_test): Fix warning.
3503 2014-12-16 Torvald Riegel <triegel@redhat.com>
3505 * elf/tst-unique4lib.cc(a): Mark as used.
3507 2014-12-16 Florian Weimer <fweimer@redhat.com>
3510 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3513 2014-12-16 Allan McRae <allan@archlinux.org>
3515 * stdio-common/Makefile (tests): Re-add bug26.
3517 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3520 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3523 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3525 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3526 (__lll_lock_wait): Likewise.
3527 (__lll_timedlock_wait): Likewise.
3528 (__lll_timedwait_tid): Likewise.
3529 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3530 (__lll_robust_timedlock_wait): Likewise.
3531 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3532 (lll_cond_trylock): Likewise.
3533 (__lll_lock): Likewise.
3534 (__lll_robust_lock): Likewise.
3535 (__lll_cond_lock): Likewise.
3536 (lll_robust_cond_lock): Likewise.
3537 (__lll_timedlock): Likewise.
3538 (__lll_robust_timedlock): Likewise.
3539 (__lll_unlock): Likewise.
3540 (__lll_robust_unlock): Likewise.
3541 (lll_wait_tid): Likewise.
3542 (lll_timedwait_tid): Likewise.
3544 2014-12-15 Torvald Riegel <triegel@redhat.com>
3546 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3548 2014-12-15 Torvald Riegel <triegel@redhat.com>
3550 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3552 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3554 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3555 * stdio-common/tst-sprintf.c: Likewise.
3557 2014-12-15 Torvald Riegel <triegel@redhat.com>
3559 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3561 2014-12-15 Jeff Law <law@redhat.com>
3564 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3565 on the heap. (CVE-2012-3406)
3566 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3567 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3568 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3570 2014-12-15 Will Newton <will.newton@linaro.org>
3572 * manual/install.texi: Bump required version of texinfo
3574 * INSTALL: Regenerated.
3575 * configure.ac: Check for makeinfo version 4.7 and above.
3576 * configure: Regenerated.
3578 2014-12-12 Roland McGrath <roland@hack.frob.com>
3580 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3581 PREFIX, string constant to insert between directory and name.
3582 * sysdeps/posix/shm_open.c: Update caller.
3583 * sysdeps/posix/shm_unlink.c: Likewise.
3584 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3585 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3586 (SEM_SHM_PREFIX): New macro.
3587 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3588 [$(have-thread-library) = no].
3589 * nptl/Makefile (libpthread-routines): Add shm-directory.
3590 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3591 * sysdeps/nptl/shm-directory.h: New file.
3592 * sysdeps/posix/shm-directory.c
3593 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3594 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3595 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3597 (__where_is_shmfs): Function removed.
3598 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3600 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3602 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3604 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3605 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3606 unconditional for use inside libpthread.
3607 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3609 2014-12-12 Roland McGrath <roland@hack.frob.com>
3611 * nptl/pthread_getaffinity.c: New file.
3612 * nptl/pthread_setaffinity.c: New file.
3613 * nptl/pthread_getname.c: New file.
3614 * nptl/pthread_setname.c: New file.
3616 * nptl/pthread_create.c (START_THREAD_DEFN)
3617 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3619 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3620 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3622 * resolv/res_send.c (send_vc): Disable warning resplen may
3623 be used uninitialized.
3625 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3628 (ATTR_NULL): New define checks ATTR against NULL.
3629 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3630 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3632 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3636 (mem2mem_check): Revert my previous change.
3637 (malloc_check_get_size): Revert my previous change.
3638 (mem2chunk_check): Revert my previous change.
3640 2014-12-11 Roland McGrath <roland@hack.frob.com>
3642 * sysdeps/posix/shm-directory.c: New file.
3643 * sysdeps/posix/shm-directory.h: New file.
3644 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3645 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3646 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3647 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3648 Transmute EPERM to EACCES.
3649 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3651 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3652 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3654 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3656 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3657 pointer and cast to uintptr_t.
3658 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3659 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3660 Add cast to avoid warning.
3661 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3663 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3665 * nptl/semaphore.h: Move to ...
3666 * sysdeps/pthread/semaphore.h: ... here.
3667 * Makefile (installed-headers): Change nptl/semaphore.h to
3668 sysdeps/pthread/semaphore.h.
3670 2014-12-11 Roland McGrath <roland@hack.frob.com>
3672 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3673 generated error format strings.
3675 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3676 -Wformat-extra-args warnings for scanf formats.
3677 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3678 test of zero-length format (duh).
3679 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3680 corner-case scanf format test.
3681 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3682 generated fprintf format string.
3683 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3684 corner-case sprintf format tests.
3685 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3686 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3687 -Wformat-extra-args warnings throughout.
3688 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3689 (CFLAGS-scanf4.c): Likewise.
3690 (CFLAGS-scanf7.c): Likewise.
3691 (CFLAGS-tst-sprintf.c): Likewise.
3692 (CFLAGS-tst-printf.c): Likewise.
3693 (CFLAGS-tst-printfsz.c): Likewise.
3695 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3697 * include/cpio.h: New file.
3698 * include/fmtmsg.h: Likewise.
3700 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3701 corresponding format argument to size_t.
3702 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3704 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3705 corresponding format argument to size_t.
3706 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3708 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3709 corresponding format argument to size_t.
3710 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3711 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3712 (CFLAGS-tst-mbswcs2.c): Likewise.
3713 (CFLAGS-tst-mbswcs3.c): Likewise.
3714 (CFLAGS-tst-mbswcs4.c): Likewise.
3715 (CFLAGS-tst-mbswcs5.c): Likewise.
3716 (CFLAGS-tst-trans.c): Likewise
3718 2014-12-11 Roland McGrath <roland@hack.frob.com>
3720 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3721 rather than assuming they won't contain any '%'s.
3723 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3725 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3726 inhibit_loop_to_libcall to avoid recursive calls.
3727 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3728 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3730 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3732 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3735 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3737 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3738 integer value instead of boolean.
3740 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3742 * malloc/malloc.c: Fix powerof2 check.
3744 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3746 * locale/programs/locfile.h (maybe_swap_uint32):
3747 Remove inline and add unused attribute.
3749 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3751 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3752 Truncating assembler expression to a .long expression.
3754 2014-12-11 Andreas Schwab <schwab@suse.de>
3756 * elf/rtld.c (struct map_args): Constify str member.
3757 (do_preload): Constify fname argument.
3759 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3762 constants definition.
3764 2014-12-11 Andreas Schwab <schwab@suse.de>
3767 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3768 FORCE_ELISION instead of DO_ELISION.
3769 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3771 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3774 * iconvdata/gconv-modules: Remove duplicate entry.
3776 2014-12-11 Will Newton <will.newton@linaro.org>
3778 Merge gettext 0.19.3 into intl/.
3780 This involves a number of cosmetic changes to comments
3781 and ANSI function definitions and prototypes throughout
3782 all the files. The gettext copyright header is used but
3783 with the date ranges taken from the glibc copy.
3785 * NEWS: Add gettext merge to 2.21.
3786 * intl/bindtextdom.c: Switch to gettext copyright.
3787 Use ANSI definitions and prototypes.
3788 Use gl_* locking primitives rather than __libc_* ones.
3789 Use __builtin_expect rather than __glibc_likely/unlikely.
3790 * intl/dcgettext.c: Switch to gettext copyright.
3791 Use ANSI definitions and prototypes.
3792 * intl/dcigettext.c: Switch to gettext copyright.
3793 Use ANSI definitions and prototypes.
3794 (INTDIV0_RAISES_SIGFPE): New define.
3795 Use gl_* locking primitives rather than __libc_* ones.
3796 Include eval-plural.h instead of plural-eval.c.
3797 Use __builtin_expect rather than __glibc_likely/unlikely.
3798 * intl/dcngettext.c: Switch to gettext copyright.
3799 Use ANSI definitions and prototypes.
3800 * intl/dgettext.c: Likewise.
3801 * intl/dngettext.c: Likewise.
3802 * intl/plural-eval.c: Renamed to...
3803 * intl/eval-plural.h: ...this.
3804 * intl/explodename.c: Switch to gettext copyright.
3805 Use ANSI definitions and prototypes.
3806 (_nl_explode_name): Use strchr instead of __rawmemchr.
3807 * intl/finddomain.c: Switch to gettext copyright.
3808 Use ANSI definitions and prototypes.
3809 Use gl_* locking primitives rather than __libc_* ones.
3810 (_nl_find_domain): Use malloc rather than alloca for
3811 allocation of temporary locale name.
3812 * intl/gettext.c: Switch to gettext copyright.
3813 Use ANSI definitions and prototypes.
3814 * intl/gettextP.h: Switch to gettext copyright.
3815 Use ANSI definitions and prototypes.
3816 Use gl_* locking primitives rather than __libc_* ones.
3817 * intl/gmo.h: Switch to gettext copyright.
3818 (struct sysdep_string): Move struct segment_pair outside of
3820 * intl/hash-string.c: Use ANSI definitions and prototypes.
3821 * intl/hash-string.h: Switch to gettext copyright.
3822 Use ANSI definitions and prototypes.
3823 * intl/l10nflist.c: Switch to gettext copyright.
3824 Use ANSI definitions and prototypes.
3825 (_nl_normalize_codeset): Avoid integer overflow.
3826 * intl/loadinfo.h: Switch to gettext copyright.
3827 Use ANSI definitions and prototypes.
3828 (LIBINTL_DLL_EXPORTED): New define.
3829 (PATH_SEPARATOR): New define.
3830 * intl/loadmsgcat.c: Switch to gettext copyright.
3831 * intl/localealias.c: Switch to gettext copyright.
3832 Use ANSI definitions and prototypes.
3833 (_nl_expand_alias): Use PATH_SEPARATOR.
3834 * intl/ngettext.c: Switch to gettext copyright.
3835 Use ANSI definitions and prototypes.
3836 * intl/plural-exp.c: Likewise.
3837 * intl/plural-exp.h: Switch to gettext copyright.
3838 Use ANSI definitions and prototypes.
3839 (struct expression): Move definition of enum operator outside
3840 of struct definition.
3841 * intl/plural.c: Regenerate.
3842 * intl/plural.y: Switch to gettext copyright.
3843 Use ANSI definitions and prototypes.
3845 * intl/textdomain.c: Switch to gettext copyright.
3846 Use ANSI definitions and prototypes.
3847 Use gl_* locking primitives rather than __libc_* ones.
3849 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3851 * debug/warning-nop.c: Add used atrribute.
3853 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3855 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3857 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3858 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3859 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3861 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3862 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3865 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3866 Undefine after defining function. Define as weak alias of
3867 __wcschr. Use libc_hidden_weak.
3868 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3869 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3870 (libc_hidden_def): Also define __GI___wcschr alias.
3871 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3872 __wcschr and define as weak alias of __wcschr.
3873 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3875 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3876 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3877 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3878 libc_hidden_weak. Do not use libc_hidden_def.
3879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3880 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3881 __GI___wcschr alias.
3882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3883 [IS_IN (libc)] (wcschr): Define as macro expanding to
3885 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3886 [IS_IN (libc)] (__wcschr_power6): Likewise.
3887 [IS_IN (libc)] (__wcschr_power7): Likewise.
3888 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3890 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3892 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3893 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3894 __wcschr and define as weak alias of __wcschr. Use
3895 libc_hidden_builtin_def.
3896 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3897 as weak alias of __wcschr. Use libc_hidden_weak.
3898 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3900 * time/era.c (_nl_init_era_entries): Likewise.
3901 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3903 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3904 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3906 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3908 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3909 format for long int variable.
3911 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3914 * manual/search.texi: (Array Sort Function): Remove claim how to make
3917 2014-12-10 Andreas Schwab <schwab@suse.de>
3920 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3921 user-controlled locks.
3923 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3925 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3928 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3930 * configure.ac (--disable-werror): New configure option.
3931 (enable_werror): New AC_SUBST.
3932 * configure: Regenerated.
3933 * config.make.in (enable-werror): New variable.
3934 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3936 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3937 * manual/install.texi (Configuring and compiling): Document
3939 * INSTALL: Regenerated.
3940 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3941 (CFLAGS-tst-chk2.c): Likewise.
3942 (CFLAGS-tst-chk3.c): Likewise.
3943 (CFLAGS-tst-chk4.cc): Likewise.
3944 (CFLAGS-tst-chk5.cc): Likewise.
3945 (CFLAGS-tst-chk6.cc): Likewise.
3946 (CFLAGS-tst-lfschk1.c): Likewise.
3947 (CFLAGS-tst-lfschk2.c): Likewise.
3948 (CFLAGS-tst-lfschk3.c): Likewise.
3949 (CFLAGS-tst-lfschk4.cc): Likewise.
3950 (CFLAGS-tst-lfschk5.cc): Likewise.
3951 (CFLAGS-tst-lfschk6.cc): Likewise.
3953 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3954 (main): Disable -Wdeprecated-declarations around calls to
3955 register_printf_function.
3957 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3958 (do_test): Disable -Wdiv-by-zero around some calls to
3959 fwrite_unlocked and fread_unlocked.
3961 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3962 (DIAG_POP_NEEDS_COMMENT): Likewise.
3963 (_DIAG_STR1): Likewise.
3964 (_DIAG_STR): Likewise.
3965 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3966 * stdio-common/bug21.c: Include <libc-internal.h>.
3967 (do_test): Disable -Wformat around call to sscanf.
3968 * stdio-common/scanf14.c: Include <libc-internal.h>.
3969 (main): Disable -Wformat around some calls to scanf functions.
3971 2014-12-09 Torvald Riegel <triegel@redhat.com>
3973 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3975 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3977 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3978 stack variable alignment.
3980 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3983 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3984 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3985 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3986 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3987 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3988 __getrlimit instead of getrlimit.
3989 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3990 __gettimeofday instead of gettimeofday.
3991 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3993 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3995 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3996 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3998 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3999 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4001 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4003 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4004 for wide-character tests.
4006 2014-12-04 Roland McGrath <roland@hack.frob.com>
4008 * io/openat64.c: #include <libc-internal.h>
4009 (__openat64): Prototypify. Use ignore_value on MODE.
4010 * io/openat.c: Likewise.
4011 * misc/reboot.c: #include <libc-internal.h>
4012 (reboot): Prototypify. Use ignore_value on HOWTO.
4013 * misc/ptrace.c: #include <libc-internal.h>
4014 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4016 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4018 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4019 XPG4, UNIX98 and XOPEN2K.
4020 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4022 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4024 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4026 * libio/fileops.c: Use ISO C style for function definitions.
4027 * libio/iofopen.c: Likewise.
4028 * libio/wfileops.c: Likewise.
4031 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4033 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4034 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4035 (fgets_func): Function pointer to fgets and fgetws.
4036 (do_ftell_test): Add test to verify ftell value after read
4038 (do_test): Set fgets_func.
4040 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4041 O_TRUNC flag for w and w+ modes.
4042 (do_rewind_test): Likewise.
4043 (do_ftell_test): Likewise.
4044 (do_write_test): Likewise.
4047 * libio/fileops.c (do_ftell): Seek only when there are
4049 * libio/wfileops.c (do_ftell_wide): Likewise.
4050 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4052 (do_one_test): Call it.
4054 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4056 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4057 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4058 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4060 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4061 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4062 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4064 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4066 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4068 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4071 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4072 as weak alias of __getifaddrs. Use libc_hidden_weak.
4073 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4074 __freeifaddrs. Use libc_hidden_weak.
4075 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4076 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4077 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4078 __freeifaddrs. Use libc_hidden_weak.
4079 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4080 __getifaddrs and define as weak alias of __getifaddrs. Use
4082 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4083 __freeifaddrs. Use libc_hidden_weak.
4084 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4086 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4087 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4089 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4092 * sysdeps/mips/start.S (__start): Use indirect jump to call
4095 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4097 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4099 * nptl/tst-mutex1.c: Include <stdbool.h>.
4100 [!ATTR] (ATTR_NULL): New macro.
4101 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4102 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4103 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4105 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4109 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4110 Change conditional to [__USE_MISC].
4113 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4115 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4117 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4119 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4121 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4122 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4123 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4124 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4125 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4126 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4127 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4128 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4129 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4131 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4133 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4135 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4136 Remove strpbrk objects.
4137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4138 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4139 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4140 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4141 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4142 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4144 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4145 Remove strcspn objects.
4146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4147 (__libc_ifunc_impl_list): Remove strcspn implementation.
4148 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4149 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4150 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4151 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4153 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4154 Remove strspn objetcs.
4155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4156 (__libc_ifunc_impl_list): Remove strspn implementation.
4157 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4158 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4159 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4160 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4162 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4166 (mem2mem_check): Add a terminator to the chain of checking blocks.
4167 (malloc_check_get_size): Use it here.
4168 (mem2chunk_check): Ditto.
4170 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4172 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4173 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4175 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4177 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4179 * nptl/nptl-init.c: Include libc-internal.h.
4180 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4182 * elf/ldconfig.c (search_dir): Expand comment.
4184 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4186 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4188 (linknamespace-symlist-stdlibs-tests): Likewise.
4189 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4190 instead of $(objpfx)symlist-stdlibs.
4191 (linknamespace-libs-isoc): New variable.
4192 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4193 (linknamespace-libs-ISO): New variable.
4194 (linknamespace-libs-ISO99): Likewise.
4195 (linknamespace-libs-ISO11): Likewise.
4196 (linknamespace-libs-XPG3): Likewise.
4197 (linknamespace-libs-XPG4): Likewise.
4198 (linknamespace-libs-POSIX): Likewise.
4199 (linknamespace-libs-UNIX98): Likewise.
4200 (linknamespace-libs-XOPEN2K): Likewise.
4201 (linknamespace-libs-POSIX2008): Likewise.
4202 (linknamespace-libs-XOPEN2K8): Likewise.
4203 ($(objpfx)symlist-stdlibs): Replace by
4204 $(linknamespace-symlist-stdlibs-tests). Use
4205 $(linknamespace-libs-$*) as set of libraries.
4206 ($(linknamespace-header-tests)): Update dependencies. Use
4207 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4208 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4209 * conform/linknamespace.pl: Remove comment about considering
4210 definitions of symbols from irrelevant libraries.
4212 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4215 * elf/dl-tls.c: Include <atomic.h>.
4216 (oom): Remove #ifdef SHARED/#endif.
4217 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4218 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4219 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4221 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4222 * nptl/Makefile (tests): Add tst-stack4.
4223 (modules-names): Add tst-stack4mod.
4224 ($(objpfx)tst-stack4): New.
4225 (tst-stack4mod.sos): Likewise.
4226 ($(objpfx)tst-stack4.out): Likewise.
4227 ($(tst-stack4mod.sos)): Likewise.
4229 * nptl/tst-stack4.c: New file.
4230 * nptl/tst-stack4mod.c: Likewise.
4232 2014-11-27 J. Brown <jb999@gmx.de>
4234 * sysdeps/x86/bits/string.h: Add recent CPUs.
4236 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4238 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4241 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4244 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4247 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4249 * nscd/connections.c: Include libc-internal.h because of macro
4252 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4254 * string/bits/string3.h (__warn_memset_zero_len): Don't
4255 declare for gcc newer than 5.0.
4256 (memset): Don't test for zero-length __LEN for gcc newer than
4259 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4261 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4262 size_t for %zu format.
4264 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4265 difference, not %ju.
4267 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4269 * include/libc-internal.h (ignore_value): New macro.
4270 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4273 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4276 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4277 pthread_cleanup_push to void *.
4279 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4284 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4285 instead of 1L << 52.
4287 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4288 * libio/bug-rewind2.c (do_test): Likewise.
4290 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4291 * debug/test-strcpy_chk-ifunc.c: Likewise.
4292 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4293 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4294 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4295 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4296 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4297 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4298 * Rules [$(multi-arch) = no] (tests): Do not filter out
4300 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4301 * debug/Makefile (tests-ifunc): Remove variable.
4302 (tests): Do not add $(tests-ifunc).
4303 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4304 (tests): Do not add $(tests-ifunc).
4305 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4306 [TEST_IFUNC]: Remove conditionals.
4307 * string/test-string.h (TEST_IFUNC): Remove macro.
4308 [TEST_IFUNC]: Remove conditionals.
4310 * string/test-strchr.c [!WIDE] (L): New macro.
4311 [WIDE] (L): Likewise.
4312 (check1): Use CHAR instead of char. Use L on string and character
4315 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4317 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4319 * sysdeps/powerpc/bits/atomic.h
4320 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4321 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4322 (atomic_exchange_and_add_acq): Likewise.
4323 (atomic_exchange_and_add_rel): Likewise.
4324 * sysdeps/powerpc/powerpc32/bits/atomic.h
4325 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4326 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4327 * sysdeps/powerpc/powerpc64/bits/atomic.h
4328 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4329 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4331 2014-11-26 Torvald Riegel <triegel@redhat.com>
4333 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4334 Change synchronization of __sched_fifo_min_prio and
4335 __sched_fifo_max_prio.
4336 * nptl/pthread_mutexattr_getprioceiling.c
4337 (pthread_mutexattr_getprioceiling): Likewise.
4338 * nptl/pthread_mutexattr_setprioceiling.c
4339 (pthread_mutexattr_setprioceiling): Likewise.
4340 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4341 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4344 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4346 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4349 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4351 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4352 third argument const.
4354 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4356 fnmatch: work around GCC compiler warning bug with uninit var
4357 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4358 This works around a bug with x86-64 GCC 4.9.2 and earlier
4359 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4360 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4361 used uninitialized in this function [-Wmaybe-uninitialized]".
4363 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4365 * posix/bug-regex31.c (main): Return RES not 0.
4367 2014-11-25 Anton Blanchard <anton@samba.org>
4369 * sysdeps/powerpc/bits/atomic.h
4370 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4372 2014-11-24 Sterling Augustine <saugustine@google.com>
4374 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4376 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4379 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4381 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4384 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4385 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4387 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4388 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4390 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4392 * string/strncpy.c (strncpy): Improve performance by using memset.
4394 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4396 * string/strcpy.c (strcpy):
4397 Improve performance by using strlen and memcpy.
4399 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4401 * string/strcoll_l.c (get_next_seq): __always_inline.
4402 * string/strcoll_l.c (do_compare): __always_inline.
4404 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4406 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4408 * include/mqueue.h: Likewise.
4409 * include/stdlib.h: Likewise.
4411 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4412 (get_null_defines): Adjust.
4413 * sunrpc/Makefile: Adjust comment.
4414 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4415 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4416 (CFLAGS-interp.c): Likewise.
4417 (CFLAGS-ldconfig.c): Likewise.
4418 (CPPFLAGS-.os): Likewise.
4419 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4420 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4421 * extra-modules.mk (extra-modules.mk): Likewise.
4422 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4423 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4424 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4425 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4426 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4427 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4428 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4429 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4430 * iconvdata/Makefile (CPPFLAGS): Likewise.
4431 (cpp-srcs-left): Add libof for all iconvdata routines.
4432 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4433 * include/assert.h: Likewise.
4434 * include/ctype.h: Likewise.
4435 * include/errno.h: Likewise.
4436 * include/libc-symbols.h: Likewise.
4437 * include/math.h: Likewise.
4438 * include/netdb.h: Likewise.
4439 * include/resolv.h: Likewise.
4440 * include/stdio.h: Likewise.
4441 * include/stdlib.h: Likewise.
4442 * include/string.h: Likewise.
4443 * include/sys/stat.h: Likewise.
4444 * include/wctype.h: Likewise.
4445 * intl/l10nflist.c: Likewise.
4446 * libidn/idn-stub.c: Likewise.
4447 * libio/libioP.h: Likewise.
4448 * nptl/libc_multiple_threads.c: Likewise.
4449 * nptl/pthreadP.h: Likewise.
4450 * posix/regex_internal.h: Likewise.
4451 * resolv/res_hconf.c: Likewise.
4452 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4453 * sysdeps/arm/memmove.S: Likewise.
4454 * sysdeps/arm/sysdep.h: Likewise.
4455 * sysdeps/generic/_itoa.h: Likewise.
4456 * sysdeps/generic/symbol-hacks.h: Likewise.
4457 * sysdeps/gnu/errlist.awk: Likewise.
4458 * sysdeps/gnu/errlist.c: Likewise.
4459 * sysdeps/i386/i586/memcpy.S: Likewise.
4460 * sysdeps/i386/i586/memset.S: Likewise.
4461 * sysdeps/i386/i686/memcpy.S: Likewise.
4462 * sysdeps/i386/i686/memmove.S: Likewise.
4463 * sysdeps/i386/i686/mempcpy.S: Likewise.
4464 * sysdeps/i386/i686/memset.S: Likewise.
4465 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4467 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4468 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4469 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4470 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4471 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4472 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4473 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4475 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4476 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4477 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4478 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4479 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4480 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4481 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4482 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4483 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4484 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4485 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4486 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4487 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4488 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4489 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4491 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4492 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4493 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4494 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4495 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4499 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4501 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4502 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4503 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4504 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4506 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4507 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4509 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4510 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4511 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4512 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4513 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4514 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4515 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4516 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4518 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4519 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4520 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4521 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4522 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4523 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4524 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4525 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4526 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4527 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4528 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4529 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4530 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4531 * sysdeps/posix/closedir.c: Likewise.
4532 * sysdeps/posix/opendir.c: Likewise.
4533 * sysdeps/posix/readdir.c: Likewise.
4534 * sysdeps/posix/rewinddir.c: Likewise.
4535 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4536 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4537 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4538 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4539 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4540 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4541 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4542 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4543 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4545 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4546 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4547 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4548 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4549 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4550 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4551 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4552 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4553 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4554 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4555 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4556 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4557 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4560 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4561 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4562 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4563 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4564 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4565 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4566 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4567 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4569 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4570 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4571 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4572 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4573 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4574 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4575 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4576 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4577 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4578 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4579 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4580 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4581 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4582 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4583 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4584 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4585 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4586 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4588 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4589 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4592 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4593 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4594 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4595 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4596 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4597 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4598 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4599 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4600 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4601 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4602 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4603 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4604 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4605 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4606 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4607 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4608 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4609 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4610 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4611 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4612 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4613 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4614 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4615 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4616 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4617 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4619 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4620 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4621 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4622 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4623 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4624 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4625 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4626 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4627 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4631 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4633 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4634 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4635 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4636 * sysdeps/unix/alpha/sysdep.S: Likewise.
4637 * sysdeps/unix/alpha/sysdep.h: Likewise.
4638 * sysdeps/unix/make-syscalls.sh: Likewise.
4639 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4640 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4641 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4642 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4643 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4644 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4645 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4646 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4647 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4648 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4649 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4650 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4651 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4652 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4653 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4654 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4655 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4656 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4657 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4658 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4659 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4660 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4661 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4662 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4663 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4664 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4665 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4668 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4669 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4673 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4674 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4677 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4678 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4679 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4680 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4681 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4682 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4684 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4686 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4689 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4690 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4691 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4692 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4693 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4694 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4695 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4697 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4698 * sysdeps/x86_64/memcpy.S: Likewise.
4699 * sysdeps/x86_64/memmove.c: Likewise.
4700 * sysdeps/x86_64/memset.S: Likewise.
4701 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4703 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4704 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4705 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4706 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4708 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4709 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4710 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4711 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4713 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4714 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4715 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4716 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4717 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4718 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4719 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4720 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4721 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4722 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4723 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4725 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4726 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4727 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4728 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4729 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4730 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4731 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4732 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4733 * sysdeps/x86_64/strcmp.S: Likewise.
4735 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4737 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4738 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4739 * elf/rtld-Rules: Likewise.
4740 * elf/setup-vdso.h: Likewise.
4741 * include/assert.h: Likewise.
4742 * include/bits/stdlib-float.h: Likewise.
4743 * include/errno.h: Likewise.
4744 * include/sys/stat.h: Likewise.
4745 * include/unistd.h: Likewise.
4746 * sysdeps/aarch64/setjmp.S: Likewise.
4747 * sysdeps/alpha/setjmp.S: Likewise.
4748 * sysdeps/arm/__longjmp.S: Likewise.
4749 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4750 * sysdeps/arm/setjmp.S: Likewise.
4751 * sysdeps/arm/sysdep.h: Likewise.
4752 * sysdeps/generic/_itoa.h: Likewise.
4753 * sysdeps/generic/dl-sysdep.h: Likewise.
4754 * sysdeps/generic/ldsodefs.h: Likewise.
4755 * sysdeps/i386/dl-tls.h: Likewise.
4756 * sysdeps/i386/setjmp.S: Likewise.
4757 * sysdeps/m68k/setjmp.c: Likewise.
4758 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4759 * sysdeps/mach/hurd/opendir.c: Likewise.
4760 * sysdeps/posix/getcwd.c: Likewise.
4761 * sysdeps/posix/opendir.c: Likewise.
4762 * sysdeps/posix/profil.c: Likewise.
4763 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4764 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4765 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4766 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4767 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4768 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4769 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4770 * sysdeps/s390/dl-tls.h: Likewise.
4771 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4772 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4773 * sysdeps/sh/sh3/setjmp.S: Likewise.
4774 * sysdeps/sh/sh4/setjmp.S: Likewise.
4775 * sysdeps/unix/alpha/sysdep.h: Likewise.
4776 * sysdeps/unix/arm/sysdep.S: Likewise.
4777 * sysdeps/unix/i386/sysdep.S: Likewise.
4778 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4779 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4780 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4781 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4782 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4783 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4784 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4785 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4786 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4787 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4788 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4789 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4790 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4793 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4796 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4797 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4798 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4801 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4802 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4803 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4805 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4806 * sysdeps/x86_64/setjmp.S: Likewise.
4808 * include/math.h: Use IS_IN instead of IS_IN_libm.
4809 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4821 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4829 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4830 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4831 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4832 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4833 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4834 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4836 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4837 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4838 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4839 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4840 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4841 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4852 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4854 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4855 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4856 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4857 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4863 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4864 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4865 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4866 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4867 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4868 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4869 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4870 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4871 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4872 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4873 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4874 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4875 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4876 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4878 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4880 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4881 * nptl/pthreadP.h: Likewise.
4882 * nptl_db/structs.def: Likewise.
4883 * sysdeps/arm/sysdep.h: Likewise.
4884 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4885 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4886 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4887 * sysdeps/unix/alpha/sysdep.h: Likewise.
4888 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4889 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4890 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4891 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4892 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4893 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4894 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4895 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4896 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4897 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4898 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4899 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4900 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4901 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4906 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4909 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4910 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4911 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4912 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4913 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4915 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4916 * nptl/pthreadP.h: Likewise.
4917 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4918 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4919 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4920 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4921 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4922 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4923 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4924 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4925 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4926 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4927 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4928 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4935 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4936 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4938 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4939 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4940 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4942 * dlfcn/dladdr.c: Use IS_IN.
4943 * dlfcn/dladdr1.c: Likewise.
4944 * dlfcn/dlclose.c: Likewise.
4945 * dlfcn/dlerror.c: Likewise.
4946 * dlfcn/dlinfo.c: Likewise.
4947 * dlfcn/dlmopen.c: Likewise.
4948 * dlfcn/dlopen.c: Likewise.
4949 * dlfcn/dlsym.c: Likewise.
4950 * dlfcn/dlvsym.c: Likewise.
4952 * include/ifaddrs.h: Use IS_IN.
4953 * inet/check_pf.c: Likewise.
4954 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4955 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4957 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4959 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4960 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4962 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4963 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4966 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4968 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4969 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4970 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4971 * include/libc-symbols.h (IS_IN_LIB): New macro.
4972 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4973 * include/netdb.h: Likewise.
4974 * include/stap-probe.h: Remove all uses of IN_LIB.
4976 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4977 instead of IN_MODULE.
4978 * include/libc-symbols.h (IN_MODULE): Define using
4980 (PASTE_NAME, PASTE_NAME1): New macros.
4981 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4983 (STAP_PROBE_ASM): Likewise.
4985 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4987 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4988 __mach_init in dlopened libc.
4990 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4992 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4993 * sysdeps/arm/preconfigure: Regenerate.
4995 2014-11-21 Roland McGrath <roland@hack.frob.com>
4997 * nptl/pthread_create.c (__pthread_create_2_1): Set
4998 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4999 when copying values from IATTR into PD.
5001 2014-11-21 Will Newton <will.newton@linaro.org>
5002 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5004 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5005 Refactor inline-asm. Also add comment.
5007 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5008 ElfW macro instead of hardcoded Elf64 types.
5009 (la_aarch64_gnu_pltenter): Likewise.
5010 * sysdeps/aarch64/dl-machine.h
5011 (elf_machine_runtime_setup): Use ElfW(Addr).
5013 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5014 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5015 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5016 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5017 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5018 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5019 (R_AARCH64_TLS_DTPMOD): This.
5020 (R_AARCH64_TLS_DTPREL64): Rename to ...
5021 (R_AARCH64_TLS_DTPREL): This.
5022 (R_AARCH64_TLS_TPREL64): Rename to ...
5023 (R_AARCH64_TLS_TPREL): This.
5024 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5025 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5026 R_AARCH64_TLS_TPREL64.
5027 (elf_machine_rela): Likewise.
5029 2014-11-21 Torvald Riegel <triegel@redhat.com>
5031 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5032 by setting it to 0. 64b atomics are not supported currently.
5034 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5037 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5038 search domain names.
5040 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5044 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5046 * posix/tst-getaddrinfo5.c: New.
5047 * posix/Makefile (tests): Add it.
5049 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5053 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5054 after parsing line but before break_if_match.
5055 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5056 if there is a protocol mismatch.
5058 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5060 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5061 because the potential race is on the user-supplied stream.
5063 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5065 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5066 string literal if not passed a buffer.
5067 * manual/job.texi (ctermid): Update reasoning, note deviation
5068 from posix, suggest mtasurace when not passed a buffer, for
5069 future non-preliminary safety notes.
5071 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5073 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5074 of not passing it a buffer.
5075 Reported by Peng Haitao.
5077 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5079 * manual/Makefile ($(objpfx)stamp-summary): Require
5080 check-safety.sh to pass.
5081 * manual/check-safety.sh: Wish for verification that every
5082 @deftypefn and @deftypefun is followed by a @safety remark.
5084 2014-11-20 Roland McGrath <roland@hack.frob.com>
5086 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5088 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5089 PTHREAD_CANCEL_ASYNCHRONOUS.
5090 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5093 * nptl/default-sched.h: New file.
5094 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5095 * nptl/pthread_create.c: Include it.
5096 (__pthread_create_2_1): Use collect_default_sched instead of making
5097 Linux syscalls here directly.
5099 2014-11-20 Torvald Riegel <triegel@redhat.com>
5101 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5102 __pthread_once): Use C11 atomics.
5104 2014-11-20 Torvald Riegel <triegel@redhat.com>
5106 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5108 2014-11-20 Torvald Riegel <triegel@redhat.com>
5110 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5111 atomic_thread_fence_acquire, atomic_thread_fence_release,
5112 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5113 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5114 atomic_compare_exchange_weak_relaxed,
5115 atomic_compare_exchange_weak_acquire,
5116 atomic_compare_exchange_weak_release,
5117 atomic_exchange_acquire, atomic_exchange_release,
5118 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5119 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5120 atomic_fetch_and_acquire,
5121 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5123 2014-11-20 Torvald Riegel <triegel@redhat.com>
5125 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5126 USE_ATOMIC_COMPILER_BUILTINS): Define.
5127 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5128 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5129 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5130 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5131 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5132 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5133 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5134 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5135 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5136 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5137 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5139 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5141 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5143 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5144 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5145 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5147 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5149 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5150 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5151 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5153 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5155 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5157 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5159 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5161 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5162 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5163 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5165 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5168 2014-11-19 Roland McGrath <roland@hack.frob.com>
5170 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5171 the sched_priority value here. It was already checked when the user
5172 called pthread_attr_setschedparam.
5174 * nptl/tst-bad-schedattr.c: New file.
5175 * nptl/Makefile (tests): Add it.
5177 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5178 Florian Weimer <fweimer@redhat.com>
5179 Joseph Myers <joseph@codesourcery.com>
5180 Adam Conrad <adconrad@0c3.net>
5181 Andreas Schwab <schwab@suse.de>
5182 Brooks <bmoses@google.com>
5185 * wordexp-test.c (__dso_handle): Add prototype.
5186 (__register_atfork): Likewise.
5187 (__app_register_atfork): New function.
5188 (registered_forks): New global.
5189 (register_fork): New function.
5190 (test_case): Add 3 new tests for WRDE_CMDSUB.
5191 (main): Call __app_register_atfork.
5192 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5193 fork count is non-zero fail the test.
5194 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5196 (parse_dollars): Remove check for WRDE_NOCMD.
5197 (parse_dquote): Likewise.
5199 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5201 * Makeconfig (built-modules): List non-library modules to be
5203 (module-cppflags): Include libc-modules.h for
5204 everything except shlib-versions.v.i.
5206 (before-compile): Add libc-modules.h.
5207 ($(common-objpfx)libc-modules.h,
5208 $(common-objpfx)libc-modules.stmp): New targets.
5209 (common-generated): Add libc-modules.h and libc-modules.stmp.
5210 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5211 * include/libc-symbols.h: Don't include libc-modules.h.
5212 * include/libc-modules.h: Remove file.
5213 * scripts/gen-libc-modules.awk: New script to generate
5215 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5216 Depend on libc-modules.stmp.
5218 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5220 * Makeconfig (in-module): Get value of libof set for the
5222 (CPPFLAGS): Use $(in-module).
5223 * Makerules: Don't suffix routine names for nonlib.
5224 * include/libc-modules.h: New file.
5225 * include/libc-symbols.h: Include libc-modules.h
5226 (IS_IN): New macro to replace IS_IN_* macros.
5227 * elf/Makefile: Set libof-* for each routine.
5228 * elf/rtld-Rules: Likewise.
5229 * extra-modules.mk: Likewise.
5230 * iconv/Makefile: Likewise.
5231 * iconvdata/Makefile: Likewise.
5232 * locale/Makefile: Likewise.
5233 * malloc/Makefile: Likewise.
5234 * nss/Makefile: Likewise.
5235 * sysdeps/gnu/Makefile: Likewise.
5236 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5237 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5238 * sysdeps/s390/s390-64/Makefile: Likewise.
5239 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5240 CPPFLAGS for nscd instead of nonlib.
5242 2014-11-18 Roland McGrath <roland@hack.frob.com>
5244 * nptl/createthread.c: New file.
5246 * nptl/createthread.c: Moved ...
5247 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5249 * nptl/createthread.c: Add proper top-line comment.
5250 (do_clone): Folded into ...
5251 (create_thread): ... here. Take new arguments STOPPED_START and
5252 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5253 increment __nptl_threads, do event-reporting logic, do
5254 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5255 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5256 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5257 just send SIGCANCEL.
5258 * nptl/pthread_create.c: Forward-declare create_thread before
5259 including createthread.c.
5260 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5261 declaration, and new macro START_THREAD_SELF to replace argument.
5262 Remove return statement.
5263 (report_thread_creation): New function.
5264 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5265 synchronization logic, and __nptl_nthreads increment here, around
5266 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5267 PD->parent_cancelhandling here, before create_thread. When
5268 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5269 __deallocate_stack, and ENOMEM translation here.
5271 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5274 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5275 (mptwo): Rename to __mptwo.
5276 (__inv): Use __mptwo instead of mptwo.
5277 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5278 (mptwo): Rename to __mptwo.
5279 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5280 of mpone and __mptwo instead of mptwo.
5281 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5284 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5285 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5286 of mpone and __mptwo instead of mptwo.
5287 (__mpranred): Use __mpone instead of mpone.
5288 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5290 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5291 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5292 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5293 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5294 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5295 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5296 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5297 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5298 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5299 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5300 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5301 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5302 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5303 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5304 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5305 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5306 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5307 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5308 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5310 2014-11-18 Tom de Vries <tom@codesoucery.com>
5312 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5313 replace BSD Handler xref with BSD Signal Handling.
5315 2014-11-17 Richard Henderson <rth@redhat.com>
5317 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5318 (_FP_PACK_RAW_2): Remove.
5319 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5320 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5321 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5322 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5323 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5324 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5325 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5326 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5327 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5328 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5329 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5330 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5331 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5332 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5333 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5334 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5336 2014-11-14 Roland McGrath <roland@hack.frob.com>
5338 * signal/signal.h [__USE_MISC]
5339 (struct sigvec): Remove type.
5340 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5341 (sigvec): Remove declaration.
5342 * sysdeps/posix/sigvec.c: Moved ...
5343 * signal/sigvec.c: ... here, replacing old file.
5344 (struct sigvec): New type, copied from old signal.h definition.
5345 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5346 (__sigvec): Convert definition to prototype.
5347 (sigvec): Replace weak_alias with compat_symbol.
5348 * signal/Versions (libc: GLIBC_2.21): New version set.
5349 * include/signal.h: Remove __sigvec declaration.
5350 * sysdeps/unix/bsd/sigvec.c: Remove file.
5351 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5352 * manual/signal.texi (BSD Handler): Remove subsection.
5353 Move siginterrupt up to ...
5354 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5355 (Blocking in BSD): Fold subsection into its parent.
5356 * NEWS: Mention sigvec removal.
5358 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5360 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5361 (DLA_FMS): Make definition conditional only on [__FMA4__].
5362 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5365 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5366 Make definition conditional only on [PROF].
5367 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5369 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5370 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5372 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5374 * include/signal.h (__sigpause): Move declaration above call to
5376 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5378 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5379 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5381 2014-11-14 David S. Miller <davem@davemloft.net>
5383 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5384 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5386 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5388 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5389 * configure: Regenerated.
5390 * manual/install.texi (Tools for Compilation): Document a
5391 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5392 compiler verified to work.
5393 * INSTALL: Regenerated.
5395 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5396 redeclare with asm name.
5397 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5398 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5399 including <string.h>.
5400 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5401 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5402 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5403 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5404 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5405 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5406 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5408 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5410 * stdlib/strtol.c (__strtol): Use prototype definition.
5413 * stdlib/strtol.c (SYM__): New macro.
5415 (__strtol): Likewise.
5416 (strtol): Rename to __strtol and define as weak alias of
5417 __strtol. Use libc_hidden_weak.
5419 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5421 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5422 Use numbered labels in inline assembly.
5424 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5426 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5427 Add setjmp LIBC_PROBE.
5428 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5430 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5431 Add longjmp, longjmp_target LIBC_PROBE.
5432 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5435 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5437 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5438 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5439 to get rid of unused variable warning.
5441 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5443 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5444 Check for unwind_backtrace == NULL only in SHARED case.
5445 (__backchain_backtrace): Compile only in SHARED case.
5446 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5448 (__backchain_backtrace): Declare as static.
5450 2014-11-12 Roland McGrath <roland@hack.frob.com>
5452 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5453 (__libc_multiple_threads_ptr): Variable moved ...
5454 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5456 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5458 * conform/GlibcConform.pm: New file.
5459 * conform/conformtest.pl: Use GlibcConform module.
5460 * conform/linknamespace.pl: New file.
5461 * conform/list-header-symbols.pl: Likewise.
5462 * conform/Makefile (linknamespace-symlists-base): New variable.
5463 (linknamespace-symlists-tests): Likewise.
5464 (linknamespace-header-base): Likewise.
5465 (linknamespace-header-tests): Likewise.
5466 (tests-special): Add new tests.
5467 ($(linknamespace-symlists-tests)): New rule.
5468 (linknamespace-libs): New variable.
5469 ($(objpfx)symlist-stdlibs): New rule.
5470 ($(linknamespace-header-tests)): Likewise.
5471 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5472 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5473 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5474 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5475 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5476 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5477 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5478 (test-xfail-ISO/math.h/linknamespace): Likewise.
5479 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5480 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5481 (test-xfail-ISO/time.h/linknamespace): Likewise.
5482 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5483 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5484 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5485 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5486 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5487 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5488 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5489 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5490 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5491 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5492 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5493 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5494 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5495 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5496 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5497 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5498 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5499 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5500 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5501 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5502 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5503 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5504 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5505 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5506 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5507 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5508 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5509 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5510 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5511 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5512 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5513 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5514 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5515 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5516 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5517 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5518 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5519 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5520 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5521 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5522 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5523 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5524 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5525 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5526 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5527 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5528 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5529 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5530 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5531 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5532 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5533 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5534 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5535 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5536 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5537 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5538 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5539 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5540 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5541 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5542 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5543 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5544 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5545 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5546 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5547 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5548 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5549 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5550 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5551 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5552 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5553 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5554 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5555 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5556 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5557 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5558 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5559 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5560 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5561 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5562 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5563 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5564 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5565 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5566 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5567 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5568 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5569 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5570 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5571 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5572 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5573 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5574 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5575 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5576 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5577 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5578 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5579 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5580 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5581 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5582 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5583 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5584 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5585 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5586 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5587 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5588 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5589 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5590 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5591 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5592 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5593 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5594 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5595 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5596 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5597 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5598 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5599 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5600 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5601 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5602 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5603 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5604 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5605 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5606 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5607 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5608 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5609 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5610 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5611 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5612 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5613 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5614 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5615 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5616 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5617 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5618 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5619 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5620 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5621 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5622 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5623 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5624 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5625 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5626 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5627 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5628 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5629 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5630 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5631 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5634 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5638 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5639 (memmem): Rename to __memmem and define as weak alias of
5640 __memmem. Use libc_hidden_weak.
5641 (__memmem): Use libc_hidden_def.
5642 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5643 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5647 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5648 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5649 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5650 and define as weak alias of __fgets_unlocked. Use
5652 (__fgets_unlocked): Use libc_hidden_def.
5653 * include/stdio.h (__fgets_unlocked): Declare. Use
5655 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5656 __fgets_unlocked instead of fgets_unlocked.
5657 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5658 (GET_NPROCS_CONF_PARSER): Likewise.
5659 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5660 (GET_NPROCS_CONF_PARSER): Likewise.
5663 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5664 weak alias of __wmemset. Use libc_hidden_weak.
5665 (__wmemset): Use libc_hidden_def.
5666 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5667 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5671 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5672 with asm name __mempcpy.
5673 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5676 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5677 and define as weak alias of __rawmemchr.
5678 (__rawmemchr): Do not define as strong alias of rawmemchr.
5681 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5683 (qsort): Call __qsort_r instead of qsort_r.
5684 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5685 (__qsort_r): Declare. Call libc_hidden_proto.
5686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5688 * nscd/gai.c (__qsort_r): Define to qsort_r.
5689 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5690 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5691 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5694 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5695 define as weak alias of __malloc_info.
5698 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5699 as weak alias of __rewinddir. Don't use libc_hidden_def.
5700 (__rewinddir): Use libc_hidden_def.
5701 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5702 as weak alias of __rewinddir. Don't use libc_hidden_def.
5703 (__rewinddir): Use libc_hidden_def.
5704 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5705 weak alias of __rewinddir. Don't use libc_hidden_def.
5706 (__rewinddir): Use libc_hidden_def.
5707 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5708 (__rewinddir): Use libc_hidden_proto.
5709 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5711 (__getcwd): Use __rewinddir instead of rewinddir.
5714 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5715 alias of __fileno. Use libc_hidden_weak.
5716 (__fileno): Use libc_hidden_def.
5717 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5718 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5720 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5722 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5723 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5725 (fread_unlocked): Don't use libc_hidden_ver.
5726 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5727 and define as weak alias of __fread_unlocked. Don't use
5729 (__fread_unlocked): Use libc_hidden_def.
5730 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5731 (ftello): Don't use libc_hidden_proto.
5732 (__ftello): Declare. Use libc_hidden_proto.
5733 (fread_unlocked): Don't use libc_hidden_proto.
5734 (__fread_unlocked): Declare. Use libc_hidden_proto.
5735 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5736 and __ftello instead of fileno, fread_unlocked and ftello.
5738 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5740 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5742 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5744 (_dl_start_user): Likewise.
5745 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5747 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5748 Siddhesh Poyarekar <siddhesh@redhat.com>
5750 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5751 Move argv and envp down instead of moving argc up.
5752 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5754 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5757 * test-skeleton.c (main): Return successful if one of
5758 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5759 * string/tst-strcoll-overflow.c: Define expected status.
5761 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5764 * locale/iso-639.def: Define Bhili and Tulu language codes.
5766 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5768 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5770 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5773 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5775 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5777 * configure.ac: Updated check of minimal required version to
5779 * manual/install.texi (Tools for Compilation): Updated version
5781 * configure: Regenerated.
5782 * INSTALL: Likewise.
5784 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5786 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5789 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5791 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5792 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5793 (__waitpid): Don't define as alias. Use libc_hidden_def not
5795 (waitpid): Define as alias of __waitpid.
5796 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5798 (__waitpid): Don't define as alias. Use libc_hidden_def not
5800 (waitpid): Define as alias of __waitpid.
5801 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5802 __libc_waitpid alias.
5803 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5804 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5806 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5807 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5808 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5810 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5812 (__waitpid): Don't define as alias. Use libc_hidden_def not
5814 (waitpid): Define as alias of __waitpid.
5816 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5818 * manual/llio.texi: Add comment that write safety has been
5821 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5822 (localplt-build-dso): Add elf/ld.so.
5823 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5824 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5827 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5832 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5833 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5834 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5835 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5836 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5837 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5838 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5839 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5840 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5841 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5842 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5844 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5847 * include/libc-symbols.h (INTUSE): Remove macro.
5849 (INTVARDEF): Likewise.
5850 (_INTVARDEF): Likewise.
5851 (INTDEF2): Likewise.
5852 (INTVARDEF2): Likewise.
5853 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5854 rtld_hidden_def instead of INTVARDEF.
5855 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5856 (_dl_starting_up_internal): Remove declaration.
5857 (_dl_starting_up): Use rtld_hidden_proto.
5858 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5860 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5861 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5863 * elf/dl-writev.h (_dl_writev): Likewise.
5864 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5865 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5866 _dl_starting_up_internal.
5868 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5870 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5873 2014-11-05 Will Newton <will.newton@linaro.org>
5875 * benchtests/Makefile: (bench-malloc): Add malloc thread
5876 scalability benchmark.
5877 * benchtests/bench-malloc-threads.c: New file.
5879 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5881 * sysdeps/aarch64/strchrnul.S: New file.
5883 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5885 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5887 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5889 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5891 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5893 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5895 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5898 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5900 * catgets/test-gencat.c: Use test-skeleton.c.
5901 * catgets/tst-catgets.c: Likewise.
5902 * csu/tst-empty.c: Likewise.
5903 * elf/tst-audit2.c: Likewise.
5904 * elf/tst-global1.c: Likewise.
5905 * elf/tst-pathopt.c: Likewise.
5906 * elf/tst-piemod1.c: Likewise.
5907 * elf/tst-tls10.c: Likewise.
5908 * elf/tst-tls11.c: Likewise.
5909 * elf/tst-tls12.c: Likewise.
5910 * gnulib/tst-gcc.c: Likewise.
5911 * iconvdata/tst-e2big.c: Likewise.
5912 * iconvdata/tst-loading.c: Likewise.
5913 * iconv/tst-iconv1.c: Likewise.
5914 * iconv/tst-iconv2.c: Likewise.
5915 * inet/test-inet6_opt.c: Likewise.
5916 * inet/tst-gethnm.c: Likewise.
5917 * inet/tst-network.c: Likewise.
5918 * inet/tst-ntoa.c: Likewise.
5919 * intl/tst-codeset.c: Likewise.
5920 * intl/tst-gettext2.c: Likewise.
5921 * intl/tst-gettext3.c: Likewise.
5922 * intl/tst-ngettext.c: Likewise.
5923 * intl/tst-translit.c: Likewise.
5924 * io/test-stat.c: Likewise.
5925 * libio/test-fmemopen.c: Likewise.
5926 * libio/tst-freopen.c: Likewise.
5927 * libio/tst-sscanf.c: Likewise.
5928 * libio/tst-ungetwc1.c: Likewise.
5929 * libio/tst-ungetwc2.c: Likewise.
5930 * libio/tst-widetext.c: Likewise.
5931 * localedata/tst-ctype.c: Likewise.
5932 * localedata/tst-digits.c: Likewise.
5933 * localedata/tst-leaks.c: Likewise.
5934 * localedata/tst-mbswcs1.c: Likewise.
5935 * localedata/tst-mbswcs2.c: Likewise.
5936 * localedata/tst-mbswcs3.c: Likewise.
5937 * localedata/tst-mbswcs4.c: Likewise.
5938 * localedata/tst-mbswcs5.c: Likewise.
5939 * localedata/tst-setlocale.c: Likewise.
5940 * localedata/tst-trans.c: Likewise.
5941 * localedata/tst-wctype.c: Likewise.
5942 * localedata/tst-xlocale1.c: Likewise.
5943 * login/tst-grantpt.c: Likewise.
5944 * malloc/tst-calloc.c: Likewise.
5945 * malloc/tst-malloc.c: Likewise.
5946 * malloc/tst-mallocstate.c: Likewise.
5947 * malloc/tst-mcheck.c: Likewise.
5948 * malloc/tst-mtrace.c: Likewise.
5949 * malloc/tst-obstack.c: Likewise.
5950 * math/atest-exp2.c: Likewise.
5951 * math/atest-exp.c: Likewise.
5952 * math/atest-sincos.c: Likewise.
5953 * math/test-matherr.c: Likewise.
5954 * math/test-misc.c: Likewise.
5955 * math/test-powl.c: Likewise.
5956 * math/tst-definitions.c: Likewise.
5957 * misc/tst-dirname.c: Likewise.
5958 * misc/tst-efgcvt.c: Likewise.
5959 * misc/tst-fdset.c: Likewise.
5960 * misc/tst-hsearch.c: Likewise.
5961 * misc/tst-mntent2.c: Likewise.
5962 * nptl/tst-sem7.c: Likewise.
5963 * nptl/tst-sem8.c: Likewise.
5964 * nptl/tst-sem9.c: Likewise.
5965 * nss/test-netdb.c: Likewise.
5966 * posix/tst-fnmatch.c: Likewise.
5967 * posix/tst-getlogin.c: Likewise.
5968 * posix/tst-gnuglob.c: Likewise.
5969 * posix/tst-mmap.c: Likewise.
5970 * pwd/tst-getpw.c: Likewise.
5971 * resolv/tst-inet_ntop.c: Likewise.
5972 * rt/tst-timer.c: Likewise.
5973 * stdio-common/test-fseek.c: Likewise.
5974 * stdio-common/test-popen.c: Likewise.
5975 * stdio-common/test-vfprintf.c: Likewise.
5976 * stdio-common/tst-cookie.c: Likewise.
5977 * stdio-common/tst-fileno.c: Likewise.
5978 * stdio-common/tst-gets.c: Likewise.
5979 * stdio-common/tst-obprintf.c: Likewise.
5980 * stdio-common/tst-perror.c: Likewise.
5981 * stdio-common/tst-sprintf2.c: Likewise.
5982 * stdio-common/tst-sprintf3.c: Likewise.
5983 * stdio-common/tst-sprintf.c: Likewise.
5984 * stdio-common/tst-swprintf.c: Likewise.
5985 * stdio-common/tst-tmpnam.c: Likewise.
5986 * stdio-common/tst-unbputc.c: Likewise.
5987 * stdio-common/tst-wc-printf.c: Likewise.
5988 * stdlib/tst-environ.c: Likewise.
5989 * stdlib/tst-fmtmsg.c: Likewise.
5990 * stdlib/tst-limits.c: Likewise.
5991 * stdlib/tst-rand48-2.c: Likewise.
5992 * stdlib/tst-rand48.c: Likewise.
5993 * stdlib/tst-random2.c: Likewise.
5994 * stdlib/tst-random.c: Likewise.
5995 * stdlib/tst-strtol.c: Likewise.
5996 * stdlib/tst-strtoll.c: Likewise.
5997 * stdlib/tst-tls-atexit.c: Likewise.
5998 * stdlib/tst-xpg-basename.c: Likewise.
5999 * string/test-ffs.c: Likewise.
6000 * string/tst-bswap.c: Likewise.
6001 * string/tst-inlcall.c: Likewise.
6002 * string/tst-strtok.c: Likewise.
6003 * string/tst-strxfrm.c: Likewise.
6004 * sysdeps/x86_64/tst-audit10.c: Likewise.
6005 * sysdeps/x86_64/tst-audit3.c: Likewise.
6006 * sysdeps/x86_64/tst-audit4.c: Likewise.
6007 * sysdeps/x86_64/tst-audit5.c: Likewise.
6008 * time/tst-ftime_l.c: Likewise.
6009 * time/tst-getdate.c: Likewise.
6010 * time/tst-mktime3.c: Likewise.
6011 * time/tst-mktime.c: Likewise.
6012 * time/tst-posixtz.c: Likewise.
6013 * time/tst-strptime2.c: Likewise.
6014 * time/tst-strptime3.c: Likewise.
6015 * wcsmbs/tst-btowc.c: Likewise.
6016 * wcsmbs/tst-mbrtowc.c: Likewise.
6017 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6018 * wcsmbs/tst-wchar-h.c: Likewise.
6019 * wcsmbs/tst-wcpncpy.c: Likewise.
6020 * wcsmbs/tst-wcrtomb.c: Likewise.
6021 * wcsmbs/tst-wcsnlen.c: Likewise.
6022 * wcsmbs/tst-wcstof.c: Likewise.
6024 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6027 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6029 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6031 (_dl_mcount): Use rtld_hidden_proto.
6032 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6034 * elf/rtld.c (_rtld_global_ro): Likewise.
6037 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6038 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6039 of _dl_init_internal.
6040 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6041 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6042 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6043 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6044 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6045 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6046 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6047 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6048 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6049 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6050 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6051 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6052 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6053 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6054 * sysdeps/tile/dl-start.S (_start): Likewise.
6055 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6056 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6059 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6060 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6061 (rtld_progname): Make macro definition unconditional.
6062 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6064 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6065 (dl_main): Likewise.
6066 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6067 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6068 instead of _dl_argv_internal.
6069 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6070 __GI__dl_argv instead of INTUSE(_dl_argv).
6071 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6072 __GI__dl_argv instead of _dl_argv_internal.
6074 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6075 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6077 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6078 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6080 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6081 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6083 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6084 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6086 2014-11-04 Andreas Schwab <schwab@suse.de>
6088 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6090 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6092 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6093 mtvsrd instruction in binary form.
6095 2014-11-03 Andreas Schwab <schwab@suse.de>
6098 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6099 for less than MB_LEN_MAX use a local buffer of that size.
6100 * libio/tst-fputws.c: New file.
6101 * libio/Makefile (tests): Add tst-fputws.
6103 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6105 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6106 the size of the fpu_fr.fpu_dregs[] array.
6108 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6110 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6111 (__nanosleep): Do not define as alias.
6112 (nanosleep): Define as alias of __nanosleep.
6113 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6114 __libc_nanosleep name.
6116 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6118 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6119 install.texi in comment.
6121 2014-10-31 Torvald Riegel <triegel@redhat.com>
6123 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6124 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6125 ... add here and use lwsync or sync ...
6126 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6127 ... and add here using lwsync.
6129 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6131 * elf/dl-machine-reject-phdr.h: New file.
6132 * elf/dl-load.c: #include that.
6133 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6134 if that returned true.
6136 2014-10-31 Roland McGrath <roland@hack.frob.com>
6139 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6140 gen-as-const-headers chunk. Add a big scare comment after the last
6141 safe place to touch before-compile.
6143 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6145 * manual/install.texi (Tools for Compilation): Update autoconf
6146 version requirements.
6147 * INSTALL: Regenerated.
6149 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6150 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6151 (__libc_pselect): Likewise.
6154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6159 2014-10-31 Torvald Riegel <triegel@redhat.com>
6161 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6162 correct barrier instruction.
6163 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6165 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6168 2014-10-30 Roland McGrath <roland@hack.frob.com>
6170 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6171 after defining inlines. Instead, just use parens to defeat macro
6172 expansion of __isctype in its declaration.
6174 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6176 * include/sys/uio.h (__libc_readv): Remove declaration.
6177 (__libc_writev): Likewise.
6178 * misc/readv.c (__libc_readv): Rename to __readv.
6179 (__readv): Do not define as alias.
6180 (readv): Define as alias of __readv.
6181 * misc/writev.c (__libc_writev): Rename to __writev.
6182 (__writev): Do not define as alias.
6183 (writev): Define as alias of __writev.
6184 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6185 (__readv): Do not define as alias.
6186 (readv): Define unconditionally as alias of __readv.
6187 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6188 (__writev): Do not define as alias.
6189 (writev): Define unconditionally as alias of __writev.
6190 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6192 (writev): Do not define __libc_writev name.
6194 2014-10-30 Roland McGrath <roland@hack.frob.com>
6196 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6197 (convert_charseq): New function, broken out of ...
6198 (use_from_charmap): ... here. Call it.
6199 (use_to_charmap): Use convert_charseq and free instead of duplicating
6200 its code with a variable-length stack struct.
6202 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6204 * include/fcntl.h (__libc_creat): Remove declaration.
6205 * io/creat.c (__libc_creat): Rename to creat.
6206 (creat): Do not define as alias.
6207 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6208 of creat instead of __libc_creat.
6209 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6211 (creat): Do not define as alias.
6212 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6214 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6219 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6221 * manual/llio.texi: Add comments discussing why write() may be
6222 considered MT-unsafe on Linux.
6224 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6226 * dl-load.c (local_strdup): Remove.
6227 (expand_dynamic_string_token): Use __strdup.
6228 (decompose_rpath): Likewise.
6229 (_dl_map_object): Likewise.
6231 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6234 * sysdeps/generic/unwind-dw2-fde.c
6235 (__register_frame_info_bases_internal): Do not declare.
6236 (__register_frame_info_table_bases_internal): Likewise.
6237 (__deregister_frame_info_bases_internal): Likewise.
6238 (__register_frame_info_bases): Declare and use hidden_proto before
6239 definition. Use hidden_def instead of INTDEF.
6240 (__register_frame_info_table_bases): Likewise.
6241 (__deregister_frame_info_bases): Likewise.
6242 (__register_frame_info): Do not use INTUSE.
6243 (__register_frame): Likewise.
6244 (__register_frame_info_table): Likewise.
6245 (__register_frame_table): Likewise.
6246 (__deregister_frame_info): Likewise.
6247 (__deregister_frame): Likewise.
6249 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6251 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6252 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6254 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6256 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6259 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6262 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6263 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6264 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6265 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6266 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6267 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6268 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6269 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6270 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6271 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6272 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6273 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6274 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6276 (setfsuid): Likewise.
6277 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6278 (setfsuid): Likewise.
6279 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6280 (setfsuid): Likewise.
6281 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6283 (setfsuid): Likewise.
6284 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6285 (setfsuid): Likewise.
6286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6288 (setfsuid): Likewise.
6290 2014-10-27 Andreas Schwab <schwab@suse.de>
6293 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6294 check for Slow_SSE4_2 feature bit.
6295 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6296 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6297 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6298 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6300 2014-10-24 Roland McGrath <roland@hack.frob.com>
6302 * configure.ac: Validate compiler version with a empirical test of
6303 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6305 * configure: Regenerated.
6307 * inet/htons.c (htons): Prototypify.
6308 * inet/htonl.c (htonl): Likewise.
6310 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6312 * string/strncat.c (strncat): Improve performance by using strlen.
6314 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6316 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6318 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6320 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6321 Call libc_fetestexcept_aarch64.
6323 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6325 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6326 Call libc_feholdexcept_aarch64.
6328 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6330 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6331 Call get_rounding_mode.
6333 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6335 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6338 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6340 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6343 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6346 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6347 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6348 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6349 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6350 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6351 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6352 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6353 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6354 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6355 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6356 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6357 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6358 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6359 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6360 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6361 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6362 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6363 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6364 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6365 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6366 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6367 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6368 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6369 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6370 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6371 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6372 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6373 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6374 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6375 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6376 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6377 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6378 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6379 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6380 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6381 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6382 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6383 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6384 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6385 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6386 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6388 (geteuid): Likewise.
6391 (getresgid): Likewise.
6392 (getresuid): Likewise.
6393 (getgroups): Likewise.
6394 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6395 (geteuid): Likewise.
6398 (getresgid): Likewise.
6399 (getresuid): Likewise.
6400 (getgroups): Likewise.
6401 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6402 (geteuid): Likewise.
6405 (getresgid): Likewise.
6406 (getresuid): Likewise.
6407 (getgroups): Likewise.
6408 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6410 (geteuid): Likewise.
6413 (getresgid): Likewise.
6414 (getresuid): Likewise.
6415 (getgroups): Likewise.
6416 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6417 (geteuid): Likewise.
6420 (getresgid): Likewise.
6421 (getresuid): Likewise.
6422 (getgroups): Likewise.
6423 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6425 (geteuid): Likewise.
6428 (getgroups): Likewise.
6431 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6432 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6433 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6434 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6435 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6436 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6437 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6438 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6439 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6440 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6441 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6442 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6443 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6445 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6448 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6452 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6455 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6460 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6462 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6465 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6467 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6470 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6472 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6473 Remove unused include.
6475 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6477 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6478 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6479 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6480 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6482 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6483 Helge Deller <deller@gmx.de>
6486 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6487 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6488 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6490 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6494 Remove macro definition.
6495 (__ashrdi3_v_glibc20): Likewise.
6496 (__lshrdi3_v_glibc20): Likewise.
6497 (__cmpdi2_v_glibc20): Likewise.
6498 (__ucmpdi2_v_glibc20): Likewise.
6499 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6500 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6501 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6502 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6503 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6504 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6506 2014-10-22 Roland McGrath <roland@hack.frob.com>
6508 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6509 old GNU extension [0] syntax.
6510 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6511 alloca rather than an array member with variable length.
6512 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6513 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6514 (parse_opt): ... here. Likewise use alloca there.
6515 Validate the -i argument before checking for rootness.
6516 (send_shutdown): New function, broken out of ...
6517 (parse_opt): ... here.
6519 2014-10-22 Roland McGrath <roland@hack.frob.com>
6521 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6522 macro to get at the _rt_local_ro field.
6523 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6524 ([PIC] case) or _dl_hwcap ([!PIC] case).
6525 * sysdeps/arm/setjmp.S: Likewise.
6527 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6528 * sysdeps/arm/configure.ac: New check to define it.
6529 * sysdeps/arm/configure: Regenerated.
6530 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6531 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6532 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6533 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6534 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6535 Use move/movt pair instead of a load.
6536 (LDST_GLOBAL): Macro removed.
6537 (LDR_GLOBAL): New macro replaces it.
6538 (LDR_HIDDEN): New macro.
6539 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6540 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6542 * setjmp/tst-setjmp-static.c: New file.
6543 * setjmp/Makefile (tests): Add it.
6544 (tests-static): New variable.
6546 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6549 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6551 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6554 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6556 2014-10-21 Roland McGrath <roland@hack.frob.com>
6558 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6560 2014-10-20 Roland McGrath <roland@hack.frob.com>
6562 * io/fts.c (dirent_not_directory): New function.
6563 (fts_build): Call it.
6565 2014-10-20 Roland McGrath <roland@hack.frob.com>
6567 * nptl/version.c (__nptl_main): Use normal __write rather than
6569 (banner): Update copyright years.
6571 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6573 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6574 * nptl/pthread_cond_timedwait.c: Likewise.
6575 * nptl/pthread_mutex_timedlock.c: Likewise.
6576 * nptl/sem_timedwait.c: Likewise.
6578 * sysdeps/nptl/bits/libc-lock.h
6579 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6580 (__libc_lock_init_recursive): Return void, not 0.
6581 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6582 (__libc_rwlock_init): Likewise.
6583 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6585 2014-10-20 Torvald Riegel <triegel@redhat.com>
6588 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6589 (__pthread_once_slow): ... here.
6590 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6591 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6593 2014-10-20 Torvald Riegel <triegel@redhat.com>
6596 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6597 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6598 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6599 * nptl/pthread_once.c (__pthread_once): Likewise.
6602 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6605 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6607 (writev): Use __libc_writev as strong name.
6608 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6609 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6611 2014-10-17 Roland McGrath <roland@hack.frob.com>
6613 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6615 * sysdeps/i386/nptl/tls.h
6616 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6617 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6619 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6620 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6621 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6622 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6623 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6624 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6626 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6627 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6629 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6631 (__pthread_mutex_init): ... here. Call it.
6632 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6633 Conditionalize PI cases on [__NR_futex].
6634 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6635 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6636 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6638 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6639 conditional on [SIGSETXID].
6640 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6641 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6642 is defined. Likewise for SIGSETXID.
6643 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6644 Conditionalize definitions on [SIGSETXID].
6645 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6646 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6647 unblocking on [SIGCANCEL].
6649 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6650 [__NR_set_robust_list].
6652 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6654 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6655 (do_compare): Likewise.
6657 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6660 * string/strcoll_l.c: Don't include stdio.h.
6661 (coll_seq): Remove members idxarr and rulearr.
6662 (get_next_seq_cached): Remove function.
6663 (get_next_seq): Likewise.
6664 (get_next_seq_nocache): Rename to get_next_seq.
6665 (do_compare): Remove function.
6666 (do_compare_nocache): Rename to do_compare.
6667 (STRCOLL): Remove weight and rules cache.
6669 2014-10-16 Roland McGrath <roland@hack.frob.com>
6671 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6672 * sysdeps/arm/sfp-machine.h: ... to here.
6673 * sysdeps/arm/Implies: Remove arm/soft-fp.
6675 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6677 * conform/data/sys/utsname.h-data (*_t): Allow.
6678 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6679 [POSIX] (WEXITED): Do not expect constant.
6680 [POSIX] (WSTOPPED): Likewise.
6681 [POSIX] (WNOHANG): Likewise.
6682 [POSIX] (WNOWAIT): Likewise.
6683 [POSIX] (siginfo_t): Do not expect type or elements.
6684 [POSIX] (pid_t): Do not expect type.
6685 [POSIX] (signal.h): Do not allow header.
6686 [POSIX] (sys/resource.h): Likewise.
6687 [POSIX] (si_*): Do not allow pattern.
6688 [POSIX] (W*): Likewise.
6689 [POSIX] (P_*): Likewise.
6690 [POSIX] (BUS_*): Likewise.
6691 [POSIX] (CLD_*): Likewise.
6692 [POSIX] (FPE_*): Likewise.
6693 [POSIX] (ILL_*): Likewise.
6694 [POSIX] (POLL_*): Likewise.
6695 [POSIX] (SEGV_*): Likewise.
6696 [POSIX] (SI_*): Likewise.
6697 [POSIX] (TRAP_*): Likewise.
6698 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6701 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6704 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6705 infinite loop when __recvmsg returns 0.
6707 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6709 * CANCEL-FCT-WAIVE: Remove file.
6710 * CANCEL-FILE-WAIVE: Likewise.
6713 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6714 instead of INTVARDEF.
6715 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6716 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6717 rtld_hidden_data_def instead of INTVARDEF.
6718 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6719 * elf/dl-deps.c (expand_dst): Likewise.
6720 * elf/dl-load.c (_dl_dst_count): Likewise.
6721 (_dl_dst_substitute): Likewise.
6722 (decompose_rpath): Likewise.
6723 (_dl_init_paths): Likewise.
6724 (open_path): Likewise.
6725 (_dl_map_object): Likewise.
6726 * elf/rtld.c (dl_main): Likewise.
6727 (process_dl_audit): Likewise.
6728 (process_envvars): Likewise.
6729 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6731 (__libc_enable_secure): Use rtld_hidden_proto.
6733 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6736 (add_path): New function broken out of _dl_rtld_di_serinfo.
6737 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6739 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6741 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6742 parentheses around macro arguments.
6743 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6744 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6745 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6746 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6747 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6748 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6749 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6750 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6751 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6752 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6753 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6754 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6755 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6756 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6757 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6758 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6759 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6760 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6761 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6762 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6763 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6764 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6765 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6766 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6768 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6769 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6772 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6773 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6774 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6775 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6776 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6777 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6778 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6780 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6781 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6782 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6783 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6784 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6785 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6786 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6787 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6788 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6789 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6790 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6791 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6792 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6793 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6794 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6795 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6796 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6799 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6800 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6801 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6802 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6803 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6804 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6805 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6806 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6807 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6808 (_FP_FRAC_SRS_1): Likewise.
6809 (_FP_FRAC_CLZ_1): Likewise.
6810 (_FP_MUL_MEAT_1_imm): Likewise.
6811 (_FP_MUL_MEAT_1_wide): Likewise.
6812 (_FP_MUL_MEAT_1_hard): Likewise.
6813 (_FP_SQRT_MEAT_1): Likewise.
6814 (_FP_FRAC_ASSEMBLE_1): Likewise.
6815 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6816 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6817 (__FP_CLZ_2): Likewise.
6818 (_FP_MUL_MEAT_2_wide): Likewise.
6819 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6820 (_FP_MUL_MEAT_2_gmp): Likewise.
6821 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6822 (_FP_SQRT_MEAT_2): Likewise.
6823 (_FP_FRAC_ASSEMBLE_2): Likewise.
6824 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6825 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6826 (_FP_FRAC_CLZ_4): Likewise.
6827 (_FP_MUL_MEAT_4_wide): Likewise.
6828 (_FP_MUL_MEAT_4_gmp): Likewise.
6829 (_FP_SQRT_MEAT_4): Likewise.
6830 (_FP_FRAC_ASSEMBLE_4): Likewise.
6831 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6832 * soft-fp/op-common.h (_FP_CMP): Likewise.
6833 (_FP_CMP_EQ): Likewise.
6834 (_FP_CMP_UNORD): Likewise.
6835 (_FP_TO_INT): Likewise.
6836 (_FP_FROM_INT): Likewise.
6837 [!__FP_CLZ] (__FP_CLZ): Likewise.
6838 (_FP_DIV_HELP_imm): Likewise.
6839 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6842 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6843 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6844 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6845 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6846 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6847 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6848 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6849 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6850 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6851 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6852 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6853 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6854 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6855 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6856 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6857 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6858 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6859 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6860 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6861 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6862 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6863 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6864 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6865 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6866 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6867 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6868 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6869 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6870 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6871 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6872 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6873 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6874 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6875 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6876 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6877 (FP_UNPACK_RAW_SP): Likewise.
6878 (FP_PACK_RAW_S): Likewise.
6879 (FP_PACK_RAW_SP): Likewise.
6880 (FP_UNPACK_S): Likewise.
6881 (FP_UNPACK_SP): Likewise.
6882 (FP_UNPACK_SEMIRAW_S): Likewise.
6883 (FP_UNPACK_SEMIRAW_SP): Likewise.
6884 (FP_PACK_S): Likewise.
6885 (FP_PACK_SP): Likewise.
6886 (FP_PACK_SEMIRAW_S): Likewise.
6887 (FP_PACK_SEMIRAW_SP): Likewise.
6888 (_FP_SQRT_MEAT_S): Likewise.
6889 (FP_CMP_S): Likewise.
6890 (FP_CMP_EQ_S): Likewise.
6891 (FP_CMP_UNORD_S): Likewise.
6892 (FP_TO_INT_S): Likewise.
6893 (FP_FROM_INT_S): Likewise.
6895 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6897 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6898 (FP_EX_INVALID_IMZ): Likewise.
6899 (FP_EX_INVALID_IMZ_FMA): Likewise.
6900 (FP_EX_INVALID_ISI): Likewise.
6901 (FP_EX_INVALID_ZDZ): Likewise.
6902 (FP_EX_INVALID_IDI): Likewise.
6903 (FP_EX_INVALID_SQRT): Likewise.
6904 (FP_EX_INVALID_CVI): Likewise.
6905 (FP_EX_INVALID_VC): Likewise.
6906 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6907 "invalid" exceptions.
6908 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6909 (_FP_ADD_INTERNAL): Likewise.
6910 (_FP_MUL): Likewise.
6911 (_FP_FMA): Likewise.
6912 (_FP_DIV): Likewise.
6913 (_FP_CMP_CHECK_NAN): Likewise.
6914 (_FP_SQRT): Likewise.
6915 (_FP_TO_INT): Likewise.
6916 (FP_EXTEND): Likewise.
6918 2014-10-09 Allan McRae <allan@archlinux.org>
6920 * po/fr.po: Update French translation from translation project.
6922 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6925 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6927 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6928 (__cxa_atexit): Use libc_hidden_proto.
6929 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6932 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6934 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6935 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6936 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6937 [!_ISOMAC] (__iswctype_internal): Likewise.
6938 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6939 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6941 (fcntl): Remove __fcntl_internal alias.
6942 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6943 __connect_internal alias.
6944 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6947 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6948 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6950 (_FP_CHECK_FLUSH_ZERO): New macro.
6951 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6952 (_FP_CMP): Likewise.
6953 (_FP_CMP_EQ): Likewise.
6954 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6956 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6957 (FP_TRUNC): Likewise.
6959 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6960 treated as invalid conversion, not as normal exponent.
6962 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6963 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6964 (_FP_CMP_EQ): Likewise.
6965 (_FP_CMP_UNORD): Likewise.
6966 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6967 (FP_CMP_EQ_D): Likewise.
6968 (FP_CMP_UNORD_D): Likewise.
6969 * soft-fp/extended.h (FP_CMP_E): Likewise.
6970 (FP_CMP_EQ_E): Likewise.
6971 (FP_CMP_UNORD_E): Likewise.
6972 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6973 (FP_CMP_EQ_Q): Likewise.
6974 (FP_CMP_UNORD_Q): Likewise.
6975 * soft-fp/single.h (FP_CMP_S): Likewise.
6976 (FP_CMP_EQ_S): Likewise.
6977 (FP_CMP_UNORD_S): Likewise.
6978 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6979 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6980 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6981 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6982 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6983 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6984 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6985 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6986 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6987 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6988 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6989 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6990 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6992 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6994 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6995 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6997 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6999 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7000 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7001 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7002 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7004 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7006 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7007 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7009 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7011 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7012 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7013 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7014 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7017 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7018 a subnormal result, set the underflow exception if trapping on
7019 underflow is enabled.
7020 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7021 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7022 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7024 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7025 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7026 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7027 * soft-fp/extendxftf2.c (__extendxftf2): Use
7028 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7030 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7031 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7032 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7033 FP_HANDLE_EXCEPTIONS.
7034 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7035 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7036 FP_HANDLE_EXCEPTIONS.
7037 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7038 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7039 FP_HANDLE_EXCEPTIONS.
7040 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7041 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7042 FP_HANDLE_EXCEPTIONS.
7044 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7047 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7048 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7050 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7051 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7053 (__adjtimex): Define using libc_hidden_ver.
7054 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7056 (ntp_gettime): Call __adjtimex directly.
7057 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7059 (ntp_gettimex): Call __adjtimex directly.
7060 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7061 __adjtimex_internal alias.
7063 2014-10-08 Roland McGrath <roland@hack.frob.com>
7066 * nscd/nscd.c (more_help): Rewrite list of tables collection
7067 using xstrdup and asprintf.
7069 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7071 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7072 Roland McGrath <roland@hack.frob.com>
7074 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7075 (do_lookup_unique): ... local function 'enter' here; update callers.
7077 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7079 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7080 compat_symbol calls on [SHARED].
7081 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7082 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7084 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7085 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7086 (oldsetrlimit): Remove.
7087 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7089 (lchown): New syscall entry.
7090 (oldsetrlimit): Remove.
7091 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7092 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7093 (oldsetrlimit): Remove.
7094 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7097 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7098 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7099 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7100 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7101 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7102 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7104 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7109 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7111 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7112 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7113 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7114 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7115 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7117 (__old_sem_post): Likewise.
7119 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7121 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7122 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7123 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7124 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7125 Use INLINE_VSYSCALL macro.
7126 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7127 __vdso_clock_gettime.
7128 * sysdeps/unix/sysv/linux/tile/init-first.c
7129 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7130 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7131 __vdso_clock_gettime.
7133 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7134 to set up frame more cleanly.
7136 * sysdeps/tile/memcmp.c: New file.
7138 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7140 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7141 * sysdeps/tile/tilegx/strcasestr.c: New file.
7142 * sysdeps/tile/tilegx/strnlen.c: New file.
7143 * sysdeps/tile/tilegx/strstr.c: New file.
7145 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7147 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7149 * nptl/tst-setuid3.c: Write errors to stdout.
7151 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7154 (preload): New functions broken out of _dl_map_object_deps.
7155 (_dl_map_object_deps): Remove a nested function. Update call sites.
7157 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7160 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7161 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7163 2014-10-01 Steve Ellcey <sellcey@mips.com>
7165 * sysdeps/mips/strcmp.S: New.
7167 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7170 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7172 (mkdirat): Likewise.
7173 (readlinkat): Likewise.
7174 (renameat): Likewise.
7175 (symlinkat): Likewise.
7176 (unlinkat): Likewise.
7177 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7178 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7179 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7180 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7181 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7182 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7183 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7185 2014-09-30 Will Newton <will.newton@linaro.org>
7187 * math/math.h: Define long double math functions if
7188 _LIBC_TEST is defined.
7189 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7191 * localedata/Makefile: Move assignment to tests-special
7192 into an ifdef testing run-built-tests.
7193 * timezone/Makefile: Likewise.
7195 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7197 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7198 with $(BASH) not $(SHELL).
7200 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7201 Matthew LeGendre <legendre1@llnl.gov>
7204 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7207 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7209 * stdio-common/printf_fp.c
7210 (hack_digit): New function, broken out of ...
7211 (__printf_fp): ... local function here. Update call sites.
7212 hack_digit now takes an additional parameter that is a pointer
7213 to a struct of the referenced locals. Those locals moved inside
7214 the struct and references updated.
7216 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7218 * aclocal.m4: Require autoconf 2.69.
7219 * configure: Regenerated.
7220 * sysdeps/aarch64/configure: Likewise.
7221 * sysdeps/alpha/configure: Likewise.
7222 * sysdeps/arm/armv7/configure: Likewise.
7223 * sysdeps/arm/configure: Likewise.
7224 * sysdeps/ia64/configure: Likewise.
7225 * sysdeps/mach/configure: Likewise.
7226 * sysdeps/mips/configure: Likewise.
7227 * sysdeps/s390/configure: Likewise.
7228 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7231 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7233 * sysdeps/ia64/configure.ac: Likewise.
7235 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7238 specify symbol version for ld.so. Do not include entry for
7240 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7241 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7242 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7245 * Makeconfig [$(build-shared) = yes]
7246 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7248 [$(build-shared) = yes && $(soversions.mk-done) = t]
7249 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7250 [$(build-shared) = yes && $(soversions.mk-done) = t]
7251 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7253 [$(build-shared) = yes && $(soversions.mk-done) = t]
7254 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7256 [$(build-shared) = yes && $(soversions.mk-done) = t]
7257 (common-generated): Don't append gnu/lib-names.h and
7258 gnu/lib-names.stmp here.
7259 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7260 (lib-names-h-abi): New variable.
7261 [$(build-shared) = yes && $(soversions.mk-done) = t]
7262 (lib-names-stmp-abi): Likewise.
7263 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7264 abi-variants] (before-compile): Append
7265 $(common-objpfx)$(lib-names-h-abi).
7266 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7267 abi-variants] (common-generated): Append gnu/lib-names.h.
7268 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7269 abi-variants] (install-others-nosubdir): Depend on
7270 $(inst_includedir)/$(lib-names-h-abi).
7271 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7272 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7273 [$(build-shared) = yes && $(soversions.mk-done) = t]
7274 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7275 [$(build-shared) = yes && $(soversions.mk-done) = t]
7276 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7277 [$(build-shared) = yes && $(soversions.mk-done) = t]
7278 (common-generated): Append $(lib-names-h-abi) and
7279 $(lib-names-stmp-abi).
7280 * scripts/lib-names.awk: Do not handle multi being set.
7281 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7283 (abi-lp64_be-ld-soname): Likewise.
7284 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7286 (abi-hard-ld-soname): Likewise.
7287 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7288 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7290 (abi-o32_hard-ld-soname): Likewise.
7291 (abi-o32_soft_2008-ld-soname): Likewise.
7292 (abi-o32_hard_2008-ld-soname): Likewise.
7293 (abi-n32_soft-ld-soname): Likewise.
7294 (abi-n32_hard-ld-soname): Likewise.
7295 (abi-n32_soft_2008-ld-soname): Likewise.
7296 (abi-n32_hard_2008-ld-soname): Likewise.
7297 (abi-n64_soft-ld-soname): Likewise.
7298 (abi-n64_hard-ld-soname): Likewise.
7299 (abi-n64_soft_2008-ld-soname): Likewise.
7300 (abi-n64_hard_2008-ld-soname): Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7303 (abi-64-v2-ld-soname): Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7306 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7308 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7310 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7312 (abi-64-ld-soname): Likewise.
7313 (abi-x32-ld-soname): Likewise.
7314 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7316 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7318 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7321 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7322 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7323 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7324 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7325 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7326 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7327 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7328 syscall entry for GLIBC_2.2 symbol version.
7329 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7332 (setrlimit): Likewise.
7333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7336 2014-09-23 Will Newton <will.newton@linaro.org>
7338 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7339 _LINUX_ARM_SYSDEP_H include guard too.
7340 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7343 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7345 * sysdeps/unix/sysv/linux/eventfd.c:
7346 Make first argument unsigned.
7347 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7348 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7350 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7352 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7353 * socket/sys/socket.h: Likewise
7354 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7356 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7358 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7360 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7362 * time/tst-ftime.c: New test.
7363 * time/Makefile (tests): Add tst-ftime.
7365 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7367 * soft-fp/extended.h: Fix comment formatting.
7368 * soft-fp/op-1.h: Likewise.
7369 * soft-fp/op-2.h: Likewise.
7370 * soft-fp/op-4.h: Likewise.
7371 * soft-fp/op-8.h: Likewise.
7372 * soft-fp/op-common.h: Likewise.
7373 * soft-fp/soft-fp.h: Likewise.
7375 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7377 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7380 * Makeconfig (soversions-default-setname): Remove variable.
7381 ($(common-objpfx)soversions.i): Don't pass default_setname to
7383 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7384 oldest_abi to abi-versions.awk.
7385 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7386 * config.make.in (oldest-abi): Remove variable.
7387 * configure.ac (--enable-oldest-abi): Remove configure option.
7388 * configure: Regenerated.
7389 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7391 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7392 * scripts/soversions.awk: Do not handle default_setname variable.
7393 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7395 * sysdeps/mach/hurd/configure: Regenerated.
7396 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7398 * sysdeps/unix/sysv/linux/configure: Regenerated.
7400 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7402 * elf/Makefile (CFLAGS-interp.c): Remove.
7403 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7405 * elf/interp.c: Include generated runtime-linker.h
7407 * Makerules (lib%.so): Don't include $(+interp) in
7409 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7410 * dlfcn/eval.c: Remove file.
7412 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7416 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7420 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7422 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7423 Jakub Jelinek <jakub@redhat.com>
7426 * libio/stdio.h: Check definition of __fortify_function
7427 instead of __extern_always_inline to include bits/stdio2.h.
7428 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7429 check if __extern_always_inline is defined.
7430 [__USE_MISC || __USE_XOPEN]: Likewise.
7431 [__USE_ISOC99] Likewise.
7432 * misc/sys/cdefs.h (__fortify_function): Define only if
7433 __extern_always_inline is defined.
7434 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7435 __extern_always_inline and __extern_inline only for g++-4.3
7436 and newer or a compatible gcc.
7438 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7441 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7442 last change to handle zero prefix length.
7444 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7446 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7449 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7452 2014-09-13 Allan McRae <allan@archlinux.org>
7454 * po/ru.po: Update Russian translation from translation project.
7456 2014-09-12 Roland McGrath <roland@hack.frob.com>
7458 * locale/programs/locale.c (show_locale_vars): Inline local function
7459 into its sole call site. Clean up some style nits.
7460 (print_item): New function, broken out of ...
7461 (show_info): ... local function here. Clean up style nits.
7463 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7465 (set_class_defaults): ... local function set_default here.
7466 Define set_default as a macro locally to pass constant parameters.
7467 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7468 rather than a shared local.
7470 * stdlib/rpmatch.c (try): New function, broken out of ...
7471 (rpmatch): ... local function here. Also, prototypify definition.
7473 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7475 * scripts/soversions.awk: Do not handle configuration names.
7476 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7477 vendor and os variables to soversions.awk.
7478 * configure.ac: Do not modify gnu-* host_os.
7479 * configure: Regenerated
7480 * shlib-versions: Remove first column with configuration names.
7481 * nptl/shlib-versions: Likewise.
7482 * nptl_db/shlib-versions: Likewise.
7483 * sysdeps/hppa/shlib-versions: Likewise.
7484 * sysdeps/m68k/shlib-versions: Likewise.
7485 * sysdeps/mach/hurd/shlib-versions: Likewise.
7486 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7487 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7488 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7489 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7490 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7491 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7492 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7493 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7496 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7497 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7498 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7499 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7500 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7501 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7502 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7503 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7506 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7509 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7511 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7513 * shlib-versions: Remove OS-specific entries. Moved to files in
7515 * sysdeps/mach/hurd/shlib-versions: New file.
7516 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7518 * nptl/shlib-versions: Remove architecture-specific entries.
7519 Moved to files in sysdeps.
7520 * shlib-versions: Likewise.
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7523 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7524 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7525 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7526 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7528 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7529 (UDP_NO_CHECK6_RX): Likewise.
7531 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7533 * sysdeps/posix/sysconf.c (__sysconf): Spell
7534 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7536 2014-08-12 Florian Weimer <fweimer@redhat.com>
7538 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7540 * iconv/Versions (__gconv_transliterate): Export for use from
7542 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7543 (struct __gconv_trans_data, __gconv_trans_fct,
7544 __gconv_trans_context_fct, __gconv_trans_query_fct,
7545 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7547 (struct __gconv_step_data): Remove __trans member.
7548 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7549 longer hidden. Remove unused trans_data argument.
7550 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7551 (__gconv_translit_find): Remove declaration.
7552 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7554 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7555 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7556 trans_data argument. Add hidden definition.
7557 (__gconv_translit_find): Remove.
7558 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7559 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7560 * iconv/skeleton.c: Remove transliteration initialization.
7561 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7562 __gconv_step_data initialization.
7563 * libio/iofwide.c (__libio_translit_): Remove.
7564 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7565 * wcsmbs/btowc.c (__btowc): Likewise.
7566 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7567 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7568 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7569 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7570 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7571 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7572 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7573 * wcsmbs/wctob.c (wctob): Likewise.
7575 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7578 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7579 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7581 * sysdeps/x86/Makefile: Adjust.
7583 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7584 Roland McGrath <roland@hack.frob.com>
7586 * locale/weight.h: Add include guard.
7587 (findidx): Make static rather than auto; take new parameters
7588 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7589 * locale/weightwc.h: Likewise.
7590 * posix/fnmatch_loop.c
7591 (FCT): Change type of EXTRA from int32_t to wint_t.
7592 Don't include either header inside the function.
7593 Call FINDIDX rather than findidx, and pass new arguments.
7594 #undef FINDIDX at the end of the file.
7595 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7596 FINDIDX before including fnmatch_loop.c for the non-wide version.
7597 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7598 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7599 for the wide version.
7600 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7601 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7602 Pass new arguments to findidx.
7603 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7604 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7605 Don't #include it inside the function. Pass new arguments to findidx.
7606 * posix/regex_internal.h
7607 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7608 (re_string_elem_size_at): Don't #include it inside the function.
7609 Pass new arguments to findidx.
7610 * string/strcoll_l.c: #include WEIGHT_H at top level.
7611 (get_next_seq): Don't #include it inside the function.
7612 Pass new arguments to findidx.
7613 (get_next_seq_nocache): Likewise.
7614 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7615 (STRXFRM): Don't #include it inside the function.
7616 Pass new arguments to findidx.
7618 2014-09-11 Florian Weimer <fweimer@redhat.com>
7621 * malloc/malloc.c (unlink): Turn asserts into a call to
7624 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7627 * libio/wfileops (do_ftell_wide): Free OUT.
7629 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7631 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7633 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7636 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7637 group if the current group is empty.
7639 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7641 * benchtests/bench-memset.c (test_main): Add more test from size
7642 from 32 to 512 bytes.
7643 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7644 Add POWER8 memset object.
7645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7646 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7647 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7649 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7651 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7652 multiarch POWER8 memset optimization.
7653 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7654 POWER8 memset optimization.
7656 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7657 Remove bzero multiarch objects.
7658 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7659 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7660 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7661 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7663 [__bzero]: Redefine to specific name.
7664 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7665 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7666 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7668 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7669 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7671 2014-09-10 Florian Weimer <fweimer@redhat.com>
7673 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7674 warnings into errors.
7676 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7677 __cxa_thread_atexit_impl prototype.
7679 2014-09-09 Steve Ellcey <sellcey@mips.com>
7681 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7682 Fix capitalization of error message.
7684 2014-09-09 Steve Ellcey <sellcey@mips.com>
7686 * sysdeps/mips/preconfigure: Modify ABI tests.
7688 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7690 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7692 2014-09-07 Roland McGrath <roland@hack.frob.com>
7693 Carlos O'Donell <carlos@systemhalted.org>
7695 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7696 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7697 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7698 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7699 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7700 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7701 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7702 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7703 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7704 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7705 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7706 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7707 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7708 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7709 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7710 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7711 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7712 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7713 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7714 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7715 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7716 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7717 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7718 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7719 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7720 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7721 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7722 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7723 Deconditionalize the code that was previously under [RESET_PID].
7724 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7725 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7726 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7727 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7730 2014-09-08 Allan McRae <allan@archlinux.org>
7732 * version.h (RELEASE): Set to "development".
7733 (VERSION): Set to "2.20.90"
7735 2014-09-07 Allan McRae <allan@archlinux.org
7737 * version.h (RELEASE): Set to "stable".
7738 (VERSION): Set to "2.20"
7739 * include/features.h (__GLIBC_MINOR__): Set to 20.
7741 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7744 * po/ko.po: Update Korean translation from translation project.
7746 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7749 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7750 macro for handling signed relocations.
7752 2014-09-03 Florian Weimer <fweimer@redhat.com>
7755 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7756 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7758 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7759 * iconvdata/ibm935.c (BODY): Likewise.
7760 * iconvdata/ibm937.c (BODY): Likewise.
7761 * iconvdata/ibm939.c (BODY): Likewise.
7762 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7764 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7766 * iconvdata/run-iconv-test.sh: New test loop for checking for
7769 2014-09-02 Khem Raj <raj.khem@gmail.com>
7771 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7774 2014-09-01 Allan McRae <allan@archlinux.org>
7776 * po/eo.po: Update Esperanto translation from translation project.
7778 * po/ca.po: Update Catalan translation from translation project.
7780 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7782 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7785 2014-08-27 Mark Wielaard <mjw@redhat.com>
7788 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7789 to call set_thread_area instead of hand written asm.
7790 (__NR_set_thread_area): Removed define.
7791 (TLS_FLAG_WRITABLE): Likewise.
7792 (__ASSUME_SET_THREAD_AREA): Remove check.
7793 (TLS_EBX_ARG): Remove define.
7794 (TLS_LOAD_EBX): Likewise.
7796 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7798 Simplify atomicity of socket creation in bind.
7800 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7801 looking up the name after linking the file.
7803 2014-08-27 Allan McRae <allan@archlinux.org>
7805 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7807 2014-08-26 Florian Weimer <fweimer@redhat.com>
7810 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7811 trans_compare, open_translit, __gconv_translit_find):
7812 Remove module loading code.
7814 2014-08-26 Allan McRae <allan@archlinux.org>
7816 * po/vi.po: Update Vietnamese translation from translation project.
7818 * po/uk.po: Update Ukrainian translation from translation project.
7820 * po/fr.po: Update French translation from translation project.
7822 * po/ru.po: Update Russian translation from translation project.
7824 * po/pl.po: Update Polish translation from translation project.
7826 * po/cs.po: Update Czech translation from translation project.
7828 * po/de.po: Update German translation from translation project.
7830 * po/bg.po: Update Bulgarian translation from translation project.
7832 * po/sv.po: Update Sweedish translation from translation project.
7834 * po/nl.po: Update Dutch translation from translation project.
7836 * po/es.po: Update Spanish translation from translation project.
7838 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7840 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7842 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7843 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7844 (CPPFLAGS-iconvconfig): Likewise.
7845 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7847 * include/libc-symbols.h: Remove unnecessary check for
7849 * nptl/pthreadP.h: Likewise.
7850 * sysdeps/aarch64/setjmp.S: Likewise.
7851 * sysdeps/alpha/setjmp.S: Likewise.
7852 * sysdeps/arm/sysdep.h: Likewise.
7853 * sysdeps/i386/setjmp.S: Likewise.
7854 * sysdeps/m68k/setjmp.c: Likewise.
7855 * sysdeps/posix/getcwd.c: Likewise.
7856 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7857 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7858 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7859 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7860 * sysdeps/sh/sh3/setjmp.S: Likewise.
7861 * sysdeps/sh/sh4/setjmp.S: Likewise.
7862 * sysdeps/unix/alpha/sysdep.h: Likewise.
7863 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7864 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7865 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7866 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7871 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7874 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7876 * sysdeps/x86_64/setjmp.S: Likewise.
7878 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7881 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7883 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7884 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7886 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7888 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7891 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7892 and __x86_64__ when disabling x87 inline functions.
7894 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7897 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7898 asm statement with __cpuid_count.
7900 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7902 * configure.ac: Change __ehdr_start code to dereference the struct.
7903 Run readelf on the output to look for relocations.
7904 * configure: Regenerated.
7906 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7909 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7911 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7913 2014-08-12 Roland McGrath <roland@hack.frob.com>
7915 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7917 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7920 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7921 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7923 2014-08-12 Sean Anderson <seanga2@gmail.com>
7925 * malloc/malloc.c: Fix typo in comment.
7927 2014-08-09 Allan McRae <allan@archlinux.org>
7929 * Regenerate libc.po.
7931 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7933 * intl/tst-gettext2.sh: Check every lang file for creation.
7935 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7937 * sysdeps/aarch64/fpu/math_private.h
7938 (libc_feholdsetround_noex_aarch64_ctx): New function.
7940 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7942 * sysdeps/arm/armv6/strcpy.S (strcpy):
7943 Fix performance issue in misaligned cases.
7945 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7947 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7948 Move definition from termios.h.
7949 (struct termio): Likewise.
7950 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7951 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7952 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7953 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7955 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7956 Move definition to ioctl-types.h
7957 (struct termio): Likewise.
7958 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7959 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7960 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7961 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7964 2014-08-05 Richard Henderson <rth@redhat.com>
7966 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7968 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7970 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7971 Use __feraiseexcept.
7972 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7973 Protect libm symbols with IS_IN_libm.
7975 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7977 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7979 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7981 2014-08-04 Will Newton <will.newton@linaro.org>
7983 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7986 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7988 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7989 variants for each function.
7991 2014-08-04 Roland McGrath <roland@hack.frob.com>
7993 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7995 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7996 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7998 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7999 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8000 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8001 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8002 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8003 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8004 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8005 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8006 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8007 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8010 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8011 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8012 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8013 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8014 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8016 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8018 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8020 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8022 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8023 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8024 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8025 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8026 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8027 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8028 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8029 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8030 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8031 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8032 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8033 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8034 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8035 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8036 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8037 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8038 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8039 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8040 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8041 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8042 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8043 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8044 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8045 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8046 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8047 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8048 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8049 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8050 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8052 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8053 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8055 2014-08-04 Roland McGrath <roland@hack.frob.com>
8057 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8058 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8059 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8060 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8061 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8062 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8064 2014-08-04 Roland McGrath <roland@hack.frob.com>
8066 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8067 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8068 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8069 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8071 2014-08-04 Roland McGrath <roland@hack.frob.com>
8073 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8074 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8075 (__libc_vfork): Define function under this name.
8076 (__vfork): Define as an alias.
8077 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8078 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8080 2014-08-04 Roland McGrath <roland@hack.frob.com>
8082 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8083 that was previously under [RESET_PID].
8084 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8086 2014-08-04 Andreas Schwab <schwab@suse.de>
8088 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8090 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8092 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8095 2014-08-01 Roland McGrath <roland@hack.frob.com>
8097 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8099 2014-08-01 Richard Henderon <rth@redhat.com>
8101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8102 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8103 typo in exact zero test.
8104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8105 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8106 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8108 2014-08-01 Roland McGrath <roland@hack.frob.com>
8110 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8111 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8112 * sysdeps/arm/sysdep.h: ... here.
8113 [!__ASSEMBLER__]: Include <stdint.h>.
8115 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8117 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8118 (HAVE_WCTYPE_H): Likewise.
8119 (HAVE_ISWCTYPE): Likewise.
8120 (ENABLE_NLS): Likewise.
8121 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8122 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8124 * posix/regex_internal.c: Check if DEBUG is defined and is
8127 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8128 (HAVE_MBSRTOWCS): Likewise.
8129 * posix/fnmatch.c: Include string.h unconditionally.
8131 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8133 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8136 2014-07-31 Roland McGrath <roland@hack.frob.com>
8138 * sysdeps/generic/safe-fatal.h: New file.
8139 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8140 * nptl/forward.c: Include it.
8141 (__pthread_unwind): Use __safe_fatal as default action, rather
8142 than a bogus use of INTERNAL_SYSCALL that could never work.
8144 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8145 * configure.ac (libc_cv_builtin_trap): New test.
8146 * configure: Regenerated.
8147 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8148 (ABORT_INSTRUCTION): Define using __builtin_trap.
8150 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8151 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8152 * sysdeps/nptl/nptl-signals.h: New file.
8153 * nptl/pthreadP.h: Include <nptl-signals.h>.
8155 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8157 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8158 (ONE_DIRECTION): Define.
8159 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8160 (ONE_DIRECTION): Define.
8161 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8162 (ONE_DIRECTION): Define.
8164 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8166 * sysdeps/s390/Makefile: Delete file.
8167 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8168 * sysdeps/s390/__longjmp.c: Delete file.
8169 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8170 Remove fields __flags and __reserved.
8171 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8173 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8174 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8175 * sysdeps/s390/rtld-setjmp.S: Likewise.
8176 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8177 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8178 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8179 * sysdeps/s390/s390-32/setjmp.S: ... here.
8181 (__sigsetjmp): Remove setting __flags field.
8182 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8183 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8184 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8185 * sysdeps/s390/s390-64/setjmp.S: ... here.
8187 (__sigsetjmp): Remove setting __flags field.
8188 * sysdeps/s390/setjmp.S: Delete file.
8189 * sysdeps/s390/sigjmp.c: Likewise.
8190 * sysdeps/s390/v1-longjmp.c: Likewise.
8191 * sysdeps/s390/v1-setjmp.h: Likewise.
8192 * sysdeps/s390/v1-sigjmp.c: Likewise.
8193 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8194 Remove v1-longjmp_chk.
8195 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8196 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8197 Include debug/longjmp_chk.c and add versioning.
8198 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8199 Include nptl/pt-longjmp.c and add versioning.
8200 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8201 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8202 Include __longjmp.c.
8203 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8205 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8206 (__getcontext): Remove setting __flags field.
8208 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8209 Don't restore upper high grps.
8210 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8212 (__swapcontext): Remove setting uc_flags field.
8213 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8215 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8216 Include __longjmp.c.
8217 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8219 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8220 (__getcontext): Remove setting __flags field.
8222 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8223 (__swapcontext): Remove setting uc_flags field.
8224 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8226 Remove fields uc_high_gprs and __reserved.
8227 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8228 New file with reverted content.
8229 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8230 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8232 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8235 2014-07-31 Andreas Schwab <schwab@suse.de>
8237 * config.h.in (HAVE_IFUNC): Define to 0.
8238 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8241 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8244 memmove-avx-unaligned, memcpy-avx-unaligned and
8245 mempcpy-avx-unaligned.
8246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8247 Add tests for AVX memcpy functions.
8248 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8249 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8251 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8252 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8254 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8255 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8257 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8258 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8259 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8261 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8264 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8267 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8270 * manual/llio.texi: Add section about open file description locks.
8271 * manual/examples/ofdlocks.c: Example of open file description
8273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8274 F_OFD_SETLK, and F_OFD_SETLKW.
8276 2014-07-23 Allan McRae <allan@archlinux.org>
8278 * po/es.po: Update Spanish translation from translation project.
8280 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8282 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8284 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8287 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8288 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8289 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8291 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8294 * math/fesetenv.c (__fesetenv)
8295 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8296 * math/feupdateenv.c (__feupdateenv)
8297 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8299 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8300 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8301 (__ASSUME_SOCKETCALL): Do not define.
8303 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8304 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8305 (__ASSUME_SOCKETCALL): Do not define.
8306 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8307 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8308 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8309 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8310 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8311 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8312 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8313 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8315 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8316 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8317 (__ASSUME_SOCKETCALL): Do not define.
8318 (__ASSUME_IPC64): Define unconditionally.
8319 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8320 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8321 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8322 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8323 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8324 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8325 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8328 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8329 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8330 (__ASSUME_SOCKETCALL): Do not define.
8331 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8332 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8333 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8334 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8335 (__ASSUME_REQUEUE_PI): Define unconditionally.
8336 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8337 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8338 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8339 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8340 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8341 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8343 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8344 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8345 (__ASSUME_SOCKETCALL): Do not define.
8346 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8347 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8348 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8349 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8350 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8351 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8353 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8354 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8355 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8356 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8357 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8358 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8359 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8360 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8361 (__ASSUME_GETCPU_SYSCALL): Likewise.
8363 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8364 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8365 cases for individual architectures.
8366 * sysdeps/gnu/configure: Regenerated.
8367 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8368 LIBC_SLIBDIR_RTLDDIR.
8369 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8370 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8371 LIBC_SLIBDIR_RTLDDIR.
8372 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8374 LIBC_SLIBDIR_RTLDDIR.
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8377 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8378 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8380 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8381 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8383 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8384 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8385 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8386 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8388 * sysdeps/aarch64/shlib-versions: Move to ...
8389 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8390 * sysdeps/alpha/shlib-versions: Move to ...
8391 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8392 * sysdeps/arm/shlib-versions: Move to ...
8393 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8394 * sysdeps/hppa/shlib-versions: Move all contents except for
8395 libgcc_s entry to ...
8396 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8398 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8399 * sysdeps/ia64/shlib-versions: Move to ...
8400 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8402 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8403 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8404 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8405 * sysdeps/microblaze/shlib-versions: Move to ...
8406 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8407 * sysdeps/mips/shlib-versions: Move to ...
8408 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8410 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8411 * sysdeps/tile/shlib-versions: Move to ...
8412 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8413 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8415 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8416 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8418 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8420 2014-07-17 Will Newton <will.newton@linaro.org>
8422 * sysdeps/arm/bits/atomic.h
8423 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8424 (__arch_compare_and_exchange_bool_16_int): Likewise.
8425 (__arch_compare_and_exchange_bool_64_int): Likewise.
8427 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8428 into an #else block.
8430 2014-07-16 Roland McGrath <roland@hack.frob.com>
8432 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8433 just Linux configurations. Test empirically that the compiler sets
8434 __ARM_EABI__, rather than using the tuple to decide.
8435 * sysdeps/arm/preconfigure: Regenerated.
8436 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8437 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8438 contents appended ...
8439 * sysdeps/arm/configure.ac: ... here.
8440 * sysdeps/arm/configure: Regenerated.
8442 2014-07-15 Roland McGrath <roland@hack.frob.com>
8444 * nptl/pthread_kill.c: New file.
8445 * nptl/pthread_sigmask.c: New file.
8446 * nptl/pthread_sigqueue.c: New file.
8448 * sysdeps/nptl/lowlevellock.h: New file.
8449 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8450 * sysdeps/nptl/lowlevellock-futex.h: New file.
8452 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8453 Remove dead declarations.
8455 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8457 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8458 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8460 * sysdeps/x86_64/configure.ac: Likewise.
8461 * sysdeps/i386/configure: Regenerated.
8462 * sysdeps/x86_64/configure: Likewise.
8463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8464 memset-avx2 only if config-cflags-avx2 is yes.
8465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8466 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8468 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8469 only if HAVE_AVX2_SUPPORT is defined.
8470 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8472 2014-07-14 Alan Modra <amodra@gmail.com>
8475 * elf/elf.h (DT_PPC64_NUM): Correct value.
8476 * NEWS: Add to fixed bug list.
8478 2014-07-13 Jim Meyering <meyering@fb.com>
8481 regex: don't deref NULL upon heap allocation failure
8482 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8483 failure in one more place.
8484 To trigger the segfault, configure grep -with-included-regex,
8485 build it, and run these commands:
8486 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8488 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8490 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8492 2014-07-11 Richard Henderson <rth@redhat.com>
8494 * sysdeps/aarch64/libm-test-ulps: Update.
8496 2014-07-10 Florian Weimer <fweimer@redhat.com>
8499 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8500 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8501 (__nptl_setxid): Initialize error member. Call
8502 __nptl_setxid_error.
8503 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8504 * nptl/descr.h (struct xid_command): Add error member.
8505 * nptl/tst-setuid3.c: New file.
8506 * nptl/Makefile (tests): Add it.
8508 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8510 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8512 (__lll_trylock): Use __lll_base_trylock.
8513 (__lll_cond_trylock): Likewise.
8515 2014-07-10 Roland McGrath <roland@hack.frob.com>
8517 * nptl/pthread_create.c (start_thread): Use atomic_or and
8518 lll_futex_wake directly rather than lll_robust_dead.
8519 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8520 (lll_robust_dead): Macro removed.
8521 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8522 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8523 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8524 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8525 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8526 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8527 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8528 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8529 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8530 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8531 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8532 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8533 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8534 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8535 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8537 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8538 Use atomic_compare_and_exchange_val_acq directly rather than
8540 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8541 (__lll_robust_trylock, lll_robust_trylock): Removed.
8542 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8543 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8544 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8545 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8546 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8547 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8548 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8549 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8550 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8551 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8552 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8553 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8554 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8555 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8557 2014-07-02 Florian Weimer <fweimer@redhat.com>
8559 * manual/locale.texi (Locale Names): New section documenting
8560 locale name syntax. Adjust menu and node chaining accordingly.
8561 (Choosing Locale): Reference Locale Names, Locale Categories.
8562 Mention setting LC_ALL=C. Reflect that name syntax is now
8564 (Locale Categories): New section title. Reference Locale Names.
8565 LC_ALL is an environment variable, but not a category.
8566 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8567 description, now in Locale Name. Reference that section. Locale
8568 name syntax is now documented.
8570 2014-07-02 Florian Weimer <fweimer@redhat.com>
8573 * locale/findlocale.c (name_present, valid_locale_name): New
8575 (_nl_find_locale): Use the loc_name variable to store name
8576 candidates. Call name_present and valid_locale_name to check and
8577 validate locale names. Return an error if the locale is invalid.
8579 2014-07-02 Florian Weimer <fweimer@redhat.com>
8581 * locale/setlocale.c (setlocale): Use strdup for allocating
8582 composite name copy.
8584 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8586 Sync up with gnulib.
8587 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8588 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8589 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8590 and _GL_ARG_NONNULL.
8591 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8592 [!_LIBC]: Include code for Windows and Cygwin.
8593 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8594 Include prototype for int strerror_r.
8595 [!_LIBC] (is_open): New function.
8596 (flush_stdout): New function.
8597 (print_errno_message): Use it.
8599 (error_at_line): Likewise.
8600 (error_tail) Add function attribute macros. Use
8603 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8605 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8607 * io/ftw.c: Include sys/param.h unconditionally.
8609 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8612 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8614 (freecache): New function to free CACHE on exit.
8616 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8619 2014-07-09 David S. Miller <davem@davemloft.net>
8621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8623 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8624 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8625 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8626 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8627 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8628 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8629 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8630 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8631 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8632 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8633 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8634 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8635 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8637 2014-07-09 Andreas Schwab <schwab@suse.de>
8639 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8641 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8642 (do_test): Likewise.
8644 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8646 2014-07-09 Will Newton <will.newton@linaro.org>
8648 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8649 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8650 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8651 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8652 * sysdeps/hppa/start.S (_start): Likewise.
8654 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8656 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8658 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8661 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8663 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8664 after checking that it is non-NULL.
8666 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8668 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8670 * sysdeps/powerpc/memmove.c: Remove file.
8671 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8672 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8673 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8674 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8675 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8676 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8677 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8678 string memmove instead of removed powerpc one.
8680 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8681 [weak_alias]: Fix compiler warning due trailing data.
8682 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8683 [weak_alias]: Likewise.
8684 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8685 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8688 (__libc_ifunc_impl_list): Add memmove functions.
8690 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8692 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8694 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8696 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8698 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8700 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8702 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8704 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8706 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8708 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8710 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8712 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8714 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8716 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8718 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8720 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8722 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8724 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8727 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8730 to avoid alignment traps in non-cacheable memory.
8731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8735 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8736 file: multiarch power7 memmove.
8737 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8738 multiarch default memmove.
8739 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8740 multiarch memove for powerpc32/power4.
8742 * string/bcopy.c: Use full path to include memmove.c.
8743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8745 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8746 bcopy for powerpc64.
8747 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8748 bcopy for powerpc64.
8749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8750 and memmove implementations.
8751 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8752 optimized multiarch memmove for POWER7/powerpc64.
8753 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8754 default multiarch memmove for powerpc64.
8755 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8756 multiarch for powerpc64.
8757 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8758 for POWER7/powerpc64.
8759 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8760 memmove for POWER7/powerpc64.
8762 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8765 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8766 __ELF_NATIVE_CLASS equal to 64.
8768 2014-07-07 Roland McGrath <roland@hack.frob.com>
8770 * sysdeps/nptl/lowlevellock.h: File removed.
8772 * NEWS: NPTL is no longer an add-on!
8773 * nptl/internaltypes.h: Moved ...
8774 * sysdeps/nptl/internaltypes.h: ... here.
8775 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8776 * sysdeps/nptl/fork.c: Likewise.
8777 * sysdeps/nptl/gai_misc.h: Likewise.
8778 * sysdeps/nptl/librt-cancellation.c: Likewise.
8779 * sysdeps/nptl/jmp-unwind.c: Likewise.
8780 * sysdeps/nptl/setxid.h: Likewise.
8781 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8782 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8783 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8784 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8785 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8786 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8787 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8788 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8789 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8790 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8791 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8792 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8793 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8794 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8795 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8796 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8797 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8798 * nptl/Makeconfig: Moved ...
8799 * sysdeps/nptl/Makeconfig: ... here.
8800 * nptl/configure: File removed.
8801 * nptl/ANNOUNCE: File removed.
8802 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8803 * sysdeps/unix/sysv/linux/configure: Regenerated.
8805 * nptl/Makefile (routines): Add libc_pthread_init,
8806 libc_multiple_threads, register-atfork and unregister-atfork.
8807 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8808 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8809 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8810 pthread-pi-defines.sym, structsem.sym.
8811 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8812 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8813 [$(subdir) = nptl] (tests): Add tst-setgetname.
8814 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8815 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8816 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8817 [!LIBC_SIGACTION]: Remove aliases.
8818 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8819 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8820 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8821 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8822 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8823 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8824 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8825 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8827 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8828 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8829 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8830 __libc_allocate_rtsig_private.
8831 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8832 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8833 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8834 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8835 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8836 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8837 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8838 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8839 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8840 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8841 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8842 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8843 * nptl/internaltypes.h: ... here.
8844 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8845 * sysdeps/nptl/jmp-unwind.c: ... here.
8846 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8847 * nptl/libc-lowlevellock.c: ... here.
8848 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8849 * nptl/libc_multiple_threads.c: ... here.
8850 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8851 * nptl/libc_pthread_init.c: ... here.
8852 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8853 * nptl/lowlevelbarrier.sym: ... here.
8854 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8855 * nptl/lowlevelcond.sym: ... here.
8856 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8857 * nptl/lowlevellock.c: ... here.
8858 * nptl/lowlevellock.h: Moved ...
8859 * sysdeps/nptl/lowlevellock.h: ... here.
8860 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8861 * nptl/lowlevelrobustlock.c: ... here.
8862 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8863 * nptl/lowlevelrobustlock.sym: ... here.
8864 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8865 * nptl/lowlevelrwlock.sym: ... here.
8866 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8867 * nptl/pt-fork.c: ... here.
8868 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8869 * nptl/pthread-pi-defines.sym: ... here.
8870 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8871 * nptl/pthread_attr_getaffinity.c: ... here.
8872 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8873 * nptl/pthread_attr_setaffinity.c: ... here.
8874 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8875 * nptl/pthread_mutex_cond_lock.c: ... here.
8876 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8878 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8879 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8880 * nptl/pthread_once.c: ... here, replacing old file.
8881 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8882 * nptl/pthread_yield.c: ... here.
8883 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8884 * nptl/register-atfork.c: ... here.
8885 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8886 * nptl/sem_post.c: ... here.
8887 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8888 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8889 * nptl/sem_timedwait.c: ... here.
8890 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8891 * nptl/sem_trywait.c: ... here.
8892 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8893 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8894 * nptl/sem_wait.c: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8896 * nptl/structsem.sym: ... here.
8897 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8898 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8899 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8900 * nptl/unregister-atfork.c: ... here.
8901 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8902 * nptl/unwindbuf.sym: ... here.
8903 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8904 * sysdeps/nptl/fork.c: ... here.
8905 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8906 * sysdeps/nptl/fork.h: ... here.
8907 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8908 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8909 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8910 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8911 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8912 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8913 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8914 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8915 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8916 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8917 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8919 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8920 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8921 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8922 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8923 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8924 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8925 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8926 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8927 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8928 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8929 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8930 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8931 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8932 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8933 * sysdeps/unix/sysv/linux/raise.c: ... here.
8934 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8935 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8936 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8937 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8938 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8939 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8940 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8941 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8942 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8943 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8944 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8945 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8946 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8947 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8948 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8950 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8952 * sysdeps/generic/memcopy.h: Add comment for
8953 MEMCPY_OK_FOR_FWD_MEMMOVE.
8955 2014-07-04 Will Newton <will.newton@linaro.org>
8957 * string/memchr.c: Merge from gnulib.
8958 [_LIBC]: Remove conditionals.
8959 (__ptr_t): Remove define.
8960 (LONG_MAX_32_BITS): Likewise.
8961 (LONG_MAX): Likewise.
8962 (MEMCHR): Use ANSI prototype and optimize algorithm.
8964 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8966 2014-07-03 Roland McGrath <roland@hack.frob.com>
8968 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8969 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8971 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8972 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8973 in a bare environment with no <stdlib.h> installed.
8974 * sysdeps/nptl/configure: Regenerated.
8976 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8978 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8979 AC_EGREP_CPP for kernel header checks, so they only succeed if
8980 including <linux/version.h> actually works right.
8981 * sysdeps/unix/sysv/linux/configure: Regenerated.
8983 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8984 value so it's not diagnosed as unused.
8986 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8987 thing) with "ifeq ($(subdir),rt)".
8989 2014-07-03 Richard Henderson <rth@redhat.com>
8991 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8992 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8993 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8995 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8996 (math_force_eval): New.
8998 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8999 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9001 * sysdeps/alpha/fpu/s_round.c: Remove file.
9002 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9004 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9005 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9006 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9007 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9008 (_dl_start, print_statistics): Likewise.
9009 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9010 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9012 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9013 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9014 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9015 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9016 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9017 (HP_SMALL_TIMING_AVAIL): Define.
9018 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9019 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9020 (HP_SMALL_TIMING_AVAIL): Define.
9021 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9022 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9024 * sysdeps/aarch64/hp-timing.h: New file.
9026 * sysdeps/generic/hp-timing.h: Remove dead comment.
9027 * sysdeps/generic/hp-timing-common.h: New file.
9028 * sysdeps/alpha/hp-timing.h: Include it.
9029 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9030 * sysdeps/i386/i686/hp-timing.h: Likewise.
9031 * sysdeps/ia64/hp-timing.h: Likewise.
9032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9033 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9035 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9036 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9037 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9040 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9041 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9042 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9043 * elf/rtld.c (_dl_start_final): Likewise.
9044 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9045 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9046 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9047 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9048 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9049 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9050 (HP_TIMING_DIFF_INIT): Remove.
9051 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9052 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9053 (HP_TIMING_DIFF_INIT): Remove.
9054 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9055 * sysdeps/i386/i686/hp-timing.c: Remove file.
9056 * sysdeps/x86_64/hp-timing.c: Remove file.
9057 * sysdeps/ia64/hp-timing.c: Remove file.
9058 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9059 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9060 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9061 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9063 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9064 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9065 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9066 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9067 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9068 (HP_TIMING_ACCUM): Remove.
9069 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9070 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9071 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9073 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9074 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9075 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9076 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9077 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9078 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9080 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9082 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9084 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9086 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9088 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9090 Sync up with gettext.
9091 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9092 [_MSC_VER]: Include malloc.h
9093 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9094 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9095 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9096 TEMP_FAILURE_RETRY. Cast return of alloca.
9097 [!_LIBC] Call gl_rwlock_init.
9098 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9100 2014-07-02 Roland McGrath <roland@hack.frob.com>
9102 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9103 before checking its value.
9105 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9107 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9109 * debug/memcpy_chk.c: Don't include pagecopy.h.
9110 * debug/mempcpy_chk.c: Likewise.
9111 * string/memcpy.c: Likewise.
9112 * string/memmove.c: Likewise.
9113 * sysdeps/powerpc/memmove.c: Likewise.
9114 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9115 definition of PAGE_COPY_FWD_MAYBE here...
9116 * sysdeps/generic/pagecopy.h: ... from here.
9117 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9119 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9120 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9122 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9126 (__libc_ifunc_impl_list): Likewise.
9127 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9128 multiarch strcat for PPC64.
9129 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9130 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9132 2014-07-02 Roland McGrath <roland@hack.frob.com>
9134 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9136 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9138 * intl/loadmsgcat.c: Remove declaration of
9139 get_sysdep_segment_value.
9140 (get_sysdep_segment_value): Use ISO C style.
9141 (_nl_load_domain): Use ISO C style. Get rid of redundant
9142 semicolon. Fix typo and formatting in comment.
9143 (_nl_unload_domain): Use ISO C style.
9145 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9147 2014-07-02 Will Newton <will.newton@linaro.org>
9149 * malloc/obstack.c: Merge from gnulib master.
9150 [HAVE_CONFIG_H]: Remove conditional code.
9151 [!_LIBC]: Include config.h.
9152 [!ELIDE_CODE]: Don't include inttypes.h, include
9153 stdint.h unconditionally.
9154 (print_and_abort): Mark as _Noreturn.
9155 (_obstack_allocated_p): Mark as __attribute_pure__.
9156 (obstack_free): Rename to __obstack_free.
9157 [!__attribute__]: Remove conditional code.
9158 * malloc/obstack.h: Merge from gnulib master.
9159 [__cplusplus]: Move conditional down.
9160 [!__attribute_pure__]: Define __attribute_pure__ here
9161 if it is not already defined.
9162 (_obstack_memory_used): Mark as __attribute_pure__.
9163 [!__obstack_free]: Define as obstack_free.
9164 [__GNUC__]: Remove check for ancient NeXT gcc.
9166 2014-07-02 Will Newton <will.newton@linaro.org>
9167 Paul Eggert <eggert@cs.ucla.edu>
9169 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9171 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9173 * resolv/gethnamaddr.c: Add comment warning that the file is
9176 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9178 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9181 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9182 entry for aio_cancel and aio_cancel64.
9183 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9184 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9185 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9186 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9187 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9188 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9189 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9190 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9191 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9192 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9193 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9194 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9195 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9197 2014-07-01 Roland McGrath <roland@hack.frob.com>
9199 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9200 * nptl/pthread_mutex_lock.c: Likewise.
9201 * nptl/pthread_mutex_timedlock.c: Likewise.
9202 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9204 2014-07-01 Richard henderson <rth@redhat.com>
9206 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9207 (__isnan, __isnanl): Remove.
9208 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9210 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9212 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9214 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9216 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9218 * resolv/nss_dns/dns-host.c (getanswer_r)
9219 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9221 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9224 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9226 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9227 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9229 2014-07-01 Roland McGrath <roland@hack.frob.com>
9231 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9232 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9234 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9235 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9237 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9238 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9240 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9241 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9243 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9244 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9245 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9246 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9248 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9249 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9250 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9251 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9252 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9254 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9256 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9259 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9263 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9267 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9268 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9269 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9271 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9275 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9277 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9278 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9279 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9280 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9281 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9282 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9283 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9284 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9286 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9288 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9289 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9290 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9293 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9297 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9299 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9300 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9302 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9304 * sysdeps/arm/libm-test-ulps: Regenerated.
9306 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9307 Roland McGrath <roland@hack.frob.com>
9309 * test-skeleton.c (signal_handler): Kill the whole process group
9310 before killing the child individually.
9311 (main): Report any failure on `setpgid'.
9313 2014-06-30 Roland McGrath <roland@hack.frob.com>
9315 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9316 from _TLS_H to _ARM_NPTL_TLS_H.
9317 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9318 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9320 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9323 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9324 (__expm1l): Return argument unchanged when small but not
9327 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9329 (_FP_UNPACK_RAW_1_P): Likewise.
9330 (_FP_PACK_RAW_1): Likewise.
9331 (_FP_PACK_RAW_1_P): Likewise.
9332 (_FP_MUL_MEAT_1_wide): Likewise.
9333 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9334 (_FP_MUL_MEAT_1_hard): Likewise.
9335 (_FP_DIV_MEAT_1_imm): Likewise.
9336 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9337 (_FP_DIV_MEAT_1_udiv): Likewise.
9338 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9339 (_FP_UNPACK_RAW_2): Likewise.
9340 (_FP_UNPACK_RAW_2_P): Likewise.
9341 (_FP_PACK_RAW_2): Likewise.
9342 (_FP_PACK_RAW_2_P): Likewise.
9343 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9344 (_FP_MUL_MEAT_2_wide): Likewise.
9345 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9346 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9347 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9348 (_FP_MUL_MEAT_2_gmp): Likewise.
9349 (_FP_DIV_MEAT_2_udiv): Likewise.
9350 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9351 (_FP_FRAC_SRL_4): Likewise.
9352 (_FP_FRAC_SRST_4): Likewise.
9353 (_FP_FRAC_SRS_4): Likewise.
9354 (_FP_UNPACK_RAW_4): Likewise.
9355 (_FP_UNPACK_RAW_4_P): Likewise.
9356 (_FP_PACK_RAW_4): Likewise.
9357 (_FP_PACK_RAW_4_P): Likewise.
9358 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9359 (_FP_MUL_MEAT_4_wide): Likewise.
9360 (_FP_MUL_MEAT_4_gmp): Likewise.
9361 (umul_ppppmnnn): Likewise.
9362 (_FP_DIV_MEAT_4_udiv): Likewise.
9363 (__FP_FRAC_ADD_4): Likewise.
9364 (__FP_FRAC_SUB_3): Likewise.
9365 (__FP_FRAC_SUB_4): Likewise.
9366 (__FP_FRAC_DEC_3): Likewise.
9367 (__FP_FRAC_DEC_4): Likewise.
9368 (__FP_FRAC_ADDI_4): Likewise.
9369 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9370 (_FP_FRAC_SRL_8): Likewise.
9371 (_FP_FRAC_SRS_8): Likewise.
9373 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9375 (FP_UNPACK_RAW_EP): Likewise.
9376 (FP_PACK_RAW_E): Likewise.
9377 (FP_PACK_RAW_EP): Likewise.
9378 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9379 (_FP_ISSIGNAN): Likewise.
9380 (_FP_ADD_INTERNAL): Likewise.
9381 (_FP_FMA): Likewise.
9382 (_FP_CMP): Likewise.
9383 (_FP_SQRT): Likewise.
9384 (_FP_TO_INT): Likewise.
9385 (_FP_FROM_INT): Likewise.
9386 (FP_EXTEND): Likewise.
9387 (_FP_DIV_MEAT_N_loop): Likewise.
9389 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9391 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9394 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9397 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9398 result with correct sign in case of exponents that produce
9399 overflow except for X very close to 1.
9401 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9403 mktime: merge #if/#ifdef usage from glibc
9404 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9405 as that works with both Glibc's and Gnulib's style.
9406 See thread starting at Siddhesh Poyarekar's bug report at:
9407 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9409 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9411 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9412 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9413 * sysdeps/tile/tilegx/memmove.c: Remove file.
9415 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9417 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9418 abi-name definition.
9419 * scripts/soversions.awk: Do not handle or generate ABI lines.
9420 * shlib-versions: Remove ABI entries.
9421 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9422 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9424 2014-06-27 Roland McGrath <roland@hack.frob.com>
9426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9427 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9428 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9429 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9431 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9434 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9439 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9441 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9447 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9450 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9451 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9452 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9454 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9455 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9457 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9460 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9462 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9465 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9467 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9469 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9471 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9474 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9476 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9477 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9479 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9480 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9482 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9483 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9484 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9485 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9487 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9489 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9490 Identical file removed.
9491 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9493 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9494 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9495 Identical file removed.
9496 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9497 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9500 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9501 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9502 Identical file removed.
9503 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9504 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9505 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9506 Identical file removed.
9507 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9508 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9510 Identical file removed.
9511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9512 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9514 Identical file removed.
9515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9517 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9519 Identical file removed.
9520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9522 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9524 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9526 Identical file removed.
9527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9529 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9532 Identical file removed.
9533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9535 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9537 Identical file removed.
9538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9540 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9542 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9543 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9544 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9547 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9548 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9549 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9551 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9552 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9553 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9554 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9555 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9557 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9560 * nscd/nscd.c (monitor_child): Return exit status of child
9561 instead of return value from wait syscall.
9563 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9565 * configure.ac (libc_commonpagesize): Remove variable.
9566 (libc_relro_required): Likewise.
9567 (libc_cv_z_relro): Remove configure test.
9568 * configure: Regenerated.
9569 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9571 (libc_relro_required): Likewise.
9572 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9573 (libc_relro_required): Likewise.
9574 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9575 (libc_relro_required): Likewise.
9576 * sysdeps/arm/preconfigure: Regenerated.
9577 * sysdeps/ia64/preconfigure: Remove file.
9578 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9580 (libc_relro_required): Likewise.
9584 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9585 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9586 recompute overflowing results in original rounding mode.
9587 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9588 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9589 recompute overflowing results in original rounding mode.
9590 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9591 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9592 recompute overflowing results in original rounding mode.
9593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9594 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9595 recompute overflowing results in original rounding mode.
9596 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9597 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9598 recompute overflowing results in original rounding mode.
9599 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9600 (libc_feholdsetround_ctx): New macro.
9601 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9602 * sysdeps/i386/fpu/libm-test-ulps: Update.
9603 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9605 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9607 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9608 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9609 corresponding .cpsetup call.
9611 2014-06-26 Roland McGrath <roland@hack.frob.com>
9613 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9614 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9615 * sysdeps/arm/Makefile [$(subdir) = csu]
9616 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9617 (static-only-routines): Add aeabi_read_tp here.
9618 (shared-only-routines): Add libc-aeabi_read_tp here.
9619 (CFLAGS-libc-start.c): Add -fexceptions here.
9620 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9621 (sysdep_routines, static-only-routines, shared-only-routines):
9622 Don't add to these here.
9623 (CFLAGS-libc-start.c): Likewise.
9625 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9626 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9627 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9628 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9629 * sysdeps/arm/Makefile [$(subdir) = rt]
9630 (librt-sysdep_routines, librt-shared-only-routines):
9631 Append rt-aeabi_unwind_cpp_pr1 here.
9632 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9633 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9634 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9635 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9636 Append nptl-aeabi_unwind_cpp_pr1 here.
9637 (tests): Filter out tst-cleanupx4 here.
9638 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9639 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9640 Don't do those here.
9642 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9644 * scripts/list-sources.sh: Do not handle ports specially.
9646 2014-06-26 Roland McGrath <roland@hack.frob.com>
9648 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9649 * sysdeps/arm/feupdateenv.c: Likewise.
9651 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9653 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9655 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9656 trailing whitespace removed.
9657 * scripts/config.guess: Update to version 2014-03-23.
9658 * scripts/config.sub: Update to version 2014-05-01
9659 * scripts/install-sh: Update to version 2013-12-25.23.
9660 * scripts/move-if-change: Update from gnulib.
9662 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9664 * debug/memmove_chk.c: Remove pagecopy.h include.
9666 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9668 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9669 identical to gnulib mktime.
9671 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9673 * configure.ac: Do not test for machine being rs6000. Do not test
9675 * configure: Regenerated.
9677 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9679 * configure: Regenerated.
9680 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9681 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9682 Remove configure test.
9683 * sysdeps/arm/configure: Regenerated.
9684 * sysdeps/nptl/configure.ac: Do not check
9685 libc_cv_asm_cfi_directives.
9686 * sysdeps/nptl/configure: Regenerated.
9687 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9688 * sysdeps/x86_64/nptl/configure: Remove generated file.
9689 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9691 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9693 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9695 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9696 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9697 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9700 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9701 instead of whether it is defined.
9702 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9703 * sysdeps/hppa/dl-machine.h: Likewise.
9704 * sysdeps/ia64/dl-machine.h: Likewise.
9705 * sysdeps/m68k/dl-machine.h: Likewise.
9706 * sysdeps/microblaze/dl-machine.h: Likewise.
9707 * sysdeps/mips/dl-machine.: Likewise.
9708 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9709 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9710 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9711 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9712 * sysdeps/sh/dl-machine.h: Likewise.
9713 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9714 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9715 * sysdeps/tile/dl-machine.h: Likewise.
9716 * sysdeps/x86_64/dl-machine.h: Likewise.
9718 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9720 (verify_persistent_db): Likewise.
9722 2014-06-26 Roland McGrath <roland@hack.frob.com>
9724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9725 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9727 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9730 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9733 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9735 Identical file removed.
9736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9737 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9739 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9741 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9743 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9745 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9748 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9750 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9752 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9755 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9757 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9759 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9761 Identical file removed.
9762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9763 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9765 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9768 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9771 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9773 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9775 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9777 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9779 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9782 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9785 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9790 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9792 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9794 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9796 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9797 * sysdeps/unix/sysv/linux/s390/Versions
9798 (libpthread: GLIBC_2.19): New version set.
9799 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9800 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9801 (librt: GLIBC_2.3.3): New version set.
9802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9803 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9804 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9805 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9806 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9807 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9808 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9809 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9810 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9811 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9812 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9813 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9814 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9815 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9816 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9817 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9818 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9819 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9820 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9821 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9822 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9823 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9824 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9825 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9826 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9827 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9828 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9829 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9830 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9831 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9832 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9833 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9834 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9835 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9836 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9837 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9838 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9839 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9840 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9842 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9843 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9844 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9846 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9848 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9849 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9850 (__libc_vfork): Define the function under this name.
9851 [!NOT_IN_libc] (__vfork): Make this an alias.
9852 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9854 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9855 (__libc_vfork): Define the function under this name.
9856 [!NOT_IN_libc] (__vfork): Make this an alias.
9857 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9858 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9859 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9861 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9862 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9864 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9865 code that was previously under [RESET_PID].
9866 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9867 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9870 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9871 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9872 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9873 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9874 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9875 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9876 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9877 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9878 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9879 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9880 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9882 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9884 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9886 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9888 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9889 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9890 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9891 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9892 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9893 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9896 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9897 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9898 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9899 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9900 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9901 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9902 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9904 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9906 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9907 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9908 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9909 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9910 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9912 2014-06-25 Roland McGrath <roland@hack.frob.com>
9914 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9915 that was previously under [RESET_PID].
9916 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9918 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9920 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9921 not undefine and redefine.
9922 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9923 [O_CLOEXEC]: Make code unconditional.
9924 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9925 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9926 <kernel-features.h>.
9927 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9928 conditional variable definition.
9929 (shm_open) [O_CLOEXEC]: Make code unconditional.
9930 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9933 * configure.ac (USE_REGPARMS): Don't define here.
9934 * configure: Regenerated.
9935 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9936 * sysdeps/i386/configure: Regenerated.
9938 * nptl/createthread.c: Don't include kernel-features.h.
9939 * nptl/pthread_cancel.c: Likewise.
9940 * nptl/pthread_condattr_setclock.c: Likewise.
9941 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9942 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9943 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9944 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9945 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9946 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9947 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9948 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9949 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9950 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9951 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9952 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9953 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9954 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9955 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9956 * nscd/gai.c: Likewise.
9957 * nss/nss_db/db-open.c: Likewise.
9958 * sysdeps/generic/ldsodefs.h: Likewise.
9959 * sysdeps/sh/nptl/tls.h: Likewise.
9960 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9961 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9962 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9963 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9964 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9965 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9966 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9967 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9968 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9969 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9970 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9971 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9972 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9973 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9974 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9975 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9976 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9977 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9978 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9979 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9980 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9981 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9982 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9983 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9984 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9985 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9986 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9987 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9988 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9989 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9990 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9991 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9992 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9993 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9994 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9995 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9996 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9997 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9998 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9999 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10000 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10001 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10002 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10003 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10004 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10005 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10006 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10007 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10008 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10009 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10010 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10011 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10012 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10013 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10014 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10015 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10016 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10017 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10040 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10041 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10042 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10043 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10044 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10045 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10046 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10047 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10048 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10049 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10050 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10051 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10052 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10053 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10054 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10055 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10056 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10057 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10058 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10059 * sysdeps/unix/sysv/linux/system.c: Likewise.
10060 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10061 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10062 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10063 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10064 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10065 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10066 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10068 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10069 * configure: Regenerated.
10070 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10072 * configure.ac (base_machine): Do not set specially for particular
10074 * configure: Regenerated.
10075 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10076 settings from configure.ac.
10077 * sysdeps/i386/preconfigure: New file.
10078 * sysdeps/s390/preconfigure: Likewise.
10079 * sysdeps/sh/preconfigure: Likewise.
10080 * sysdeps/sparc/preconfigure: Likewise.
10082 2014-06-25 Roland McGrath <roland@hack.frob.com>
10084 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10085 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10086 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10087 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10088 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10089 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10090 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10091 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10092 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10093 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10094 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10095 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10096 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10097 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10098 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10099 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10100 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10101 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10102 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10104 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10105 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10106 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10107 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10108 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10109 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10110 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10111 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10112 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10113 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10114 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10115 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10116 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10117 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10118 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10119 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10120 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10121 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10122 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10123 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10124 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10125 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10126 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10127 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10128 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10129 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10130 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10131 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10132 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10133 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10134 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10135 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10136 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10137 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10138 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10139 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10140 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10141 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10144 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10146 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10149 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10152 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10154 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10157 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10159 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10161 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10163 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10166 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10169 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10171 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10174 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10176 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10178 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10180 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10182 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10185 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10188 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10193 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10195 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10197 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10199 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10202 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10205 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10207 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10210 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10212 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10214 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10216 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10218 * timezone/checktab.awk: Update from tzcode 2014e.
10219 * timezone/private.h: Likewise.
10220 * timezone/tzfile.h: Likewise.
10221 * timezone/zdump.c: Likewise.
10222 * timezone/zic.c: Likewise.
10224 * sysdeps/unix/sysv/linux/kernel-features.h
10225 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10227 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10228 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10229 Remove conditional code.
10231 2014-06-25 Will Newton <will.newton@linaro.org>
10233 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10234 (_dl_arm_cap_flags): Add HWCAP2 values.
10235 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10236 (_DL_HWCAP_COUNT): Increase to 37.
10237 (_DL_HWCAP_LAST): New define.
10238 (_DL_HWCAP2_LAST): New define.
10239 (_dl_procinfo): Add support for printing
10241 (_dl_string_hwcap): Use _dl_hwcap_string.
10243 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10247 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10249 * README: Do not mention ports directory.
10251 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10253 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10254 <kernel-features.h>.
10255 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10256 conditional variable definition.
10257 (__futimes): Update comment.
10258 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10259 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10262 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10263 arguments close to 0.
10264 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10266 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10268 * math/auto-libm-test-in: Add more tests of exp10.
10269 * math/auto-libm-test-out: Regenerated.
10270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10272 * sysdeps/unix/sysv/linux/kernel-features.h
10273 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10274 * sysdeps/unix/sysv/linux/readv.c: Do not include
10275 <kernel-features.h>.
10276 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10277 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10278 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10280 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10282 * sysdeps/unix/sysv/linux/writev.c: Do not include
10283 <kernel-features.h>.
10284 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10285 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10286 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10288 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10291 2014-06-25 Will Newton <will.newton@linaro.org>
10293 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10294 comment changes throughout the file. Remove checks
10295 for HAVE_*_H definitions that are not required.
10296 (__gen_tempname): Call abort if an unknown kind value is
10299 2014-06-25 Andreas Schwab <schwab@suse.de>
10302 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10303 scalbln, scalblnf, scalblnl in libc.
10305 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10308 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10309 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10310 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10312 2014-06-24 Roland McGrath <roland@hack.frob.com>
10314 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10315 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10316 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10317 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10319 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10320 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10322 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10323 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10324 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10325 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10326 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10327 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10328 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10329 * sysdeps/x86/bits/semaphore.h: ... here.
10330 * sysdeps/x86/nptl/elide.h: Moved ...
10331 * sysdeps/x86/elide.h: ... here.
10332 * sysdeps/x86_64/nptl/Implies: File removed.
10333 * sysdeps/i386/nptl/Implies: File removed.
10335 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10338 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10339 return the argument for normal arguments with exponent below -64.
10340 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10342 * math/auto-libm-test-in: Add another test of expm1.
10343 * math/auto-libm-test-out: Regenerated.
10346 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10347 calling __erfcl for arguments at least 16.
10348 * math/auto-libm-test-in: Add more tests of erf.
10349 * math/auto-libm-test-out: Regenerated.
10351 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10352 individual architectures.
10353 * sysdeps/unix/sysv/linux/configure: Regenerated.
10354 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10355 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10356 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10357 (ldd_rewrite_script): Define variable.
10358 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10363 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10364 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10365 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10366 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10367 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10368 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10369 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10370 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10372 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10375 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10376 Rename member __data.d to __data.__elision_data.
10378 2014-06-24 Wilco <wdijkstr@arm.com>
10380 * NEWS: Add 16918 to fixed bug list.
10382 2014-06-24 Wilco <wdijkstr@arm.com>
10384 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10386 2014-06-24 Wilco <wdijkstr@arm.com>
10388 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10389 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10390 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10391 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10392 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10393 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10394 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10397 2014-06-24 Wilco <wdijkstr@arm.com>
10399 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10401 2014-06-24 Wilco <wdijkstr@arm.com>
10403 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10404 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10405 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10406 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10408 2014-06-24 Wilco <wdijkstr@arm.com>
10411 * sysdeps/arm/feupdateenv.c (feupdateenv):
10412 Rewrite to reduce FPSCR accesses and fix return value.
10414 2014-06-24 Wilco <wdijkstr@arm.com>
10416 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10417 Optimize to avoid unnecessary FPSCR writes.
10418 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10419 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10420 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10421 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10423 2014-06-24 Wilco <wdijkstr@arm.com>
10425 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10426 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10427 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10428 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10429 Call libc_fetestexcept_vfp.
10430 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10431 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10432 __SOFTFP__ ifdef so that they can be built for softfp.
10434 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10436 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10437 argument type signed char.
10439 * Makerules (check-abi): Dump diff of symlist if the test
10442 2014-06-23 Roland McGrath <roland@hack.frob.com>
10444 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10447 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10448 Remove unused variable ST.
10450 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10454 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10455 small arguments before calling __expm1.
10456 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10457 small arguments before calling __expm1f.
10458 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10459 small arguments before calling __expm1l.
10460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10462 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10463 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10464 spurious underflow for some cosh tests.
10465 * math/auto-libm-test-out: Regenerated.
10466 * sysdeps/i386/fpu/libm-test-ulps: Update.
10469 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10470 (__ieee754_y1): Set errno if return value overflows.
10471 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10472 (__ieee754_y1f): Set errno if return value overflows.
10473 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10474 (__ieee754_y1l): Set errno if return value overflows.
10475 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10476 (__ieee754_y1l): Set errno if return value overflows.
10477 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10478 * math/auto-libm-test-out: Regenerated.
10480 * math/gen-auto-libm-tests.c: Document use of
10481 ignore-zero-inf-sign.
10482 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10483 (input_flags): Add ignore-zero-inf-sign.
10484 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10485 * math/gen-libm-test.pl (generate_testfile): Handle
10486 ignore-zero-inf-sign.
10487 * math/auto-libm-test-in: Mark some cpow tests with
10488 ignore-zero-inf-sign and some with xfail-rounding.
10489 * math/auto-libm-test-out: Regenerated.
10490 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10491 * sysdeps/i386/fpu/libm-test-ulps: Update.
10492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10495 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10496 overflowing or underflowing operations take place with sign of
10498 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10499 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10500 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10501 (__ieee754_pow): Recompute overflowing and underflowing results in
10502 original rounding mode.
10503 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10504 (__powl_helper): Allow negative argument X and scale negated value
10505 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10506 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10507 overflowing or underflowing operations take place with sign of
10509 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10511 * math/auto-libm-test-in: Add more tests of pow.
10512 * math/auto-libm-test-out: Regenerated.
10513 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10514 (pow_tonearest_test_data): Remove.
10515 (pow_test_tonearest): Likewise.
10516 (pow_towardzero_test_data): Likewise.
10517 (pow_test_towardzero): Likewise.
10518 (pow_downward_test_data): Likewise.
10519 (pow_test_downward): Likewise.
10520 (pow_upward_test_data): Likewise.
10521 (pow_test_upward): Likewise.
10522 (main): Don't call removed functions.
10523 * sysdeps/i386/fpu/libm-test-ulps: Update.
10524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10526 2014-06-23 Roland McGrath <roland@hack.frob.com>
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10702 2014-06-23 Will Newton <will.newton@linaro.org>
10703 Wilco <wdijkstr@arm.com>
10705 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10706 implementation. Include get-rounding-mode.h.
10707 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10708 [!libc_feholdsetround_noex_ctx]: Define
10709 libc_feholdsetround_noex_ctx.
10710 [!libc_feholdsetround_noexf_ctx]: Define
10711 libc_feholdsetround_noexf_ctx.
10712 [!libc_feholdsetround_noexl_ctx]: Define
10713 libc_feholdsetround_noexl_ctx.
10714 (libc_feholdsetround_ctx): New function.
10715 (libc_feresetround_ctx): New function.
10716 (libc_feholdsetround_noex_ctx): New function.
10717 (libc_feresetround_noex_ctx): New function.
10719 2014-06-23 Roland McGrath <roland@hack.frob.com>
10721 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10722 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10723 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10724 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10725 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10726 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10728 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10729 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10730 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10731 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10732 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10733 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10735 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10736 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10737 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10738 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10740 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10742 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10743 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10744 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10745 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10748 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10749 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10750 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10751 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10752 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10753 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10754 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10755 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10757 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10760 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10762 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10765 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10766 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10767 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10769 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10770 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10771 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10772 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10773 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10774 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10776 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10778 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10779 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10780 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10781 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10782 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10783 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10784 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10785 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10786 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10787 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10788 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10789 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10790 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10792 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10793 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10794 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10796 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10799 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10801 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10802 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10803 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10805 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10806 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10807 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10808 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10809 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10810 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10811 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10812 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10814 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10815 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10816 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10817 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10818 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10820 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10821 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10822 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10823 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10824 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10825 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10826 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10827 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10828 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10829 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10830 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10831 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10832 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10834 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10837 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10838 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10839 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10840 (IPV6_PMTUDISC_INTERFACE): Likewise.
10841 (IPV6_PMTUDISC_OMIT): Likewise.
10843 2014-06-23 Andreas Schwab <schwab@suse.de>
10845 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10846 Remove unused errout label.
10848 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10850 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10851 macro: hardware supports Vector Crypto instructions.
10853 2014-06-23 Will Newton <will.newton@linaro.org>
10855 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10856 rather than __builtin_expect.
10858 * elf/dl-lookup.c (undefined_msg): Remove variable.
10859 (_dl_lookup_symbol_x): Replace undefined_msg with string
10862 * elf/dl-lookup.c (do_lookup_unique): New function.
10863 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10864 to a separate function.
10866 2014-06-23 Andreas Schwab <schwab@suse.de>
10869 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10870 before reading the next line.
10872 2014-06-23 Will Newton <will.newton@linaro.org>
10874 * test-skeleton.c (signal_handler): Use printf and %m
10875 rather than perror. Use printf rather than fprintf to
10876 stderr. Use puts rather than fputs to stderr.
10879 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10881 * nscd/nscd.c (thread_info_t): Remove typedef.
10882 (thread_info): Remove variable.
10884 2014-06-21 Allan McRae <allan@archlinux.org>
10886 * NEWS: Mention CVE-2014-4043.
10888 2014-06-20 Roland McGrath <roland@hack.frob.com>
10890 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10891 * nptl/smp.h: ... here.
10893 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10895 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10896 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10897 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10898 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10900 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10901 * nptl/stack-aliasing.h: New file.
10902 * sysdeps/i386/i686/stack-aliasing.h: New file.
10903 * sysdeps/i386/i686/nptl/Makefile: File removed.
10904 * sysdeps/x86_64/stack-aliasing.h: New file.
10905 * sysdeps/x86_64/nptl/Makefile
10906 (CFLAGS-pthread_create.c): Variable removed.
10908 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10909 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10911 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10912 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10915 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10917 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10918 (__ASSUME_SIGFRAME_V2): Remove macro.
10919 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10920 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10921 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10922 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10923 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10924 Declare as function. Remove conditional macro definitions.
10925 (__default_rt_sa_restorer): Likewise.
10926 (__default_sa_restorer_v1): Remove declaration.
10927 (__default_sa_restorer_v2): Likewise.
10928 (__default_rt_sa_restorer_v1): Likewise.
10929 (__default_rt_sa_restorer_v2): Likewise.
10930 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10931 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10932 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10934 2014-06-20 Roland McGrath <roland@hack.frob.com>
10936 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10937 (libpthread-routines): Add sysdep.
10938 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10939 * sysdeps/unix/sysv/linux/sparc/Versions
10940 (libpthread: GLIBC_2.3.3): New version set.
10941 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10942 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10943 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10944 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10945 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10946 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10948 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10949 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10950 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10951 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10952 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10953 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10954 * sysdeps/sparc/nptl/sem_init.c: ... here.
10955 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10956 * sysdeps/sparc/nptl/sem_post.c: ... here.
10957 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10958 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10959 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10960 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10961 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10962 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10963 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10964 (libpthread-routines): Add cpu_relax.
10965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10967 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10968 (librt: GLIBC_2.3.3): New version set.
10969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10970 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10971 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10972 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10975 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10978 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10980 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10982 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10984 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10986 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10989 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10993 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10997 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11001 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11005 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11009 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11012 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11014 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11018 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11020 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11023 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11025 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11027 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11029 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11031 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11032 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11033 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11034 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11035 * nscd/nscd.c: Likewise.
11036 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11037 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11038 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11039 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11041 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11042 <kernel-features.h>.
11043 (init_mq_netlink): Remove conditional have_sock_cloexec
11044 definitions. Remove code conditional on have_sock_cloexec < 0.
11045 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11046 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11047 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11048 <kernel-features.h>.
11049 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11050 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11052 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11055 Add tests for memset_chk and memset.
11057 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11060 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11063 * elf/tst-dl-iter-static.c: New file.
11064 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11066 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11069 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11071 * sysdeps/unix/sysv/linux/kernel-features.h
11072 (__ASSUME_F_GETOWN_EX): Remove macro.
11073 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11074 <kernel-features.h>.
11075 (miss_F_GETOWN_EX): Remove variable or macro.
11076 (do_fcntl): Do not check miss_F_GETOWN_EX.
11077 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11079 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11082 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11083 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11085 * sysdeps/unix/sysv/linux/kernel-features.h
11086 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11087 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11088 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11089 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11091 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11094 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11095 Fix calculation of the symbol's value.
11096 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11097 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11098 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11099 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11100 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11101 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11102 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11103 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11104 (modules-names): Add `tst-armtlsdescmod',
11105 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11106 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11107 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11108 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11109 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11110 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11111 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11112 ($(objpfx)tst-armtlsdescloc): New dependency.
11113 ($(objpfx)tst-armtlsdescextnow): Likewise.
11114 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11115 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11116 TLS scheme support.
11117 * sysdeps/arm/configure: Regenerate.
11119 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11121 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11122 (__atfct_seterrno_2): Likewise.
11123 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11124 <kernel-features.h>.
11125 (__ASSUME_ATFCTS): Do not undefine and redefine.
11126 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11127 (__have_atfcts): Remove conditional definition.
11128 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11129 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11130 unreachable if [__ASSUME_ATFCTS].
11131 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11132 not undefine and redefine.
11133 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11134 <kernel-features.h>.
11135 (faccessat) [__NR_faccessat]: Make code unconditional.
11136 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11137 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11138 <kernel-features.h>.
11139 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11140 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11141 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11142 <kernel-features.h>.
11143 (fchownat) [__NR_fchownat]: Make code unconditional.
11144 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11145 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11146 <kernel-features.h>.
11147 (futimesat) [__NR_futimesat]: Make code unconditional.
11148 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11149 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11150 <kernel-features.h>.
11151 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11152 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11153 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11154 <kernel-features.h>.
11155 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11156 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11157 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11158 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11159 <kernel-features.h>.
11160 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11161 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11162 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11163 <kernel-features.h>.
11164 (linkat) [__NR_linkat]: Make code unconditional.
11165 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11166 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11167 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11168 <kernel-features.h>.
11169 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11170 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11171 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11172 <kernel-features.h>.
11173 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11174 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11175 * sysdeps/unix/sysv/linux/openat.c: Do not include
11176 <kernel-features.h>.
11177 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11178 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11179 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11180 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11181 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11182 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11183 <kernel-features.h>.
11184 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11185 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11186 result of INLINE_SYSCALL directly, not via int variable.
11187 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11188 <kernel-features.h>.
11189 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11190 (renameat) [__NR_renameat]: Make code unconditional.
11191 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11192 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11193 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11194 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11195 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11196 (__ASSUME_ATFCTS): Do not undefine and redefine.
11197 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11198 <kernel-features.h>.
11199 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11200 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11201 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11202 <kernel-features.h>.
11203 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11204 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11205 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11206 (__ASSUME_ATFCTS): Do not undefine and redefine.
11207 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11208 <kernel-features.h>.
11209 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11210 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11211 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11212 <kernel-features.h>.
11213 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11214 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11216 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11218 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11220 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11223 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11224 constructed tree before returning error.
11225 * posix/bug-regexp36.c: Expand test case.
11227 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11230 * math/libm-test.inc (scalbln_test_date):
11231 Add errno expectations.
11232 * math/w_scalblnf.c: New File.
11233 Add wrapper which checks for setting errno to ERANGE.
11234 Add weak_alias for corresponding scalbln function.
11235 * math/w_scalbln.c: Likewise.
11236 * math/w_scalblnl.c: Likewise.
11237 * math/Makefile (libm-calls): Add w_scalbln.
11238 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11239 Remove weak_alias for corresponding scalbln function.
11240 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11242 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11244 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11245 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11246 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11247 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11248 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11249 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11250 Remove long_double_symbol for scalblnl function in libm, libc.
11251 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11252 Add wrapper which checks for setting errno to ERANGE.
11253 Add long_double_symbol for scalblnl function in libm, libc.
11254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11255 Remove long_double_symbol for scalblnl in libm.
11256 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11257 Add wrapper which checks for setting errno to ERANGE.
11258 Add long_double_symbol for scalblnl function in libm.
11259 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11260 Do not use wrapper because of own implementation.
11262 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11264 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11265 3 bytes for __pad1 for x32.
11266 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11268 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11269 H.J. Lu <hongjiu.lu@intel.com>
11271 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11272 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11273 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11274 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11275 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11277 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11280 * posix/regcomp.c (parse_expression): Deallocate partially
11281 constructed tree before returning error.
11282 * posix/Makefile.c (tests): Add bug-regex36.
11283 (generated): Add bug-regex36.mtrace.
11284 (tests-special): Add $(objpfx)bug-regex36-mem.out
11285 (bug-regex36-ENV): New variable.
11286 ($(objpfx)bug-regex36-mem.out): New rule.
11287 * posix/bug-regex36.c: New file.
11289 2014-06-19 Will Newton <will.newton@linaro.org>
11291 * malloc/malloc.c (systrim): If extra is zero then return
11294 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11296 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11298 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11300 * sysdeps/aarch64/strchr.S: New file.
11302 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11305 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11306 from arguments -2 or below.
11307 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11308 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11310 2014-06-18 Andreas Schwab <schwab@suse.de>
11313 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11314 of a bracket expr not to run off the end of the string.
11315 * posix/Makefile (tests): Add tst-fnmatch3.
11316 * posix/tst-fnmatch3.c: New file.
11318 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11320 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11321 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11322 [$(cross-compiling) = no]: Likewise.
11323 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11324 [$(cross-compiling) = no]: Likewise.
11326 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11329 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11330 double, adjusted for any remainder from the high double.
11331 * math/libm-test.inc (nearbyint): Add tests.
11334 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11336 * nptl/sysdeps/powerpc/Makefile: Moved ...
11337 * sysdeps/powerpc/nptl/Makefile: ... here.
11338 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11339 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11340 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11341 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11342 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11343 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11344 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11345 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11346 * nptl/sysdeps/powerpc/tls.h: Moved ...
11347 * sysdeps/powerpc/nptl/tls.h: ... here.
11349 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11352 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11353 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11354 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11355 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11356 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11357 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11358 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11359 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11360 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11362 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11364 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11366 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11368 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11371 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11374 2014-06-16 Florian Weimer <fweimer@redhat.com>
11377 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11378 non-executed part of the test.
11380 2014-06-16 Andreas Schwab <schwab@suse.de>
11382 * string/bits/string2.h (strdup, strndup): Update feature guard.
11384 2014-06-14 David S. Miller <davem@davemloft.net>
11386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11388 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11390 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11391 that was previously under [RESET_PID].
11392 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11394 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11395 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11396 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11397 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11398 (__libc_vfork): New strong alias.
11399 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11401 2014-06-14 Andi Kleen <ak@linux.intel.com>
11403 * sysdeps/generic/elide.h: New file.
11405 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11407 * Makefile (installed-headers): Adjust path of pthread.h header.
11409 2014-06-13 Roland McGrath <roland@hack.frob.com>
11411 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11412 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11413 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11414 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11416 * nptl/sysdeps/s390/Makefile: Moved ...
11417 * sysdeps/s390/nptl/Makefile: ... here.
11418 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11419 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11420 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11421 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11422 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11423 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11424 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11425 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11426 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11427 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11428 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11429 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11430 * nptl/sysdeps/s390/tls.h: Moved ...
11431 * sysdeps/s390/nptl/tls.h: ... here.
11433 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11434 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11436 2014-06-13 David S. Miller <davem@davemloft.net>
11438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11441 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11445 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11446 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11447 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11448 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11449 Remove RESET_PID cpp guards.
11450 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11451 Remove RESET_PID cpp guards.
11452 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11454 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11456 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11459 2014-06-13 Andi Kleen <ak@linux.intel.com>
11461 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11462 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11463 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11464 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11465 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11466 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11467 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11468 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11469 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11470 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11471 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11472 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11474 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11475 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11476 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11477 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11478 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11479 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11480 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11482 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11483 (pthread_rwlock_rdlock): Add elision.
11484 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11485 (pthread_rwlock_wrlock): Add elision.
11486 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11487 (pthread_rwlock_trywrlock): Add elision.
11488 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11489 (pthread_rwlock_tryrdlock): Add elision.
11490 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11491 (pthread_rwlock_tryrdlock): Add elision unlock.
11492 * nptl/sysdeps/pthread/pthread.h:
11493 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11494 (PTHREAD_RWLOCK_INITIALIZER,
11495 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11496 Handle new elision field.
11497 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11498 * sysdeps/arm/nptl/bits/pthreadtypes.h
11499 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11500 * sysdeps/sh/nptl/bits/pthreadtypes.h
11501 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11502 * sysdeps/tile/nptl/bits/pthreadtypes.h
11503 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11504 * sysdeps/a/nptl/bits/pthreadtypes.h
11505 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11506 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11507 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11508 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11509 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11510 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11511 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11512 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11514 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11516 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11518 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11520 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11522 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11523 (elision_init): Set try_xbegin to zero when no RTM.
11524 * sysdeps/x86/nptl/bits/pthreadtypes.h
11525 (pthread_rwlock_t): Change __pad1 to __rwelision.
11526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11528 2014-06-13 Andi Kleen <ak@linux.intel.com>
11530 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11531 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11532 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11533 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11535 2014-06-13 Meador Inge <meadori@codesourcery.com>
11538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11539 that the cached result has been set before returning it.
11541 2014-06-12 Roland McGrath <roland@hack.frob.com>
11543 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11544 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11545 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11546 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11547 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11548 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11550 * nptl/sysdeps/sparc/Makefile: Moved ...
11551 * sysdeps/sparc/nptl/Makefile: ... here.
11552 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11553 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11554 * nptl/sysdeps/sparc/tls.h: Moved ...
11555 * sysdeps/sparc/nptl/tls.h: ... here.
11556 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11557 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11558 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11559 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11560 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11561 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11562 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11563 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11564 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11565 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11566 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11567 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11568 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11569 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11570 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11571 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11572 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11573 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11575 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11576 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11578 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11579 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11581 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11582 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11585 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11587 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11588 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11590 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11591 (struct list_links): Type removed.
11592 (struct thread_node, struct timer_node): Replace struct list_links
11593 with struct list_head.
11594 (list_unlink_ip): Likewise.
11595 * sysdeps/pthread/timer_routines.c
11596 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11597 (list_append, list_insbefore): Likewise.
11598 (list_init): Function removed.
11599 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11600 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11601 * sysdeps/pthread/Makefile: ... here, new file.
11603 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11604 * sysdeps/nptl/Implies: ... here.
11605 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11606 * nptl/sysdeps/pthread/list.h: Moved ...
11607 * include/list.h: ... here.
11608 * nptl/sysdeps/pthread/createthread.c: Moved ...
11609 * nptl/createthread.c: ... here.
11610 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11611 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11612 * nptl/pt-longjmp.c: ... here.
11613 * nptl/sysdeps/pthread/Makefile: Moved ...
11614 * sysdeps/nptl/Makefile: ... here.
11615 * nptl/sysdeps/pthread/Subdirs: Moved ...
11616 * sysdeps/nptl/Subdirs: ... here.
11617 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11618 * sysdeps/nptl/aio_misc.h: ... here.
11619 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11620 * sysdeps/nptl/bits/libc-lock.h: ... here.
11621 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11622 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11623 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11624 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11625 * nptl/sysdeps/pthread/configure: Moved ...
11626 * sysdeps/nptl/configure: ... here.
11627 * nptl/sysdeps/pthread/configure.ac: Moved ...
11628 * sysdeps/nptl/configure.ac: ... here.
11629 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11630 * sysdeps/nptl/gai_misc.h: ... here.
11631 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11632 * sysdeps/nptl/librt-cancellation.c: ... here.
11633 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11634 * sysdeps/nptl/malloc-machine.h: ... here.
11635 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11636 * sysdeps/nptl/pthread-functions.h: ... here.
11637 * nptl/sysdeps/pthread/pthread.h: Moved ...
11638 * sysdeps/nptl/pthread.h: ... here.
11639 * nptl/sysdeps/pthread/setxid.h: Moved ...
11640 * sysdeps/nptl/setxid.h: ... here.
11641 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11642 * sysdeps/nptl/sigfillset.c: ... here.
11643 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11644 * sysdeps/nptl/tcb-offsets.h: ... here.
11645 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11646 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11647 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11648 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11649 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11650 * sysdeps/pthread/allocalim.h: ... here.
11651 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11652 * sysdeps/pthread/bits/sigthread.h: ... here.
11653 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11654 * sysdeps/pthread/flockfile.c: ... here.
11655 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11656 * sysdeps/pthread/ftrylockfile.c: ... here.
11657 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11658 * sysdeps/pthread/funlockfile.c: ... here.
11659 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11660 * sysdeps/pthread/posix-timer.h: ... here.
11661 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11662 * sysdeps/pthread/timer_create.c: ... here.
11663 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11664 * sysdeps/pthread/timer_delete.c: ... here.
11665 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11666 * sysdeps/pthread/timer_getoverr.c: ... here.
11667 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11668 * sysdeps/pthread/timer_gettime.c: ... here.
11669 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11670 * sysdeps/pthread/timer_routines.c: ... here.
11671 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11672 * sysdeps/pthread/timer_settime.c: ... here.
11673 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11674 * sysdeps/pthread/tst-timer.c: ... here.
11675 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11676 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11678 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11679 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11681 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11682 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11683 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11684 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11685 Update #include target.
11686 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11687 * sysdeps/i386/i686/nptl/Makefile: ... here.
11688 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11689 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11690 Update #include target.
11691 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11692 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11693 * nptl/sysdeps/i386/Makefile: Moved ...
11694 * sysdeps/i386/nptl/Makefile: ... here.
11695 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11696 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11697 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11698 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11699 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11700 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11701 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11702 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11703 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11704 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11705 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11706 * nptl/sysdeps/i386/tls.h: Moved ...
11707 * sysdeps/i386/nptl/tls.h: ... here.
11709 * sysdeps/sh/Makefile [$(subdir) = csu]
11710 (gen-as-const-headers): Add tcb-offsets.sym.
11711 * nptl/sysdeps/sh/Makefile: File removed.
11712 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11713 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11714 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11715 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11716 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11717 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11718 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11719 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11720 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11721 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11722 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11723 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11724 * nptl/sysdeps/sh/tls.h: Moved ...
11725 * sysdeps/sh/nptl/tls.h: ... here.
11726 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11727 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11728 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11729 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11730 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11731 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11732 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11733 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11734 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11735 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11736 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11737 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11738 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11739 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11740 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11741 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11742 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11743 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11744 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11745 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11746 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11747 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11748 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11749 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11750 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11752 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11753 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11755 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11757 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11759 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11760 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11761 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11762 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11763 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11764 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11765 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11766 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11767 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11768 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11769 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11770 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11771 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11772 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11773 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11775 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11777 * posix/spawn_faction_addopen.c: Include string.h.
11779 2014-06-11 Roland McGrath <roland@hack.frob.com>
11781 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11782 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11783 * nptl/sysdeps/x86_64/Makefile: Moved ...
11784 * sysdeps/x86_64/nptl/Makefile: ... here.
11785 * nptl/sysdeps/x86_64/configure: Moved ...
11786 * sysdeps/x86_64/nptl/configure: ... here.
11787 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11788 * sysdeps/x86_64/nptl/configure.ac: ... here.
11789 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11790 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11791 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11792 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11793 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11794 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11795 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11796 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11797 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11798 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11799 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11800 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11801 * nptl/sysdeps/x86_64/tls.h: Moved ...
11802 * sysdeps/x86_64/nptl/tls.h: ... here.
11803 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11804 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11805 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11806 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11808 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11810 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11814 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11816 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11818 [POSIX] (off_t): Likewise.
11819 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11820 [POSIX] (S_ISBLK): Require macro.
11821 [POSIX] (S_ISCHR): Likewise.
11822 [POSIX] (S_ISDIR): Likewise.
11823 [POSIX] (S_ISFIFO): Likewise.
11824 [POSIX] (S_ISREG): Likewise.
11825 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11827 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11829 [POSIX] (time_t): Likewise.
11830 [POSIX] (timer_t): Likewise.
11832 2014-06-11 Florian Weimer <fweimer@redhat.com>
11835 * posix/spawn_int.h (struct __spawn_action): Make the path string
11836 non-const to support deallocation.
11837 * posix/spawn_faction_addopen.c
11838 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11839 * posix/spawn_faction_destroy.c
11840 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11841 path in all spawn_do_open actions.
11842 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11843 posix_spawn_file_actions_addopen.
11845 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11847 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11848 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11849 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11850 conditional code always true.
11851 (__libc_vfork): New alias.
11853 2014-06-11 Roland McGrath <roland@hack.frob.com>
11855 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11856 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11858 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11860 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11861 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11863 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11864 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11866 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11867 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11869 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11871 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11872 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11873 multiarch strcmp for PPC64.
11874 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11875 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11877 multiarch optimizations.
11878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11879 (__libc_ifunc_impl_list): Likewise.
11881 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11883 * benchtests/scripts/validate_benchout.py: New script.
11884 * benchtests/Makefile (bench-func): Call it.
11885 * benchtests/scripts/benchout.schema.json: New file.
11887 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11889 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11890 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11891 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11892 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11893 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11894 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11895 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11896 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11897 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11898 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11899 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11900 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11901 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11902 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11903 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11904 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12008 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12009 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12010 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12011 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12012 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12014 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12016 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12017 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12018 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12019 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12020 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12021 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12023 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12024 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12025 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12026 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12027 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12028 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12030 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12031 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12033 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12035 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12038 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12040 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12041 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12042 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12043 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12044 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12046 2014-06-10 Wilco <wdijkstr@arm.com>
12048 * math/test-fenv-return.c: New file.
12049 * math/Makefile: Add new test test-fenv-return.
12051 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12054 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12055 when x - 1 is zero.
12056 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12057 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12058 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12059 0.0L for an argument of 1.0L.
12060 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12062 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12063 value when x - 1 is zero.
12064 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12065 * sysdeps/i386/fpu/libm-test-ulps: Update.
12066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12068 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12071 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12073 2014-06-09 Roland McGrath <roland@hack.frob.com>
12075 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12076 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12078 2014-06-09 Roland McGrath <roland@hack.frob.com>
12080 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12081 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12083 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12084 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12086 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12087 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12089 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12090 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12092 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12093 if not already defined.
12094 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12095 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12096 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12097 (TLS_INIT_TP): Use it.
12098 (TLS_DEFINE_INIT_TP): New macro.
12099 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12101 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12103 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12105 [POSIX] (IXANY): Likewise.
12106 [POSIX] (OLCUC): Likewise.
12107 [POSIX || POSIX2008] (CBAUD): Do not allow.
12108 [POSIX || POSIX2008] (DEFECHO): Likewise.
12109 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12110 [POSIX || POSIX2008] (ECHOKE): Likewise.
12111 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12112 [POSIX || POSIX2008] (EXTA): Likewise.
12113 [POSIX || POSIX2008] (EXTB): Likewise.
12114 [POSIX || POSIX2008] (FLUSHO): Likewise.
12115 [POSIX || POSIX2008] (LOBLK): Likewise.
12116 [POSIX || POSIX2008] (PENDIN): Likewise.
12117 [POSIX || POSIX2008] (SWTCH): Likewise.
12118 [POSIX || POSIX2008] (VDISCARD): Likewise.
12119 [POSIX || POSIX2008] (VDSUSP): Likewise.
12120 [POSIX || POSIX2008] (VLNEXT): Likewise.
12121 [POSIX || POSIX2008] (VREPRINT): Likewise.
12122 [POSIX || POSIX2008] (VSTATUS): Likewise.
12123 [POSIX || POSIX2008] (VWERASE): Likewise.
12124 (B*): Change to B[0123456789]*.
12125 * conform/data/time.h-data [POSIX || UNIX98]
12126 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12127 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12128 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12129 [POSIX] (tm_*): Do not allow.
12131 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12133 * Makefile (install): Don't set LANGUAGE.
12134 * Makefile.in (install): Likewise.
12135 * assert/Makefile (test-assert-ENV): Remove variable.
12136 (test-assert-perr-ENV): Likewise.
12137 * elf/Makefile (neededtest4-ENV): Likewise.
12138 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12139 [$(cross-compiling) = no]: Don't set LANGUAGE.
12140 * io/ftwtest-sh (LANG): Remove variable.
12141 * libio/Makefile (tst-widetext-ENV): Likewise.
12142 * manual/install.texi (Running make install): Don't refer to
12143 environment settings for make install.
12144 * INSTALL: Regenerated.
12145 * nptl/tst-tls6.sh: Don't set LANG.
12146 * posix/globtest.sh (LANG): Remove variable.
12147 * string/Makefile (tester-ENV): Likewise.
12148 (inl-tester-ENV): Likewise.
12149 (noinl-tester-ENV): Likewise.
12150 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12151 [$(cross-compiling) = no]: Don't set LANGUAGE.
12152 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12153 without explicit environment settings.
12155 2014-06-06 Roland McGrath <roland@hack.frob.com>
12157 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12158 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12159 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12160 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12162 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12164 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12165 other files in the crypt directory.
12166 * crypt/crypt.c: Remove duplicate includes.
12167 * crypt/crypt-entry.c: Likewise.
12168 * crypt/crypt_util.c: Likewise.
12170 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12172 * Makeconfig (run-program-env): New variable.
12173 (run-program-prefix-before-env): Likewise.
12174 (run-program-prefix-after-env): Likewise.
12175 (run-program-prefix): Define in terms of new variables.
12176 (built-program-cmd-before-env): New variable.
12177 (built-program-cmd-after-env): Likewise.
12178 (built-program-cmd): Define in terms of new variables.
12179 (test-program-prefix-before-env): New variable.
12180 (test-program-prefix-after-env): Likewise.
12181 (test-program-prefix): Define in terms of new variables.
12182 (test-program-cmd-before-env): New variable.
12183 (test-program-cmd-after-env): Likewise.
12184 (test-program-cmd): Define in terms of new variables.
12185 * Rules (make-test-out): Use $(run-program-env).
12186 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12187 (help): Do not mention environment variables. Mention
12188 --timeoutfactor option.
12189 (timeoutfactor): New variable.
12190 (blacklist_exports): Remove function.
12191 (exports): Remove variable.
12192 (command): Do not include ${exports}.
12193 * manual/install.texi (Configuring and compiling): Do not mention
12194 test wrappers preserving environment variables. Mention that last
12195 assignment to a variable must take precedence.
12196 * INSTALL: Regenerated.
12197 * benchtests/Makefile (run-bench): Use $(run-program-env).
12198 * catgets/Makefile ($(objpfx)test1.cat): Use
12199 $(built-program-cmd-before-env), $(run-program-env) and
12200 $(built-program-cmd-after-env).
12201 ($(objpfx)test2.cat): Do not specify environment variables
12203 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12204 $(run-program-env) and $(built-program-cmd-after-env).
12205 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12206 $(run-program-env) and $(test-program-cmd-after-env).
12207 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12209 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12210 run_program_env and test_program_cmd_after_env arguments.
12211 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12212 * elf/tst-pathopt.sh: Use run_program_env argument.
12213 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12214 $(test-wrapper-env) and $(run-program-env).
12215 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12216 run_program_env arguments.
12217 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12218 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12219 $(test-program-prefix-before-env), $(run-program-env) and
12220 $(test-program-prefix-after-env).
12221 ($(objpfx)tst-gettext2.out): Likewise.
12222 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12223 run_program_env and test_program_prefix_after_env arguments.
12224 * intl/tst-gettext2.sh: Likewise.
12225 * intl/tst-gettext4.sh: Do not set environment variables
12227 * intl/tst-gettext6.sh: Likewise.
12228 * intl/tst-translit.sh: Likewise.
12229 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12230 $(test-program-prefix-before-env), $(run-program-env) and
12231 $(test-program-prefix-after-env).
12232 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12233 run_program_env and test_program_prefix_after_env arguments.
12234 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12235 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12236 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12237 explicitly with each use of ${test_wrapper_env}.
12238 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12239 $(test-program-prefix-before-env), $(run-program-env) and
12240 $(test-program-prefix-after-env).
12241 * posix/tst-getconf.sh: Do not set environment variables
12243 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12244 run_program_env and test_program_prefix_after_env arguments.
12245 * stdio-common/tst-printf.sh: Do not set environment variables
12247 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12248 $(test-program-prefix-before-env), $(run-program-env) and
12249 $(test-program-prefix-after-env).
12250 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12251 run_program_env and test_program_prefix_after_env arguments.
12252 Split $test calls into $test_pre and $test.
12253 * timezone/Makefile (build-testdata): Use
12254 $(built-program-cmd-before-env), $(run-program-env) and
12255 $(built-program-cmd-after-env).
12257 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12259 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12260 strlen for non SHARED builds.
12262 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12264 * nptl/allocatestack.c (check_list): Inlined function...
12265 (__reclaim_stacks): ... here.
12267 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12270 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12273 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12275 * Rules (make-test-out): Include
12276 LOCPATH=$(common-objpfx)localedata in default environment.
12277 * debug/Makefile (tst-chk1-ENV): Remove variable.
12278 (tst-chk2-ENV): Likewise.
12279 (tst-chk3-ENV): Likewise.
12280 (tst-chk4-ENV): Likewise.
12281 (tst-chk5-ENV): Likewise.
12282 (tst-chk6-ENV): Likewise.
12283 (tst-lfschk1-ENV): Likewise.
12284 (tst-lfschk2-ENV): Likewise.
12285 (tst-lfschk3-ENV): Likewise.
12286 (tst-lfschk4-ENV): Likewise.
12287 (tst-lfschk5-ENV): Likewise.
12288 (tst-lfschk6-ENV): Likewise.
12289 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12290 (tst-iconv7-ENV): Likewise.
12291 * intl/Makefile (LOCPATH-ENV): Likewise.
12292 (tst-codeset-ENV): Likewise.
12293 (tst-gettext3-ENV): Likewise.
12294 (tst-gettext5-ENV): Likewise.
12295 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12296 (tst-fopenloc-ENV): Likewise.
12297 (tst-fgetws-ENV): Remove variable.
12298 (tst-ungetwc1-ENV): Likewise.
12299 (tst-ungetwc2-ENV): Likewise.
12300 (bug-ungetwc2-ENV): Likewise.
12301 (tst-swscanf-ENV): Likewise.
12302 (bug-ftell-ENV): Likewise.
12303 (tst-fgetwc-ENV): Likewise.
12304 (tst-fseek-ENV): Likewise.
12305 (tst-ftell-partial-wide-ENV): Likewise.
12306 (tst-ftell-active-handler-ENV): Likewise.
12307 (tst-ftell-append-ENV): Likewise.
12308 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12309 (tst-regexloc-ENV): Likewise.
12310 (bug-regex1-ENV): Likewise.
12311 (tst-regex-ENV): Likewise.
12312 (tst-regex2-ENV): Likewise.
12313 (bug-regex5-ENV): Likewise.
12314 (bug-regex6-ENV): Likewise.
12315 (bug-regex17-ENV): Likewise.
12316 (bug-regex18-ENV): Likewise.
12317 (bug-regex19-ENV): Likewise.
12318 (bug-regex20-ENV): Likewise.
12319 (bug-regex22-ENV): Likewise.
12320 (bug-regex23-ENV): Likewise.
12321 (bug-regex25-ENV): Likewise.
12322 (bug-regex26-ENV): Likewise.
12323 (bug-regex30-ENV): Likewise.
12324 (bug-regex32-ENV): Likewise.
12325 (bug-regex33-ENV): Likewise.
12326 (bug-regex34-ENV): Likewise.
12327 (bug-regex35-ENV): Likewise.
12328 (tst-rxspencer-ENV): Likewise.
12329 (tst-rxspencer-no-utf8-ENV): Likewise.
12330 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12331 (tst-sscanf-ENV): Likewise.
12332 (tst-swprintf-ENV): Likewise.
12333 (tst-swscanf-ENV): Likewise.
12334 (test-vfprintf-ENV): Likewise.
12335 (scanf13-ENV): Likewise.
12336 (bug14-ENV): Likewise.
12337 (tst-grouping-ENV): Likewise.
12338 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12339 (tst-strtod3-ENV): Likewise.
12340 (tst-strtod4-ENV): Likewise.
12341 (tst-strtod5-ENV): Likewise.
12342 (testmb2-ENV): Likewise./
12343 * string/Makefile (tst-strxfrm-ENV): Likewise.
12344 (tst-strxfrm2-ENV): Likewise.
12345 (bug-strcoll1-ENV): Likewise.
12346 (test-strcasecmp-ENV): Likewise.
12347 (test-strncasecmp-ENV): Likewise.
12348 * time/Makefile (tst-strptime-ENV): Likewise.
12349 (tst-ftime_l-ENV): Likewise.
12350 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12351 (tst-mbrtowc-ENV): Likewise.
12352 (tst-wcrtomb-ENV): Likewise.
12353 (tst-mbrtowc2-ENV): Likewise.
12354 (tst-c16c32-1-ENV): Likewise.
12355 (tst-mbsnrtowcs-ENV): Likewise.
12357 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12359 * manual/resource.texi (How to get information about the memory
12360 subsystem?): Fix typo.
12361 Reported by Peon de la Parra Ivan <peon@keba.com>
12363 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12366 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12367 (pthread_spin_lock): Branch out of spin loop to proper location.
12368 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12369 (pthread_spin_lock): Likewise.
12371 * nptl/tst-spin4.c: New test.
12372 * nptl/Makefile (tests): Add tst-spin4.
12374 2014-06-03 Andreas Schwab <schwab@suse.de>
12377 * resolv/res_send.c (send_dg): Reload file descriptor after
12380 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12382 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12384 2014-06-03 Richard Henderson <rth@redhat.com>
12386 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12387 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12388 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12389 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12390 in the SAVE_PID block.
12391 (__libc_vfork): New alias.
12392 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12394 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12395 child in registers, not on the stack. Remove RESET_PID conditionals.
12396 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12398 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12400 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12402 2014-06-03 Wilco <wdijkstr@arm.com>
12404 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12405 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12406 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12407 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12408 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12411 2014-06-03 Wilco <wdijkstr@arm.com>
12413 * sysdeps/aarch64/fpu/math_private.h
12414 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12415 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12416 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12417 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12420 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12422 * crypt/crypt-private.h: Include ufc-crypt.h.
12423 (__b64_from_24bit): Declare extern.
12424 * crypt/crypt_util.c(__b64_from_24bit): New function.
12425 (b64t): New static const variable.
12426 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12427 (b64t): Remove variable.
12428 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12429 * crypt/sha256-crypt.c: Include crypt-private.h.
12430 (b64t): Remove variable.
12431 (__sha256_crypt_r): Remove b64_from_24bit and replace
12432 with __b64_from_24bit.
12433 * crypt/sha512-crypt.c: Likewise.
12435 2014-06-02 Roland McGrath <roland@hack.frob.com>
12437 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12438 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12439 Label the code __libc_vfork rather than __vfork.
12440 [!NOT_IN_libc] (vfork): Define as weak alias.
12441 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12442 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12443 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12445 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12447 * malloc/malloc.c (malloc_info): Fix format specifier for
12450 2014-06-02 Wilco <wdijkstr@arm.com>
12452 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12455 2014-06-02 Wilco <wdijkstr@arm.com>
12458 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12459 Rewrite to reduce FPCR/FPSR accesses.
12461 2014-06-01 David S. Miller <davem@davemloft.net>
12463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12465 2014-05-31 David S. Miller <davem@davemloft.net>
12467 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12468 to occur in round to nearest mode when |x| >= 2.0
12470 2014-05-30 Richard Henderson <rth@twiddle.net>
12472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12473 (PSEUDO_RET_NOERRNO): Remove.
12474 (ret): Don't redefine.
12475 (ret_NOERRNO): Define in terms of ret.
12476 (ret_ERRVAL): Likewise.
12478 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12479 use of PSEUDO_RET; perform the error check directly.
12481 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12483 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12486 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12488 * malloc/malloc (malloc_info): Fix formatting.
12490 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12491 Roland McGrath <roland@hack.frob.com>
12493 * malloc/malloc (malloc_info): Also print mmapped statistics.
12495 2014-05-30 Roland McGrath <roland@hack.frob.com>
12497 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12498 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12500 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12502 * malloc/malloc.c (malloc_info): Inline mi_arena.
12504 2014-05-29 Richard Henderson <rth@twiddle.net>
12506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12507 Remove comma before expanding ASM_ARGS_##nr.
12508 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12509 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12511 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12512 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12513 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12514 (ASM_ARGS_1): Add leading comma.
12516 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12517 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12518 to __errno_location.
12519 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12520 Remove the expected plt for __errno_location.
12522 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12523 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12526 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12527 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12528 it and break it down.
12529 (DOCARGS_0, DOCARGS_1): Do nothing.
12530 (DOCARGS_2): Update to store into the new stack frame.
12531 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12532 (UNDOCARGS_1): Update to restore from the new stack frame.
12533 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12534 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12537 (SINGLE_THREAD_P): New parameter for result regno.
12538 (PSEUDO): Update to match; use cbz instead of beq.
12540 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12541 Use ENTRY to define the _nocancel entry point. Share the syscall
12542 and syscall error check paths with the cancel path.
12545 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12546 whitespace; tabs before and after asm mnemonics.
12548 2014-05-29 Eric Wong <normalperson@yhbt.net>
12551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12552 Call fstat64 or stat64 internally, depending on arguments passed.
12553 Replace stat buffer argument with file descriptor argument.
12554 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12555 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12556 Pass fd to __internal_statvfs instead of calling fstat64.
12557 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12558 Pass fd to __internal_statvfs64 instead of calling fstat64.
12559 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12560 Pass -1 to __internal_statvfs instead of calling stat64.
12561 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12562 Pass -1 to __internal_statvfs64 instead of calling stat64.
12564 2014-05-28 Roland McGrath <roland@hack.frob.com>
12566 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12567 that was previously under [RESET_PID].
12568 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12570 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12571 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12573 2014-05-27 Roland McGrath <roland@hack.frob.com>
12575 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12577 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12578 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12580 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12582 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12584 2014-05-27 Andreas Schwab <schwab@suse.de>
12586 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12588 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12589 * elf/rtld.c (init_tls, dl_main): Likewise.
12590 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12591 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12592 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12593 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12594 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12595 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12596 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12597 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12598 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12599 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12600 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12601 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12602 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12603 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12604 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12605 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12606 * sysdeps/generic/tls.h: Update description.
12608 2014-05-27 Will Newton <will.newton@linaro.org>
12611 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12612 and restore r2 rather than just restoring.
12614 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12617 * libio/tst-ftell-append.c: New test case.
12618 * libio/Makefile (tests): Add test case.
12619 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12621 * libio/wfileops.c (do_ftell_wide): Likewise.
12623 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12627 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12631 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12632 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12634 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12635 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12636 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12640 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12643 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12644 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12645 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12646 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12647 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12649 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12650 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12652 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12654 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12656 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12657 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12658 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12660 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12661 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12662 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12663 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12665 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12668 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12674 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12678 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12686 conditional [RESET_PID].
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12695 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12696 (__libc_vfork): New strong alias.
12697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12699 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12704 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12705 (__libc_vfork): New strong alias.
12706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12711 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12713 * malloc/malloc.c (mi_arena): New function.
12714 (malloc_info): Remove nested function mi_arena. Call non-nosted
12717 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12719 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12721 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12722 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12723 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12724 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12725 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12726 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12727 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12729 2014-05-26 Andreas Schwab <schwab@suse.de>
12732 * locale/programs/repertoire.c (repertoire_read): Add slash
12733 between I18NPATH element and file name.
12734 * locale/programs/locfile.c (locfile_read): Likewise.
12736 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12738 * nptl/pthread_mutexattr_settype.c
12739 (__pthread_mutexattr_settype):
12740 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12742 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12744 * nptl/tst-mutex5 (do_test):
12745 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12747 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12749 * benchtests/README: Document 'init' directive.
12750 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12752 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12753 (parse_file): Recognize 'init' directive.
12755 2014-05-26 Kyle McMartin <kyle@redhat.com>
12758 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12759 alignment of struct pthread.
12761 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12764 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12765 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12766 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12767 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12769 2014-05-25 Richard Henderson <rth@twiddle.net>
12771 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12772 (SINGLE_THREAD_P_PIC): Remove.
12773 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12774 (SINGLE_THREAD_P_PIC): Remove.
12776 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12777 branch to syscall error ...
12778 (PSEUDO): ... here.
12779 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12780 from __local_syscall_error to .Lsyscall_error.
12781 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12782 (SYSCALL_ERROR): Update label name.
12784 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12785 Do not use DOARGS/UNDOARGS.
12786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12787 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12788 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12789 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12790 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12792 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12795 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12796 define if !NOT_IN_libc.
12797 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12798 define with non-default symbol versions.
12800 2014-05-23 Richard Henderson <rth@twiddle.net>
12802 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12803 (vfork, __vfork): Define via compat_symbol.
12805 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12806 [!HAVE_IFUNC] (vfork_compat): Remove.
12807 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12809 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12812 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12813 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12816 2014-05-23 Richard Henderson <rth@twiddle.net>
12818 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12819 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12820 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12821 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12823 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12824 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12825 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12826 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12827 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12828 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12829 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12830 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12831 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12832 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12833 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12834 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12835 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12836 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12837 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12838 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12839 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12840 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12841 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12842 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12843 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12844 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12845 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12846 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12847 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12848 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12849 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12850 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12852 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12853 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12854 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12855 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12856 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12857 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12858 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12859 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12860 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12861 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12862 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12863 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12864 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12865 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12866 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12867 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12868 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12869 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12870 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12871 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12872 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12873 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12874 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12875 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12876 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12877 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12878 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12880 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12881 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12882 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12883 before exiting on error.
12884 (__libc_vfork): New strong alias.
12885 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12886 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12888 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12889 that was previously under [RESET_PID].
12890 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12892 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12894 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12897 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12898 value when x - 1 is zero.
12899 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12900 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12901 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12902 0.0L for an argument of 1.0L.
12903 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12905 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12906 value when x - 1 is zero.
12907 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12908 * sysdeps/i386/fpu/libm-test-ulps: Update.
12909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12911 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12913 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12914 alphasort and versionsort.
12916 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12918 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12920 [copysignf]: Likewise.
12922 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12924 * crypt/md5-crypt.c: Fix formatting.
12926 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12928 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12929 (b64_from_24bit): New function.
12931 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12933 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12934 libc_hidden_builtin_def to ifunc.
12935 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12936 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12938 2014-05-21 Roland McGrath <roland@hack.frob.com>
12940 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12941 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12943 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12945 * nscd/Depend (linuxthreads): Remove.
12947 * resolv/Depend (linuxthreads): Remove.
12948 * rt/Depend (linuxthreads): Remove.
12950 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12951 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12952 $(common-objpfx)elf/.
12953 (link-libc-before-gnulib): Likewise.
12954 (elfobjdir): Remove variable.
12955 * Makefile (install): Use $(elf-objpfx) instead of
12956 $(common-objpfx)elf/.
12957 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12959 (link-libc-deps): Likewise.
12960 ($(common-objpfx)libc.so): Likewise.
12961 ($(common-objpfx)linkobj/libc.so): Likewise.
12962 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12963 instead of $(common-objpfx)elf/.
12964 (symbolic-link-list): Likewise.
12965 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12966 [$(cross-compiling) = no]: Likewise.
12967 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12969 (static-gnulib-arch): Likewise.
12970 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12971 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12972 $(common-objpfx)elf/.
12974 2014-05-21 Richard Henderson <rth@redhat.com>
12976 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12977 (SINGLE_THREAD_P): Use the correct width load. Fold
12978 into the ldr offset.
12980 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12981 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12983 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12985 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12986 (libgcc_s_resume): Use __attribute_used__.
12987 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12990 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12992 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12993 optimization when used with float constants.
12995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12997 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13000 * locale/nl_langinfo_l.c: Make direct reference to every
13001 _nl_current_CATEGORY symbol.
13002 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13003 (tests-static): Add tst-langinfo-static.
13004 (tests-special): Add tst-langinfo-static.out.
13005 ($(objpfx)tst-langinfo.out): Redirect output.
13006 ($(objpfx)tst-langinfo-static.out): New.
13007 * localedata/tst-langinfo.sh: Send output to stdout.
13008 * localedata/tst-langinfo-static.c: New file.
13011 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13012 when the shift amount is modulo the limb size.
13014 2014-05-20 Richard Henderson <rth@redhat.com>
13017 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13018 Change type of sa_flags from unsigned int to int.
13021 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13023 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13025 2014-05-20 Will Newton <will.newton@linaro.org>
13027 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13028 Test the return value of the system call in the nocancel case.
13030 2014-05-20 Will Newton <will.newton@linaro.org>
13031 Yvan Roux <yvan.roux@linaro.org>
13033 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13034 #include of asm/ptrace.h.
13035 (PTRACE_GET_THREAD_AREA): Remove #undef.
13036 (PTRACE_GETHBPREGS): Likewise.
13037 (PTRACE_SETHBPREGS): Likewise.
13038 (struct user_regs_struct): New structure.
13039 (struct user_fpsimd_struct): New structure.
13040 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13041 #include of asm/ptrace.h and second #include of sys/user.h.
13042 (PTRACE_GET_THREAD_AREA): Remove #undef.
13043 (PTRACE_GETHBPREGS): Likewise.
13044 (PTRACE_SETHBPREGS): Likewise.
13045 (ELF_NGREG): Use new struct user_regs_struct.
13046 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13048 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13050 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13053 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13056 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13057 membar to avoid block loads/stores to overlap previous stores.
13059 2014-05-17 Richard Henderson <rth@redhat.com>
13061 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13062 Create the __##syscall_name##_nocancel entry point.
13063 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13064 Remove; let the sysdep-cancel.h code create it.
13066 2014-05-17 David S. Miller <davem@davemloft.net>
13068 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13069 Protect with __USE_GNU.
13070 (TIOCSET_TEMPT): Likewise.
13071 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13072 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13073 these are already provided in bits/ioctl-types.h
13075 2014-05-16 Roland McGrath <roland@hack.frob.com>
13077 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13078 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13080 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13081 Use wait4 regardless of [__NR_waitpid].
13083 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13086 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13087 (_FP_NANSIGN_Q): Set the quiet bit.
13089 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13091 * benchtests/Makefile
13092 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13093 not $(common-objpfx)math/libm.so.
13094 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13095 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13096 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13097 $(common-objpfx)dlfcn/libdl.so.
13098 ($(objpfx)tst-audit8): Depend on $(libm), not
13099 $(common-objpfx)math/libm.so.
13100 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13101 not $(common-objpfx)dlfcn/libdl.so.
13103 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13104 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13105 [$(build-shared) = yes].
13106 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13107 $(common-objpfx)nptl/libpthread.so.
13108 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13109 $(common-objpfx)math/libm.so$(libm.so-version) or
13110 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13111 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13112 $(common-objpfx)dlfcn/libdl.so.
13113 * setjmp/Makefile (link-libm): Remove variable.
13114 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13115 * stdio-common/Makefile (link-libm): Remove variable.
13116 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13117 * stdlib/Makefile (link-libm): Remove variable.
13118 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13119 ($(objpfx)tst-strtod-round): Likewise.
13120 ($(objpfx)tst-tininess): Likewise.
13121 ($(objpfx)tst-strtod-underflow): Likewise.
13122 ($(objpfx)tst-strtod6): Likewise.
13123 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13124 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13125 $(common-objpfx)dlfcn/libdl.so.
13127 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13129 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13130 BSD terminal modes definitions.
13132 2014-05-16 Roland McGrath <roland@hack.frob.com>
13134 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13135 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13137 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13138 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13139 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13140 Don't do #include_next.
13141 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13142 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13143 Don't do #include_next.
13144 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13145 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13146 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13147 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13149 2014-05-16 Allan McRae <allan@archlinux.org>
13151 * po/sv.po: Update Swedish translation from translation project.
13153 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13156 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13159 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13160 errno if the TIOCGPTN ioctl fails with an error different than
13162 * login/tst-ptsname.c: New file.
13163 * login/Makefile (tests): Add tst-ptsname.
13166 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13169 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13173 herrno to return EAI_AGAIN.
13175 2014-05-14 Roland McGrath <roland@hack.frob.com>
13177 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13178 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13179 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13180 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13181 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13182 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13183 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13184 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13185 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13186 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13187 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13188 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13190 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13192 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13193 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13194 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13195 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13196 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13197 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13198 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13199 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13200 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13201 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13202 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13203 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13204 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13205 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13206 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13208 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13210 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13213 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13215 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13217 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13219 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13221 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13223 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13225 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13227 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13229 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13231 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13233 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13235 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13237 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13239 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13242 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13244 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13246 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13248 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13250 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13252 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13254 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13256 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13258 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13260 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13263 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13265 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13268 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13269 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13270 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13271 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13272 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13273 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13274 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13275 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13276 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13277 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13278 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13279 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13280 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13281 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13282 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13283 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13284 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13285 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13286 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13287 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13288 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13289 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13290 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13291 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13292 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13293 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13294 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13295 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13296 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13297 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13299 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13300 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13302 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13303 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13304 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13305 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13306 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13307 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13309 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13310 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13312 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13313 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13315 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13316 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13318 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13319 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13320 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13321 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13323 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13324 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13325 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13326 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13327 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13328 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13329 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13330 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13332 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13333 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13335 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13337 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13338 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13339 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13340 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13341 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13343 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13345 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13347 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13348 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13349 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13350 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13351 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13354 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13355 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13357 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13358 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13360 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13361 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13363 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13364 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13365 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13366 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13368 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13369 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13370 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13371 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13372 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13373 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13374 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13375 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13377 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13378 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13382 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13383 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13384 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13385 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13386 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13390 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13392 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13393 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13394 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13395 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13396 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13397 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13398 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13399 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13400 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13401 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13403 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13404 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13406 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13407 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13409 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13410 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13413 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13414 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13415 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13416 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13419 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13420 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13421 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13422 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13423 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13424 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13425 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13426 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13428 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13429 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13431 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13433 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13434 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13435 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13436 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13439 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13441 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13443 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13444 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13445 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13446 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13447 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13448 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13449 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13450 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13451 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13452 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13453 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13455 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13456 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13458 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13459 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13461 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13462 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13463 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13464 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13465 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13466 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13467 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13468 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13469 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13470 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13471 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13472 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13473 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13474 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13475 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13476 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13477 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13478 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13480 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13481 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13482 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13483 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13485 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13486 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13487 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13489 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13490 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13491 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13492 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13494 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13497 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13499 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13501 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13503 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13504 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13505 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13506 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13507 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13508 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13509 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13510 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13511 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13512 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13513 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13515 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13516 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13517 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13518 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13519 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13521 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13522 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13523 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13524 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13525 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13526 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13527 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13528 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13529 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13530 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13532 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13535 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13536 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13537 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13538 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13539 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13540 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13541 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13542 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13543 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13544 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13545 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13546 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13547 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13548 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13549 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13569 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13570 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13571 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13572 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13573 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13574 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13575 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13576 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13577 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13578 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13579 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13580 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13581 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13582 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13583 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13585 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13586 that was previously under [RESET_PID].
13587 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13588 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13589 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13591 * sysdeps/i386/nptl/Implies: New file.
13592 * sysdeps/x86_64/nptl/Implies: New file.
13593 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13594 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13595 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13596 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13598 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13599 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13600 (__libc_vfork): New strong alias.
13601 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13602 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13604 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13605 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13606 (__libc_vfork): New strong alias.
13607 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13608 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13610 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13611 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13612 (__libc_vfork): New strong alias.
13613 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13614 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13615 * nptl/pt-vfork.c: New file.
13616 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13617 (libpthread: GLIBC_2.20): New version set (empty).
13619 2014-05-14 Will Newton <will.newton@linaro.org>
13621 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13624 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13627 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13628 arguments with exponent 65 or above.
13629 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13630 arguments 0x1p113L or above.
13631 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13632 to arguments 0x1p107L or above.
13633 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13634 positive arguments with exponent 65 or above.
13635 * math/auto-libm-test-in: Add more tests of log1p.
13636 * math/auto-libm-test-out: Regenerated.
13639 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13640 non-finite arguments is +0.
13641 * math/s_cacosf.c (__cacosf): Likewise.
13642 * math/s_cacosl.c (__cacosl): Likewise.
13643 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13644 * sysdeps/i386/fpu/libm-test-ulps: Update.
13645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13648 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13650 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13651 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13652 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13653 for explicit high bit of mantissa when testing for argument equal
13655 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13656 * sysdeps/i386/fpu/libm-test-ulps: Update.
13657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13660 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13661 (__erf): Scale by 16 instead of 8 in potentially underflowing
13662 case. Ensure exception if result actually underflows.
13663 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13664 (__erff): Scale by 16 instead of 8 in potentially underflowing
13665 case. Ensure exception if result actually underflows.
13666 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13667 (efx8): Remove variable.
13668 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13669 case. Ensure exception if result actually underflows.
13670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13671 (efx8): Remove variable.
13672 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13673 case. Ensure exception if result actually underflows.
13674 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13675 (efx8): Remove variable.
13676 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13677 case. Ensure exception if result actually underflows.
13678 * math/auto-libm-test-in: Add more tests of erf.
13679 * math/auto-libm-test-out: Regenerated.
13681 2014-05-14 Andreas Schwab <schwab@suse.de>
13683 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13684 Remove code conditionalized on USE___THREAD.
13686 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13687 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13690 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13692 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13693 Define unconditionally.
13694 (__ASSUME_O_CLOEXEC): Likewise.
13695 (__ASSUME_SOCK_CLOEXEC): Likewise.
13696 (__ASSUME_IN_NONBLOCK): Likewise.
13697 (__ASSUME_PIPE2): Likewise.
13698 (__ASSUME_EVENTFD2): Likewise.
13699 (__ASSUME_SIGNALFD4): Likewise.
13700 (__ASSUME_DUP3): Likewise.
13701 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13702 (__ASSUME_DUP3): Do not define.
13703 (__ASSUME_EVENTFD2): Likewise.
13704 (__ASSUME_IN_NONBLOCK): Likewise.
13705 (__ASSUME_O_CLOEXEC): Likewise.
13706 (__ASSUME_PIPE2): Likewise.
13707 (__ASSUME_SIGNALFD4): Likewise.
13708 (__ASSUME_SOCK_CLOEXEC): Likewise.
13709 (__ASSUME_UTIMES): Undefine.
13710 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13711 (__ASSUME_UTIMES): Do not define.
13712 (__ASSUME_O_CLOEXEC): Likewise.
13713 (__ASSUME_SOCK_CLOEXEC): Likewise.
13714 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13715 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13717 (__ASSUME_PIPE2): Likewise.
13718 (__ASSUME_EVENTFD2): Likewise.
13719 (__ASSUME_SIGNALFD4): Likewise.
13720 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13721 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13723 (__ASSUME_EVENTFD2): Likewise.
13724 (__ASSUME_SIGNALFD4): Likewise.
13725 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13726 (__ASSUME_32BITUIDS): Likewise.
13727 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13728 (__ASSUME_IPC64): Likewise.
13729 (__ASSUME_ST_INO_64_BIT): Likewise.
13730 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13731 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13732 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13733 (__ASSUME_UTIMES): Do not define.
13734 (__ASSUME_PSELECT): Likewise.
13735 (__ASSUME_PPOLL): Likewise.
13736 (__ASSUME_O_CLOEXEC): Likewise.
13737 (__ASSUME_SOCK_CLOEXEC): Likewise.
13738 (__ASSUME_IN_NONBLOCK): Likewise.
13739 (__ASSUME_PIPE2): Likewise.
13740 (__ASSUME_EVENTFD2): Likewise.
13741 (__ASSUME_SIGNALFD4): Likewise.
13742 (__ASSUME_DUP3): Likewise.
13743 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13744 (__ASSUME_UTIMES): Likewise.
13745 (__ASSUME_O_CLOEXEC): Likewise.
13746 (__ASSUME_SOCK_CLOEXEC): Likewise.
13747 (__ASSUME_IN_NONBLOCK): Likewise.
13748 (__ASSUME_PIPE2): Likewise.
13749 (__ASSUME_EVENTFD2): Likewise.
13750 (__ASSUME_SIGNALFD4): Likewise.
13751 (__ASSUME_DUP3): Likewise.
13752 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13753 (__ASSUME_UTIMES): Likewise.
13754 (__ASSUME_O_CLOEXEC): Likewise.
13755 (__ASSUME_SOCK_CLOEXEC): Likewise.
13756 (__ASSUME_IN_NONBLOCK): Likewise.
13757 (__ASSUME_PIPE2): Likewise.
13758 (__ASSUME_EVENTFD2): Likewise.
13759 (__ASSUME_SIGNALFD4): Likewise.
13760 (__ASSUME_DUP3): Likewise.
13761 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13763 (__ASSUME_UTIMES): Likewise.
13764 (__ASSUME_EVENTFD2): Likewise.
13765 (__ASSUME_SIGNALFD4): Likewise.
13766 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13767 (__ASSUME_O_CLOEXEC): Likewise.
13768 (__ASSUME_SOCK_CLOEXEC): Likewise.
13769 (__ASSUME_IN_NONBLOCK): Likewise.
13770 (__ASSUME_PIPE2): Likewise.
13771 (__ASSUME_EVENTFD2): Likewise.
13772 (__ASSUME_SIGNALFD4): Likewise.
13773 (__ASSUME_DUP3): Likewise.
13774 (__ASSUME_UTIMES): Undefine.
13776 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13777 feclearexcept. Remove symbol versioning code.
13778 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13779 symbol versioning code.
13780 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13781 symbol versioning code.
13782 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13783 feupdateenv. Remove symbol versioning code.
13784 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13785 fegetexceptflag. Remove symbol versioning code.
13786 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13787 fesetexceptflag. Remove symbol versioning code.
13788 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13789 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13790 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13791 (__posix_fadvise64_l32): Remove prototype.
13792 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13795 2014-05-13 Roland McGrath <roland@hack.frob.com>
13797 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13798 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13799 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13800 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13802 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13804 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13805 current working directory
13807 2014-05-13 Roland McGrath <roland@hack.frob.com>
13809 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13810 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13811 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13812 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13813 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13814 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13815 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13816 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13817 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13818 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13819 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13820 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13821 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13822 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13823 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13824 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13825 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13826 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13827 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13828 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13829 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13830 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13831 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13832 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13833 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13834 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13835 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13836 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13837 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13838 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13839 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13840 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13841 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13842 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13843 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13844 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13845 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13846 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13847 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13848 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13849 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13850 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13852 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13853 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13855 * sysdeps/unix/sysv/linux/arm/Makefile
13856 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13857 Add rt-aeabi_unwind_cpp_pr1.
13858 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13859 Add nptl-aeabi_unwind_cpp_pr1.
13860 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13861 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13862 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13863 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13864 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13865 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13867 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13868 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13869 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13870 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13872 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13873 Deconditionalize the code that was previously under [RESET_PID].
13874 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13876 * sysdeps/generic/exit-thread.h: New file.
13877 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13878 * include/unistd.h (__exit_thread): Remove declaration.
13879 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13880 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13881 * csu/libc-start.c: Include <exit-thread.h>.
13882 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13883 * nptl/pthread_create.c: Include <exit-thread.h>.
13884 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13885 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13886 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13887 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13888 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13889 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13890 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13891 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13892 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13893 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13894 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13895 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13896 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13897 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13898 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13899 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13900 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13902 2014-05-13 Andreas Schwab <schwab@suse.de>
13904 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13906 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13908 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13909 (__ASSUME_UTIMES): Do not condition on kernel version.
13910 (__ASSUME_PSELECT): Define unconditionally.
13911 (__ASSUME_PPOLL): Likewise.
13912 (__ASSUME_ATFCTS): Likewise.
13913 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13914 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13915 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13916 (__ASSUME_UTIMENSAT): Define unconditionally.
13917 (__ASSUME_PRIVATE_FUTEX): Likewise.
13918 (__ASSUME_FALLOCATE): Likewise.
13919 (__ASSUME_O_CLOEXEC): Likewise.
13920 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13921 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13922 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13923 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13924 (__ASSUME_IN_NONBLOCK): Likewise.
13925 (__ASSUME_PIPE2): Likewise.
13926 (__ASSUME_EVENTFD2): Likewise.
13927 (__ASSUME_SIGNALFD4): Likewise.
13928 (__ASSUME_DUP3): Likewise.
13929 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13930 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13931 (__ASSUME_AT_RANDOM): Likewise.
13932 (__ASSUME_PREADV): Likewise.
13933 (__ASSUME_PWRITEV): Likewise.
13934 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13935 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13936 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13937 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13938 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13939 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13940 (__ASSUME_O_CLOEXEC): Define unconditionally.
13941 (__ASSUME_PSELECT): Do not undefine conditionally.
13942 (__ASSUME_PPOLL): Likewise.
13943 (__ASSUME_ATFCTS): Likewise.
13944 (__ASSUME_SET_ROBUST_LIST): Likewise.
13945 (__ASSUME_UTIMENSAT): Likewise.
13946 (__ASSUME_FDATASYNC): Define unconditionally.
13947 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13948 (__ASSUME_SIGFRAME_V2): Likewise.
13949 )__ASSUME_EVENTFD2): Likewise.
13950 (__ASSUME_SIGNALFD4): Likewise.
13951 (__ASSUME_PSELECT): Do not undefine conditionally.
13952 (__ASSUME_PPOLL): Likewise.
13953 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13954 (__ASSUME_PSELECT): Define unconditionally.
13955 (__ASSUME_PPOLL): Likewise.
13956 (__ASSUME_O_CLOEXEC): Likewise.
13957 (__ASSUME_SOCK_CLOEXEC): Likewise.
13958 (__ASSUME_IN_NONBLOCK): Likewise.
13959 (__ASSUME_PIPE2): Likewise.
13960 (__ASSUME_EVENTFD2): Likewise.
13961 (__ASSUME_SIGNALFD4): Likewise.
13962 (__ASSUME_DUP3): Likewise.
13963 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13964 (__ASSUME_O_CLOEXEC): Likewise.
13965 (__ASSUME_SOCK_CLOEXEC): Likewise.
13966 (__ASSUME_IN_NONBLOCK): Likewise.
13967 (__ASSUME_PIPE2): Likewise.
13968 (__ASSUME_EVENTFD2): Likewise.
13969 (__ASSUME_SIGNALFD4): Likewise.
13970 (__ASSUME_DUP3): Likewise.
13971 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13972 (__ASSUME_EVENTFD2): Likewise.
13973 (__ASSUME_SIGNALFD4): Likewise.
13974 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13976 2014-05-12 Andreas Schwab <schwab@suse.de>
13979 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13980 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13981 than maximum RPC packet size.
13982 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13983 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13984 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13985 (_nss_nis_getservbyport_r): Likewise.
13987 2014-05-12 Will Newton <will.newton@linaro.org>
13989 * malloc/Makefile (tests): Add tst-mallopt.
13990 * malloc/tst-mallopt.c: New file.
13992 2014-05-09 Roland McGrath <roland@hack.frob.com>
13994 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13995 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13997 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13999 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14000 (tst-tlsmod6.so): Likewise.
14002 2014-05-09 Roland McGrath <roland@hack.frob.com>
14004 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14006 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14009 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14010 and <dl-procinfo.h>.
14011 (__fegetenv): Save SSE state in envp->__eip if supported.
14012 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14013 envp->__eip if supported.
14014 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14015 and <dl-procinfo.h>.
14016 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14017 __data_offset and __data_selector in environment to 0. Set SSE
14018 state if supported.
14019 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14021 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14023 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14025 2014-05-09 Will Newton <will.newton@linaro.org>
14027 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14028 and libc_relro_required for ARM.
14029 * sysdeps/arm/preconfigure: Regenerate.
14031 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14032 Stefan Liebler <stli@linux.vnet.ibm.com>
14034 * config.make.in (enable-lock-elision): New Makefile variable.
14035 * configure.ac: Likewise.
14036 * configure: Regenerate.
14037 * sysdeps/s390/configure.ac:
14038 Add check for gcc transactions support.
14039 * sysdeps/s390/configure: Regenerate.
14040 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14041 Build elision files if enabled.
14042 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14043 Add lock elision support for s390.
14044 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14045 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14046 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14047 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14048 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14049 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14050 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14052 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14054 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14056 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14058 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14059 (__lll_timedlock_elision, __lll_lock_elision)
14060 (__lll_unlock_elision, __lll_trylock_elision)
14061 (lll_timedlock_elision, lll_lock_elision)
14062 (lll_unlock_elision, lll_trylock_elision): Add.
14063 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14064 (pthread_mutex_t): Add lock elision support for s390.
14066 2014-05-14 Wilco <wdijkstr@arm.com>
14068 * sysdeps/arm/fclrexcpt.c: Cleanup.
14069 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14070 * sysdeps/arm/feenablxcpt.c: Cleanup.
14071 * sysdeps/arm/fegetenv.c: Cleanup.
14072 * sysdeps/arm/fegetexcept.c: Cleanup.
14073 * sysdeps/arm/fegetround.c: Cleanup.
14074 * sysdeps/arm/feholdexcpt.c: Cleanup.
14075 * sysdeps/arm/fesetenv.c: Cleanup.
14076 * sysdeps/arm/fesetround.c: Cleanup.
14077 * sysdeps/arm/feupdateenv.c: Cleanup.
14078 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14079 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14080 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14081 * sysdeps/arm/ftestexcept.c: Cleanup.
14082 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14083 * sysdeps/arm/setfpucw.c: Cleanup.
14085 2014-05-09 Will Newton <will.newton@linaro.org>
14087 * sysdeps/arm/armv7/strcmp.S: New file.
14088 * NEWS: Mention addition of ARMv7 optimized strcmp.
14090 2014-05-08 Roland McGrath <roland@hack.frob.com>
14092 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14093 look for %.ac rather than %.in.
14095 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14096 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14097 * sysdeps/mach/hurd/configure: Regenerated.
14098 * sysdeps/unix/sysv/linux/configure: Regenerated.
14100 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14102 2014-05-07 Steve Ellcey <sellcey@mips.com>
14105 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14109 2014-05-07 Andreas Schwab <schwab@suse.de>
14111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14112 when skipping over non-matching result from nscd.
14114 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14117 * nptl/sockperf.c (client): Check socket return value.
14120 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14121 nscd security class.
14123 2014-05-06 Roland McGrath <roland@hack.frob.com>
14125 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14126 * sysdeps/arm/unwind.h: ... here.
14128 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14131 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14134 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14136 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14137 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14138 multiarch strncpy for PPC64.
14139 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14140 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14142 multiarch optimizations.
14143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14144 (__libc_ifunc_impl_list): Likewise.
14145 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14146 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14147 multiarch stpncpy for PPC64.
14148 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14149 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14151 2014-05-06 Andreas Schwab <schwab@suse.de>
14154 * gmon/mcount.c (_MCOUNT_DECL): Use
14155 atomic_compare_and_exchange_bool_acq instead of
14156 catomic_compare_and_exchange_bool_acq.
14158 2014-05-05 Roland McGrath <roland@hack.frob.com>
14160 * elf/Makefile (others, install-bin): Remove pldd.
14161 (pldd-modules): Variable removed.
14162 ($(objpfx)pldd): Target removed.
14163 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14164 (others, install-bin): Append pldd here.
14165 ($(objpfx)pldd): New target.
14167 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14168 to 0, so the first #if test emitted later doesn't see it undefined.
14169 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14170 * sysdeps/gnu/errlist.c: Regenerated.
14172 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14174 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14175 [libc_hidden_builtin_def]: Define to empty value.
14176 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14177 [libc_hidden_builtin_def]: Likewise.
14178 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14179 [libc_hidden_builtin_def]: Likewise.
14180 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14181 [libc_hidden_builtin_def]: Likewise.
14182 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14183 __redirect_memcpy and define ifunc as default hidden symbol.
14184 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14185 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14187 2014-05-04 Adam Conrad <adconrad@0c3.net>
14189 * locale/iso-4217.def: Reintroduce XDR currency.
14191 2014-05-04 Allan McRae <allan@archlinux.org>
14193 * po/eo.po: Update Esperanto translation from translation project.
14195 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14197 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14198 and FEATURE_INDEX_MAX to 1.
14199 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14201 2014-05-01 Steve Ellcey <sellcey@mips.com>
14203 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14204 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14205 * iconvdata/big5.c (ONE_DIRECTION): Define.
14206 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14207 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14208 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14209 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14210 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14211 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14212 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14213 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14214 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14215 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14216 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14217 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14218 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14219 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14220 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14221 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14222 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14223 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14224 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14225 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14226 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14227 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14228 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14229 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14230 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14231 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14232 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14233 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14234 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14235 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14236 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14237 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14238 * iconvdata/johab.c (ONE_DIRECTION): Define.
14239 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14240 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14241 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14242 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14243 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14244 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14245 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14246 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14247 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14248 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14250 2014-05-01 Roland McGrath <roland@hack.frob.com>
14252 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14253 (_IO_JUMPS_OFFSET): Define to 0.
14255 * nptl/sysdeps/pthread/bits/libc-lock.h
14256 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14257 (__libc_lock_define_initialized_recursive): Always define using
14258 initializer. Modern compilers treat uninitialized (implicit zero) and
14259 explicit zero initializers the same (i.e. put the datum in bss).
14261 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14263 * nscd/nscd-client.h: Include <string.h>.
14265 2014-05-01 David S. Miller <davem@davemloft.net>
14268 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14269 multiple zero bytes exist at the end of a string.
14270 Reported by Aurelien Jarno <aurelien@aurel32.net>
14272 * string/test-strcmp.c (check): Add explicit test for situations where
14273 there are multiple zero bytes after the first.
14275 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14278 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14279 when compiling wprintf.
14280 * stdio-common/tstdiomisc.c (t3): New function.
14283 2014-05-01 Steve Ellcey <sellcey@mips.com>
14285 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14286 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14287 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14288 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14290 2014-05-01 Steve Ellcey <sellcey@mips.com>
14292 * stdlib/longlong.h: Updated from GCC.
14294 2014-05-01 Will Newton <will.newton@linaro.org>
14295 Bernard Ogden <bernie.ogden@linaro.org>
14297 * NEWS: Update fixed bug list.
14300 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14302 2014-04-30 David S. Miller <davem@davemloft.net>
14304 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14305 (libc_feholdexcept_setround_sparc_ctx): New function.
14306 (libc_fesetenv_sparc_ctx): Likewise.
14307 (libc_feupdateenv_sparc_ctx): Likewise.
14308 (libc_feholdsetround_sparc_ctx): Likewise.
14309 (libc_feholdexcept_setround_ctx): Define.
14310 (libc_feholdexcept_setroundf_ctx): Likewise.
14311 (libc_feholdexcept_setroundl_ctx): Likewise.
14312 (libc_fesetenv_ctx): Likewise.
14313 (libc_fesetenvf_ctx): Likewise.
14314 (libc_fesetenvl_ctx): Likewise.
14315 (libc_feupdateenv_ctx): Likewise.
14316 (libc_feupdateenvf_ctx): Likewise.
14317 (libc_feupdateenvl_ctx): Likewise.
14318 (libc_feresetround_ctx): Likewise.
14319 (libc_feresetroundf_ctx): Likewise.
14320 (libc_feresetroundl_ctx): Likewise.
14321 (libc_feholdsetround_ctx): Likewise.
14322 (libc_feholdsetroundf_ctx): Likewise.
14323 (libc_feholdsetroundl_ctx): Likewise.
14325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14326 with __USE_GNU instead of XOPEN cpp guards.
14328 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14331 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14332 with XOPEN cpp guards.
14334 2014-04-30 Julian Brown <julian@codesourcery.com>
14337 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14340 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14343 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14345 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14346 * sysdeps/unix/sysv/linux/configure: Regenerated.
14347 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14348 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14349 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14350 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14351 * README: Update reference to required Linux kernel version.
14352 * manual/install.texi (Linux): Update reference to required Linux
14353 kernel headers version.
14354 * INSTALL: Regenerated.
14356 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14358 [POSIX] (limits.h): Likewise.
14359 [POSIX] (math.h): Likewise.
14360 [POSIX] (sys/wait.h): Likewise.
14361 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14363 [POSIX] (stddef.h): Do not allow header inclusion.
14365 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14369 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14371 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14372 Return immediately after lll_futex_wake.
14374 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14377 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14379 (datahead_init_pos): Call datahead_init_common early.
14380 (datahead_init_neg): Likewise.
14382 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14383 datahead_init_neg): New functions.
14384 * nscd/aicache.c (addhstaiX): Use them.
14385 * nscd/grpcache.c (cache_addgr): Likewise.
14386 * nscd/hstcache.c (cache_addhst): Likewise.
14387 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14388 * nscd/netgroupcache.c (do_notfound): Likewise.
14389 (addgetnetgrentX): Likewise.
14390 (addinnetgrX): Likewise.
14391 * nscd/pwdcache.c (cache_addpw): Likewise.
14392 * nscd/servicescache.c (cache_addserv): Likewise.
14394 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14395 Atsushi Onoe <atsushi@onoe.org>
14400 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14401 one response is valid.
14402 * resolv/res_send.c (send_dg): Check for validity of other
14403 response if the current response is a referral.
14405 2014-04-29 Steve Ellcey <sellcey@mips.com>
14407 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14409 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14412 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14413 Always divide by positive zero when computing -Inf result.
14414 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14415 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14417 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14419 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14420 FPSCR if value do not change.
14421 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14422 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14423 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14424 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14425 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14426 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14429 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14431 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14432 * sysdeps/unix/sysv/linux/hppa: Move directory from
14433 ports/systeps/unix/sysv/linux/hppa.
14434 * README: Update listing for hppa-*-linux-gnu.
14436 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14439 * manual/stdio.texi (Hook functions): Fix types of stream hook
14442 * socket/sys/socket.h: Fix typo in comment.
14444 2014-04-28 Wilco <wdijkstr@arm.com>
14446 * sysdeps/arm/fenv_private.h: New file.
14447 * sysdeps/arm/math_private.h: New file.
14448 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14450 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14452 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14454 (La_x86_64_retval): Likewise.
14456 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14458 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14459 fpsr if value didn't change.
14460 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14461 to fpcr if value didn't change.
14462 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14463 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14464 fpsr or fpcr if value didn't change.
14465 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14466 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14467 fpcr if value didn't change.
14468 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14469 to fpsr if value didn't change.
14471 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14473 * nptl/tst-sem3.c: Use test-skeleton.c
14474 (main): Rename to do_test. Use return instead of
14476 * nptl/tst-sem4.c: Use test-skeleton.c
14477 (main): Rename to do_test.
14479 2014-04-22 David S. Miller <davem@davemloft.net>
14481 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14482 (struct sigaction): New struct member __glibc_reserved0, change
14483 type of sa_flags to int.
14485 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14487 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14488 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14490 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14492 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14493 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14495 2014-04-22 Will Newton <will.newton@linaro.org>
14496 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14498 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14499 (__longjmp): Add longjmp and longjmp_target SystemTap
14501 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14502 (__sigsetjmp): Add setjmp SystemTap probe.
14504 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14506 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14507 match manual order.
14509 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14511 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14513 * sysdeps/powerpc/fpu/fenv_private.h
14514 (libc_feholdexcept_setroundl_ctx): Define to
14515 libc_feholdexcept_setround_ppc_ctx.
14516 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14517 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14518 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14519 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14521 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14523 * sysdeps/aarch64/math-tests.h: New file.
14525 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14527 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14530 Check and set bit_AVX2_Usable.
14531 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14533 (bit_AVX2): Likewise.
14534 (index_AVX2_Usable): Likewise.
14535 (CPUID_AVX2): Likewise.
14536 (HAS_AVX2): Likewise.
14538 2014-04-17 Will Newton <will.newton@linaro.org>
14540 * manual/setjmp.texi (System V contexts): Add note that
14541 calling setcontext on a context created by a call to a
14542 signal handler is undefined. Update text to note that
14543 setcontext from a signal handler is possible but not
14547 * stdlib/tst-setcontext.c: Include signal.h.
14548 (main): Check that the signal stack before and
14549 after swapcontext is the same.
14551 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14552 Re-implement to restore registers in user code and avoid
14553 rt_sigreturn system call.
14555 2014-04-17 Wilco <wdijkstr@arm.com>
14557 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14558 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14559 * math/test-fenv.c: Skip exception trap tests on targets which only
14560 support non-stop mode.
14562 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14563 Wilco Dijkstra <wilco.dijkstra@arm.com>
14565 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14566 (libc_feholdsetround_aarch64_ctx)
14567 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14568 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14569 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14570 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14571 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14572 (libc_feresetround_noexl_ctx): Define.
14574 2014-04-16 Richard Henderson <rth@redhat.com>
14576 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14578 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14581 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14582 const from the non-libc, non-ldso copy.
14584 * sysdeps/alpha/libm-test-ulps: Regenerate.
14586 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14587 Wilco Dijkstra <wilco.dijkstra@arm.com>
14589 * sysdeps/aarch64/fpu/math_private.h: New file.
14591 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14593 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14595 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14598 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14599 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14600 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14601 Intel MPX bound registers before _dl_profile_fixup.
14602 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14603 registers after _dl_profile_fixup. Save and restore bound
14604 registers bnd0/bnd1 when calling _dl_call_pltexit.
14605 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14606 (LR_BND_OFFSET): Likewise.
14607 (LRV_BND0_OFFSET): Likewise.
14608 (LRV_BND1_OFFSET): Likewise.
14610 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14612 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14614 * sysdeps/mach/hurd/i386/tls.h: ... here.
14615 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14616 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14619 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14621 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14623 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14625 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14627 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14630 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14631 * sysdeps/s390/configure: Regenerate.
14634 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14635 Set round-to-nearest internally to reduce error accumulation.
14637 2014-04-16 Alan Modra <amodra@gmail.com>
14641 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14642 * math/libm-test.inc (frexp_test_data): Add tests.
14643 * NEWS: Update fixed bug list.
14645 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14647 * benchtests/Makefile: Depend on libraries in build directory.
14648 (bench-math): Separate out math tests.
14649 (bench-pthread): Separate out pthread tests.
14650 (bench): Include math and pthread tests.
14652 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14655 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14656 _dl_debug_initialize.
14658 * configure.ac: Remove SELinux header check.
14659 * configure: Regenerate.
14660 * nscd/selinux.c (perms): Array of const char* to permission names.
14661 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14662 default policy. Call string_to_security_class and string_to_av_perm to
14663 translate strings. Enforce default policy and call avs_has_perm with
14664 results of translated strings.
14666 2014-04-13 David S. Miller <davem@davemloft.net>
14668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14670 2014-04-12 Allan McRae <allan@archlinux.org>
14673 * manual/string.texi (Collation Functions): Fix qsort argument
14675 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14677 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14679 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14680 Make the test a no-op if there are no exceptions defined.
14682 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14684 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14685 enable-hardcoded-path-in-tests
14687 2014-04-11 Will Newton <will.newton@linaro.org>
14689 * benchtests/Makefile (extra-objs): Add json-lib.o.
14690 (bench-func): Tidy up JSON output.
14691 * benchtests/bench-skeleton.c: Include json-lib.h.
14692 (main): Use JSON library functions to do output of
14694 * benchtests/bench-timing-type.c (main): Output the
14695 timing type simply, leaving formatting to the user.
14696 * benchtests/json-lib.c: New file.
14697 * benchtests/json-lib.h: Likewise.
14699 2014-04-11 Torvald Riegel <triegel@redhat.com>
14702 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14703 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14704 memory barriers. Add comments.
14705 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14706 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14707 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14708 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14709 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14710 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14712 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14714 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14715 * sysdeps/s390/s390-64/configure.ac: ... this ...
14716 * sysdeps/s390/configure.ac: ... to here.
14717 * sysdeps/s390/s390-32/configure: Delete file.
14718 * sysdeps/s390/s390-64/configure: Delete file.
14719 * sysdeps/s390/configure: Regenerate.
14721 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14723 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14725 2014-04-11 Will Newton <will.newton@linaro.org>
14727 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14728 to zero if it is not defined elsewhere. (mtrim): Test
14729 the value of MALLOC_DEBUG with #if rather than #ifdef.
14731 2014-04-10 Torvald Riegel <triegel@redhat.com>
14733 * benchtests/pthread_once-inputs: New file.
14734 * benchtests/pthread_once-source.c: New file.
14735 * benchtests/README: Update documentation.
14737 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14738 H.J. Lu <hongjiu.lu@intel.com>
14741 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14742 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14743 * sysdeps/x86_64/configure: Regenerated.
14744 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14746 (REGISTER_SAVE_RAX): Likewise.
14747 (REGISTER_SAVE_RCX): Likewise.
14748 (REGISTER_SAVE_RDX): Likewise.
14749 (REGISTER_SAVE_RSI): Likewise.
14750 (REGISTER_SAVE_RDI): Likewise.
14751 (REGISTER_SAVE_R8): Likewise.
14752 (REGISTER_SAVE_R9): Likewise.
14753 (REGISTER_SAVE_BND0): Likewise.
14754 (REGISTER_SAVE_BND1): Likewise.
14755 (REGISTER_SAVE_BND2): Likewise.
14756 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14757 bound registers when calling _dl_fixup.
14759 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14761 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14762 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14764 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14765 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14766 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14767 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14768 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14769 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14770 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14772 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14775 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14776 pathconf(_PC_NAME_MAX).
14778 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14780 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14781 Remove macro usage.
14782 (__PTHREAD_SPINS): Move definition to ...
14783 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14784 (__PTHREAD_SPINS): ... here.
14785 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14786 (__PTHREAD_SPIN): Likewise.
14787 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14788 (__PTHREAD_SPIN): Likewise.
14789 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14790 (__PTHREAD_SPIN): Likewise.
14791 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14792 (__PTHREAD_SPIN): Likewise.
14793 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14794 (__PTHREAD_SPIN): Likewise.
14795 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14796 (__PTHREAD_SPIN): Likewise.
14797 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14798 (__PTHREAD_SPIN): Likewise.
14799 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14800 (__PTHREAD_SPIN): Likewise.
14801 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14802 (__PTHREAD_SPIN): Likewise.
14803 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14804 (__PTHREAD_SPIN): Likewise.
14805 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14806 (__PTHREAD_SPIN): Likewise.
14807 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14808 (__PTHREAD_SPIN): Likewise.
14810 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14811 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14812 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14813 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14815 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14816 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14817 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14818 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14819 correct imply path.
14820 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14821 strlen symbol for non multi-arch builds.
14822 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14823 missing hidden_def and weak_alias.
14825 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14827 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14829 2014-04-07 Will Newton <will.newton@linaro.org>
14831 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14832 and contents. [!_LIBC] Remove #ifndef and contents.
14833 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14834 * string/memccpy.c (__memccpy): Use ANSI prototype.
14835 * string/memfrob.c (memfrob): Likewise.
14836 * string/strcoll.c (STRCOLL): Likewise.
14837 * string/strlen.c (strlen): Likewise.
14838 * string/strtok.c (STRTOK): Likewise.
14839 * string/strcat.c: Remove unused #include of memcopy.h.
14840 (strcat): Use ANSI prototype.
14841 * string/strchr.c: Remove unused #include of memcopy.h.
14842 (strchr): Use ANSI prototype.
14843 * string/strcmp.c: Remove unused #include of memcopy.h.
14844 (strcmp): Use ANSI prototype.
14845 * string/strcpy.c: Remove unused #include of memcopy.h.
14846 (strcpy): Use ANSI prototype.
14848 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14850 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14851 * config.make.in (config-extra-cppflags): Set it from
14852 libc_extra_cppflags.
14853 * configure.ac (libc_extra_cflags): Make it accumulate over
14854 configure fragments.
14855 (libc_extra_cppflags): New flag.
14856 * configure. Regenerate.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14858 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14859 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14864 result for FE_DOWNWARD rounding mode.
14865 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14869 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14871 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14872 in function argument name.
14874 2014-04-03 David Svoboda <svoboda@cert.org>
14877 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14880 2014-04-03 Roland McGrath <roland@hack.frob.com>
14882 * elf/dl-unmap-segments.h: New file.
14883 * sysdeps/generic/ldsodefs.h
14884 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14885 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14886 * elf/dl-fptr.c: Likewise.
14887 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14888 * sysdeps/aarch64/tlsdesc.c: Likewise.
14889 * sysdeps/arm/tlsdesc.c: Likewise.
14890 * sysdeps/i386/tlsdesc.c: Likewise.
14891 * sysdeps/tile/dl-runtime.c: Likewise.
14892 * sysdeps/x86_64/tlsdesc.c: Likewise.
14893 * elf/dl-load.h: New file.
14894 * elf/dl-load.c: Include it.
14895 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14896 Macros moved to dl-load.h.
14897 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14898 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14899 Use _dl_unmap_segments in place of __munmap.
14900 Break out segment-mapping loop into ...
14901 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14903 2014-04-03 Will Newton <will.newton@linaro.org>
14905 * elf/dl-lookup.c (do_lookup_x): Remove comment
14906 referring to nested function and move variable
14907 declarations down to before first use.
14909 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14913 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14915 * math/s_catanf.c (__catanf): Likewise.
14916 * math/s_catanh.c (__catanh): Likewise.
14917 * math/s_catanhf.c (__catanhf): Likewise.
14918 * math/s_catanhl.c (__catanhl): Likewise.
14919 * math/s_catanl.c (__catanl): Likewise.
14920 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14921 by positive zero when computing -Inf result.
14922 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14923 (catanh_test): Likewise.
14924 * sysdeps/i386/fpu/libm-test-ulps: Update.
14925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14929 instead of using underflowing value in computing result.
14930 * math/s_clog10.c (__clog10): Likewise.
14931 * math/s_clog10f.c (__clog10f): Likewise.
14932 * math/s_clog10l.c (__clog10l): Likewise.
14933 * math/s_clogf.c (__clogf): Likewise.
14934 * math/s_clogl.c (__clogl): Likewise.
14935 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14936 (clog10_test): Likewise.
14937 * sysdeps/i386/fpu/libm-test-ulps: Update.
14938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14940 2014-04-02 Alan Modra <amodra@gmail.com>
14943 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14944 output when value is near a power of two. Use int64_t for lx and
14945 remove casts. Use decimal rather than hex exponent constants.
14946 Don't use long double multiplication when double will suffice.
14947 * math/libm-test.inc (nextafter_test_data): Add tests.
14948 * NEWS: Add 16739 and 16786 to bug list.
14950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14952 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14954 2014-04-01 Will Newton <will.newton@linaro.org>
14956 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14957 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14959 2014-04-01 Florian Weimer <fweimer@redhat.com>
14962 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14963 * nptl/tst-setuid2.c: New file.
14964 * nptl/Makefile (xtests): Add tst-setuid2.
14966 2014-04-01 Alan Modra <amodra@gmail.com>
14969 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14971 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14975 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14976 set errno as appropriate.
14977 * math/w_scalbf.c (__scalbf): Likewise.
14978 * math/w_scalbl.c (__scalbl): Likewise.
14979 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14980 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14981 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14982 Add more NaN tests.
14985 * math/w_atan2.c: Include <errno.h>.
14986 (__atan2): Set errno for result underflowing to zero.
14987 * math/w_atan2f.c: Include <errno.h>.
14988 (__atan2f): Set errno for result underflowing to zero.
14989 * math/w_atan2l.c: Include <errno.h>.
14990 (__atan2l): Set errno for result underflowing to zero.
14991 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14993 * math/auto-libm-test-out: Regenerated.
14995 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14997 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14998 Encode instruction correctly in little endian.
14999 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15001 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15003 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15008 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15011 * sysdeps/unix/sysv/linux/kernel-features.h
15012 [__sparc__ && !__arch64__ && !__sparc_v9__]
15013 (__ASSUME_SET_ROBUST_LIST): Do not define.
15014 [__sparc__ && !__arch64__ && !__sparc_v9__]
15015 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15016 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15018 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15019 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15020 (__ASSUME_REQUEUE_PI): Likewise.
15021 (__ASSUME_SET_ROBUST_LIST): Likewise.
15022 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15023 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15026 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15028 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15030 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15032 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15033 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15035 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15036 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15041 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15042 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15044 2014-03-31 Will Newton <will.newton@linaro.org>
15046 * benchtests/Makefile (bench): Add ffs and ffsll to list
15048 * benchtests/ffs-inputs: New file.
15049 * benchtests/ffsll-inputs: Likewise.
15051 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15054 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15055 too large before casting to int.
15056 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15057 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15058 * math/libm-test.inc (scalb_test_data): Add more tests.
15060 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15062 * benchtests/Makefile (DETAILED_OPT): New make option.
15063 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15065 * benchtests/bench-skeleton.c: Include stdbool.h.
15066 (main): Store and print timings per input.
15067 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15068 member to each argument value.
15069 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15070 (_print_arg_data): Initialize per-input timing to 0.
15072 * benchtests/Makefile (timing-type): New binary.
15073 (bench-clean): Also remove bench-timing-type.
15074 (bench): New target for timing-type.
15075 (bench-func): Print output in JSON format.
15076 * benchtests/bench-skeleton.c (main): Print output in JSON
15078 * benchtests/bench-timing-type.c: New file.
15079 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15080 (TIMING_PRINT_STATS): Remove.
15081 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15084 * benchtests/bench-modf.c: Remove.
15085 * benchtests/modf-inputs: New inputs file.
15087 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15090 * math/s_clog10.c (M_PI_LOG10E): New macro.
15091 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15092 imaginary parts are 0.
15093 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15094 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15095 imaginary parts are 0.
15096 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15097 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15098 imaginary parts are 0.
15099 * math/libm-test.inc (clog10_test_data): Update expected results
15100 for when real and imaginary parts are 0.
15102 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15104 * elf/dl-load.c: Finish conversion of __builtin_expect into
15105 __glibc_{un}likely.
15107 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15110 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15111 1+x for argument with exponent below -67.
15112 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15114 * math/auto-libm-test-in: Add more tests of exp.
15115 * math/auto-libm-test-out: Regenerated.
15117 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15120 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15121 (nscd_getnetgrent): Use it.
15124 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15127 2014-03-27 Andi Kleen <ak@linux.intel.com>
15129 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15130 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15131 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15132 (lll_robust_unlock): Remove out of line section. Use cfi
15134 (LLL_STUB_UNWIND_INFO*): Remove.
15135 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15136 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15137 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15138 (lll_robust_unlock): Remove out of line section. Use cfi
15140 (LLL_STUB_UNWIND_INFO*): Remove.
15142 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15145 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15148 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15150 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15152 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15155 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15157 * math/test-fenv-preserve.c: New file.
15158 * math/Makefile (tests): Add test-fenv-preserve.
15160 2014-03-26 Will Newton <will.newton@linaro.org>
15162 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15164 2014-03-25 Roland McGrath <roland@hack.frob.com>
15166 * scripts/versionlist.awk: Partition the version sets and emit all
15167 GLIBC_* (sorted) before all others (sorted).
15169 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15171 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15172 GLIBC_2.2.5 version.
15174 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15176 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15179 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15184 2014-03-25 Andreas Schwab <schwab@suse.de>
15186 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15187 label to be used after in6ailist is initialized.
15189 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15191 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15192 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15194 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15198 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15200 (fp_formats): Update initializers.
15201 (init_fp_formats): Initialize new field.
15202 (output_for_one_input_case): Allow underflow for results up to
15204 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15205 * math/auto-libm-test-in: Don't mark some underflows from asin and
15207 * math/auto-libm-test-out: Regenerated.
15208 * sysdeps/i386/fpu/libm-test-ulps: Update.
15209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15211 2014-03-25 Andreas Schwab <schwab@suse.de>
15213 * libio/Makefile (tst-ftell-partial-wide-ENV)
15214 (tst-ftell-active-handler-ENV): Define.
15216 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15218 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15220 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15222 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15224 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15226 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15227 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15228 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15230 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15233 * elf/dl-load.c (open_verify): Add mode parameter.
15234 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15235 (open_path): Change from boolean 'secure' to complete flag 'mode'
15236 (_dl_map_object): Adjust.
15237 * elf/Makefile (tests): Add tst-dlopen-aout.
15238 * elf/tst-dlopen-aout.c: New test.
15240 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15243 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15244 (struct stat): Rename member pad0 to __glibc_reserved0.
15247 * sysdeps/s390/s390-32/bits/wordsize.h
15248 (__WORDSIZE32_SIZE_ULONG): New define.
15249 * sysdeps/s390/s390-64/bits/wordsize.h
15250 (__WORDSIZE32_SIZE_ULONG): Likewise.
15251 * sysdeps/generic/stdint.h (SIZE_MAX):
15252 Define as UL if __WORDSIZE32_SIZE_ULONG.
15255 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15256 (__glibc_reserved0): New variable.
15257 (sa_flags): Change type to int.
15259 * posix/Makefile (before-compile): Use += before-compile instead
15262 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15263 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15265 2014-03-20 Andreas Schwab <schwab@suse.de>
15268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15269 non-matching result from nscd.
15271 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15273 * scripts/bench.py: Moved to ...
15274 * benchtests/scripts/bench.py: ... here.
15275 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15277 2014-03-24 Andreas Schwab <schwab@suse.de>
15280 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15281 alloca_account and account alloca use for struct in6ailist.
15283 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15286 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15287 rounding mode to recompute results that overflow to infinity or
15289 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15291 * math/auto-libm-test-out: Regenerated.
15292 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15293 (ccosh_test): Likewise.
15294 (csin_test_data): Use plus_oflow.
15295 (csin_test): Use ALL_RM_TEST.
15296 (csinh_test_data): Use plus_oflow.
15297 (csinh_test): Use ALL_RM_TEST.
15298 * sysdeps/i386/fpu/libm-test-ulps: Update.
15299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15301 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15303 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15304 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15305 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15308 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15309 when x - 1 is zero.
15310 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15311 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15312 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15313 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15315 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15316 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15318 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15319 * sysdeps/i386/fpu/libm-test-ulps: Update.
15320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15322 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15324 * scripts/bench.pl: Remove file.
15325 * scripts/bench.py: New benchmark script.
15326 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15327 * benchtests/README: Mention python dependency.
15328 * scripts/pylintrc: New file.
15329 * scripts/pylint: New file.
15331 * bits/mathdef.h: Use #ifdef instead of #if.
15332 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15333 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15334 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15335 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15336 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15337 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15339 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15340 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15342 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15344 and strpbrk-ppc64 objects.
15345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15346 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15347 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15348 multiarch strpbrk for POWER7.
15349 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15350 multiarch strpbrk for PPC64.
15351 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15353 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15354 strpbrk for POWER7.
15356 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15358 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15359 (atan_test): Likewise.
15360 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15361 (atanh_test): Use ALL_RM_TEST.
15362 (atan2_test_data): Likewise.
15363 (cabs_test): Likewise.
15364 (cacosh_test): Likewise.
15365 (carg_test): Likewise.
15366 (casin_test): Likewise.
15367 (casinh_test): Likewise.
15368 (cbrt_test): Likewise.
15369 (csqrt_test): Likewise.
15370 (erf_test): Likewise.
15371 (erfc_test): Likewise.
15372 (pow10_test): Likewise.
15373 (exp2_test): Likewise.
15374 (hypot_test): Likewise.
15375 (j0_test): Likewise.
15376 (j1_test): Likewise.
15377 (lgamma_test): Likewise.
15378 (gamma_test): Likewise.
15379 (sincos_test): Likewise.
15380 (tanh_test): Likewise.
15381 (y0_test): Likewise.
15382 (y1_test): Likewise.
15383 * sysdeps/i386/fpu/libm-test-ulps: Update.
15384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15386 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15388 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15390 and strcspn-ppc64 objects.
15391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15392 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15393 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15394 multiarch strcspn for POWER7.
15395 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15396 multiarch strcspn for PPC64.
15397 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15399 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15400 strcspn for POWER7.
15402 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15404 * math/gen-libm-test.pl (generate_testfile): Expect only function
15405 name as argument to AUTO_TESTS_* and pass results for all rounding
15406 modes to parse_args.
15407 (parse_auto_input): Separate inputs of automatic tests from
15408 outputs before storing in %auto_tests.
15409 * math/libm-test.inc (acos_test_data): Update call to
15411 (acos_test): Use ALL_RM_TEST.
15412 (acos_tonearest_test_data): Remove.
15413 (acos_test_tonearest): Likewise.
15414 (acos_towardzero_test_data): Likewise.
15415 (acos_test_towardzero): Likewise.
15416 (acos_downward_test_data): Likewise.
15417 (acos_test_downward): Likewise.
15418 (acos_upward_test_data): Likewise.
15419 (acos_test_upward): Likewise.
15420 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15421 (asin_test_data): Likewise.
15422 (asin_test): Use ALL_RM_TEST.
15423 (asin_tonearest_test_data): Remove.
15424 (asin_test_tonearest): Likewise.
15425 (asin_towardzero_test_data): Likewise.
15426 (asin_test_towardzero): Likewise.
15427 (asin_downward_test_data): Likewise.
15428 (asin_test_downward): Likewise.
15429 (asin_upward_test_data): Likewise.
15430 (asin_test_upward): Likewise.
15431 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15432 (atan_test_data): Likewise.
15433 (atanh_test_data): Likewise.
15434 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15435 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15436 (carg_test_data): Likewise.
15437 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15438 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15439 (ccosh_test_data): Likewise.
15440 (cexp_test_data): Likewise.
15441 (clog_test_data): Likewise.
15442 (clog10_test_data): Likewise.
15443 (cos_test_data): Update call to AUTO_TESTS_f_f.
15444 (cos_test): Use ALL_RM_TEST.
15445 (cos_tonearest_test_data): Remove.
15446 (cos_test_tonearest): Likewise.
15447 (cos_towardzero_test_data): Likewise.
15448 (cos_test_towardzero): Likewise.
15449 (cos_downward_test_data): Likewise.
15450 (cos_test_downward): Likewise.
15451 (cos_upward_test_data): Likewise.
15452 (cos_test_upward): Likewise.
15453 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15454 (cosh_test): Use ALL_RM_TEST.
15455 (cosh_tonearest_test_data): Remove.
15456 (cosh_test_tonearest): Likewise.
15457 (cosh_towardzero_test_data): Likewise.
15458 (cosh_test_towardzero): Likewise.
15459 (cosh_downward_test_data): Likewise.
15460 (cosh_test_downward): Likewise.
15461 (cosh_upward_test_data): Likewise.
15462 (cosh_test_upward): Likewise.
15463 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15464 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15465 (ctan_test_data): Likewise.
15466 (ctan_test): Use ALL_RM_TEST.
15467 (ctan_tonearest_test_data): Remove.
15468 (ctan_test_tonearest): Likewise.
15469 (ctan_towardzero_test_data): Likewise.
15470 (ctan_test_towardzero): Likewise.
15471 (ctan_downward_test_data): Likewise.
15472 (ctan_test_downward): Likewise.
15473 (ctan_upward_test_data): Likewise.
15474 (ctan_test_upward): Likewise.
15475 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15476 (ctanh_test): Use ALL_RM_TEST.
15477 (ctanh_tonearest_test_data): Remove.
15478 (ctanh_test_tonearest): Likewise.
15479 (ctanh_towardzero_test_data): Likewise.
15480 (ctanh_test_towardzero): Likewise.
15481 (ctanh_downward_test_data): Likewise.
15482 (ctanh_test_downward): Likewise.
15483 (ctanh_upward_test_data): Likewise.
15484 (ctanh_test_upward): Likewise.
15485 (erf_test_data): Update call to AUTO_TESTS_f_f.
15486 (erfc_test_data): Likewise.
15487 (exp_test_data): Likewise.
15488 (exp_test): Use ALL_RM_TEST.
15489 (exp_tonearest_test_data): Remove.
15490 (exp_test_tonearest): Likewise.
15491 (exp_towardzero_test_data): Likewise.
15492 (exp_test_towardzero): Likewise.
15493 (exp_downward_test_data): Likewise.
15494 (exp_test_downward): Likewise.
15495 (exp_upward_test_data): Likewise.
15496 (exp_test_upward): Likewise.
15497 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15498 (exp10_test): Use ALL_RM_TEST.
15499 (exp10_tonearest_test_data): Remove.
15500 (exp10_test_tonearest): Likewise.
15501 (exp10_towardzero_test_data): Likewise.
15502 (exp10_test_towardzero): Likewise.
15503 (exp10_downward_test_data): Likewise.
15504 (exp10_test_downward): Likewise.
15505 (exp10_upward_test_data): Likewise.
15506 (exp10_test_upward): Likewise.
15507 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15508 (expm1_test_data): Likewise.
15509 (expm1_test): Use ALL_RM_TEST.
15510 (expm1_tonearest_test_data): Remove.
15511 (expm1_test_tonearest): Likewise.
15512 (expm1_towardzero_test_data): Likewise.
15513 (expm1_test_towardzero): Likewise.
15514 (expm1_downward_test_data): Likewise.
15515 (expm1_test_downward): Likewise.
15516 (expm1_upward_test_data): Likewise.
15517 (expm1_test_upward): Likewise.
15518 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15519 (fma_test): Use ALL_RM_TEST.
15520 (fma_towardzero_test_data): Remove.
15521 (fma_test_towardzero): Likewise.
15522 (fma_downward_test_data): Likewise.
15523 (fma_test_downward): Likewise.
15524 (fma_upward_test_data): Likewise.
15525 (fma_test_upward): Likewise.
15526 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15527 (j0_test_data): Update call to AUTO_TESTS_f_f.
15528 (j1_test_data): Likewise.
15529 (jn_test_data): Update call to AUTO_TESTS_if_f.
15530 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15531 (log_test_data): Update call to AUTO_TESTS_f_f.
15532 (log10_test_data): Likewise.
15533 (log1p_test_data): Likewise.
15534 (log2_test_data): Likewise.
15535 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15536 (pow_tonearest_test_data): Likewise.
15537 (sin_test_data): Update call to AUTO_TESTS_f_f.
15538 (sin_test): Use ALL_RM_TEST.
15539 (sin_tonearest_test_data): Remove.
15540 (sin_test_tonearest): Likewise.
15541 (sin_towardzero_test_data): Likewise.
15542 (sin_test_towardzero): Likewise.
15543 (sin_downward_test_data): Likewise.
15544 (sin_test_downward): Likewise.
15545 (sin_upward_test_data): Likewise.
15546 (sin_test_upward): Likewise.
15547 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15548 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15549 (sinh_test): Use ALL_RM_TEST.
15550 (sinh_tonearest_test_data): Remove.
15551 (sinh_test_tonearest): Likewise.
15552 (sinh_towardzero_test_data): Likewise.
15553 (sinh_test_towardzero): Likewise.
15554 (sinh_downward_test_data): Likewise.
15555 (sinh_test_downward): Likewise.
15556 (sinh_upward_test_data): Likewise.
15557 (sinh_test_upward): Likewise.
15558 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15559 (sqrt_test): Use ALL_RM_TEST.
15560 (sqrt_tonearest_test_data): Remove.
15561 (sqrt_test_tonearest): Likewise.
15562 (sqrt_towardzero_test_data): Likewise.
15563 (sqrt_test_towardzero): Likewise.
15564 (sqrt_downward_test_data): Likewise.
15565 (sqrt_test_downward): Likewise.
15566 (sqrt_upward_test_data): Likewise.
15567 (sqrt_test_upward): Likewise.
15568 (tan_test_data): Update call to AUTO_TESTS_f_f.
15569 (tan_test): Use ALL_RM_TEST.
15570 (tan_tonearest_test_data): Remove.
15571 (tan_test_tonearest): Likewise.
15572 (tan_towardzero_test_data): Likewise.
15573 (tan_test_towardzero): Likewise.
15574 (tan_downward_test_data): Likewise.
15575 (tan_test_downward): Likewise.
15576 (tan_upward_test_data): Likewise.
15577 (tan_test_upward): Likewise.
15578 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15579 (tgamma_test_data): Likewise.
15580 (y0_test_data): Likewise.
15581 (y1_test_data): Likewise.
15582 (yn_test_data): Update call to AUTO_TESTS_if_f.
15583 (main): Do not call removed functions.
15585 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15587 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15588 (ldexp_test_data): Remove.
15589 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15591 (scalb_test): Use ALL_RM_TEST.
15593 2014-03-19 Andreas Schwab <schwab@suse.de>
15595 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15597 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15600 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15601 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15602 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15603 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15604 (__ASSUME_PREADV): Undefine.
15605 (__ASSUME_PWRITEV): Likewise.
15607 2014-03-18 Roland McGrath <roland@hack.frob.com>
15609 * bits/mman-linux.h: Add comment about non-Linux use.
15610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15611 bits/mman-linux.h resting place.
15613 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15614 * bits/mman-linux.h: ... here.
15616 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15618 * conform/conformtest.pl: Add standard definition when calling C
15619 preprocessor on data files.
15620 (checknamespace): Remove unused variable.
15622 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15624 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15625 minus_oflow, plus_uflow and minus_uflow in expected results.
15626 * math/libm-test.inc (scalbn_test_data): Add more tests of
15627 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15629 (scalbn_test): Use ALL_RM_TEST.
15630 (scalbln_test_data): Add more tests of negative arguments. Use
15631 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15632 (scalbln_test): Use ALL_RM_TEST.
15634 2014-03-18 Roland McGrath <roland@hack.frob.com>
15636 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15638 2014-03-18 Will Newton <will.newton@linaro.org>
15640 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15641 inaccurate comment.
15643 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15645 * Makerules [!subdir] (check-abi): Exit with error status if a
15648 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15650 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15651 for rint. Include results for all rounding modes.
15652 (nearbyint_test): Use ALL_RM_TEST.
15653 (rint_test_data): Include all tests used for nearbyint.
15655 2014-03-17 Will Newton <will.newton@linaro.org>
15657 * nptl/sysdeps/pthread/pthread.h: Revert previous
15660 * sysdeps/generic/ldsodefs.h: Revert previous
15663 * libio/genops.c: Revert previous change.
15664 * libio/libioP.h: Likewise.
15665 * stdio-common/vfprintf.c: Likewise.
15667 * sysdeps/generic/math_private.h: Revert previous
15670 * sysdeps/generic/math_private.h: Check whether
15671 HAVE_RM_CTX is defined with #ifdef rather
15674 * argp/argp-fmtstream.h: Check whether
15675 __STRICT_ANSI__ is defined with #ifdef rather
15677 * argp/argp.h: Likewise.
15679 * libio/genops.c: Check whether
15680 _IO_JUMPS_OFFSET is defined with #ifdef rather
15682 * libio/libioP.h: Likewise.
15683 * stdio-common/vfprintf.c: Likewise.
15685 * sysdeps/generic/ldsodefs.h: Check whether
15686 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15689 * nptl/sysdeps/pthread/pthread.h: Check
15690 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15693 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15695 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15697 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15701 * libio/fileops.c (_IO_file_open): Seek to end of file but
15702 don't cache the offset.
15703 (get_file_offset): Remove function.
15704 (do_ftell): Use cached offset when available.
15705 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15706 don't cache the offset.
15707 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15709 (do_one_test): Call it.
15710 (do_ftell_test): Fix up expected old offset for a+ mode.
15711 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15714 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15715 up test status with function return status.
15716 (do_write_test): Likewise.
15717 (do_append_test): Likewise.
15719 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15720 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15723 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15725 * math/gen-libm-test.pl (parse_args): Handle results specified for
15726 each rounding mode separately.
15727 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15728 tests and results from lrint_tonearest_test_data,
15729 lrint_towardzero_test_data, lrint_downward_test_data and
15730 lrint_upward_test_data.
15731 (lrint_test): Use ALL_RM_TEST.
15732 (lrint_tonearest_test_data): Remove.
15733 (lrint_test_tonearest): Likewise.
15734 (lrint_towardzero_test_data): Likewise.
15735 (lrint_test_towardzero): Likewise.
15736 (lrint_downward_test_data): Likewise.
15737 (lrint_test_downward): Likewise.
15738 (lrint_upward_test_data): Likewise.
15739 (lrint_test_upward): Likewise.
15740 (llrint_test_data): Merge in per-rounding-mode tests and results
15741 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15742 llrint_downward_test_data and llrint_upward_test_data.
15743 (llrint_test): Use ALL_RM_TEST.
15744 (llrint_tonearest_test_data): Remove.
15745 (llrint_test_tonearest): Likewise.
15746 (llrint_towardzero_test_data): Likewise.
15747 (llrint_test_towardzero): Likewise.
15748 (llrint_downward_test_data): Likewise.
15749 (llrint_test_downward): Likewise.
15750 (llrint_upward_test_data): Likewise.
15751 (llrint_test_upward): Likewise.
15752 (rint_test_data): Merge in per-rounding-mode tests and results
15753 from rint_tonearest_test_data, rint_towardzero_test_data,
15754 rint_downward_test_data and rint_upward_test_data. Add
15755 per-rounding-mode results for tests not in those arrays.
15756 (rint_test): Use ALL_RM_TEST.
15757 (rint_tonearest_test_data): Remove.
15758 (rint_test_tonearest): Likewise.
15759 (rint_towardzero_test_data): Likewise.
15760 (rint_test_towardzero): Likewise.
15761 (rint_downward_test_data): Likewise.
15762 (rint_test_downward): Likewise.
15763 (rint_upward_test_data): Likewise.
15764 (rint_test_upward): Likewise.
15765 (main): Don't call removed functions.
15767 2014-03-14 Roland McGrath <roland@hack.frob.com>
15769 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15770 "Compiled on ..." crapola. It is anti-useful.
15772 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15774 * scripts/evaluate-test.sh: Handle fourth argument to determine
15775 whether test run should stop on failure.
15776 * Makeconfig (stop-on-test-failure): New variable.
15777 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15778 $(stop-on-test-failure).
15779 * Makefile (tests): Give a summary of results from testing and
15780 exit with failure status if they include an ERROR or FAIL.
15781 (xtests): Likewise.
15782 * manual/install.texi (Configuring and compiling): Mention
15783 stop-on-test-failure=y.
15784 * INSTALL: Regenerated.
15786 2014-03-14 Roland McGrath <roland@hack.frob.com>
15788 * scripts/versionlist.awk: New file.
15789 * Makerules [$(build-shared) = yes]
15790 (postclean-generated): Add Versions.def, not Versions.def.v and
15792 ($(common-objpfx)Versions.def.v.i): Target removed.
15793 ($(common-objpfx)Versions.def): New target.
15794 ($(common-objpfx)Versions.all): Depend on that rather that
15795 $(common-objpfx)Versions.def.v.
15796 * Versions.def: File removed.
15798 * Makeconfig (+gccwarn): Add -Wundef.
15799 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15800 a dl-sysdep.h breaking its contract.
15801 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15802 * include/stackinfo.h: New file.
15803 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15804 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15805 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15806 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15807 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15808 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15809 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15810 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15811 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15812 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15813 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15814 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15815 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15816 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15817 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15819 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15822 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15824 * math/libm-test.inc (round_test_data): Add more tests.
15827 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15829 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15832 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15834 * math/libm-test.inc (ceil_test_data): Add more tests.
15836 * math/libm-test.inc (trunc_test_data): Add more tests related to
15839 2014-03-14 Roland McGrath <roland@hack.frob.com>
15841 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15842 with #if rather than #ifdef.
15843 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15845 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15847 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15848 first. Disable AVX-512 GCC support if assembler doesn't support
15850 * sysdeps/x86_64/configure: Regenerated.
15852 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15854 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15855 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15856 (__old_pthread_attr_setstack): Likewise.
15857 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15858 [!_STACK_GROWS_DOWN]: Likewise.
15860 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15862 * config.make.in (have-bash2): Delete.
15863 * configure.ac (libc_cv_have_bash2): Delete.
15864 * configure: Regenerate.
15865 * elf/Makefile (common-ldd-rewrite): Rename to ...
15866 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15867 (sh-ldd-rewrite): Delete.
15868 (bash-ldd-rewrite): Delete.
15869 (have-bash2): Delete checks.
15870 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15873 * config.make.in (have-ksh): Delete.
15875 * configure.ac (libc_cv_have_ksh): Delete.
15876 * configure: Regenerate.
15878 * elf/Makefile: Delete $(have-ksh) check.
15879 ($(objpfx)sotruss): Change KSH to BASH.
15880 * elf/sotruss.ksh: Rename to ...
15881 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15882 function style to match POSIX. Drop ksh vim mode setting.
15884 * manual/time.texi (Specifying the Time Zone with TZ): Change
15885 Tuesday to Thursday.
15887 * debug/tst-longjmp_chk2.c: Update header comment.
15888 (stackoverflow_handler): Add comment. Call assert on pass value.
15890 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15893 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15894 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15895 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15896 (La_x86_64_vector): Add zmm.
15897 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15898 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15899 ($(objpfx)tst-audit10): New target.
15900 ($(objpfx)tst-audit10.out): Likewise.
15901 (tst-audit10-ENV): New.
15902 (AVX512-CFLAGS): Likewise.
15903 (CFLAGS-tst-audit10.c): Likewise.
15904 (CFLAGS-tst-auditmod10a.c): Likewise.
15905 (CFLAGS-tst-auditmod10b.c): Likewise.
15906 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15907 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15908 * sysdeps/x86_64/configure: Regenerated.
15909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15910 AVX-512 zmm register support.
15911 (_dl_x86_64_save_sse): Likewise.
15912 (_dl_x86_64_restore_sse): Likewise.
15913 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15914 size vector registers.
15915 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15916 (ZMM_SIZE): Likewise.
15917 * sysdeps/x86_64/tst-audit10.c: New file.
15918 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15919 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15921 2014-03-13 Roland McGrath <roland@hack.frob.com>
15923 * configure.ac (HAVE_EHDR_START): New check.
15924 * configure: Regenerated.
15925 * config.h.in (HAVE_EHDR_START): New #undef.
15926 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15927 assuming the lowest-addressed segment maps the start of the file.
15929 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15931 * INSTALL: Regenerated.
15933 2014-03-13 Will Newton <will.newton@linaro.org>
15935 * manual/setjmp.texi (System V contexts): Improve
15936 clarity and grammar of documentation.
15938 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15941 * elf/Makefile (tests): Add tst-pie2.
15942 (tests-pie): Add tst-pie2.
15943 * elf/tst-pie2.c: New file.
15944 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15946 * elf/rtld.c (map_doit): Load executable as lt_executable.
15947 (dl_main): Likewise.
15949 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15952 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15953 (__ASSUME_PSELECT): Undefine.
15955 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15958 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15959 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15961 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15962 selector for static builds.
15964 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15967 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15970 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15972 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15973 IFUNC selector for static builds.
15975 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15977 * sysdeps/mips/math_private.h [__mips_hard_float]
15978 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15979 libc_feresetround_mips_ctx.
15980 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15981 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15982 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15985 * math/s_nextafter.c (__nextafter): Do not return value from
15986 overflowing computation.
15987 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15988 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15989 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15991 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15993 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15994 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15996 2014-03-11 Roland McGrath <roland@hack.frob.com>
15998 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15999 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16000 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16001 the new mov targetting sp.
16003 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16006 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16007 Define it for static builds as well.
16008 (NO_BZERO_IMPL): Likewise.
16010 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16012 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16013 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16014 multiarch strspn for PPC64.
16015 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16016 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16018 (__libc_ifunc_impl_list): Likewise.
16019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16020 multiarch optimizations
16021 * string/strspn.c (strspn): Using macro to redefine symbol name.
16023 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16024 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16026 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16027 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16028 multiarch strncat for PPC64.
16029 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16030 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16032 (__libc_ifunc_impl_list): Likewise.
16033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16034 multiarch optimizations
16036 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16039 * nscd/nscd.service: Make service type forking.
16041 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16043 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16044 sign in non default rounding modes.
16045 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16047 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16049 * math/libm-test.inc (ALL_RM_TEST): New macro.
16050 (ceil_test): Use ALL_RM_TEST.
16051 (cimag_test): Likewise.
16052 (conj_test): Likewise.
16053 (copysign_test): Likewise.
16054 (cproj_test): Likewise.
16055 (creal_test): Likewise.
16056 (fabs_test): Likewise.
16057 (floor_test): Likewise.
16058 (fmax_test): Likewise.
16059 (fmin_test): Likewise.
16060 (fmod_test): Likewise.
16061 (fpclassify_test): Likewise.
16062 (frexp_test): Likewise.
16063 (ilogb_test): Likewise.
16064 (isfinite_test): Likewise.
16065 (finite_test): Likewise.
16066 (isgreater_test): Likewise.
16067 (isgreaterequal_test): Likewise.
16068 (isinf_test): Likewise.
16069 (isless_test): Likewise.
16070 (islessequal_test): Likewise.
16071 (islessgreater_test): Likewise.
16072 (isnan_test): Likewise.
16073 (isnormal_test): Likewise.
16074 (issignaling_test): Likewise.
16075 (isunordered_test): Likewise.
16076 (logb_test): Likewise.
16077 (logb_downward_test_data): Remove.
16078 (logb_test_downward): Likewise.
16079 (lround_test): Use ALL_RM_TEST.
16080 (llround_test): Likewise.
16081 (modf_test): Likewise.
16082 (nexttoward_test): Likewise.
16083 (remainder_test): Likewise.
16084 (drem_test): Likewise.
16085 (remainder_tonearest_test_data): Likewise.
16086 (remainder_test_tonearest): Likewise.
16087 (drem_test_tonearest): Likewise.
16088 (remainder_towardzero_test_data): Likewise.
16089 (remainder_test_towardzero): Likewise.
16090 (drem_test_towardzero): Likewise.
16091 (remainder_downward_test_data): Likewise.
16092 (remainder_test_downward): Likewise.
16093 (drem_test_downward): Likewise.
16094 (remainder_upward_test_data): Likewise.
16095 (remainder_test_upward): Likewise.
16096 (drem_test_upward): Likewise.
16097 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16098 (round_test): Use ALL_RM_TEST.
16099 (signbit_test): Likewise.
16100 (trunc_test): Likewise.
16101 (significand_test): Likewise.
16102 (main): Don't call removed functions.
16104 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16107 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16108 || __USE_XOPEN2K8].
16109 (ILL_ILLOPN): Likewise.
16110 (ILL_ILLADR): Likewise.
16111 (ILL_ILLTRP): Likewise.
16112 (ILL_PRVOPC): Likewise.
16113 (ILL_PRVREG): Likewise.
16114 (ILL_COPROC): Likewise.
16115 (ILL_BADSTK): Likewise.
16116 (FPE_INTDIV): Likewise.
16117 (FPE_INTOVF): Likewise.
16118 (FPE_FLTDIV): Likewise.
16119 (FPE_FLTOVF): Likewise.
16120 (FPE_FLTUND): Likewise.
16121 (FPE_FLTRES): Likewise.
16122 (FPE_FLTINV): Likewise.
16123 (FPE_FLTSUB): Likewise.
16124 (SEGV_MAPERR): Likewise.
16125 (SEGV_ACCERR): Likewise.
16126 (BUS_ADRALN): Likewise.
16127 (BUS_ADRERR): Likewise.
16128 (BUS_OBJERR): Likewise.
16129 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16130 (TRAP_TRACE): Likewise.
16131 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16133 (CLD_KILLED): Likewise.
16134 (CLD_DUMPED): Likewise.
16135 (CLD_TRAPPED): Likewise.
16136 (CLD_STOPPED): Likewise.
16137 (CLD_CONTINUED): Likewise.
16138 (POLL_IN): Likewise.
16139 (POLL_OUT): Likewise.
16140 (POLL_MSG): Likewise.
16141 (POLL_ERR): Likewise.
16142 (POLL_PRI): Likewise.
16143 (POLL_HUP): Likewise.
16144 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16146 (ILL_ILLOPN): Likewise.
16147 (ILL_ILLADR): Likewise.
16148 (ILL_ILLTRP): Likewise.
16149 (ILL_PRVOPC): Likewise.
16150 (ILL_PRVREG): Likewise.
16151 (ILL_COPROC): Likewise.
16152 (ILL_BADSTK): Likewise.
16153 (FPE_INTDIV): Likewise.
16154 (FPE_INTOVF): Likewise.
16155 (FPE_FLTDIV): Likewise.
16156 (FPE_FLTOVF): Likewise.
16157 (FPE_FLTUND): Likewise.
16158 (FPE_FLTRES): Likewise.
16159 (FPE_FLTINV): Likewise.
16160 (FPE_FLTSUB): Likewise.
16161 (SEGV_MAPERR): Likewise.
16162 (SEGV_ACCERR): Likewise.
16163 (BUS_ADRALN): Likewise.
16164 (BUS_ADRERR): Likewise.
16165 (BUS_OBJERR): Likewise.
16166 (BUS_MCEERR_AR): Likewise.
16167 (BUS_MCEERR_AO): Likewise.
16168 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16169 (TRAP_TRACE): Likewise.
16170 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16172 (CLD_KILLED): Likewise.
16173 (CLD_DUMPED): Likewise.
16174 (CLD_TRAPPED): Likewise.
16175 (CLD_STOPPED): Likewise.
16176 (CLD_CONTINUED): Likewise.
16177 (POLL_IN): Likewise.
16178 (POLL_OUT): Likewise.
16179 (POLL_MSG): Likewise.
16180 (POLL_ERR): Likewise.
16181 (POLL_PRI): Likewise.
16182 (POLL_HUP): Likewise.
16183 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16184 (ILL_ILLOPN): Likewise.
16185 (ILL_ILLADR): Likewise.
16186 (ILL_ILLTRP): Likewise.
16187 (ILL_PRVOPC): Likewise.
16188 (ILL_PRVREG): Likewise.
16189 (ILL_COPROC): Likewise.
16190 (ILL_BADSTK): Likewise.
16191 (FPE_INTDIV): Likewise.
16192 (FPE_INTOVF): Likewise.
16193 (FPE_FLTDIV): Likewise.
16194 (FPE_FLTOVF): Likewise.
16195 (FPE_FLTUND): Likewise.
16196 (FPE_FLTRES): Likewise.
16197 (FPE_FLTINV): Likewise.
16198 (FPE_FLTSUB): Likewise.
16199 (SEGV_MAPERR): Likewise.
16200 (SEGV_ACCERR): Likewise.
16201 (BUS_ADRALN): Likewise.
16202 (BUS_ADRERR): Likewise.
16203 (BUS_OBJERR): Likewise.
16204 (BUS_MCEERR_AR): Likewise.
16205 (BUS_MCEERR_AO): Likewise.
16206 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16207 (TRAP_TRACE): Likewise.
16208 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16210 (CLD_KILLED): Likewise.
16211 (CLD_DUMPED): Likewise.
16212 (CLD_TRAPPED): Likewise.
16213 (CLD_STOPPED): Likewise.
16214 (CLD_CONTINUED): Likewise.
16215 (POLL_IN): Likewise.
16216 (POLL_OUT): Likewise.
16217 (POLL_MSG): Likewise.
16218 (POLL_ERR): Likewise.
16219 (POLL_PRI): Likewise.
16220 (POLL_HUP): Likewise.
16221 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16223 (ILL_ILLOPN): Likewise.
16224 (ILL_ILLADR): Likewise.
16225 (ILL_ILLTRP): Likewise.
16226 (ILL_PRVOPC): Likewise.
16227 (ILL_PRVREG): Likewise.
16228 (ILL_COPROC): Likewise.
16229 (ILL_BADSTK): Likewise.
16230 (ILL_BADIADDR): Likewise.
16231 (ILL_BREAK): Likewise.
16232 (FPE_INTDIV): Likewise.
16233 (FPE_INTOVF): Likewise.
16234 (FPE_FLTDIV): Likewise.
16235 (FPE_FLTOVF): Likewise.
16236 (FPE_FLTUND): Likewise.
16237 (FPE_FLTRES): Likewise.
16238 (FPE_FLTINV): Likewise.
16239 (FPE_FLTSUB): Likewise.
16240 (FPE_DECOVF): Likewise.
16241 (FPE_DECDIV): Likewise.
16242 (FPE_DECERR): Likewise.
16243 (FPE_INVASC): Likewise.
16244 (FPE_INVDEC): Likewise.
16245 (SEGV_MAPERR): Likewise.
16246 (SEGV_ACCERR): Likewise.
16247 (SEGV_PSTKOVF): Likewise.
16248 (BUS_ADRALN): Likewise.
16249 (BUS_ADRERR): Likewise.
16250 (BUS_OBJERR): Likewise.
16251 (BUS_MCEERR_AR): Likewise.
16252 (BUS_MCEERR_AO): Likewise.
16253 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16254 (TRAP_TRACE): Likewise.
16255 (TRAP_BRANCH): Likewise.
16256 (TRAP_HWBKPT): Likewise.
16257 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16259 (CLD_KILLED): Likewise.
16260 (CLD_DUMPED): Likewise.
16261 (CLD_TRAPPED): Likewise.
16262 (CLD_STOPPED): Likewise.
16263 (CLD_CONTINUED): Likewise.
16264 (POLL_IN): Likewise.
16265 (POLL_OUT): Likewise.
16266 (POLL_MSG): Likewise.
16267 (POLL_ERR): Likewise.
16268 (POLL_PRI): Likewise.
16269 (POLL_HUP): Likewise.
16270 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16271 (ILL_ILLOPN): Likewise.
16272 (ILL_ILLADR): Likewise.
16273 (ILL_ILLTRP): Likewise.
16274 (ILL_PRVOPC): Likewise.
16275 (ILL_PRVREG): Likewise.
16276 (ILL_COPROC): Likewise.
16277 (ILL_BADSTK): Likewise.
16278 (FPE_INTDIV): Likewise.
16279 (FPE_INTOVF): Likewise.
16280 (FPE_FLTDIV): Likewise.
16281 (FPE_FLTOVF): Likewise.
16282 (FPE_FLTUND): Likewise.
16283 (FPE_FLTRES): Likewise.
16284 (FPE_FLTINV): Likewise.
16285 (FPE_FLTSUB): Likewise.
16286 (SEGV_MAPERR): Likewise.
16287 (SEGV_ACCERR): Likewise.
16288 (BUS_ADRALN): Likewise.
16289 (BUS_ADRERR): Likewise.
16290 (BUS_OBJERR): Likewise.
16291 (BUS_MCEERR_AR): Likewise.
16292 (BUS_MCEERR_AO): Likewise.
16293 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16294 (TRAP_TRACE): Likewise.
16295 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16297 (CLD_KILLED): Likewise.
16298 (CLD_DUMPED): Likewise.
16299 (CLD_TRAPPED): Likewise.
16300 (CLD_STOPPED): Likewise.
16301 (CLD_CONTINUED): Likewise.
16302 (POLL_IN): Likewise.
16303 (POLL_OUT): Likewise.
16304 (POLL_MSG): Likewise.
16305 (POLL_ERR): Likewise.
16306 (POLL_PRI): Likewise.
16307 (POLL_HUP): Likewise.
16308 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16309 (ILL_ILLOPN): Likewise.
16310 (ILL_ILLADR): Likewise.
16311 (ILL_ILLTRP): Likewise.
16312 (ILL_PRVOPC): Likewise.
16313 (ILL_PRVREG): Likewise.
16314 (ILL_COPROC): Likewise.
16315 (ILL_BADSTK): Likewise.
16316 (FPE_INTDIV): Likewise.
16317 (FPE_INTOVF): Likewise.
16318 (FPE_FLTDIV): Likewise.
16319 (FPE_FLTOVF): Likewise.
16320 (FPE_FLTUND): Likewise.
16321 (FPE_FLTRES): Likewise.
16322 (FPE_FLTINV): Likewise.
16323 (FPE_FLTSUB): Likewise.
16324 (SEGV_MAPERR): Likewise.
16325 (SEGV_ACCERR): Likewise.
16326 (BUS_ADRALN): Likewise.
16327 (BUS_ADRERR): Likewise.
16328 (BUS_OBJERR): Likewise.
16329 (BUS_MCEERR_AR): Likewise.
16330 (BUS_MCEERR_AO): Likewise.
16331 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16332 (TRAP_TRACE): Likewise.
16333 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16335 (CLD_KILLED): Likewise.
16336 (CLD_DUMPED): Likewise.
16337 (CLD_TRAPPED): Likewise.
16338 (CLD_STOPPED): Likewise.
16339 (CLD_CONTINUED): Likewise.
16340 (POLL_IN): Likewise.
16341 (POLL_OUT): Likewise.
16342 (POLL_MSG): Likewise.
16343 (POLL_ERR): Likewise.
16344 (POLL_PRI): Likewise.
16345 (POLL_HUP): Likewise.
16346 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16347 (ILL_ILLOPN): Likewise.
16348 (ILL_ILLADR): Likewise.
16349 (ILL_ILLTRP): Likewise.
16350 (ILL_PRVOPC): Likewise.
16351 (ILL_PRVREG): Likewise.
16352 (ILL_COPROC): Likewise.
16353 (ILL_BADSTK): Likewise.
16354 (FPE_INTDIV): Likewise.
16355 (FPE_INTOVF): Likewise.
16356 (FPE_FLTDIV): Likewise.
16357 (FPE_FLTOVF): Likewise.
16358 (FPE_FLTUND): Likewise.
16359 (FPE_FLTRES): Likewise.
16360 (FPE_FLTINV): Likewise.
16361 (FPE_FLTSUB): Likewise.
16362 (SEGV_MAPERR): Likewise.
16363 (SEGV_ACCERR): Likewise.
16364 (BUS_ADRALN): Likewise.
16365 (BUS_ADRERR): Likewise.
16366 (BUS_OBJERR): Likewise.
16367 (BUS_MCEERR_AR): Likewise.
16368 (BUS_MCEERR_AO): Likewise.
16369 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16370 (TRAP_TRACE): Likewise.
16371 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16373 (CLD_KILLED): Likewise.
16374 (CLD_DUMPED): Likewise.
16375 (CLD_TRAPPED): Likewise.
16376 (CLD_STOPPED): Likewise.
16377 (CLD_CONTINUED): Likewise.
16378 (POLL_IN): Likewise.
16379 (POLL_OUT): Likewise.
16380 (POLL_MSG): Likewise.
16381 (POLL_ERR): Likewise.
16382 (POLL_PRI): Likewise.
16383 (POLL_HUP): Likewise.
16384 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16385 (ILL_ILLOPN): Likewise.
16386 (ILL_ILLADR): Likewise.
16387 (ILL_ILLTRP): Likewise.
16388 (ILL_PRVOPC): Likewise.
16389 (ILL_PRVREG): Likewise.
16390 (ILL_COPROC): Likewise.
16391 (ILL_BADSTK): Likewise.
16392 (ILL_DBLFLT): Likewise.
16393 (ILL_HARDWALL): Likewise.
16394 (FPE_INTDIV): Likewise.
16395 (FPE_INTOVF): Likewise.
16396 (FPE_FLTDIV): Likewise.
16397 (FPE_FLTOVF): Likewise.
16398 (FPE_FLTUND): Likewise.
16399 (FPE_FLTRES): Likewise.
16400 (FPE_FLTINV): Likewise.
16401 (FPE_FLTSUB): Likewise.
16402 (SEGV_MAPERR): Likewise.
16403 (SEGV_ACCERR): Likewise.
16404 (BUS_ADRALN): Likewise.
16405 (BUS_ADRERR): Likewise.
16406 (BUS_OBJERR): Likewise.
16407 (BUS_MCEERR_AR): Likewise.
16408 (BUS_MCEERR_AO): Likewise.
16409 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16410 (TRAP_TRACE): Likewise.
16411 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16413 (CLD_KILLED): Likewise.
16414 (CLD_DUMPED): Likewise.
16415 (CLD_TRAPPED): Likewise.
16416 (CLD_STOPPED): Likewise.
16417 (CLD_CONTINUED): Likewise.
16418 (POLL_IN): Likewise.
16419 (POLL_OUT): Likewise.
16420 (POLL_MSG): Likewise.
16421 (POLL_ERR): Likewise.
16422 (POLL_PRI): Likewise.
16423 (POLL_HUP): Likewise.
16424 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16425 (ILL_ILLOPN): Likewise.
16426 (ILL_ILLADR): Likewise.
16427 (ILL_ILLTRP): Likewise.
16428 (ILL_PRVOPC): Likewise.
16429 (ILL_PRVREG): Likewise.
16430 (ILL_COPROC): Likewise.
16431 (ILL_BADSTK): Likewise.
16432 (FPE_INTDIV): Likewise.
16433 (FPE_INTOVF): Likewise.
16434 (FPE_FLTDIV): Likewise.
16435 (FPE_FLTOVF): Likewise.
16436 (FPE_FLTUND): Likewise.
16437 (FPE_FLTRES): Likewise.
16438 (FPE_FLTINV): Likewise.
16439 (FPE_FLTSUB): Likewise.
16440 (SEGV_MAPERR): Likewise.
16441 (SEGV_ACCERR): Likewise.
16442 (BUS_ADRALN): Likewise.
16443 (BUS_ADRERR): Likewise.
16444 (BUS_OBJERR): Likewise.
16445 (BUS_MCEERR_AR): Likewise.
16446 (BUS_MCEERR_AO): Likewise.
16447 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16448 (TRAP_TRACE): Likewise.
16449 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16451 (CLD_KILLED): Likewise.
16452 (CLD_DUMPED): Likewise.
16453 (CLD_TRAPPED): Likewise.
16454 (CLD_STOPPED): Likewise.
16455 (CLD_CONTINUED): Likewise.
16456 (POLL_IN): Likewise.
16457 (POLL_OUT): Likewise.
16458 (POLL_MSG): Likewise.
16459 (POLL_ERR): Likewise.
16460 (POLL_PRI): Likewise.
16461 (POLL_HUP): Likewise.
16462 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16463 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16466 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16467 before #include of <time.h>.
16468 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16469 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16470 (test-xfail-UNIX98/sched.h/conform): Likewise.
16472 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16474 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16475 error absence of trapping exception support.
16476 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16478 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16480 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16481 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16482 * timezone/Makefile (testdata): Move definition above include of
16484 (test-zones): New variable.
16485 (tests-special): Add zone files.
16486 (build-testdata): Use $(evaluate-test).
16488 * elf/Makefile (tests-special): Rename tests to end with .out.
16489 ($(objpfx)noload-mem): Likewise.
16490 ($(objpfx)tst-leaks1-mem): Likewise.
16491 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16492 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16493 $(objpfx)test-iconvconfig.out.
16494 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16495 set -e inside subshell and redirect output to file.
16496 * iconvdata/Makefile (generated): Rename tests to end with .out.
16498 (tests-special): Rename tests to end with .out.
16499 ($(objpfx)mtrace-tst-loading): Likewise.
16500 * intl/Makefile (generated): Likewise.
16501 (tests-special): Likewise.
16502 ($(objpfx)mtrace-tst-gettext): Likewise.
16503 * misc/Makefile (generated): Likewise.
16504 (tests-special): Likewise.
16505 ($(objpfx)tst-error1-mem): Likewise.
16506 * nptl/Makefile (tests-special): Likewise.
16507 ($(objpfx)tst-stack3-mem): Likewise.
16508 (generated): Likewise.
16509 * posix/Makefile (generated): Likewise.
16510 (tests-special): Likewise.
16511 (xtests-special): Likewise.
16512 ($(objpfx)tst-fnmatch-mem): Likewise.
16513 ($(objpfx)bug-regex2-mem): Likewise.
16514 ($(objpfx)bug-regex14-mem): Likewise.
16515 ($(objpfx)bug-regex21-mem): Likewise.
16516 ($(objpfx)bug-regex31-mem): Likewise.
16517 ($(objpfx)tst-vfork3-mem): Likewise.
16518 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16519 ($(objpfx)tst-pcre-mem): Likewise.
16520 ($(objpfx)tst-boost-mem): Likewise.
16521 ($(objpfx)bug-ga2-mem): Likewise.
16522 ($(objpfx)bug-glob2-mem): Likewise.
16523 * resolv/Makefile (generate): Likewise.
16524 (tests-special): Likewise.
16525 (xtests-special): Likewise.
16526 (generated): Likewise.
16527 ($(objpfx)mtrace-tst-leaks): Likewise.
16528 ($(objpfx)mtrace-tst-leaks2): Likewise.
16530 * scripts/merge-test-results.sh: New file.
16531 * Makefile (tests-special-notdir): New variable.
16532 (tests): Run merge-test-results.sh.
16533 (xtests): Likewise.
16534 * Rules (tests-special-notdir): New variable.
16535 (xtests-special-notdir): Likewise.
16536 (tests): Run merge-test-results.sh
16537 (xtests): Likewise.
16539 * Makeconfig (test-xfail-name): New variable.
16540 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16541 compute variable name for expected failures.
16542 * conform/Makefile (conformtest-headers-data): New variable.
16543 (conformtest-standards): Likewise.
16544 (conformtest-headers-ISO): Likewise.
16545 (conformtest-headers-ISO99): Likewise.
16546 (conformtest-headers-ISO11): Likewise.
16547 (conformtest-headers-POSIX): Likewise.
16548 (conformtest-headers-XPG3): Likewise.
16549 (conformtest-headers-XPG4): Likewise.
16550 (conformtest-headers-UNIX98): Likewise.
16551 (conformtest-headers-XOPEN2K): Likewise.
16552 (conformtest-headers-POSIX2008): Likewise.
16553 (conformtest-headers-XOPEN2K8): Likewise.
16554 (conformtest-header-list-base): Likewise.
16555 (conformtest-header-list-tests): Likewise.
16556 (conformtest-header-base): Likewise.
16557 (conformtest-header-tests): Likewise.
16558 (tests-special): Add $(conformtest-header-list-tests). If
16559 [$(fast-check) && !$(cross-compiling)], add
16560 $(conformtest-header-tests) instead of
16561 $(objpfx)run-conformtest.out.
16562 (generated): Add $(conformtest-header-list-base). If
16563 [$(fast-check) && !$(cross-compiling)], add
16564 $(conformtest-header-base). Remove previous setting.
16565 ($(conformtest-header-list-tests)): New target.
16566 (test-xfail-run-conformtest): Remove variable.
16567 ($(objpfx)run-conformtest.out): Remove target.
16568 (test-xfail-ISO11/complex.h/conform): New variable.
16569 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16570 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16571 (test-xfail-XPG3/varargs.h/conform): Likewise.
16572 (test-xfail-XPG4/varargs.h/conform): Likewise.
16573 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16574 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16575 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16576 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16577 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16578 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16579 (test-xfail-XPG3/ftw.h/conform): Likewise.
16580 (test-xfail-XPG3/grp.h/conform): Likewise.
16581 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16582 (test-xfail-XPG3/limits.h/conform): Likewise.
16583 (test-xfail-XPG3/pwd.h/conform): Likewise.
16584 (test-xfail-XPG3/search.h/conform): Likewise.
16585 (test-xfail-XPG3/signal.h/conform): Likewise.
16586 (test-xfail-XPG3/stdio.h/conform): Likewise.
16587 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16588 (test-xfail-XPG3/string.h/conform): Likewise.
16589 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16590 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16591 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16592 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16593 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16594 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16595 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16596 (test-xfail-XPG3/termios.h/conform): Likewise.
16597 (test-xfail-XPG3/time.h/conform): Likewise.
16598 (test-xfail-XPG3/unistd.h/conform): Likewise.
16599 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16600 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16601 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16602 (test-xfail-XPG4/netdb.h/conform): Likewise.
16603 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16604 (test-xfail-XPG4/signal.h/conform): Likewise.
16605 (test-xfail-XPG4/stdio.h/conform): Likewise.
16606 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16607 (test-xfail-XPG4/stropts.h/conform): Likewise.
16608 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16609 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16610 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16611 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16612 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16613 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16614 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16615 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16616 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16617 (test-xfail-XPG4/termios.h/conform): Likewise.
16618 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16619 (test-xfail-XPG4/unistd.h/conform): Likewise.
16620 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16621 (test-xfail-POSIX/sched.h/conform): Likewise.
16622 (test-xfail-POSIX/signal.h/conform): Likewise.
16623 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16624 (test-xfail-POSIX/tar.h/conform): Likewise.
16625 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16626 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16627 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16628 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16629 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16630 (test-xfail-UNIX98/sched.h/conform): Likewise.
16631 (test-xfail-UNIX98/signal.h/conform): Likewise.
16632 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16633 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16634 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16635 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16636 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16637 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16638 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16639 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16640 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16641 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16642 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16643 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16644 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16645 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16646 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16647 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16648 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16649 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16650 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16651 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16652 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16653 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16654 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16655 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16656 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16657 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16658 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16659 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16660 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16661 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16662 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16663 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16664 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16665 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16666 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16667 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16668 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16669 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16670 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16671 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16672 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16673 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16674 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16675 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16676 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16677 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16678 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16679 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16680 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16681 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16682 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16683 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16684 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16685 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16686 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16687 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16688 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16689 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16690 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16691 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16692 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16693 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16694 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16695 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16696 (conformtest-cc-flags): Likewise.
16697 ($(conformtest-header-tests): New target.
16698 * conform/check-header-lists.sh: New file.
16699 * conform/run-conformtest.sh: Remove.
16701 * conform/conformtest.pl: Allow ' and \ in values given for
16703 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16705 [POSIX] (sys/types.h): Likewise.
16706 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16708 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16710 * conform/data/signal.h-data (SIGIO): Remove expectation.
16711 [XPG3] (SIGBUS): Do not expect.
16712 [POSIX || XPG3] (SIGPOLL): Likewise.
16713 [POSIX || XPG3] (SIGPROF): Likewise.
16714 [POSIX || XPG3] (SIGSYS): Likewise.
16715 [XPG3] (SIGTRAP): Likewise.
16716 [POSIX || XPG3] (SIGURG): Likewise.
16717 [POSIX || XPG3] (SIGVTALRM): Likewise.
16718 [POSIX || XPG3] (SIGXCPU): Likewise.
16719 [POSIX || XPG3] (SIGXFSZ): Likewise.
16720 [POSIX] (SA_SIGINFO): Expect.
16721 [XPG3] (siginfo_t): Do not expect type or contents.
16722 [POSIX] (si_pid): Do not expect element.
16723 [POSIX] (si_uid): Likewise.
16724 [POSIX] (si_addr): Likewise.
16725 [POSIX] (si_status): Likewise.
16726 [POSIX] (si_band): Likewise.
16727 [XPG4] (si_value): Likewise.
16728 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16729 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16730 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16731 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16732 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16733 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16734 [POSIX || XPG3] (ILL_COPROC): Likewise.
16735 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16736 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16737 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16738 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16739 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16740 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16741 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16742 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16743 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16744 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16745 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16746 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16747 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16748 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16749 [POSIX || XPG3] (CLD_EXITED): Likewise.
16750 [POSIX || XPG3] (CLD_KILLED): Likewise.
16751 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16752 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16753 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16754 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16755 [POSIX || XPG3] (POLL_IN): Likewise.
16756 [POSIX || XPG3] (POLL_OUT): Likewise.
16757 [POSIX || XPG3] (POLL_MSG): Likewise.
16758 [POSIX || XPG3] (POLL_ERR): Likewise.
16759 [POSIX || XPG3] (POLL_PRI): Likewise.
16760 [POSIX || XPG3] (POLL_HUP): Likewise.
16761 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16762 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16763 (SIG*): Do not allow.
16764 [XPG3] (si_*): Likewise.
16765 [XPG3] (SI_*): Likewise.
16766 [XPG3 || XPG4] (sigev_*): Likewise.
16767 [XPG3 || XPG4] (SIGEV_*): Likewise.
16768 [XPG3 || XPG4] (sival_*): Likewise.
16769 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16770 [POSIX || XPG3] (BUS_*): Likewise.
16771 [POSIX || XPG3] (CLD_*): Likewise.
16772 [POSIX || XPG3] (FPE_*): Likewise.
16773 [POSIX || XPG3] (ILL_*): Likewise.
16774 [POSIX || XPG3] (POLL_*): Likewise.
16775 [POSIX || XPG3] (SEGV_*): Likewise.
16776 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16777 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16778 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16779 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16780 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16781 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16782 Specify type and value.
16783 (TVERSLEN): Likewise.
16784 (REGTYPE): Likewise.
16785 (AREGTYPE): Likewise.
16786 (LNKTYPE): Likewise.
16787 (SYMTYPE): Likewise.
16788 (CHRTYPE): Likewise.
16789 (BLKTYPE): Likewise.
16790 (DIRTYPE): Likewise.
16791 (FIFOTYPE): Likewise.
16792 (CONTTYPE): Likewise.
16796 (TUREAD): Likewise.
16797 (TUWRITE): Likewise.
16798 (TUEXEC): Likewise.
16799 (TGREAD): Likewise.
16800 (TGWRITE): Likewise.
16801 (TGEXEC): Likewise.
16802 (TOREAD): Likewise.
16803 (TOWRITE): Likewise.
16804 (TOEXEC): Likewise.
16805 [POSIX] (TSVTX): Expect constant.
16807 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16809 * Makefile (tests): Change dependencies to ....
16810 (tests-special): ... additions to this variable.
16811 (tests): Depend on $(tests-special).
16812 * Makerules (check-abi-list): New variable.
16813 (check-abi): Depend on $(check-abi-list).
16814 [$(subdir) = elf] (tests-special): Add
16815 $(objpfx)check-abi-libc.out.
16816 [$(build-shared) = yes && subdir] (tests-special): Add
16818 [$(build-shared) = yes && subdir] (tests): Do not depend on
16820 * Rules (tests): Depend on $(tests-special).
16821 (xtests): Depend on $(xtests-special).
16822 * catgets/Makefile (tests): Change dependencies to ....
16823 (tests-special): ... additions to this variable.
16824 * conform/Makefile (tests): Change dependencies to ....
16825 (tests-special): ... additions to this variable.
16826 * elf/Makefile (tests): Change dependencies to ....
16827 (tests-special): ... additions to this variable.
16828 * grp/Makefile (tests): Change dependencies to ....
16829 (tests-special): ... additions to this variable.
16830 * iconv/Makefile (xtests): Change dependencies to ....
16831 (xtests-special): ... additions to this variable.
16832 * iconvdata/Makefile (tests): Change dependencies to ....
16833 (tests-special): ... additions to this variable.
16834 * intl/Makefile (tests): Change dependencies to ....
16835 (tests-special): ... additions to this variable. Also add
16836 $(objpfx)tst-gettext.out.
16837 * io/Makefile (tests): Change dependencies to ....
16838 (tests-special): ... additions to this variable.
16839 * libio/Makefile (tests): Change dependencies to ....
16840 (tests-special): ... additions to this variable.
16841 * malloc/Makefile (tests): Change dependencies to ....
16842 (tests-special): ... additions to this variable.
16843 * misc/Makefile (tests): Change dependencies to ....
16844 (tests-special): ... additions to this variable.
16845 * nptl/Makefile (tests): Change dependencies to ....
16846 (tests-special): ... additions to this variable.
16847 * nptl_db/Makefile (tests): Change dependencies to ....
16848 (tests-special): ... additions to this variable.
16849 * posix/Makefile (tests): Change dependencies to ....
16850 (tests-special): ... additions to this variable.
16851 (xtests): Change dependencies to ....
16852 (xtests-special): ... additions to this variable.
16853 * resolv/Makefile (tests): Change dependencies to ....
16854 (tests-special): ... additions to this variable.
16855 (xtests): Change dependencies to ....
16856 (xtests-special): ... additions to this variable.
16857 * stdio-common/Makefile (tests): Change dependencies to ....
16858 (tests-special): ... additions to this variable.
16859 (do-tst-unbputc): Remove target.
16860 (do-tst-printf): Likewise.
16861 * stdlib/Makefile (tests): Change dependencies to ....
16862 (tests-special): ... additions to this variable.
16863 * string/Makefile (tests): Change dependencies to ....
16864 (tests-special): ... additions to this variable.
16865 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16866 (tests-special): ... additions to this variable.
16868 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16870 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16872 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16873 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16875 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16876 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16877 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16878 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16879 * conform/data/libgen.h-data [XPG3]: Likewise.
16880 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16881 * conform/data/ndbm.h-data [XPG3]: Likewise.
16882 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16883 * conform/data/netdb.h-data [XPG3]: Likewise.
16884 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16885 * conform/data/poll.h-data [XPG3]: Likewise.
16886 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16887 * conform/data/strings.h-data [XPG3]: Likewise.
16888 * conform/data/stropts.h-data [XPG3]: Likewise.
16889 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16890 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16891 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16893 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16894 * conform/data/sys/time.h-data [XPG3]: Likewise.
16895 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16896 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16897 * conform/data/sys/un.h-data [XPG3]: Likewise.
16898 * conform/data/syslog.h-data [XPG3]: Likewise.
16899 * conform/data/ucontext.h-data [XPG3]: Likewise.
16900 * conform/data/utmpx.h-data [XPG3]: Likewise.
16901 * conform/data/varargs.h-data [UNIX98]: Enable file.
16903 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16905 * math/libm-test.inc (struct test_f_f_data): Move expected results
16906 into structure for each rounding mode.
16907 (struct test_ff_f_data): Likewise.
16908 (struct test_ff_f_data_nexttoward): Likewise.
16909 (struct test_fi_f_data): Likewise.
16910 (struct test_fl_f_data): Likewise.
16911 (struct test_if_f_data): Likewise.
16912 (struct test_fff_f_data): Likewise.
16913 (struct test_c_f_data): Likewise.
16914 (struct test_f_f1_data): Likewise.
16915 (struct test_fF_f1_data): Likewise.
16916 (struct test_ffI_f1_data): Likewise.
16917 (struct test_c_c_data): Likewise.
16918 (struct test_cc_c_data): Likewise.
16919 (struct test_f_i_data): Likewise.
16920 (struct test_ff_i_data): Likewise.
16921 (struct test_f_l_data): Likewise.
16922 (struct test_f_L_data): Likewise.
16923 (struct test_fFF_11_data): Likewise.
16925 (RM_FE_DOWNWARD): Likewise.
16926 (RM_FE_TONEAREST): Likewise.
16927 (RM_FE_TOWARDZERO): Likewise.
16928 (RM_FE_UPWARD): Likewise.
16929 (RUN_TEST_LOOP_f_f): Update references to expected results.
16930 (RUN_TEST_LOOP_2_f): Likewise.
16931 (RUN_TEST_LOOP_fff_f): Likewise.
16932 (RUN_TEST_LOOP_c_f): Likewise.
16933 (RUN_TEST_LOOP_f_f1): Likewise.
16934 (RUN_TEST_LOOP_fF_f1): Likewise.
16935 (RUN_TEST_LOOP_fI_f1): Likewise.
16936 (RUN_TEST_LOOP_ffI_f1): Likewise.
16937 (RUN_TEST_LOOP_c_c): Likewise.
16938 (RUN_TEST_LOOP_cc_c): Likewise.
16939 (RUN_TEST_LOOP_f_i): Likewise.
16940 (RUN_TEST_LOOP_f_i_tg): Likewise.
16941 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16942 (RUN_TEST_LOOP_f_b): Likewise.
16943 (RUN_TEST_LOOP_f_b_tg): Likewise.
16944 (RUN_TEST_LOOP_f_l): Likewise.
16945 (RUN_TEST_LOOP_f_L): Likewise.
16946 (RUN_TEST_LOOP_fFF_11): Likewise.
16947 * math/gen-libm-test.pl (parse_args): Output four copies of
16948 expected results for each test.
16950 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16951 (__ASSUME_UTIMES): Remove.
16952 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16953 (__ASSUME_UTIMES): Likewise.
16955 * math/gen-auto-libm-tests.c: Update comment on output format.
16956 (output_for_one_input_case): Generate before-rounding and
16957 after-rounding information as conditions on output flags not
16958 floating-point format.
16959 * math/auto-libm-test-out: Regenerated.
16960 * math/gen-libm-test.pl (cond_value): New function.
16961 (or_cond_value): Use cond_value.
16962 (generate_testfile): Handle conditional exceptions.
16964 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16966 * math/libm-test.inc (max_valid_error): New variable.
16967 (init_max_error): Take new argument specifying whether function
16968 results are exactly determined. Set max_valid_error and bound
16969 other variables for errors based on this argument.
16970 (set_max_error): Do not record results above max_valid_error.
16971 (check_float_internal): Only accept errors of up to 0.5ulps if
16972 also at most max_valid_error.
16973 (START): Take new argument EXACT and pass it to init_max_error.
16974 (acos_test): Update call to START.
16975 (acos_test_tonearest): Likewise.
16976 (acos_test_towardzero): Likewise.
16977 (acos_test_downward): Likewise.
16978 (acos_test_upward): Likewise.
16979 (acosh_test): Likewise.
16980 (asin_test): Likewise.
16981 (asin_test_tonearest): Likewise.
16982 (asin_test_towardzero): Likewise.
16983 (asin_test_downward): Likewise.
16984 (asin_test_upward): Likewise.
16985 (asinh_test): Likewise.
16986 (atan_test): Likewise.
16987 (atanh_test): Likewise.
16988 (atan2_test): Likewise.
16989 (cabs_test): Likewise.
16990 (cacos_test): Likewise.
16991 (cacosh_test): Likewise.
16992 (carg_test): Likewise.
16993 (casin_test): Likewise.
16994 (casinh_test): Likewise.
16995 (catan_test): Likewise.
16996 (catanh_test): Likewise.
16997 (cbrt_test): Likewise.
16998 (ccos_test): Likewise.
16999 (ccosh_test): Likewise.
17000 (ceil_test): Likewise.
17001 (cexp_test): Likewise.
17002 (cimag_test): Likewise.
17003 (clog_test): Likewise.
17004 (clog10_test): Likewise.
17005 (conj_test): Likewise.
17006 (copysign_test): Likewise.
17007 (cos_test): Likewise.
17008 (cos_test_tonearest): Likewise.
17009 (cos_test_towardzero): Likewise.
17010 (cos_test_downward): Likewise.
17011 (cos_test_upward): Likewise.
17012 (cosh_test): Likewise.
17013 (cosh_test_tonearest): Likewise.
17014 (cosh_test_towardzero): Likewise.
17015 (cosh_test_downward): Likewise.
17016 (cosh_test_upward): Likewise.
17017 (cpow_test): Likewise.
17018 (cproj_test): Likewise.
17019 (creal_test): Likewise.
17020 (csin_test): Likewise.
17021 (csinh_test): Likewise.
17022 (csqrt_test): Likewise.
17023 (ctan_test): Likewise.
17024 (ctan_test_tonearest): Likewise.
17025 (ctan_test_towardzero): Likewise.
17026 (ctan_test_downward): Likewise.
17027 (ctan_test_upward): Likewise.
17028 (ctanh_test): Likewise.
17029 (ctanh_test_tonearest): Likewise.
17030 (ctanh_test_towardzero): Likewise.
17031 (ctanh_test_downward): Likewise.
17032 (ctanh_test_upward): Likewise.
17033 (erf_test): Likewise.
17034 (erfc_test): Likewise.
17035 (exp_test): Likewise.
17036 (exp_test_tonearest): Likewise.
17037 (exp_test_towardzero): Likewise.
17038 (exp_test_downward): Likewise.
17039 (exp_test_upward): Likewise.
17040 (exp10_test): Likewise.
17041 (exp10_test_tonearest): Likewise.
17042 (exp10_test_towardzero): Likewise.
17043 (exp10_test_downward): Likewise.
17044 (exp10_test_upward): Likewise.
17045 (pow10_test): Likewise.
17046 (exp2_test): Likewise.
17047 (expm1_test): Likewise.
17048 (expm1_test_tonearest): Likewise.
17049 (expm1_test_towardzero): Likewise.
17050 (expm1_test_downward): Likewise.
17051 (expm1_test_upward): Likewise.
17052 (fabs_test): Likewise.
17053 (fdim_test): Likewise.
17054 (floor_test): Likewise.
17055 (fma_test): Likewise.
17056 (fma_test_towardzero): Likewise.
17057 (fma_test_downward): Likewise.
17058 (fma_test_upward): Likewise.
17059 (fmax_test): Likewise.
17060 (fmin_test): Likewise.
17061 (fmod_test): Likewise.
17062 (fpclassify_test): Likewise.
17063 (frexp_test): Likewise.
17064 (hypot_test): Likewise.
17065 (ilogb_test): Likewise.
17066 (isfinite_test): Likewise.
17067 (finite_test): Likewise.
17068 (isgreater_test): Likewise.
17069 (isgreaterequal_test): Likewise.
17070 (isinf_test): Likewise.
17071 (isless_test): Likewise.
17072 (islessequal_test): Likewise.
17073 (islessgreater_test): Likewise.
17074 (isnan_test): Likewise.
17075 (isnormal_test): Likewise.
17076 (issignaling_test): Likewise.
17077 (isunordered_test): Likewise.
17078 (j0_test): Likewise.
17079 (j1_test): Likewise.
17080 (jn_test): Likewise.
17081 (ldexp_test): Likewise.
17082 (lgamma_test): Likewise.
17083 (gamma_test): Likewise.
17084 (lrint_test): Likewise.
17085 (lrint_test_tonearest): Likewise.
17086 (lrint_test_towardzero): Likewise.
17087 (lrint_test_downward): Likewise.
17088 (lrint_test_upward): Likewise.
17089 (llrint_test): Likewise.
17090 (llrint_test_tonearest): Likewise.
17091 (llrint_test_towardzero): Likewise.
17092 (llrint_test_downward): Likewise.
17093 (llrint_test_upward): Likewise.
17094 (log_test): Likewise.
17095 (log10_test): Likewise.
17096 (log1p_test): Likewise.
17097 (log2_test): Likewise.
17098 (logb_test): Likewise.
17099 (logb_test_downward): Likewise.
17100 (lround_test): Likewise.
17101 (llround_test): Likewise.
17102 (modf_test): Likewise.
17103 (nearbyint_test): Likewise.
17104 (nextafter_test): Likewise.
17105 (nexttoward_test): Likewise.
17106 (pow_test): Likewise.
17107 (pow_test_tonearest): Likewise.
17108 (pow_test_towardzero): Likewise.
17109 (pow_test_downward): Likewise.
17110 (pow_test_upward): Likewise.
17111 (remainder_test): Likewise.
17112 (drem_test): Likewise.
17113 (remainder_test_tonearest): Likewise.
17114 (drem_test_tonearest): Likewise.
17115 (remainder_test_towardzero): Likewise.
17116 (drem_test_towardzero): Likewise.
17117 (remainder_test_downward): Likewise.
17118 (drem_test_downward): Likewise.
17119 (remainder_test_upward): Likewise.
17120 (drem_test_upward): Likewise.
17121 (remquo_test): Likewise.
17122 (rint_test): Likewise.
17123 (rint_test_tonearest): Likewise.
17124 (rint_test_towardzero): Likewise.
17125 (rint_test_downward): Likewise.
17126 (rint_test_upward): Likewise.
17127 (round_test): Likewise.
17128 (scalb_test): Likewise.
17129 (scalbn_test): Likewise.
17130 (scalbln_test): Likewise.
17131 (signbit_test): Likewise.
17132 (sin_test): Likewise.
17133 (sin_test_tonearest): Likewise.
17134 (sin_test_towardzero): Likewise.
17135 (sin_test_downward): Likewise.
17136 (sin_test_upward): Likewise.
17137 (sincos_test): Likewise.
17138 (sinh_test): Likewise.
17139 (sinh_test_tonearest): Likewise.
17140 (sinh_test_towardzero): Likewise.
17141 (sinh_test_downward): Likewise.
17142 (sinh_test_upward): Likewise.
17143 (sqrt_test): Likewise.
17144 (sqrt_test_tonearest): Likewise.
17145 (sqrt_test_towardzero): Likewise.
17146 (sqrt_test_downward): Likewise.
17147 (sqrt_test_upward): Likewise.
17148 (tan_test): Likewise.
17149 (tan_test_tonearest): Likewise.
17150 (tan_test_towardzero): Likewise.
17151 (tan_test_downward): Likewise.
17152 (tan_test_upward): Likewise.
17153 (tanh_test): Likewise.
17154 (tgamma_test): Likewise.
17155 (trunc_test): Likewise.
17156 (y0_test): Likewise.
17157 (y1_test): Likewise.
17158 (yn_test): Likewise.
17159 (significand_test): Likewise.
17161 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17162 individual tests in comment.
17163 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17164 (prev_max_error): New variable.
17165 (prev_real_max_error): Likewise.
17166 (prev_imag_max_error): Likewise.
17167 (compare_ulp_data): Don't refer to test names in comment.
17168 (find_test_ulps): Remove function.
17169 (find_function_ulps): Likewise.
17170 (find_complex_function_ulps): Likewise.
17171 (init_max_error): Take function name as argument. Look up ulps
17173 (print_ulps): Remove function.
17174 (print_max_error): Use prev_max_error instead of calling
17175 find_function_ulps.
17176 (print_complex_max_error): Use prev_real_max_error and
17177 prev_imag_max_error instead of calling find_complex_function_ulps.
17178 (check_float_internal): Take max_ulp parameter instead of calling
17179 find_test_ulps. Don't call print_ulps.
17180 (check_float): Update call to check_float_internal.
17181 (check_complex): Update calls to check_float_internal.
17182 (START): Pass argument to init_max_error.
17183 * math/gen-libm-test.pl (%results): Don't include "kind"
17185 (parse_ulps): Don't handle ulps of individual tests.
17186 (print_ulps_file): Likewise.
17187 (output_ulps): Likewise.
17188 * math/README.libm-test: Update.
17189 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17191 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17192 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17193 * sysdeps/arm/libm-test-ulps: Likewise.
17194 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17195 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17196 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17197 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17198 * sysdeps/microblaze/libm-test-ulps: Likewise.
17199 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17200 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17201 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17202 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17203 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17204 * sysdeps/sh/libm-test-ulps: Likewise.
17205 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17206 * sysdeps/tile/libm-test-ulps: Likewise.
17207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17209 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17211 * math/libm-test.inc (print_complex_max_error): Check separately
17212 whether real and imaginary errors are within allowed range and
17213 pass 0 to print_complex_function_ulps instead of value within
17216 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17218 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17220 (get_handles_fopen): Likewise.
17221 (do_write_test): Likewise.
17223 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17225 * libio/fileops.c (do_ftell): Use cached offset when
17227 * libio/iofwide.c (do_ftell_wide): Likewise.
17228 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17230 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17233 * libio/libioP.h (get_file_offset): New function.
17234 * libio/fileops.c (get_file_offset): Likewise.
17235 (do_ftell): Likewise.
17236 (_IO_new_file_seekoff): Split out ftell logic.
17237 * libio/wfileops.c (do_ftell_wide): Likewise.
17238 (_IO_wfile_seekoff): Split out ftell logic.
17239 * libio/tst-ftell-active-handler.c: New test case.
17240 * libio/Makefile (tests): Add it.
17242 2014-03-03 Roland McGrath <roland@hack.frob.com>
17244 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17245 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17247 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17250 * nscd/connections.c (nscd_init): Call do_exit.
17251 (start_threads): Call do_exit and notify_parent.
17252 (begin_drop_privileges): Call do_exit.
17253 (finish_drop_privileges): Likewise.
17254 * nscd/selinux.c (preserve_capabilities): Likewise.
17255 (install_real_capabilities): Likewise.
17256 (nscd_selinux_enabled): Likewise.
17257 (avc_create_thread): Likewise.
17258 (avc_alloc_lock): Likewise.
17259 (nscd_avc_init): Likewise.
17260 * nscd/nscd.c (parent_fd): New static variable.
17261 (main): Create a pipe between parent and child processes.
17262 Skip closing parent_fd.
17263 (monitor_child): New function.
17264 (do_exit): Likewise.
17265 (notify_parent): Likewise.
17266 * nscd/nscd.h (notify_parent): Likewise.
17267 (do_exit): Likewise.
17269 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17271 * malloc/malloc.c (__libc_calloc): Revert last change.
17273 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17277 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17279 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17283 (__libc_ifunc_impl_list): Likewise.
17284 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17285 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17286 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17287 * string/strrchr.c: Define STRRCHR.
17289 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17291 * benchtest/bench-strtok.c (simple_strtok): Delete.
17292 (strtok_string): Use as benchmark.
17293 * string/strtok (STRTOK): New macro.
17295 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17297 * manual/threads.texi: Add header and standard comments to all
17300 * elf/dl-lookup.c (check_match): New function.
17301 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17302 (do_lookup_x): Remove nested function check_match. Use non-nested
17303 function check_match.
17305 2014-02-28 Roland McGrath <roland@hack.frob.com>
17307 * csu/Makefile (generated, before-compile): Use += rather than =.
17308 * catgets/Makefile (generated, generated-dirs): Likewise.
17309 * debug/Makefile (generated): Likewise.
17310 * dlfcn/Makefile (generated): Likewise.
17311 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17312 * iconvdata/Makefile (before-compile, generated): Likewise.
17313 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17314 * libio/Makefile (generated): Likewise.
17315 * malloc/Makefile (generated): Likewise.
17316 * manual/Makefile (generated, generated-dirs): Likewise.
17317 * misc/Makefile (generated): Likewise.
17318 * posix/Makefile (generated): Likewise.
17319 * resolv/Makefile (generated): Likewise.
17320 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17321 * timezone/Makefile (generated, generated-dirs): Likewise.
17323 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17325 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17328 power8 implementation.
17329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17330 file: POWER8 llround ifunc implementation.
17331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17332 (__lllround): Add POWER8 implementation.
17333 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17334 POWER8 llround implementation.
17336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17337 power8 implementation.
17338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17339 file: POWER8 llrint ifunc implementation.
17340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17341 Add POWER8 implementation.
17342 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17343 POWER8 llrint implementation.
17345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17346 power8 implementation.
17347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17348 file: POWER8 finite ifunc implementation.
17349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17350 Add POWER8 implementation.
17351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17353 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17354 POWER8 finite implementation.
17355 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17358 power8 implementation.
17359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17360 file: POWER8 isinf ifunc implementation.
17361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17362 POWER8 implementation.
17363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17365 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17366 isinf implementation.
17367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17369 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17370 (INIT_ARCH): Add hwcap2 initialization.
17371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17372 power8 implementation.
17373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17374 file: POWER8 isnan ifunc implementation.
17375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17376 POWER8 implementation.
17377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17380 isnan implementation.
17381 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17383 2014-02-27 Joey Ye <joey.ye@arm.com>
17385 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17386 (_FP_NANFRAC_Q): Set to zero.
17388 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17391 * math/auto-libm-test-in: New test inputs.
17392 * math/auto-libm-test-out: Regenerate.
17393 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17396 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17398 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17400 * scripts/evaluate-test.sh: Take new argument indicating whether
17401 failure is expected.
17402 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17403 indicating whether failure is expected.
17404 * conform/Makefile (test-xfail-run-conformtest): New variable.
17405 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17407 * posix/Makefile (test-xfail-annexc): New variable.
17408 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17410 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17412 * argp/Makefile: Include Makeconfig immediately after defining
17414 * assert/Makefile: Likewise.
17415 * benchtests/Makefile: Likewise.
17416 * catgets/Makefile: Likewise.
17417 * conform/Makefile: Likewise.
17418 * crypt/Makefile: Likewise.
17419 * csu/Makefile: Likewise.
17420 (all): Remove target.
17421 * ctype/Makefile: Include Makeconfig immediately after defining
17423 * debug/Makefile: Likewise.
17424 * dirent/Makefile: Likewise.
17425 * dlfcn/Makefile: Likewise.
17426 * gmon/Makefile: Likewise.
17427 * gnulib/Makefile: Likewise.
17428 * grp/Makefile: Likewise.
17429 * gshadow/Makefile: Likewise.
17430 * hesiod/Makefile: Likewise.
17431 * hurd/Makefile: Likewise.
17432 (all): Remove target.
17433 * iconvdata/Makefile: Include Makeconfig immediately after
17435 * inet/Makefile: Likewise.
17436 * intl/Makefile: Likewise.
17437 * io/Makefile: Likewise.
17438 * libio/Makefile: Likewise.
17439 (all): Remove target.
17440 * locale/Makefile: Include Makeconfig immediately after defining
17442 * login/Makefile: Likewise.
17443 * mach/Makefile: Likewise.
17444 (all): Remove target.
17445 * malloc/Makefile: Include Makeconfig immediately after defining
17447 (all): Remove target.
17448 * manual/Makefile: Include Makeconfig immediately after defining
17450 * math/Makefile: Likewise.
17451 * misc/Makefile: Likewise.
17452 * nis/Makefile: Likewise.
17453 * nss/Makefile: Likewise.
17454 * po/Makefile: Likewise.
17455 (all): Remove target.
17456 * posix/Makefile: Include Makeconfig immediately after defining
17458 * pwd/Makefile: Likewise.
17459 * resolv/Makefile: Likewise.
17460 * resource/Makefile: Likewise.
17461 * rt/Makefile: Likewise.
17462 * setjmp/Makefile: Likewise.
17463 * shadow/Makefile: Likewise.
17464 * signal/Makefile: Likewise.
17465 * socket/Makefile: Likewise.
17466 * soft-fp/Makefile: Likewise.
17467 * stdio-common/Makefile: Likewise.
17468 * stdlib/Makefile: Likewise.
17469 * streams/Makefile: Likewise.
17470 * string/Makefile: Likewise.
17471 * sunrpc/Makefile: Likewise.
17472 (all): Remove target.
17473 * sysvipc/Makefile: Include Makeconfig immediately after defining
17475 * termios/Makefile: Likewise.
17476 * time/Makefile: Likewise.
17477 * timezone/Makefile: Likewise.
17478 (all): Remove target.
17479 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17481 * wctype/Makefile: Likewise.
17483 2014-02-26 Steve Ellcey <sellcey@mips.com>
17485 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17486 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17487 (libc_feholdexcept_setround_mips): Ditto.
17488 (libc_feholdsetround): New.
17489 (libc_feholdsetroundf): New.
17490 (libc_feholdsetroundl): New.
17491 (libc_feupdateenv_test_mips): New.
17492 (libc_feupdateenv_test): New.
17493 (libc_feupdateenv_testf): New.
17494 (libc_feupdateenv_testl): New.
17495 (libc_feresetround): New.
17496 (libc_feresetroundf): New.
17497 (libc_feresetroundl): New.
17498 (libc_fetestexcept_mips): New.
17499 (libc_fetestexcept): New.
17500 (libc_fetestexceptf): New.
17501 (libc_fetestexceptl): New.
17502 (HAVE_RM_CTX): New.
17503 (libc_feholdexcept_setround_mips_ctx): New.
17504 (libc_feholdexcept_setround_ctx): New.
17505 (libc_feholdexcept_setroundf_ctx): New.
17506 (libc_feholdexcept_setroundl_ctx): New.
17507 (libc_fesetenv_mips_ctx): New.
17508 (libc_fesetenv_ctx): New.
17509 (libc_fesetenv_ctxf): New.
17510 (libc_fesetenv_ctxl): New.
17511 (libc_feupdateenv_mips_ctx): New.
17512 (libc_feupdateenv_ctx): New.
17513 (libc_feupdateenvf_ctx): New.
17514 (libc_feupdateenvl_ctx): New.
17515 (libc_feholdsetround_mips_ctx): New.
17516 (libc_feholdsetround_ctx): New.
17517 (libc_feholdsetroundf_ctx): New.
17518 (libc_feholdsetroundl_ctx): New.
17519 (libc_feresetround_mips_ctx): New.
17520 (libc_feresetround_ctx): New.
17521 (libc_feresetroundf_ctx): New.
17522 (libc_feresetroundl_ctx): New.
17524 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17526 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17528 * manual/ipc.texi: New file.
17529 * manual/Makefile (chapters): Add ipc.
17530 * manual/job.texi: Add "Inter-Process Communication" to next.
17531 * manual/process.texi: Add "Inter-Process Communication" to prev.
17533 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17537 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17539 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17541 * manual/arith.texi: Fix spaces after sentences.
17542 * manual/charset.texi: Likewise.
17543 * manual/errno.texi: Likewise.
17544 * manual/install.texi: Likewise.
17545 * manual/llio.texi: Likewise.
17546 * manual/locale.texi: Likewise.
17547 * manual/maint.texi: Likewise.
17548 * manual/math.texi: Likewise.
17549 * manual/memory.texi: Likewise.
17550 * manual/message.texi: Likewise.
17551 * manual/probes.texi: Likewise.
17552 * manual/resource.texi: Likewise.
17553 * manual/signal.texi: Likewise.
17554 * manual/socket.texi: Likewise.
17555 * manual/stdio.texi: Likewise.
17556 * manual/string.texi: Likewise.
17557 * manual/time.texi: Likewise.
17558 * manual/users.texi: Likewise.
17560 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17563 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17564 _DEFAULT_SOURCE is defined.
17566 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17567 Carlos O'Donell <carlos@redhat.com>
17570 * elf/dl-tls.c (_dl_count_modids): New function.
17571 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17572 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17573 audit library and increment generation counter.
17574 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17575 * elf/tst-audit9.c: New file.
17576 * elf/tst-auditmod9a.c: New file.
17577 * elf/tst-auditmod9b.c: New file.
17578 * elf/Makefile: Add rules to build and run tst-audit9.
17580 2014-02-25 Florian Weimer <fweimer@redhat.com>
17583 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17585 2014-02-25 Will Newton <will.newton@linaro.org>
17587 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17588 (__longjmp): Restore sp and lr before restoring callee
17589 saved registers. Add longjmp and longjmp_target
17590 SystemTap probe point.
17591 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17592 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17593 Define to zero to match jmpbuf layout.
17594 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17595 (__sigsetjmp): Save sp and lr before saving callee
17596 saved registers. Add setjmp SystemTap probe point.
17598 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17600 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17602 2014-02-24 Andreas Schwab <schwab@suse.de>
17605 * elf/pldd.c (wait_for_ptrace_stop): New function.
17606 (main): Call it after attaching.
17608 2014-02-22 Roland McGrath <roland@hack.frob.com>
17610 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17611 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17612 Versions files is now verboten.
17613 * hurd/Versions (libc: GLIBC_2.0):
17614 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17615 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17616 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17617 * mach/Versions: Likewise.
17619 * csu/Versions: Remove unused %include.
17620 * resolv/Versions: Likewise.
17622 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17624 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17625 ($(objpfx)check-local-headers.out): Likewise.
17626 ($(objpfx)begin-end-check.out): Likewise.
17627 * Makerules (check-abi-%.out): Likewise.
17628 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17629 ($(objpfx)test2.cat): Likewise.
17630 ($(objpfx)de/libc.cat): Likewise.
17631 ($(objpfx)test-gencat.out): Likewise.
17632 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17633 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17634 ($(objpfx)noload-mem): Likewise.
17635 ($(objpfx)tst-pathopt.out): Likewise.
17636 ($(objpfx)tst-rtld-load-self.out): Likewise.
17637 ($(objpfx)tst-array1-cmp.out): Likewise.
17638 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17639 ($(objpfx)tst-array2-cmp.out): Likewise.
17640 ($(objpfx)tst-array3-cmp.out): Likewise.
17641 ($(objpfx)tst-array4-cmp.out): Likewise.
17642 ($(objpfx)tst-array5-cmp.out): Likewise.
17643 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17644 ($(objpfx)check-textrel.out): Likewise.
17645 ($(objpfx)check-execstack.out): Likewise.
17646 ($(objpfx)check-localplt.out): Likewise.
17647 ($(objpfx)order2-cmp.out): Likewise.
17648 ($(objpfx)tst-leaks1-mem): Likewise.
17649 ($(objpfx)tst-leaks1-static-mem): Likewise.
17650 ($(objpfx)tst-initorder-cmp.out): Likewise.
17651 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17652 ($(objpfx)tst-unused-dep.out): Likewise.
17653 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17654 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17655 * iconv/Makefile (test-iconvconfig): Likewise.
17656 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17657 ($(objpfx)iconv-test.out): Likewise.
17658 ($(objpfx)tst-tables.out): Likewise.
17659 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17660 ($(objpfx)tst-gettext.out): Likewise.
17661 ($(objpfx)tst-translit.out): Likewise.
17662 ($(objpfx)tst-gettext2.out): Likewise.
17663 ($(objpfx)tst-gettext4.out): Likewise.
17664 ($(objpfx)tst-gettext6.out): Likewise.
17665 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17666 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17667 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17668 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17669 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17670 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17671 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17672 ($(objpfx)wordexp-tst.out): Likewise.
17673 ($(objpfx)annexc.out): Likewise.
17674 ($(objpfx)tst-fnmatch-mem): Likewise.
17675 ($(objpfx)bug-regex2-mem): Likewise.
17676 ($(objpfx)bug-regex14-mem): Likewise.
17677 ($(objpfx)bug-regex21-mem): Likewise.
17678 ($(objpfx)bug-regex31-mem): Likewise.
17679 ($(objpfx)tst-vfork3-mem): Likewise.
17680 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17681 ($(objpfx)tst-pcre-mem): Likewise.
17682 ($(objpfx)tst-boost-mem): Likewise.
17683 ($(objpfx)tst-getconf.out): Likewise.
17684 ($(objpfx)bug-ga2-mem): Likewise.
17685 ($(objpfx)bug-glob2-mem): Likewise.
17686 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17687 ($(objpfx)mtrace-tst-leaks2): Likewise.
17688 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17689 ($(objpfx)tst-printf.out): Likewise.
17690 ($(objpfx)tst-setvbuf1.out): Likewise.
17691 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17692 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17693 ($(objpfx)tst-fmtmsg.out): Likewise.
17694 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17695 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17697 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17698 * bits/sigaction.h [__USE_MISC]: Likewise.
17699 * bits/waitstatus.h: Update #endif comments.
17700 * ctype/ctype.h: Likewise.
17701 * dirent/dirent.h: Likewise.
17702 [__USE_MISC]: Remove redundant conditionals.
17703 * grp/grp.h: Update #endif comments.
17704 [__USE_GNU]: Remove redundant conditionals.
17705 [__USE_MISC]: Likewise.
17706 * inet/netinet/in.h [__USE_GNU]: Likewise.
17707 * io/sys/stat.h [__USE_MISC]: Likewise.
17708 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17709 * libio/bits/stdio.h: Update #endif comments.
17710 [__USE_MISC]: Remove redundant conditionals.
17711 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17712 * libio/stdio.h: Update #endif comments.
17713 [__USE_MISC]: Remove redundant conditionals.
17714 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17715 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17716 * math/math.h: Update #else and #endif comments.
17717 [__USE_MISC]: Remove redundant conditionals.
17718 * misc/sys/uio.h: Update #endif comments.
17719 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17720 * posix/glob.h [__USE_MISC]: Likewise.
17721 * posix/sys/types.h: Update #endif comments.
17722 [__USE_MISC]: Remove redundant conditionals.
17723 * posix/sys/wait.h: Update #endif comments.
17724 [__USE_MISC]: Remove redundant conditionals.
17725 * posix/unistd.h: Update #endif comments.
17726 [__USE_MISC]: Remove redundant conditionals.
17727 * pwd/pwd.h [__USE_GNU]: Likewise.
17728 [__USE_MISC]: Likewise.
17729 * resolv/netdb.h [__USE_GNU]: Likewise.
17730 * signal/signal.h: Update #endif comments.
17731 [__USE_MISC]: Remove redundant conditionals.
17732 * stdlib/stdlib.h: Update #else and #endif comments.
17733 [__USE_MISC]: Remove redundant conditionals.
17734 [__USE_GNU]: Likewise.
17735 * string/bits/string2.h [__USE_MISC]: Likewise.
17736 * string/string.h: Update #endif comments.
17737 [__USE_MISC]: Remove redundant conditionals.
17738 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17740 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17741 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17742 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17744 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17748 [__USE_MISC]: Remove redundant conditionals.
17749 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17750 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17751 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17752 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17753 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17755 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17756 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17758 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17759 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17761 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17763 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17764 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17766 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17768 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17769 * sysdeps/x86/bits/string.h: Update #endif comments.
17770 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17772 * time/sys/time.h: Update #endif comments.
17773 * time/time.h: Likewise.
17774 [__USE_MISC]: Remove redundant conditionals.
17776 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17779 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17781 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17783 * Versions.def (librt): Add GLIBC_2.17.
17785 2014-02-21 Adam Conrad <adconrad@0c3.net>
17787 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17788 synonym for _SYS_AUXV_H to allow direct inclusion.
17789 * sysdeps/sparc/bits/hwcap.h: Likewise.
17790 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17791 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17792 * sysdeps/sparc/sysdep.h: Likewise.
17794 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17796 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17798 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17800 * benchtests/bench-strrchr.c: Print length instead of position.
17802 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17805 * sysdeps/unix/sysv/linux/kernel-features.h
17806 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17807 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17808 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17809 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17811 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17812 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17813 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17814 (__ASSUME_SENDMMSG): Define instead of using previous
17815 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17816 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17817 (__ASSUME_SENDMMSG_SYSCALL): Define.
17818 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17819 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17821 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17822 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17824 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17825 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17827 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17828 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17829 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17830 [__ASSUME_SENDMMSG]: Change conditionals to
17831 [__ASSUME_SENDMMSG_SOCKETCALL].
17832 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17833 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17835 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17836 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17838 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17839 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17840 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17841 [!__ASSUME_SENDMMSG]: Change conditional to
17842 [!__ASSUME_SENDMMSG_SOCKETCALL].
17843 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17844 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17848 * sysdeps/unix/sysv/linux/kernel-features.h
17849 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17850 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17851 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17852 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17853 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17854 [__i386__ || __sparc__]
17855 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17856 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17857 (__ASSUME_RECVMMSG): Define instead of using previous
17858 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17859 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17860 (__ASSUME_RECVMMSG_SYSCALL): Define.
17861 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17862 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17864 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17865 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17867 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17868 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17870 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17871 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17872 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17873 [__ASSUME_RECVMMSG]: Change condition to
17874 [__ASSUME_RECVMMSG_SOCKETCALL].
17875 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17876 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17878 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17879 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17880 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17882 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17883 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17884 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17885 [!__ASSUME_RECVMMSG]: Change condition to
17886 [!__ASSUME_RECVMMSG_SOCKETCALL].
17887 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17888 (__ASSUME_RECVMMSG_SYSCALL): Define.
17891 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17892 __powerpc__ || __s390__ || __sh__ || __sparc__]
17893 (__ASSUME_SOCKETCALL): Define.
17894 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17895 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17896 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17897 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17898 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17899 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17900 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17901 (__ASSUME_ACCEPT4): Define instead of using previous
17902 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17903 __powerpc__ || __sparc__ || __s390__)] condition.
17904 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17905 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17906 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17907 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17908 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17909 [!__ASSUME_ACCEPT4]: Change condition to
17910 [!__ASSUME_ACCEPT4_SOCKETCALL].
17911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17912 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17913 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17914 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17915 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17916 __ASSUME_ACCEPT4_SYSCALL.
17917 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17918 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17919 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17920 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17921 __ASSUME_ACCEPT4_SYSCALL.
17922 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17923 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17924 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17925 [__ASSUME_ACCEPT4]: Change condition to
17926 [__ASSUME_ACCEPT4_SOCKETCALL].
17927 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17928 (__ASSUME_SOCKETCALL): Define.
17929 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17930 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17931 (__ASSUME_SOCKETCALL): Define.
17932 (__ASSUME_ACCEPT4): Remove.
17933 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17935 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17936 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17938 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17939 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17941 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17943 (HWCAP_ARM_LPAE): Likewise.
17944 (HWCAP_ARM_EVTSTRM): Likewise.
17945 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17946 Add vpfd32, lpae and evtstrm.
17947 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17950 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17952 * math/auto-libm-test-in: Add tests of clog10.
17953 * math/auto-libm-test-out: Regenerated.
17954 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17958 2014-02-18 Andreas Schwab <schwab@suse.de>
17961 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17962 Store non-zero if the second buffer was newly allocated.
17963 (send_dg): Likewise.
17964 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17965 to send_vc and send_dg.
17966 (res_nsend): Pass NULL for ansp2_malloced.
17967 * resolv/res_query.c (__libc_res_nquery): Add parameter
17968 answerp2_malloced and pass it down to __libc_res_nsend.
17969 (res_nquery): Pass additional NULL to __libc_res_nquery.
17970 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17971 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17972 second answer buffer if answerp2_malloced was set.
17973 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17974 (__libc_res_nquerydomain): Add parameter
17975 answerp2_malloced and pass it down to __libc_res_nquery.
17976 (res_nquerydomain): Pass additional NULL to
17977 __libc_res_nquerydomain.
17978 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17979 additional NULL to __libc_res_nsend and __libc_res_nquery.
17980 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17981 additional NULL to __libc_res_nsearch.
17982 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17983 parameter of __libc_res_nsearch to check for separately allocated
17985 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17987 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17988 additional NULL to __libc_res_nquery.
17989 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17990 __libc_res_nsearch.
17991 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17992 * include/resolv.h: Update prototypes of __libc_res_nquery,
17993 __libc_res_nsearch, __libc_res_nsend.
17995 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17997 * math/auto-libm-test-in: Add tests of fma.
17998 * math/auto-libm-test-out: Regenerated.
17999 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18000 (fma_towardzero_test_data): Likewise.
18001 (fma_downward_test_data): Likewise.
18002 (fma_upward_test_data): Likewise.
18003 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18005 (rounding_modes): Add values for new field.
18006 (func_calc_method): Add value mpfr_fff_f.
18007 (func_calc_desc): Add mpfr_fff_f union field.
18008 (test_function): Add field exact_args.
18009 (FUNC): Add macro argument EXACT_ARGS.
18010 (FUNC_mpfr_f_f): Update call to FUNC.
18011 (FUNC_mpfr_f_f): Likewise.
18012 (FUNC_mpfr_ff_f): Likewise.
18013 (FUNC_mpfr_if_f): Likewise.
18014 (FUNC_mpc_c_f): Likewise.
18015 (FUNC_mpc_c_c): Likewise.
18016 (test_functions): Add fma. Update calls to FUNC.
18017 (handle_input_arg): Add argument exact_args.
18018 (add_test): Update call to handle_input_arg.
18019 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18020 (output_for_one_input_case): Update call to calc_generic_results.
18021 Recalculate exact zero results in each rounding mode.
18023 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18024 non-negative before setting low bit.
18025 * math/auto-libm-test-in: Mark one asin test possibly having
18026 spurious underflow.
18027 * math/auto-libm-test-out: Regenerated.
18028 * sysdeps/i386/fpu/libm-test-ulps: Update.
18029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18031 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18033 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18034 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18035 ports/sysdeps/unix/sysv/linux/microblaze.
18036 * README: Add missing listing for microblaze*-*-linux-gnu.
18038 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18040 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18043 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18045 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18046 * sysdeps/unix/sysv/linux/ia64: Move directory from
18047 ports/sysdeps/unix/sysv/linux/ia64.
18048 * README: Update listing for ia64-*-linux-gnu.
18050 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18051 Joseph Myers <joseph@codesourcery.com>
18053 * Makeconfig (test-name): New variable.
18054 (evaluate-test): Likewise.
18055 * Makerules (do-test-clean): Remove .test-result files.
18056 (common-mostlyclean): Likewise.
18057 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18058 * scripts/evaluate-test.sh: New file.
18060 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18062 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18063 separate $(objpfx)tst-fopenloc-cmp.out and
18064 $(objpfx)tst-fopenloc-mem.out targets.
18065 (tests): Update dependencies.
18066 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18067 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18068 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18069 (tst-rxspencer-no-utf8-ARGS): New variable.
18070 (tst-rxspencer-no-utf8-ENV): Likewise.
18071 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18072 instead of $(objpfx)tst-rxspencer-mem.
18073 ($(objpfx)tst-rxspencer-mem): Change target to
18074 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18075 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18076 * posix/tst-rxspencer-no-utf8.c: New file.
18078 * elf/Makefile ($(objpfx)order.out): Remove rule.
18079 [$(run-built-tests) = yes] (tests): Depend on
18080 $(objpfx)order-cmp.out.
18081 ($(objpfx)order-cmp.out): New rule.
18082 [$(run-built-tests) = yes] (tests): Depend on
18083 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18084 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18085 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18086 $(objpfx)tst-array5-static-cmp.out.
18087 ($(objpfx)tst-array1.out): Remove rule.
18088 ($(objpfx)tst-array1-cmp.out): New rule.
18089 ($(objpfx)tst-array1-static.out): Remove rule.
18090 ($(objpfx)tst-array1-static-cmp.out): New rule.
18091 ($(objpfx)tst-array2.out): Remove rule.
18092 ($(objpfx)tst-array2-cmp.out): New rule.
18093 ($(objpfx)tst-array3.out): Remove rule.
18094 ($(objpfx)tst-array3-cmp.out): New rule.
18095 ($(objpfx)tst-array4.out): Remove rule.
18096 ($(objpfx)tst-array4-cmp.out): New rule.
18097 ($(objpfx)tst-array5.out): Remove rule.
18098 ($(objpfx)tst-array5-cmp.out): New rule.
18099 ($(objpfx)tst-array5-static.out): Remove rule.
18100 ($(objpfx)tst-array5-static-cmp.out): New rule.
18101 [$(run-built-tests) = yes] (tests): Depend on
18102 $(objpfx)order2-cmp.out.
18103 ($(objpfx)order2.out): Remove rule.
18104 ($(objpfx)order2-cmp.out): New rule.
18105 ($(objpfx)tst-initorder.out): Remove rule.
18106 [$(run-built-tests) = yes] (tests): Depend on
18107 $(objpfx)tst-initorder-cmp.out.
18108 ($(objpfx)tst-initorder-cmp.out): New rule.
18109 ($(objpfx)tst-initorder2.out): Remove rule.
18110 [$(run-built-tests) = yes] (tests): Depend on
18111 $(objpfx)tst-initorder2-cmp.out.
18112 ($(objpfx)tst-initorder2-cmp.out): New rule.
18113 [$(run-built-tests) = yes] (tests): Depend on
18114 $(objpfx)tst-unused-dep-cmp.out.
18115 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18116 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18117 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18118 on $(objpfx)tst-setvbuf1-cmp.out.
18119 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18120 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18121 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18122 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18123 ($(objpfx)tst-svc.out): Remove rule.
18124 ($(objpfx)tst-svc-cmp.out): New rule.
18126 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18128 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18129 * ctype/ctype.h [__USE_MISC]: Likewise.
18130 * dirent/dirent.h [__USE_MISC]: Likewise.
18131 * grp/grp.h [__USE_MISC]: Likewise.
18132 * io/fcntl.h [__USE_MISC]: Likewise.
18133 * io/sys/stat.h [__USE_MISC]: Likewise.
18134 * libio/stdio.h [__USE_MISC]: Likewise.
18135 * posix/unistd.h [__USE_MISC]: Likewise.
18136 * pwd/pwd.h [__USE_MISC]: Likewise.
18137 * stdlib.h [__USE_MISC]: Likewise.
18138 * string/bits/string2.h [__USE_MISC]: Likewise.
18139 * string/string.h [__USE_MISC]: Likewise.
18140 * time/time.h [__USE_MISC]: Likewise.
18142 2014-02-13 Andreas Schwab <schwab@suse.de>
18145 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18146 second answer buffer if it was separately allocated.
18148 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18150 * sysdeps/mips/math-tests.h: Include <features.h>.
18151 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18152 (ROUNDING_TESTS_long_double): Do not define.
18153 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18154 (EXCEPTION_TESTS_long_double): Likewise.
18155 * sysdeps/mips/mips64/libm-test-ulps: Update.
18157 * include/features.h (__USE_BSD): Remove macro definitions.
18158 (__USE_SVID): Likewise.
18159 (_BSD_SOURCE): Likewise.
18160 (_SVID_SOURCE): Likewise.
18161 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18162 from definition of _DEFAULT_SOURCE.
18163 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18165 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18166 * bits/mman.h [__USE_BSD]: Likewise.
18167 * bits/termios.h [__USE_BSD]: Likewise.
18168 * bits/waitstatus.h [__USE_BSD]: Likewise.
18169 * ctype/ctype.h [__USE_SVID]: Likewise.
18170 * dirent/dirent.h [__USE_BSD]: Likewise.
18171 * grp/grp.h [__USE_SVID]: Likewise.
18172 [__USE_BSD]: Likewise.
18173 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18174 * io/fcntl.h [__USE_BSD]: Likewise.
18175 * io/ftw.h [__USE_BSD]: Likewise.
18176 * io/sys/stat.h [__USE_BSD]: Likewise.
18177 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18178 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18179 * libio/stdio.h [__USE_SVID]: Likewise.
18180 [__USE_BSD]: Likewise.
18181 * math/math.h [__USE_SVID]: Likewise.
18182 [__USE_BSD]: Likewise.
18183 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18184 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18185 * misc/search.h [__USE_SVID]: Likewise.
18186 * misc/sys/mman.h [__USE_BSD]: Likewise.
18187 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18188 * misc/sys/uio.h [__USE_BSD]: Likewise.
18189 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18190 * posix/glob.h [__USE_BSD]: Likewise.
18191 * posix/regex.h [__USE_BSD]: Likewise.
18192 * posix/sys/types.h [__USE_BSD]: Likewise.
18193 [__USE_SVID]: Likewise.
18194 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18195 * posix/sys/wait.h [__USE_BSD]: Likewise.
18196 [__USE_SVID]: Likewise.
18197 * posix/unistd.h [__USE_BSD]: Likewise.
18198 [__USE_SVID]: Likewise.
18199 * pwd/pwd.h [__USE_SVID]: Likewise.
18200 * resolv/netdb.h [__USE_BSD]: Likewise.
18201 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18202 * signal/signal.h [__USE_BSD]: Likewise.
18203 [__USE_SVID]: Likewise.
18204 * socket/sys/socket.h [__USE_BSD]: Likewise.
18205 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18206 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18207 [__USE_SVID]: Likewise.
18208 * string/bits/string2.h [__USE_BSD]: Likewise.
18209 [__USE_SVID]: Likewise.
18210 * string/bits/string3.h [__USE_BSD]: Likewise.
18211 * string/endian.h [__USE_BSD]: Likewise.
18212 * string/string.h [__USE_SVID]: Likewise.
18213 [__USE_BSD]: Likewise.
18214 * string/strings.h [__USE_BSD]: Likewise.
18215 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18216 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18217 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18218 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18219 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18220 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18222 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18224 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18225 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18227 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18228 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18230 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18232 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18233 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18234 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18236 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18238 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18239 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18240 * termios/termios.h [__USE_BSD]: Likewise.
18241 * time/sys/time.h [__USE_BSD]: Likewise.
18242 * time/time.h [__USE_BSD]: Likewise.
18243 [__USE_SVID]: Likewise.
18245 * Makefile (subdir_targets): Remove subdir_lint.out.
18247 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18248 (do-tst-printf): Likewise.
18249 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18250 $(objpfx)tst-printf.out.
18252 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18254 * Makerules (check-abi-%): Change target to
18255 $(objpfx)check-abi-%.out.
18256 (check-abi target): Update dependencies.
18257 (check-abi-pattern variable): Redirect output of diff to $@.
18258 (check-abi variable): Likewise.
18259 * elf/Makefile (check-abi): Update dependencies.
18261 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18263 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18264 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18266 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18267 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18268 value has largest subnormal exponent.
18269 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18270 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18271 * sysdeps/aarch64/soft-fp/sfp-machine.h
18272 (_FP_TININESS_AFTER_ROUNDING): New macro.
18273 * sysdeps/alpha/soft-fp/sfp-machine.h
18274 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18275 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18277 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18278 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18279 * sysdeps/mips/soft-fp/sfp-machine.h
18280 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18281 * sysdeps/powerpc/soft-fp/sfp-machine.h
18282 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18283 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18285 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18286 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18287 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18288 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18289 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18292 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18295 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18298 2014-02-12 Richard Henderson <rth@redhat.com>
18300 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18301 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18302 * sysdeps/unix/sysv/linux/alpha: Move directory from
18303 ports/sysdeps/unix/sysv/linux/alpha.
18304 * README: Update listing for alpha-*-linux-gnu.
18306 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18308 * include/features.h: Update comment documenting feature test
18310 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18312 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18313 (_SVID_SOURCE): Likewise.
18314 (_DEFAULT_SOURCE): Update description of default features.
18315 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18317 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18318 (S_ISVTX): Likewise.
18319 * manual/math.texi (Mathematical Constants): Likewise.
18320 * manual/signal.texi (Interrupted Primitives): Likewise.
18321 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18322 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18323 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18324 Don't refer to _SVID_SOURCE in warning text.
18326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18328 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18330 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18331 * sysdeps/mips/dl-lookup.c: Remove.
18332 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18334 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18337 * math/auto-libm-test-in: Add testcase for expl.
18338 * math/auto-libm-test-out: Regenerate.
18339 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18340 calculation of unsafe.
18341 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18343 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18345 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18346 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18347 ports/sysdeps/unix/sysv/linux/aarch64.
18348 * README: Update listing for aarch64*-*-linux-gnu.
18350 2014-02-11 Will Newton <will.newton@linaro.org>
18352 * manual/probes.texi (Mathematical Function Probes): Use
18353 "triggered" instead of "hit".
18355 * manual/probes.texi (Internal Probes): Add documentation
18356 of setjmp, longjmp and longjmp_target probes.
18358 * include/stap-probe.h: Add comment about probe argument
18361 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18362 definition. (tr_where, tr_freehook, tr_mallochook,
18363 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18365 2014-02-11 David S. Miller <davem@davemloft.net>
18367 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18368 processing int_tests.
18370 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18372 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18373 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18374 * sysdeps/unix/sysv/linux/mips: Move directory from
18375 ports/sysdeps/unix/sysv/linux/mips.
18376 * README: Update listing for mips-*-linux-gnu and
18377 mips64-*-linux-gnu.
18379 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18381 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18382 * sysdeps/unix/sysv/linux/m68k: Move directory from
18383 ports/sysdeps/unix/sysv/linux/m68k.
18384 * README: Update listing for m68k-*-linux-gnu.
18386 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18388 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18389 * sysdeps/unix/sysv/linux/generic: Move directory from
18390 ports/sysdeps/unix/sysv/linux/generic.
18391 * sysdeps/unix/sysv/linux/tile: Move directory from
18392 ports/sysdeps/unix/sysv/linux/tile.
18393 * README: Update listing for tile*-*-linux-gnu.
18395 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18397 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18399 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18400 * catgets/open_catalog.c (__open_catalog): Likewise.
18401 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18402 * debug/confstr_chk.c: Likewise.
18403 * debug/fread_chk.c (__fread_chk): Likewise.
18404 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18405 * debug/getgroups_chk.c: Likewise.
18406 * debug/mbsnrtowcs_chk.c: Likewise.
18407 * debug/mbsrtowcs_chk.c: Likewise.
18408 * debug/mbstowcs_chk.c: Likewise.
18409 * debug/memcpy_chk.c: Likewise.
18410 * debug/memmove_chk.c: Likewise.
18411 * debug/mempcpy_chk.c: Likewise.
18412 * debug/memset_chk.c: Likewise.
18413 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18414 * debug/strcat_chk.c (__strcat_chk): Likewise.
18415 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18416 * debug/strncat_chk.c (__strncat_chk): Likewise.
18417 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18418 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18419 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18420 * debug/wcpncpy_chk.c: Likewise.
18421 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18422 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18423 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18424 * debug/wcsncpy_chk.c: Likewise.
18425 * debug/wcsnrtombs_chk.c: Likewise.
18426 * debug/wcsrtombs_chk.c: Likewise.
18427 * debug/wcstombs_chk.c: Likewise.
18428 * debug/wmemcpy_chk.c: Likewise.
18429 * debug/wmemmove_chk.c: Likewise.
18430 * debug/wmempcpy_chk.c: Likewise.
18431 * debug/wmemset_chk.c: Likewise.
18432 * dirent/scandirat.c (SCANDIRAT): Likewise.
18433 * dlfcn/dladdr1.c (dladdr1): Likewise.
18434 * dlfcn/dladdr.c (dladdr): Likewise.
18435 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18436 * dlfcn/dlerror.c (__dlerror): Likewise.
18437 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18438 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18439 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18440 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18441 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18442 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18443 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18444 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18446 * elf/dl-conflict.c: Likewise.
18447 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18448 * elf/dl-dst.h: Likewise.
18449 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18450 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18451 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18452 * elf/dl-init.c (call_init, _dl_init): Likewise.
18453 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18454 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18455 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18457 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18459 * elf/dl-minimal.c (__libc_memalign): Likewise.
18460 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18461 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18462 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18463 * elf/dl-sym.c (do_sym): Likewise.
18464 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18465 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18466 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18467 * elf/dl-writev.h (_dl_writev): Likewise.
18468 * elf/ldconfig.c (search_dir): Likewise.
18469 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18470 (dl_main): Likewise.
18471 * elf/setup-vdso.h (setup_vdso): Likewise.
18472 * grp/compat-initgroups.c (compat_call): Likewise.
18473 * grp/fgetgrent.c (fgetgrent): Likewise.
18474 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18475 * grp/putgrent.c (putgrent): Likewise.
18476 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18478 * hurd/hurdinit.c: Likewise.
18479 * iconvdata/8bit-gap.c (struct): Likewise.
18480 * iconvdata/ansi_x3.110.c : Likewise.
18481 * iconvdata/big5.c : Likewise.
18482 * iconvdata/big5hkscs.c : Likewise.
18483 * iconvdata/cp1255.c: Likewise.
18484 * iconvdata/cp1258.c : Likewise.
18485 * iconvdata/cp932.c : Likewise.
18486 * iconvdata/euc-cn.c: Likewise.
18487 * iconvdata/euc-jisx0213.c : Likewise.
18488 * iconvdata/euc-jp.c: Likewise.
18489 * iconvdata/euc-jp-ms.c : Likewise.
18490 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18491 * iconvdata/gb18030.c : Likewise.
18492 * iconvdata/gbbig5.c (const): Likewise.
18493 * iconvdata/gbgbk.c: Likewise.
18494 * iconvdata/gbk.c : Likewise.
18495 * iconvdata/ibm1364.c : Likewise.
18496 * iconvdata/ibm930.c : Likewise.
18497 * iconvdata/ibm932.c: Likewise.
18498 * iconvdata/ibm933.c : Likewise.
18499 * iconvdata/ibm935.c : Likewise.
18500 * iconvdata/ibm937.c : Likewise.
18501 * iconvdata/ibm939.c : Likewise.
18502 * iconvdata/ibm943.c: Likewise.
18503 * iconvdata/iso_11548-1.c: Likewise.
18504 * iconvdata/iso-2022-cn.c : Likewise.
18505 * iconvdata/iso-2022-cn-ext.c : Likewise.
18506 * iconvdata/iso-2022-jp-3.c: Likewise.
18507 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18508 * iconvdata/iso-2022-kr.c : Likewise.
18509 * iconvdata/iso646.c (gconv_end): Likewise.
18510 * iconvdata/iso_6937-2.c : Likewise.
18511 * iconvdata/iso_6937.c : Likewise.
18512 * iconvdata/iso8859-1.c: Likewise.
18513 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18514 * iconvdata/shift_jisx0213.c : Likewise.
18515 * iconvdata/sjis.c : Likewise.
18516 * iconvdata/t.61.c : Likewise.
18517 * iconvdata/tcvn5712-1.c : Likewise.
18518 * iconvdata/tscii.c: Likewise.
18519 * iconvdata/uhc.c : Likewise.
18520 * iconvdata/unicode.c (gconv_end): Likewise.
18521 * iconvdata/utf-16.c (gconv_end): Likewise.
18522 * iconvdata/utf-32.c (gconv_end): Likewise.
18523 * iconvdata/utf-7.c (base64): Likewise.
18524 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18525 * iconv/gconv_close.c (__gconv_close): Likewise.
18526 * iconv/gconv_open.c (__gconv_open): Likewise.
18527 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18528 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18529 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18530 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18531 (ucs4le_internal_loop_single): Likewise.
18532 * iconv/iconv.c (iconv): Likewise.
18533 * iconv/iconv_close.c: Likewise.
18534 * iconv/loop.c (SINGLE): Likewise.
18535 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18536 * include/atomic.h: Likewise.
18537 * inet/inet6_option.c (option_alloc): Likewise.
18538 * intl/bindtextdom.c (set_binding_values): Likewise.
18539 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18540 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18541 * intl/localealias.c (read_alias_file): Likewise.
18542 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18543 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18544 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18545 * libio/fmemopen.c (fmemopen): Likewise.
18546 * libio/iofgets.c (_IO_fgets): Likewise.
18547 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18548 * libio/iofgetws.c (fgetws): Likewise.
18549 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18550 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18551 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18552 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18553 * locale/findlocale.c (_nl_find_locale): Likewise.
18554 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18555 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18557 * locale/setlocale.c (setlocale): Likewise.
18558 * login/programs/pt_chown.c (main): Likewise.
18559 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18560 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18561 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18562 (mmap, mmap64, mremap, munmap): Likewise.
18563 * math/e_exp2l.c: Likewise.
18564 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18565 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18566 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18567 * math/s_catan.c (__catan): Likewise.
18568 * math/s_catanf.c (__catanf): Likewise.
18569 * math/s_catanh.c (__catanh): Likewise.
18570 * math/s_catanhf.c (__catanhf): Likewise.
18571 * math/s_catanhl.c (__catanhl): Likewise.
18572 * math/s_catanl.c (__catanl): Likewise.
18573 * math/s_ccosh.c (__ccosh): Likewise.
18574 * math/s_ccoshf.c (__ccoshf): Likewise.
18575 * math/s_ccoshl.c (__ccoshl): Likewise.
18576 * math/s_cexp.c (__cexp): Likewise.
18577 * math/s_cexpf.c (__cexpf): Likewise.
18578 * math/s_cexpl.c (__cexpl): Likewise.
18579 * math/s_clog10.c (__clog10): Likewise.
18580 * math/s_clog10f.c (__clog10f): Likewise.
18581 * math/s_clog10l.c (__clog10l): Likewise.
18582 * math/s_clog.c (__clog): Likewise.
18583 * math/s_clogf.c (__clogf): Likewise.
18584 * math/s_clogl.c (__clogl): Likewise.
18585 * math/s_csin.c (__csin): Likewise.
18586 * math/s_csinf.c (__csinf): Likewise.
18587 * math/s_csinh.c (__csinh): Likewise.
18588 * math/s_csinhf.c (__csinhf): Likewise.
18589 * math/s_csinhl.c (__csinhl): Likewise.
18590 * math/s_csinl.c (__csinl): Likewise.
18591 * math/s_csqrt.c (__csqrt): Likewise.
18592 * math/s_csqrtf.c (__csqrtf): Likewise.
18593 * math/s_csqrtl.c (__csqrtl): Likewise.
18594 * math/s_ctan.c (__ctan): Likewise.
18595 * math/s_ctanf.c (__ctanf): Likewise.
18596 * math/s_ctanh.c (__ctanh): Likewise.
18597 * math/s_ctanhf.c (__ctanhf): Likewise.
18598 * math/s_ctanhl.c (__ctanhl): Likewise.
18599 * math/s_ctanl.c (__ctanl): Likewise.
18600 * math/w_pow.c: Likewise.
18601 * math/w_powf.c: Likewise.
18602 * math/w_powl.c: Likewise.
18603 * math/w_scalb.c (sysv_scalb): Likewise.
18604 * math/w_scalbf.c (sysv_scalbf): Likewise.
18605 * math/w_scalbl.c (sysv_scalbl): Likewise.
18606 * misc/error.c (error_tail): Likewise.
18607 * misc/pselect.c (__pselect): Likewise.
18608 * nis/nis_callback.c (__nis_create_callback): Likewise.
18609 * nis/nis_call.c (__nisfind_server): Likewise.
18610 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18611 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18612 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18613 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18614 * nis/nis_lookup.c (nis_lookup): Likewise.
18615 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18616 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18617 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18618 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18619 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18620 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18621 * nis/nss_compat/compat-initgroups.c (add_group)
18622 (internal_getgrent_r): Likewise.
18623 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18624 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18625 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18626 (internal_getspnam_r): Likewise.
18627 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18628 (_nss_nis_getaliasbyname_r): Likewise.
18629 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18630 (_nss_nis_getntohost_r): Likewise.
18631 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18632 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18633 (_nss_nis_getgrgid_r): Likewise.
18634 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18635 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18636 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18637 (_nss_nis_gethostbyname4_r): Likewise.
18638 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18639 (initgroups_netid): Likewise.
18640 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18641 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18642 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18643 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18644 (_nss_nis_getprotobynumber_r): Likewise.
18645 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18646 (_nss_nis_getsecretkey): Likewise.
18647 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18648 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18649 (_nss_nis_getpwuid_r): Likewise.
18650 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18651 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18652 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18653 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18654 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18655 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18656 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18658 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18659 (_nss_nisplus_getntohost_r): Likewise.
18660 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18661 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18662 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18663 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18665 * nis/nss_nisplus/nisplus-initgroups.c
18666 (_nss_nisplus_initgroups_dyn): Likewise.
18667 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18668 (_nss_nisplus_getnetbyaddr_r): Likewise.
18669 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18670 (_nss_nisplus_getprotobynumber_r): Likewise.
18671 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18672 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18673 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18675 * nis/nss_nisplus/nisplus-service.c
18676 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18677 (_nss_nisplus_getservbyport_r): Likewise.
18678 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18679 (_nss_nisplus_getspnam_r): Likewise.
18680 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18682 * nscd/aicache.c (addhstaiX): Likewise.
18683 * nscd/cache.c (cache_search, prune_cache): Likewise.
18684 * nscd/connections.c (register_traced_file, send_ro_fd)
18685 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18686 (main_loop_epoll): Likewise.
18687 * nscd/grpcache.c (addgrbyX): Likewise.
18688 * nscd/hstcache.c (addhstbyX): Likewise.
18689 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18690 * nscd/mem.c (gc, mempool_alloc): Likewise.
18691 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18692 (addinnetgrX): Likewise.
18693 * nscd/nscd-client.h (__nscd_acquire_maplock)
18694 (__nscd_drop_map_ref): Likewise.
18695 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18696 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18697 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18699 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18700 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18701 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18702 (__nscd_get_map_ref): Likewise.
18703 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18704 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18706 * nscd/pwdcache.c (addpwbyX): Likewise.
18707 * nscd/selinux.c (preserve_capabilities): Likewise.
18708 * nscd/servicescache.c (addservbyX): Likewise.
18709 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18710 * posix/fnmatch.c (fnmatch): Likewise.
18711 * posix/getopt.c (_getopt_internal_r): Likewise.
18712 * posix/glob.c (glob, glob_in_dir): Likewise.
18713 * posix/wordexp.c (exec_comm_child): Likewise.
18714 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18715 (getanswer_r, gaih_getanswer_slice): Likewise.
18716 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18717 * resolv/res_init.c: Likewise.
18718 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18719 * resolv/res_query.c (__libc_res_nquery): Likewise.
18720 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18722 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18723 * stdio-common/perror.c (perror): Likewise.
18724 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18725 * stdio-common/tmpnam.c (tmpnam): Likewise.
18726 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18727 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18728 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18730 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18731 * stdlib/putenv.c (putenv): Likewise.
18732 * stdlib/setenv.c (__add_to_environ): Likewise.
18733 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18734 * stdlib/strtol_l.c (INTERNAL): Likewise.
18735 * string/memmem.c (memmem): Likewise.
18736 * string/strerror.c (strerror): Likewise.
18737 * string/strnlen.c (__strnlen): Likewise.
18738 * string/test-memmem.c (simple_memmem): Likewise.
18739 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18740 * sunrpc/pm_getport.c (__get_socket): Likewise.
18741 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18742 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18743 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18744 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18746 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18747 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18748 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18749 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18750 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18751 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18753 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18755 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18756 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18758 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18759 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18761 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18762 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18763 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18764 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18765 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18766 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18768 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18772 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18774 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18775 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18776 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18777 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18778 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18779 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18780 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18781 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18782 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18784 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18787 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18789 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18791 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18793 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18795 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18796 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18797 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18799 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18800 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18801 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18802 * sysdeps/posix/sleep.c: Likewise.
18803 * sysdeps/posix/tempname.c: Likewise.
18804 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18805 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18807 * sysdeps/powerpc/powerpc32/dl-machine.h
18808 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18809 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18810 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18811 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18812 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18814 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18815 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18816 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18817 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18818 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18819 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18820 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18821 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18822 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18823 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18824 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18825 (elf_machine_lazy_rel): Likewise.
18826 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18828 (elf_machine_lazy_rel): Likewise.
18829 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18830 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18831 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18832 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18833 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18834 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18835 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18838 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18839 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18840 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18841 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18842 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18843 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18844 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18845 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18846 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18847 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18848 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18850 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18851 (__posix_fallocate64_l64): Likewise.
18852 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18853 (posix_fallocate): Likewise.
18854 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18856 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18857 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18858 (getifaddrs_internal): Likewise.
18859 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18860 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18861 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18862 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18863 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18864 (__posix_fallocate64_l64): Likewise.
18865 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18867 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18869 (__get_clockfreq): Likewise.
18870 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18871 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18872 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18873 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18875 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18876 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18877 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18879 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18880 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18881 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18882 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18883 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18884 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18885 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18887 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18888 (posix_fallocate): Likewise.
18889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18890 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18891 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18892 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18893 (elf_machine_rela, elf_machine_rela_relative)
18894 (elf_machine_lazy_rel): Likewise.
18895 * time/asctime.c (asctime_internal): Likewise.
18896 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18897 * time/tzset.c (__tzset_parse_tz): Likewise.
18898 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18899 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18900 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18901 * wcsmbs/wcsmbsload.h: Likewise.
18904 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18906 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18907 (arena_get2): Remove THREAD_STATS conditionals.
18908 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18909 (__malloc_stats, int): Likewise.
18911 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18913 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18914 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18916 * manual/setjmp.texi: Fix typos/grammar errors.
18918 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18919 Only return early when n is <= 0. Delete unused return statement.
18921 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18922 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18923 * debug/tst-longjmp_chk3.c: New file.
18925 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18926 (test_main): Replace code with set_fortify_handler call.
18927 * debug/test-strcpy_chk.c: Likewise.
18928 * debug/tst-chk1.c: Likewise.
18929 * debug/tst-longjmp_chk.c: Likewise.
18930 * test-skeleton.c: Include fcntl.h & paths.h
18931 (set_fortify_handler): Define.
18933 * debug/tst-longjmp_chk.c: Add header comment and include
18934 ../test-skeleton.c.
18935 (do_test): Mark static.
18936 (TEST_FUNCTION): Define.
18938 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18939 (IP_PMTUDISC_INTERFACE): Likewise.
18940 (IP_MULTICAST_IF): Likewise.
18941 (IP_MULTICAST_TTL): Likewise.
18942 (IP_MULTICAST_LOOP): Likewise.
18943 (IP_ADD_MEMBERSHIP): Likewise.
18944 (IP_DROP_MEMBERSHIP): Likewise.
18945 (IP_UNBLOCK_SOURCE): Likewise.
18946 (IP_BLOCK_SOURCE): Likewise.
18947 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18948 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18949 (IP_MSFILTER): Likewise.
18950 (MCAST_JOIN_GROUP): Likewise.
18951 (MCAST_BLOCK_SOURCE): Likewise.
18952 (MCAST_UNBLOCK_SOURCE): Likewise.
18953 (MCAST_LEAVE_GROUP): Likewise.
18954 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18955 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18956 (MCAST_MSFILTER): Likewise.
18957 (IP_MULTICAST_ALL): Likewise.
18958 (IP_UNICAST_IF): Likewise.
18960 * timezone/Makefile: Delete $(have-ksh) check.
18961 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18962 * timezone/tzselect.ksh: Add +x mode bits.
18964 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18965 (ANON_INODE_FS_MAGIC): Likewise.
18966 (BDEVFS_MAGIC): Likewise.
18967 (BINFMTFS_MAGIC): Likewise.
18968 (BTRFS_TEST_MAGIC): Likewise.
18969 (CRAMFS_MAGIC_WEND): Likewise.
18970 (DEBUGFS_MAGIC): Likewise.
18971 (ECRYPTFS_SUPER_MAGIC): Likewise.
18972 (EXT3_SUPER_MAGIC): Likewise.
18973 (EXT4_SUPER_MAGIC): Likewise.
18974 (FUTEXFS_SUPER_MAGIC): Likewise.
18975 (HOSTFS_SUPER_MAGIC): Likewise.
18976 (HUGETLBFS_MAGIC): Likewise.
18977 (MINIX3_SUPER_MAGIC): Likewise.
18978 (MTD_INODE_FS_MAGIC): Likewise.
18979 (NILFS_SUPER_MAGIC): Likewise.
18980 (OPENPROM_SUPER_MAGIC): Likewise.
18981 (PIPEFS_MAGIC): Likewise.
18982 (PSTOREFS_MAGIC): Likewise.
18983 (QNX6_SUPER_MAGIC): Likewise.
18984 (RAMFS_MAGIC): Likewise.
18985 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18986 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18987 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18988 (SECURITYFS_MAGIC): Likewise.
18989 (SELINUX_MAGIC): Likewise.
18990 (SMACK_MAGIC): Likewise.
18991 (SOCKFS_MAGIC): Likewise.
18992 (SQUASHFS_MAGIC): Likewise.
18993 (STACK_END_MAGIC): Likewise.
18994 (TMPFS_MAGIC): Likewise.
18995 (USBDEVICE_SUPER_MAGIC): Likewise.
18996 (V9FS_MAGIC): Likewise.
18997 (XENFS_SUPER_MAGIC): Likewise.
18998 (CRAMFS_MAGIC): Fix typo in comment.
18999 (EXT2_SUPER_MAGIC): Update comment.
19000 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19002 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19004 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19005 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19006 * sysdeps/unix/sysv/linux/arm: Move directory from
19007 ports/sysdeps/unix/sysv/linux/arm.
19008 * README: Update listing for arm-*-linux-gnueabi.
19010 * README: Remove mention of am33.
19012 2014-02-07 Roland McGrath <roland@hack.frob.com>
19014 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19015 than the comma operator, to avoid "rhs of comma has no effect"
19017 (__sigfillset, __sigandset, __sigorset): Likewise.
19018 * include/signal.h (__sigemptyset): Likewise.
19019 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19021 2014-02-07 Allan McRae <allan@archlinux.org>
19023 * version.h (RELEASE): Set to "development".
19024 (VERSION): Set to "2.19.90"
19025 * NEWS: Add 2.20 section.
19027 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19030 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19032 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19034 * manual/contrib.texi: Update entry for Carlos O'Donell,
19035 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19037 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19039 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19041 * sysdeps/unix/sysv/linux/kernel-features.h
19042 [__LINUX_KERNEL_VERSION >= 0x020621]
19043 (__ASSUME_PROC_PID_TASK_COMM): Define.
19045 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19048 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19049 conversion when destination buffer does not have enough space.
19050 * libio/tst-ftell-partial-wide.c: New test case.
19051 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19053 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19054 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19055 Leonard and Allan McRae.
19057 2014-02-04 David S. Miller <davem@davemloft.net>
19059 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19062 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19091 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19093 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19094 * shlib-versions: Likewise.
19096 2014-02-04 Roland McGrath <roland@hack.frob.com>
19097 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19099 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19100 (abilist-pattern): New variable, set to %-le.abilist.
19102 * Makerules (abilist-pattern): New variable.
19103 (vpath): Use $(abilist-pattern) in place of %.abilist.
19104 (check-abi-% pattern rule): Likewise.
19105 (check-abi, update-abi): Likewise.
19107 2014-02-04 Eric Wong <normalperson@yhbt.net>
19109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19111 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19113 * manual/startup.texi: Add next, previous, and top entries for
19114 the `Program Arguments' and `Environment Variables' nodes.
19116 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19118 * manual/macros.texi: Add comments before MTASC-safety macros.
19120 * manual/users.texi: Document MTASC-safety properties.
19122 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19123 (pthread_getspecific, pthread_setspecific): Format with
19124 @deftypefun, and add @safety note.
19125 * manual/signal.texi: Move comments that analyze the above
19126 functions to their home place.
19128 2014-02-03 Allan McRae <allan@archlinux.org>
19130 * po/sl.po: Update Slovenian translation from translation project.
19132 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19134 * manual/time.texi (timegm): Add missing blank after @c.
19135 Reported by Joseph Myers <joseph@codesourcery.com>.
19137 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19139 * manual/check-safety.sh: New.
19140 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19142 * manual/terminal.texi: Document MTASC-safety properties.
19144 * manual/filesys.texi: Document MTASC-safety properties.
19146 * manual/errno.texi: Document MTASC-safety properties.
19148 * manual/intro.texi: Document safety identifiers and
19151 * manual/string.texi (wcstok): Fix prototype.
19152 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19154 * manual/time.texi: Document MTASC-safety properties.
19156 * manual/string.texi: Document MTASC-safety properties.
19158 * manual/threads.texi: Document MTASC-safety properties.
19160 * manual/stdio.texi: Document MTASC-safety properties.
19162 * manual/syslog.texi: Document MTASC-safety properties.
19164 * manual/sysinfo.texi: Document MTASC-safety properties.
19166 * manual/startup.texi: Document MTASC-safety properties.
19168 * manual/socket.texi: Document MTASC-safety properties.
19170 * manual/signal.texi: Document MTASC-safety properties.
19172 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19174 * manual/setjmp.texi: Document MTASC-safety properties.
19176 * manual/search.texi: Document MTASC-safety properties.
19178 * manual/resource.texi: Document MTASC-safety properties.
19180 * manual/process.texi: Document MTASC-safety properties.
19182 * manual/platform.texi: Document MTASC-safety properties.
19184 * manual/pipe.texi: Document MTASC-safety properties.
19186 * manual/pattern.texi: Document MTASC-safety properties.
19188 * manual/message.texi: Document MTASC-safety properties.
19191 * manual/memory.texi: Document MTASC-safety properties.
19193 * manual/math.texi: Document MTASC-safety properties.
19195 * manual/locale.texi: Document MTASC-safety properties.
19197 * manual/llio.texi: Document MTASC-safety properties.
19199 * manual/libdl.texi: New.
19201 * manual/lang.texi: Document MTASC-safety properties.
19203 * manual/job.texi: Document MTASC-safety properties.
19205 * manual/getopt.texi: Document MTASC-safety properties.
19207 * manual/ctype.texi: Document MTASC-safety properties.
19209 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19212 * csu/libc-tls.c (static_map): Remove variable.
19213 (__libc_setup_tls): Use main executable's link map for TLS data.
19214 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19215 casing for LM_ID_BASE and GL(dl_nns).
19216 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19217 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19218 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19219 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19220 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19222 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19225 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19227 * manual/debug.texi: Document MTASC-safety properties.
19229 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19232 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19233 of __x86_64__ when disabling x87 inline functions.
19235 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19237 * manual/charset.texi: Document MTASC-safety properties.
19239 * manual/crypt.texi: Document MTASC-safety properties.
19241 * manual/conf.texi: Document MTASC-safety properties.
19243 * manual/arith.texi: Document MTASC-safety properties.
19245 * manual/argp.texi: Document MTASC-safety properties.
19247 * manual/macros.texi: Introduce macros to document multi
19248 thread, asynchronous signal and asynchronous cancellation
19250 * manual/intro.texi: Introduce the properties themselves.
19252 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19254 * sysdeps/sh/sh4/Makefile: New file.
19256 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19258 * math/gen-libm-test.pl ($srcdir): New variable.
19259 ($auto_input): Use it.
19261 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19264 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19265 access beyond array bounds when parsing netgroups file.
19267 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19268 the old buffer before realloc.
19270 2014-01-27 Allan McRae <allan@archlinux.org>
19272 * po/fr.po: Update French translation from translation project.
19274 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19276 * sysdeps/sh/libm-test-ulps: Regenerate.
19278 2014-01-24 David S. Miller <davem@davemloft.net>
19280 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19282 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19284 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19285 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19287 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19290 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19291 string pointers after reallocation.
19293 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19295 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19296 __SH4A__ instead of __SH_FPU_ANY__.
19298 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19300 * sysdeps/sh/fpu_control.h: New file.
19301 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19302 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19303 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19304 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19305 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19306 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19307 * sysdeps/sh/sys/ucontext.h: Remove.
19308 * sysdeps/sh/sys: Remove directory.
19310 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19312 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19313 s390/sys/ucontext.h.
19314 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19315 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19317 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19320 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19322 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19325 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19326 Adjust the vDSO correctly for internal calls.
19327 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19329 2014-01-20 Allan McRae <allan@archlinux.org>
19331 * po/ca.po: Update Catalan translation from translation project.
19333 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19335 * sysdeps/s390/sotruss-lib.c: New file.
19337 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19340 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19341 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19342 local calls issues by not having a PLT stub required for IFUNC calls.
19343 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19345 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19347 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19348 * math/test-fpucw-static.c: Likewise.
19350 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19353 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19355 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19357 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19358 implementation for powerpc.
19360 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19363 * sysdeps/posix/system.c (__libc_system): Do not enable
19364 asynchronous cancellation.
19366 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19369 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19370 handling only for numbers special also in the IEEE case.
19372 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19374 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19376 2014-01-11 Allan McRae <allan@archlinux.org>
19378 * po/bg.po: Update Bulgarian translation from translation project.
19380 * po/de.po: Update German translation from translation project.
19382 2014-01-10 Roland McGrath <roland@hack.frob.com>
19384 * sysdeps/generic/gcc-compat.h: New file.
19386 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19388 * benchtests/asin-inputs: Correct slow inputs.
19389 * benchtests/acos-inputs: Likewise.
19391 2014-01-10 Allan McRae <allan@archlinux.org>
19393 * po:sv.po: Update Swedish translation from translation project.
19395 * po/vi.po: Update Vietnamese translation from translation project.
19397 * po/eo.po: Update Esperanto translation from translation project.
19399 * po/cs.po: Update Czech translation from translation project.
19401 * po/nl.po: Update Dutch translation from translation project.
19403 * po/pl.po: Update Polish translation from translation project.
19405 * po/ru.po: Update Russian translation from translation project.
19407 * po/uk.po: Update Ukrainian translation from translation project.
19409 2014-01-08 Brooks Moses <bmoses@google.com>
19411 * elf/dl-load.c: Fix comment typo.
19413 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19415 * po/header.pot: Rename to...
19416 * po/pot.header: ... this.
19417 * po/Makefile: Use pot.header.
19419 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19420 Maxim Kuvyrkov <maxim@kugelworks.com>
19423 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19424 SRC and DEST against LEN.
19426 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19429 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19431 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19433 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19437 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19440 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19441 for large positive arguments.
19443 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19445 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19447 * math/auto-libm-test-in: Mark various tests with
19448 xfail-rounding:ldbl-128ibm.
19449 * math/auto-libm-test-out: Regenerated.
19452 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19453 Increase overflow threshold.
19455 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19458 * stdio-common/vfprintf.c: Check for integer overflow.
19460 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19462 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19463 the first argument and return value of __tls_get_addr_internal.
19465 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19467 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19468 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19470 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19472 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19473 * sysdeps/s390/rtld-global-offsets.sym: New file.
19474 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19476 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19477 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19478 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19480 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19481 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19487 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19488 halfs of GPRs for high_gprs contexts.
19489 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19490 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19492 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19494 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19496 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19497 for high GPRs (uc_high_gprs) and for future extensions
19499 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19500 for future extensions (__reserved).
19501 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19503 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19504 SC_HIGHGPRS offset definition.
19505 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19506 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19508 * Versions.def: Add GLIBC_2.19 for libpthread.
19509 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19510 siglongjmp for libpthread with GLIBC_2.19 symver.
19511 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19512 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19513 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19514 * sysdeps/s390/__longjmp.c: New file.
19515 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19516 * sysdeps/s390/longjmp.c: New file.
19517 * sysdeps/s390/setjmp.S: New file.
19518 * sysdeps/s390/sigjmp.S: New file.
19519 * sysdeps/s390/v1-longjmp.c: New file.
19520 * sysdeps/s390/v1-setjmp.h: New file.
19521 * sysdeps/s390/v1-sigjmp.c: New file.
19522 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19523 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19524 GLIBC_2.19 version.
19525 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19526 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19527 versioned symbols for ____longjmp_chk.
19528 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19538 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19539 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19540 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19541 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19542 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19543 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19544 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19545 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19546 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19547 * sysdeps/s390/rtld-__longjmp.c: New file.
19548 * sysdeps/s390/rtld-setjmp.S: New file.
19550 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19553 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19554 Return -__logl (x) for small positive arguments without evaluating
19557 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19559 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19561 (__ptrace_peeksiginfo_args): ... this.
19562 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19564 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19566 2014-01-06 Allan McRae <allan@archlinux.org>
19568 * inet/netinet/in.h: Fix typo in comment.
19570 2014-01-05 Andreas Jaeger <aj@suse.de>
19572 * sysdeps/i386/fpu/libm-test-ulps: Update.
19574 2014-01-05 Allan McRae <allan@archlinux.org>
19576 * po/libc.pot: Regenerated.
19578 * malloc/memusagestat.c: Fix gettext call formatting.
19580 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19582 * nscd/nscd.c: Improve usage() output.
19584 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19586 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19587 * sysdeps/unix/sysv/linux/configure: Regenerated.
19588 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19589 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19591 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19594 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19595 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19597 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19599 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19600 extra tokens at end of #undef directive.
19601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19602 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19603 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19605 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19607 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19609 * math/auto-libm-test-in: Mark various tests with
19610 xfail-rounding:ldbl-128ibm.
19611 * math/auto-libm-test-out: Regenerated.
19613 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19616 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19617 numbers with subnormal high part when calculating exponent.
19620 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19626 (__ieee754_acoshl): Use __log1pl not __log1p.
19628 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19630 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19631 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19632 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19633 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19634 (reused_arena, arena_get2): Convert to GNU style.
19635 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19636 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19637 (memalign_check, __malloc_set_state): Likewise.
19638 * malloc/mallocbug.c (main): Likewise.
19639 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19640 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19641 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19642 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19643 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19644 (__posix_memalign, malloc_info): Likewise.
19645 * malloc/malloc.h: Likewise.
19646 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19647 (mallochook, memalignhook, reallochook, mabort): Likewise.
19648 * malloc/mcheck.h: Likewise.
19649 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19650 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19651 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19652 * malloc/morecore.c (__default_morecore): Likewise.
19653 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19654 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19655 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19656 (print_and_abort): Likewise.
19657 * malloc/obstack.h: Likewise.
19658 * malloc/set-freeres.c (__libc_freeres): Likewise.
19659 * malloc/tst-mallocstate.c (main): Likewise.
19660 * malloc/tst-mtrace.c (main): Likewise.
19661 * malloc/tst-realloc.c (do_test): Likewise.
19663 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19666 * nscd/netgroupcache.c (do_notfound): New function.
19667 (addgetnetgrentX): Use it.
19670 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19671 NSS_STATUS_NOTFOUND.
19673 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19675 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19678 2014-01-01 Allan McRae <allan@archlinux.org>
19680 * scripts/update-copyrights: Update configure input file suffix.
19682 * NEWS: Update copyright year.
19683 * catgets/gencat.c: Likewise.
19684 * csu/version.c: Likewise.
19685 * debug/catchsegv.sh: Likewise.
19686 * debug/pcprofiledump.c: Likewise.
19687 * debug/xtrace.sh: Likewise.
19688 * elf/ldconfig.c: Likewise.
19689 * elf/ldd.bash.in: Likewise.
19690 * elf/pldd.c: Likewise.
19691 * elf/sotruss.ksh: Likewise.
19692 * elf/sprof.c: Likewise.
19693 * iconv/iconv_prog.c: Likewise.
19694 * iconv/iconvconfig.c: Likewise.
19695 * locale/programs/locale.c: Likewise.
19696 * locale/programs/localedef.c: Likewise.
19697 * login/programs/pt_chown.c: Likewise.
19698 * malloc/memusage.sh: Likewise.
19699 * malloc/memusagestat.c: Likewise.
19700 * malloc/mtrace.pl: Likewise.
19701 * manual/libc.texinfo: Likewise.
19702 * nscd/nscd.c: Likewise.
19703 * nss/getent.c: Likewise.
19704 * nss/makedb.c: Likewise.
19705 * posix/getconf.c: Likewise.
19706 * scripts/test-installation.pl: Likewise.
19708 * All files with FSF copyright notices: Update copyright dates
19709 using scripts/update-copyrights.
19710 * intl/plural.c: Regenerated.
19711 * locale/programs/charmap-kw.h: Likewise.
19712 * locale/programs/locfile-kw.h: Likewise.
19714 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19716 * sysdeps/unix/sysv/linux/configure: Regenerated.
19717 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19718 the linux/fanotify.h header.
19719 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19720 HAVE_LINUX_FANOTIFY_H is defined.
19722 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19724 * benchtests/cos-inputs: New inputs.
19725 * benchtests/sin-inputs: Likewise.
19727 * benchtests/atan-inputs: New inputs. Fix name of multiple
19728 precision fallback inputs.
19730 * benchtests/atanh-inputs: New inputs.
19731 * benchtests/tanh-inputs: Likewise.
19733 * benchtests/acosh-inputs: New inputs.
19734 * benchtests/asinh-inputs: Likewise.
19736 * benchtests/cosh-inputs: New inputs.
19737 * benchtests/sinh-inputs: Likewise.
19739 * benchtests/acos-inputs: Add more inputs.
19740 * benchtests/asin-inputs: Likewise.
19742 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19745 * manual/arith.texi: Fix spelling.
19746 * manual/charset.texi: Likewise.
19747 * manual/errno.texi: Likewise.
19748 * manual/filesys.texi: Likewise.
19749 * manual/lang.texi: Likewise.
19750 * manual/llio.texi: Likewise.
19751 * manual/locale.texi: Likewise.
19752 * manual/message.texi: Likewise.
19753 * manual/resource.texi: Likewise.
19754 * manual/search.texi: Likewise.
19755 * manual/setjmp.texi: Likewise.
19756 * manual/stdio.texi: Likewise.
19757 * manual/string.texi: Likewise.
19758 * manual/sysinfo.texi: Likewise.
19759 * manual/time.texi: Likewise.
19761 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19763 * po/sl.po: New file.
19765 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19767 * .gitignore: Add core/.gdbinit/.gdb_history.
19769 2013-12-27 Allan McRae <allan@archlinux.org>
19772 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19773 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19775 2013-12-24 Brooks Moses <bmoses@google.com>
19777 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19778 all compilers that claim C++98 compliance, not just GCC.
19779 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19782 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19784 * NEWS: Restore accidentally deleted bug-fix entries.
19786 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19787 Ondřej Bílka <neleai@seznam.cz>
19790 * malloc/malloc.c (_int_free): Perform sanity check only if we
19793 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19796 * manual/stdio.texi (String Input Conversions): Clarify that character
19797 classes are not supported.
19799 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19803 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19806 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19807 Calculate results for small negative arguments directly rather
19808 than using reflection formula with special underflow handling.
19810 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19811 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19812 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19813 (fchflags): Likewise.
19814 (revoke): Likewise.
19815 (setlogin): Likewise.
19816 (sigaltstack): Likewise.
19818 (sigblock): Remove.
19819 (sigsetmask): Likewise.
19821 (waitpid): Likewise.
19822 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19823 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19825 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19826 * sysdeps/unix/bsd/Makefile: ... here.
19827 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19828 * sysdeps/unix/bsd/Versions: ... here.
19829 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19830 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19831 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19832 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19833 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19834 * sysdeps/unix/bsd/sigblock.c: ... here.
19835 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19836 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19837 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19838 * sysdeps/unix/bsd/sigvec.c: ... here.
19839 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19840 * sysdeps/unix/bsd/tcdrain.c: ... here.
19841 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19842 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19843 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19844 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19845 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19846 * sysdeps/unix/bsd/wait.c: ... here.
19847 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19848 * sysdeps/unix/bsd/wait3.c: ... here.
19849 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19850 * sysdeps/unix/bsd/waitpid.c: ... here.
19852 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19855 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19856 round-to-nearest for [!USE_AS_EXPM1L].
19857 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19858 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19859 more tests of exp and exp10. Expect some exp10 tests to miss
19860 exceptions or fail in directed rounding modes.
19861 * math/auto-libm-test-out: Regenerated.
19862 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19863 (exp10_test_tonearest): New function.
19864 (exp10_towardzero_test_data): New array.
19865 (exp10_test_towardzero): New function.
19866 (exp10_downward_test_data): New array.
19867 (exp10_test_downward): New function.
19868 (exp10_upward_test_data): New array.
19869 (exp10_test_upward): New function.
19870 (main): Call the new functions.
19871 * sysdeps/i386/fpu/libm-test-ulps: Update.
19872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19874 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19876 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19877 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19878 * math/auto-libm-test-out: Regenerated.
19879 * math/libm-test.inc (acosh_test_data): Add more tests.
19880 (atanh_test_data): Likewise.
19881 (ceil_test_data): Likewise.
19882 (copysign_test_data): Likewise.
19883 * sysdeps/i386/fpu/libm-test-ulps: Update.
19884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19886 * timezone/checktab.awk: Update from tzcode 2013i.
19887 * timezone/private.h: Likewise.
19888 * timezone/scheck.c: Likewise.
19889 * timezone/tzfile.h: Likewise.
19890 * timezone/tzselect.ksh: Likewise.
19891 * timezone/zdump.c: Likewise.
19892 * timezone/zic.c: Likewise.
19894 * math/auto-libm-test-in: Add tests of cpow.
19895 * math/auto-libm-test-out: Regenerated.
19896 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19897 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19899 (func_calc_desc): Add mpc_cc_c union field.
19900 (test_functions): Add cpow.
19901 (special_fill_2pi): New function.
19902 (special_real_inputs): Add 2pi.
19903 (calc_generic_results): Handle mpc_cc_c.
19904 * sysdeps/i386/fpu/libm-test-ulps: Update.
19905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19907 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19908 csqrt, ctan and ctanh.
19909 * math/auto-libm-test-out: Regenerated.
19910 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19911 (TEST_COND_x86): Likewise.
19912 (ccos_test_data): Use AUTO_TESTS_c_c.
19913 (ccosh_test_data): Likewise.
19914 (cexp_test_data): Likewise.
19915 (clog_test_data): Likewise.
19916 (csqrt_test_data): Likewise.
19917 (ctan_test_data): Likewise.
19918 (ctan_tonearest_test_data): Likewise.
19919 (ctan_towardzero_test_data): Likewise.
19920 (ctan_downward_test_data): Likewise.
19921 (ctan_upward_test_data): Likewise.
19922 (ctanh_test_data): Likewise.
19923 (ctanh_tonearest_test_data): Likewise.
19924 (ctanh_towardzero_test_data): Likewise.
19925 (ctanh_downward_test_data): Likewise.
19926 (ctanh_upward_test_data): Likewise.
19927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19929 (func_calc_desc): Add mpc_c_c union field.
19930 (FUNC_mpc_c_c): New macro.
19931 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19932 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19934 (special_fill_min_subnorm_p120): New function.
19935 (special_real_inputs): Add min_subnorm_p120.
19936 (calc_generic_results): Handle mpc_c_c.
19937 * sysdeps/i386/fpu/libm-test-ulps: Update.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19940 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19942 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19943 (do_sin_slow): New functions.
19944 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19945 (cslow2, csloww1, csloww2): Use the new functions.
19947 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19948 Use M to change sign of result instead of X. Assume X is
19950 (csloww1): Likewise.
19954 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19955 arguments A and DA.
19959 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19961 (sloww1): Don't adjust sign of DX.
19962 (csloww1): Likewise.
19963 (sloww2): Use X directly and don't adjust sign of DX.
19964 (csloww2): Likewise.
19966 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19968 * math/auto-libm-test-in: Add tests of cabs and carg.
19969 * math/auto-libm-test-out: Regenerated.
19970 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19971 (carg_test_data): Likewise.
19972 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19974 (func_calc_desc): Add mpc_c_f union field.
19975 (test_functions): Add cabs and carg.
19976 (calc_generic_results): Handle mpc_c_f.
19978 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19979 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19980 as a macro and a compat symbol.
19981 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19982 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19983 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19984 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19985 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19986 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19988 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19990 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19992 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19994 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19996 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19998 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19999 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20002 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20006 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20008 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20009 trailing whitespace removed.
20010 * scripts/config.guess: Update to version 2013-11-29.
20011 * scripts/config.sub: Update to version 2013-10-01.
20013 * math/auto-libm-test-in: Add tests of sincos.
20014 * math/auto-libm-test-out: Regenerated.
20015 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20016 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20018 (func_calc_desc): Add mpfr_f_11 union field.
20019 (test_functions): Add sincos.
20020 (calc_generic_results): Handle mpfr_f_11.
20021 * sysdeps/i386/fpu/libm-test-ulps: Update.
20022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20024 2013-12-19 Andreas Schwab <schwab@suse.de>
20026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20029 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20030 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20032 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20034 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20035 * sysdeps/i386/fpu/libm-test-ulps: Update.
20036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20039 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20040 round-to-nearest mode when using frndint.
20041 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20042 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20043 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20045 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20047 * math/auto-libm-test-out: Regenerated.
20048 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20049 (TEST_COND_x86): Likewise.
20050 (expm1_tonearest_test_data): New array.
20051 (expm1_test_tonearest): New function.
20052 (expm1_towardzero_test_data): New array.
20053 (expm1_test_towardzero): New function.
20054 (expm1_downward_test_data): New array.
20055 (expm1_test_downward): New function.
20056 (expm1_upward_test_data): New array.
20057 (expm1_test_upward): New function.
20058 (main): Run the new test functions.
20059 * sysdeps/i386/fpu/libm-test-ulps: Update.
20060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20062 * include/features.h: Update comment documenting feature test
20063 macros. Mention _DEFAULT_SOURCE in comment.
20064 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20065 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20066 _BSD_SOURCE and _SVID_SOURCE.
20067 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20068 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20069 !_SVID_SOURCE]: Likewise.
20070 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20071 (__USE_POSIX_IMPLICITLY): Define.
20072 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20073 (_POSIX_SOURCE): Undefine and redefine.
20074 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20075 (_POSIX_C_SOURCE): Likewise.
20076 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20077 (Feature Test Macros): Update documentation of default features.
20079 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20081 * benchtests/Makefile: Add bench-strtok.
20082 * benchtests/bench-strtok.c: New file: strtok benchtest.
20084 2013-12-19 Allan McRae <allan@archlinux.org>
20086 * manual/install.texi: Suppress menu for plain text output.
20087 * INSTALL: Regenerated.
20089 2013-12-18 Brooks Moses <bmoses@google.com>
20092 * misc/getauxval.c: Include errno.h.
20093 (__getauxval): Set errno to ENOENT if the requested type is not
20095 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20096 don't declare with __attribute_const__.
20097 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20098 * manual/startup.texi: Document that getauxval sets errno.
20100 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20102 * math/auto-libm-test-in: Add tests of jn and yn.
20103 * math/auto-libm-test-out: Regenerated.
20104 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20105 (yn_test_data): Likewise.
20106 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20108 (func_calc_desc): Add mpfr_if_f union field.
20109 (FUNC_mpfr_if_f): New macro.
20110 (test_functions): Add jn and yn.
20111 (calc_generic_results): Assert type of second input for
20112 mpfr_ff_f. Handle mpfr_if_f.
20113 (output_for_one_input_case): Disable all checking for arguments
20114 fitting floating-point types in case of an integer argument.
20115 * sysdeps/i386/fpu/libm-test-ulps: Update.
20116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20119 Don't expect fegetround reference in libm.so.
20121 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20123 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20124 $(config-cflags-nofma).
20126 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20128 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20129 * math/auto-libm-test-out: Regenerated.
20132 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20133 to determine exponent and adjust argument to have exponent of -1.
20134 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20136 * math/auto-libm-test-out: Regenerated.
20137 * sysdeps/i386/fpu/libm-test-ulps: Update.
20138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20140 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20142 * manual/probes.texi: Remove cases when per-thread arenas are
20145 2013-12-18 Andreas Schwab <schwab@suse.de>
20147 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20148 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20149 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20150 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20151 * sysdeps/i386/i686/multiarch/Makefile: Update.
20152 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20154 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20156 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20157 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20159 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20162 Support TZ transition times < 00:00:00.
20163 This is needed for version-3 tz-format files; it supports time
20164 stamps past 2037 for America/Godthab (the only entry in the tz
20165 database for which this change is relevant).
20166 * manual/time.texi (TZ Variable): Document transition times
20167 from -167:59:59 through -00:00:01.
20168 * time/tzset.c (tz_rule): Time of day is now signed.
20169 (__tzset_parse_tz): Parse negative time of day.
20171 Document TZ transition times >= 25:00:00.
20172 * manual/time.texi (TZ Variable): Document transition times from
20173 25:00:00 through 167:59:59. These are already supported, and this
20174 support will help with version-3 tz-format files.
20176 * manual/time.texi (TZ Variable): Modernize North America example
20177 to reflect current (i.e., 2007-and-later) daylight saving rules.
20179 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20181 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20183 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20184 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20187 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20188 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20189 * sysdeps/unix/bsd/clock.c: Likewise.
20190 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20191 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20192 * sysdeps/unix/bsd/init-posix.c: Likewise.
20193 * sysdeps/unix/bsd/poll.c: Likewise.
20194 * sysdeps/unix/bsd/ptsname.c: Likewise.
20195 * sysdeps/unix/bsd/seekdir.c: Likewise.
20196 * sysdeps/unix/bsd/setegid.c: Likewise.
20197 * sysdeps/unix/bsd/seteuid.c: Likewise.
20198 * sysdeps/unix/bsd/setgid.c: Likewise.
20199 * sysdeps/unix/bsd/setrgid.c: Likewise.
20200 * sysdeps/unix/bsd/setruid.c: Likewise.
20201 * sysdeps/unix/bsd/setsid.c: Likewise.
20202 * sysdeps/unix/bsd/setuid.c: Likewise.
20203 * sysdeps/unix/bsd/sigaction.c: Likewise.
20204 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20205 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20206 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20207 * sysdeps/unix/bsd/telldir.c: Likewise.
20208 * sysdeps/unix/bsd/times.c: Likewise.
20209 * sysdeps/unix/bsd/usleep.c: Likewise.
20211 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20212 ($(objpfx)libbsd-compat.a): Remove rule.
20214 * include/features.h (__FAVOR_BSD): Do not define.
20215 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20216 features conflicting with POSIX.
20217 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20218 (_BSD_SOURCE): Remove description of not being a subset of other
20219 feature test macros.
20220 * manual/job.texi (getpgrp): Do not document BSD version.
20221 (getpgid): Do not document by reference to BSD getpgrp.
20222 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20223 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20224 * signal/signal.h [__FAVOR_BSD]: Likewise.
20225 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20226 instead of making contents conditional on [__FAVOR_BSD].
20227 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20229 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20233 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20236 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20237 values below 2**-450, not 2**-500.
20238 * math/auto-libm-test-in: Don't allow spurious underflow from
20240 * math/auto-libm-test-out: Regenerated.
20244 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20245 values of ha and hb and sort them after adjusting subnormal
20247 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20249 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20250 values of ea and eb and sort them after adjusting subnormal
20252 * math/auto-libm-test-in: Do not expect some hypot tests of
20253 subnormals to fail. Add more hypot tests.
20254 * math/auto-libm-test-out: Regenerated.
20256 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20259 * sysdeps/sh/s_fma.c: New file.
20260 * sysdeps/sh/s_fmaf.c: New file.
20261 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20263 * sysdeps/sh/Implies: Add sh/soft-fp.
20265 2013-12-16 Roland McGrath <roland@hack.frob.com>
20267 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20268 level of indirection to members `objname', `errstring', `malloced'.
20269 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20270 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20271 it as the __longjmp argument (just pass 1 instead).
20272 (_dl_catch_error): Initialize C with argument pointers and address of
20273 volatile local ERRCODE rather than copying values out of C at return.
20275 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20277 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20278 * math/auto-libm-test-out: Regenerated.
20279 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20280 (hypot_test_data): Likewise.
20281 (pow_test_data): Likewise.
20282 (pow_tonearest_test_data): Likewise.
20283 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20285 (func_calc_desc): Add mpfr_ff_f union field.
20286 (FUNC_mpfr_ff_f): New macro.
20287 (test_functions): Add atan2, hypot and pow.
20288 (special_fill_min): New function.
20289 (special_fill_minus_min): Likewise.
20290 (special_fill_min_subnorm): Likewise.
20291 (special_fill_minus_min_subnorm): Likewise.
20292 (special_real_inputs): Add min, -min, min_subnorm and
20294 (calc_generic_results): Handle mpfr_ff_f.
20295 * sysdeps/i386/fpu/libm-test-ulps: Update.
20296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20298 2013-12-16 Will Newton <will.newton@linaro.org>
20300 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20301 (Aligned Memory Blocks): Add documentation for aligned_alloc
20302 and suggest it as an alternative to posix_memalign.
20303 (Hooks for Malloc): Document __memalign_hook is also called
20304 for aligned_alloc. (Summary of Malloc): Add summary for
20305 aligned alloc. Document __memalign_hook is also called
20308 2013-12-16 Will Newton <will.newton@linaro.org>
20310 * manual/memory.texi (Malloc Examples): Clarify default
20311 alignment documentation. Suggest posix_memalign rather
20312 than memalign or valloc.
20313 (Aligned Memory Blocks): Remove suggestion to use memalign
20314 or valloc. Remove obsolete comment about BSD.
20315 Document memalign errno values and mark the function obsolete.
20316 Document posix_memalign returned error codes. Mark valloc
20317 as obsolete. (Hooks for Malloc): __memalign_hook is also
20318 called for posix_memalign and valloc.
20319 (Summary of Malloc): Add posix_memalign to function summary.
20320 __memalign_hook is also called for posix_memalign and valloc.
20322 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20324 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20328 (sloww): Use mynumber union. Expand ternary operator into
20329 if-else statements.
20330 (cslow): use mynumber union.
20332 2013-12-16 Allan McRae <allan@archlinux.org>
20334 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20335 * configure: Regenerated.
20337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20340 * configure.ac: Added --enable-maintainer-mode. Check for
20341 autoconf when enabled.
20342 * configure: Regenerated.
20344 * nscd/nscd.service: New file.
20345 * nscd/nscd.tmpfiles: New file.
20347 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20350 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20351 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20352 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20353 (strstr): Add __strstr_sse2_unaligned ifunc.
20354 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20355 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20356 (strcasestr): Remove __strcasestr_sse42 ifunc.
20357 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20361 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20363 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20364 * sysdeps/sh/bits/fenv.h: ... here.
20365 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20367 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20369 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20372 hypotf multiarch implementations.
20373 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20376 multiarch hypot for PPC64.
20377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20379 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20380 multiarch hypotf for PPC64.
20382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20383 modff multiarch implementations.
20384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20387 multiarch modf for PPC64.
20388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20391 multiarch modff for PPC64.
20393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20394 and logl multiarch implementations.
20395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20398 multiarch logb for PPC64.
20399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20402 multiarch logb for PPC64.
20403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20406 multiarch logb for PPC64.
20408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20409 isinff multiarch implementation.
20410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20414 multiarch isinf for PPC64.
20415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20418 multiarch isinff for PPC64.
20420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20421 finitef multiarch implementation.
20422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20426 multiarch finite for PPC64.
20427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20430 multiarch finitef for PPC64.
20432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20433 lrint multiarch implementation.
20434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20438 multiarch llrint for PPC64.
20439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20440 multiarch lrint for PPC64.
20442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20443 copysignf multiarch implementation.
20444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20449 multiarch copysign for PPC64.
20450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20451 multiarch copysignf for PPC64.
20453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20454 multiarch implementation.
20455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20463 multiarch llround for PPC64.
20464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20465 multiarch trunc for PPC64.
20466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20467 multiarch truncf for PPC64.
20469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20470 multiarch implementation.
20471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20479 multiarch llround for PPC64.
20480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20481 multiarch round for PPC64.
20482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20483 multiarch roundf for PPC64.
20485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20486 multiarch implementation.
20487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20495 multiarch llround for PPC64.
20496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20497 multiarch floor for PPC64.
20498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20499 multiarch floorf for PPC64.
20501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20502 multiarch implementation.
20503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20511 multiarch llround for PPC64.
20512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20513 multiarch ceil for PPC64.
20514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20515 multiarch ceilf for PPC64.
20517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20518 multiarch implementation.
20519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20526 multiarch llround for PPC64.
20527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20528 multiarch lround for PPC64.
20530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20531 multiarch implementation.
20532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20539 multiarch isnan for PPC64.
20540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20541 multiarch isnanf for PPC64.
20543 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20544 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20545 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20546 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20547 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20550 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20551 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20556 multiarch implementations.
20557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20558 (__libc_ifunc_impl_list): Likewise.
20559 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20560 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20561 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20562 multiarch stpcpy for PPC64.
20564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20565 multiarch implementations.
20566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20567 (__libc_ifunc_impl_list): Likewise.
20568 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20569 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20570 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20571 multiarch strcpy for PPC64.
20573 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20574 redefine function name.
20575 (_wordcopy_fwd_dest_aligned): Likewise.
20576 (_wordcopy_bwd_aligned): Likewise.
20577 (_wordcopy_bwd_dest_aligned): Likewise.
20578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20579 multiarch implementations.
20580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20581 (__libc_ifunc_impl_list): Likewise.
20582 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20584 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20585 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20586 multiarch wcscpy for PPC64.
20588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20589 multiarch implementations.
20590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20591 (__libc_ifunc_impl_list): Likewise.
20592 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20593 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20594 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20595 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20596 multiarch wcscpy for PPC64.
20598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20599 multiarch implementations.
20600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20601 (__libc_ifunc_impl_list): Likewise.
20602 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20603 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20604 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20605 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20606 multiarch wcsrchr for PPC64.
20608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20609 multiarch implementations.
20610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20611 (__libc_ifunc_impl_list): Likewise.
20612 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20613 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20614 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20615 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20616 multiarch wcschr for PPC64.
20618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20619 multiarch implementations.
20620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20621 (__libc_ifunc_impl_list): Likewise.
20622 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20623 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20624 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20625 multiarch strchrnul for PPC64.
20627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20630 (__libc_ifunc_impl_list): Likewise.
20631 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20632 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20633 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20634 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20640 (__libc_ifunc_impl_list): Likewise.
20641 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20642 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20643 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20644 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20648 multiarch implementations.
20649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20650 (__libc_ifunc_impl_list): Likewise.
20651 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20652 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20653 strncasecmp for PPC64.
20654 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20655 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20656 multiarch strncasecmp_l for PPC64.
20658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20659 multiarch implementations.
20660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20661 (__libc_ifunc_impl_list): Likewise.
20662 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20663 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20664 multiarch strcasecmp for PPC64.
20665 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20667 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20668 multiarch strcasecmp_l for PPC64.
20670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20673 (__libc_ifunc_impl_list): Likewise.
20674 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20675 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20676 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20682 (__libc_ifunc_impl_list): Likewise.
20683 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20684 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20685 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20691 (__libc_ifunc_impl_list): Likewise.
20692 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20693 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20694 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20695 rawmemrchr for PPC64.
20697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20700 (__libc_ifunc_impl_list): Likewise.
20701 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20702 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20703 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20709 (__libc_ifunc_impl_list): Likewise.
20710 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20711 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20712 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20718 (__libc_ifunc_impl_list): Likewise.
20719 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20720 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20721 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20724 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20725 avoid cretion of __bzero symbol.
20726 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20728 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20730 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20733 multiarch implementations.
20734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20735 (__libc_ifunc_impl_list): Likewise.
20736 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20737 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20738 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20739 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20741 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20742 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20743 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20744 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20745 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20747 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20749 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20753 (__libc_ifunc_impl_list): Likewise.
20754 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20755 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20756 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20757 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20761 multiarch for POWER/PPC64.
20762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20763 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20764 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20765 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20766 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20768 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20770 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20773 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20774 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20775 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20776 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20777 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20778 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20779 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20780 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20781 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20782 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20783 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20784 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20785 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20786 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20787 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20796 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20798 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20800 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20802 * benchtests/Makefile (bench): Add exp2 and log2.
20803 (LDLIBS-bench-exp2): Add -lm.
20804 (LDLIBS-bench-log2): Likewise.
20805 * benchtests/exp2-inputs: New inputs file.
20806 * benchtests/log2-inputs: New inputs file.
20807 * benchtests/log-inputs: Add new inputs.
20808 * benchtests/tan-inputs: Likewise.
20810 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20812 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20814 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20815 (csloww2): ... from here.
20817 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20818 instead of structures.
20819 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20820 (POLYNOMIAL): Likewise.
20821 (TAYLOR_SLOW): Likewise.
20827 (sloww1); Likewise.
20828 (sloww2): Likewise.
20829 (bsloww1): Likewise.
20830 (bsloww2): Likewise.
20831 (cslow2): Likewise.
20832 (csloww): Likewise.
20833 (csloww1): Likewise.
20834 (csloww2): Likewise.
20836 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20838 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20839 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20840 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20841 * malloc/hooks.c (realloc_check): Likewise.
20843 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20844 * malloc/arena.c: Remove PER_THREAD conditional.
20845 [!PER_THREAD]: Remove code.
20846 (ptmalloc_unlock_all2): Likewise.
20847 (ptmalloc_init): Likewise.
20848 (_int_new_arena): Likewise.
20849 (arena_get2): Likewise.
20850 * malloc/hooks.c (__malloc_get_state): Likewise.
20851 (__malloc_set_state): Likewise.
20852 * malloc/malloc.c: Likewise.
20853 (struct malloc_state): Likewise.
20854 (struct malloc_par): Likewise.
20855 (__libc_realloc): Likewise.
20856 (__libc_mallopt): Likewise.
20858 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20860 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20862 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20864 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20865 macro to a function. Check for zero perturb_byte.
20866 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20868 * malloc/malloc.c: (force_reg): Remove.
20869 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20870 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20871 force_reg by atomic_forced_read.
20872 * malloc/arena.c (ptmalloc_init): Likewise.
20873 * malloc/hooks.c (top_check): Likewise.
20875 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20879 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20883 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20885 * math/auto-libm-test-in: Add tests of lgamma.
20886 * math/auto-libm-test-out: Regenerated.
20887 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20888 (M_LOG_2_SQRT_PIl): Likewise.
20889 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20890 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20892 (func_calc_desc): Add mpfr_f_f1 union field.
20893 (ARGS1): New macro.
20901 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20902 (test_functions): Add lgamma.
20903 (calc_generic_results): Handle mpfr_f_f1.
20904 * sysdeps/i386/fpu/libm-test-ulps: Update.
20905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20907 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20909 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20910 __mpn_add_n for PowerPC64/POWER7.
20911 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20912 __mpn_sub_n for PowerPC64/POWER7.
20914 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20915 __mpn_addmul_1 for PowerPC64.
20916 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20917 __mpn_submul_1 for PowerPC64.
20918 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20920 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20923 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20926 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20928 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20930 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20932 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20933 add multiarch folders.
20934 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20935 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20936 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20937 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20938 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20939 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20940 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20941 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20942 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20943 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20944 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20953 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20959 multiarch __ieee754_hypot for PowerPC32.
20960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20965 multiarch __ieee754_hypotf for PowerPC32.
20967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20968 long_double_symbol only if __logbl is defined.
20969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20970 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20972 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20973 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20974 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20975 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20976 path for implementation.
20977 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20978 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20980 logb, and logbl multiarch implementations for PowerPC32.
20981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20986 multiarch logb for PowerPC32.
20987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20992 multiarch logbf for PowerPC32.
20993 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20997 multiarch logbl implementation for PowerPC32.
20999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21000 and modff multiarch implementations.
21001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21006 multiarch modf for PowerPC32.
21007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21012 multiarch modff for PowerPC32.
21014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21015 and lrintf multiarch implementations.
21016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21021 multiarch lrint for PowerPC32.
21022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21023 file: multiarch lrintf for PowerPC32.
21025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21026 and lroundf multiarch implementations.
21027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21034 multiarch lround for PowerPC32.
21035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21036 file: multiarch lroundf for PowerPC32.
21038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21039 copysign and copysignf multiarch implementations.
21040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21045 file: multiarch copysign for PowerPC32.
21046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21047 file: multiarch copysignf for PowerPC32.
21049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21050 and truncf multiarch implementations.
21051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21056 multiarch trunc for PowerPC32.
21057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21062 multiarch truncf for PowerPC32.
21064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21065 and roundf multiarch implementations.
21066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21071 multiarch round for PowerPC32.
21072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21077 multiarch roundf for PowerPC32.
21079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21080 and floorf multiarch implementations.
21081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21086 multiarch floor for PowerPC32.
21087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21092 multiarch floorf for PowerPC32.
21094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21095 and ceilf multiarch implementations.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21101 multiarch ceil for PowerPC32.
21102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21107 multiarch ceilf for PowerPC32.
21109 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21111 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21112 FINITEF is defined.
21113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21114 and finitef multiarch implementations.
21115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21120 multiarch finite for PowerPC32.
21121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21124 file: multiarch finitef for PowerPC32.
21126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21127 and isinff multiarch implementations.
21128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21133 multiarch isinf for PowerPC32.
21134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21137 multiarch isinff for PowerPC32.
21139 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21140 alias when __isnan is defined.
21141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21142 and isnanf multiarch implementations.
21143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21152 multiarch isnan for PowerPC32.
21153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21158 multiarch isnanf for PowerPC32.
21160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21161 and sqrtf multiarch implementations.
21162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21167 multiarch sqrt for PowerPC32.
21168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21173 multiarch sqrtf for PowerPC32.
21175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21176 and llroundf multiarch implementations.
21177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21184 file: multiarch llround for PowerPC32.
21185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21186 file: multiarch llroundf for PowerPC32.
21188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21189 multiarch PowerPC32 fpu implementations.
21190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21195 multiarch llrint for PowerPC32.
21196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21205 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21207 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21209 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21211 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21212 multiarch wordcopy for PPC32.
21213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21216 (__libc_ifunc_impl_list): Likewise.
21217 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21218 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21219 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21220 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21221 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21222 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21224 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21231 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21232 multiarch wcscpy for PPC32.
21233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21236 (__libc_ifunc_impl_list): Likewise.
21237 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21238 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21239 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21240 sysdeps/powerpc/power6/wcscpy.c.
21242 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21250 multiarch wcsrchr for PPC32.
21251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21254 (__libc_ifunc_impl_list): Likewise.
21255 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21256 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21257 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21258 sysdeps/powerpc/power6/wcsrchr.c.
21260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21266 multiarch wcschr for PPc32.
21267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21270 (__libc_ifunc_impl_list): Likewise.
21271 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21272 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21273 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21274 sysdeps/powerpc/power6/wcschr.c.
21276 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21277 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21279 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21280 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21281 file: multiarch strchr for PPC32.
21282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21285 (__libc_ifunc_impl_list): Likewise.
21287 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21289 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21291 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21293 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21294 multiarch strchrnul for PPC32.
21295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21298 (__libc_ifunc_impl_list): Likewise.
21300 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21303 multiarch strncasecmp for PPC32.
21304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21306 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21307 multiarch strncasecmp_l for PPC32.
21308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21309 strncasecmp multiarch objects.
21310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21311 (__libc_ifunc_impl_list): Likewise.
21313 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21315 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21316 multiarch strncasecmp for PPC32.
21317 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21319 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21320 multiarch strcasecmp_l for PPC32.
21321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21324 (__libc_ifunc_impl_list): Likewise.
21326 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21328 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21330 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21331 multiarch strncmp for PPC32.
21332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21335 (__libc_ifunc_impl_list): Likewise.
21337 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21338 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21340 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21341 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21345 (__libc_ifunc_impl_list): Likewise.
21347 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21349 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21351 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21355 (__libc_ifunc_impl_list): Likewise.
21357 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21359 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21361 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21362 multiarch rawmemchr for PPC32.
21363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21366 (__libc_ifunc_impl_list): Likewise.
21368 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21370 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21372 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21373 file: memrchr multiarch for PPC32.
21374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21377 (__libc_ifunc_impl_list): Likewise.
21379 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21380 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21382 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21383 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21384 multiarch memchr for PPC32.
21385 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21387 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21388 (__libc_ifunc_impl_list): Likewise.
21390 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21391 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21393 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21395 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21396 file: multiarch mempcpy for PPC32.
21397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21400 (__libc_ifunc_impl_list): Likewise.
21402 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21403 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21404 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21405 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21406 multiarch bzero for PPC32.
21407 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21409 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21411 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21412 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21413 file: multiarch memset for PPC32.
21414 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21416 memset multiarch objects.
21417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21418 (__libc_ifunc_impl_list): Likewise.
21420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21422 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21423 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21425 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21429 (__libc_ifunc_impl_list): Likewise.
21431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21440 multiarch memcpy for PPC32.
21441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21444 (__libc_ifunc_impl_list): Likewise.
21446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21447 support multiarch for POWER/PPC32.
21448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21450 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21452 Implies file to make multiarch folder appers before the fpu and
21453 default folder for power4 configuration.
21455 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21457 * scripts/bench.pl: Append volatile keyword to type.
21459 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21461 * sysdeps/sh/sotruss-lib.c: New file.
21462 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21464 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21468 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21471 * math/w_tgamma.c: Include <errno.h>.
21472 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21473 * math/w_tgammaf.c: Include <errno.h>.
21474 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21475 * math/w_tgammal.c: Include <errno.h>.
21476 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21477 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21478 underflow. Add more tgamma tests.
21479 * math/auto-libm-test-out: Regenerated.
21480 * sysdeps/i386/fpu/libm-test-ulps: Update.
21481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21483 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21484 sin, sinh, tan, tanh, tgamma, y0 and y1.
21485 * math/auto-libm-test-out: Regenerated.
21486 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21487 (TEST_COND_x86): Likewise.
21488 (M_E2l): Remove macro.
21490 (M_2_SQRT_PIl): Likewise.
21491 (M_SQRT_PIl): Likewise.
21492 (M_1_DIV_El): Likewise.
21493 (log_test_data): Use AUTO_TESTS_f_f.
21494 (log10_test_data): Likewise.
21495 (log1p_test_data): Likewise.
21496 (log2_test_data): Likewise.
21497 (sin_test_data): Likewise.
21498 (sin_tonearest_test_data): Likewise.
21499 (sin_towardzero_test_data): Likewise.
21500 (sin_downward_test_data): Likewise.
21501 (sin_upward_test_data): Likewise.
21502 (sinh_test_data): Likewise.
21503 (sinh_tonearest_test_data): Likewise.
21504 (sinh_towardzero_test_data): Likewise.
21505 (sinh_downward_test_data): Likewise.
21506 (sinh_upward_test_data): Likewise.
21507 (tan_test_data): Likewise.
21508 (tan_tonearest_test_data): Likewise.
21509 (tan_towardzero_test_data): Likewise.
21510 (tan_downward_test_data): Likewise.
21511 (tan_upward_test_data): Likewise.
21512 (tanh_test_data): Likewise.
21513 (tgamma_test_data): Likewise.
21514 (y0_test_data): Likewise.
21515 (y1_test_data): Likewise.
21516 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21517 (special_real_inputs): Add pi/4.
21518 * sysdeps/i386/fpu/libm-test-ulps: Update.
21519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21521 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21523 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21524 "longjmp_target" static probes.
21525 (__longjmp): Rename to __longjmp_symbol.
21526 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21527 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21528 on which longjmp to generate.
21529 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21530 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21532 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21533 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21534 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21535 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21536 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21537 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21539 __longjmp_symbol based on which __longjmp to generate.
21540 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21542 (setjmp): Rename to setjmp_symbol.
21543 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21544 (_setjmp): Rename to _setjmp_symbol.
21545 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21546 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21547 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21548 which setjmp to generate.
21549 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21550 "longjmp_target" static probes.
21552 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21554 * benchtests/README: Add note about output arguments.
21555 * benchtests/bench-sincos.c: Remove file.
21556 * benchtests/sincos-inputs: New file.
21557 * scripts/bench.pl: Identify output arguments and define
21558 static variables for them.
21560 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21563 * Makefile (INSTALL): Add install-plain.texi as the primary
21565 * manual/install-plain.texi: New file.
21566 * manual/install.texi: Include node directive only for
21567 non-plaintext output.
21569 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21571 * stdlib/longlong.h: Update from GCC.
21575 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21576 * math/w_j0f.c (y0f): Likewise.
21577 * math/w_j0l.c (__y0l): Likewise.
21578 * math/w_j1.c (y1): Likewise.
21579 * math/w_j1f.c (y1f): Likewise.
21580 * math/w_j1l.c (__y1l): Likewise
21581 * math/w_jn.c (yn): Likewise.
21582 * math/w_jnf.c (ynf): Likewise.
21583 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21584 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21585 value for Bessel function domain errors outside _SVID_ mode.
21586 Adjust sign of return value for yn (negative integer, 0).
21587 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21588 by zero in return for negative x and set sign appropriately for
21590 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21591 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21592 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21593 expectations in error cases.
21594 (y1_test_data): Likewise.
21595 (yn_test_data): Likewise.
21596 * sysdeps/i386/fpu/libm-test-ulps: Update.
21597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21599 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21601 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21602 "64" to "64-v1". Add "64-v2".
21603 (abi-64-options): Rename to ...
21604 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21605 (abi-64-condition): Rename to ...
21606 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21607 (abi-64-ld-soname): Rename to ...
21608 (abi-64-v1-ld-soname): ... this.
21609 (abi-64-v2-options): Define.
21610 (abi-64-v2-condition): Likewise.
21611 (abi-64-v2-ld-soname): Likewise.
21612 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21613 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21618 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21619 Alan Modra <amodra@gmail.com>
21621 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21622 New versions for use with the ELFv2 ABI.
21623 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21624 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21626 (struct La_ppc64v2_retval): Likewise.
21627 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21628 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21629 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21630 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21631 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21632 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21633 Do not save or restore CR.
21634 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21635 (_dl_profile_resolve): Do no save or restore CR. Support extended
21636 return values for ELFv2 ABI. Fix location of FPR return registers.
21637 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21638 updated values for _CALL_ELF == 2.
21639 (La_regs, La_retval, int_retval): Likewise.
21641 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21643 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21644 (FRAME_MIN_SIZE_PARM): Likewise.
21645 (FRAME_BACKCHAIN): Likewise.
21646 (FRAME_CR_SAVE): Likewise.
21647 (FRAME_LR_SAVE): Likewise.
21648 (FRAME_TOC_SAVE): Likewise.
21649 (FRAME_PARM_SAVE): Likewise.
21650 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21651 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21652 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21653 (call_mcount_parm_offset): New macro.
21654 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21655 (PROF): Use symbolic stack frame offsets.
21656 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21657 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21658 Redefine in terms of FRAME_MIN_SIZE.
21659 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21660 (_dl_profile_resolve): Likewise. Update comment.
21661 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21662 symbols stack frame offsets.
21663 (__sigsetjmp): Likewise.
21664 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21665 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21666 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21667 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21670 (FRAME_BACKCHAIN): Remove.
21671 (FRAME_CR_SAVE): Likewise.
21672 (FRAME_LR_SAVE): Likewise.
21673 (FRAME_COMPILER_DW): Likewise.
21674 (FRAME_LINKER_DW): Likewise.
21675 (FRAME_TOC_SAVE): Likewise.
21676 (FRAME_PARM_SAVE): Likewise.
21677 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21678 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21679 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21681 (CHECK_SP): Use symbolic stack frame offsets.
21682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21683 zone" instead of caller's parameter save area for temp storage.
21684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21685 Likewise. Also, use symbolic stack frame offsets.
21686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21687 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21688 our own stack frame instead of the caller's.
21689 (__socket): Use symbolic stack frame offsets.
21691 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21692 Alan Modra <amodra@gmail.com>
21694 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21696 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21697 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21698 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21700 (elf_machine_fixup_plt): Call it.
21701 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21703 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21704 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21705 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21706 r2 before calling target.
21708 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21709 Alan Modra <amodra@gmail.com>
21711 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21712 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21713 versions of macros to support ELFv2 ABI.
21714 (LOCALENTRY): New macro.
21715 (ENTRY, EALIGN): Use it.
21716 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21717 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21718 fall through into ENTRY entry point.
21719 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21720 Only define if _CALL_ELF != 2.
21722 (elf_machine_matches_host): Verify ABI version matches.
21723 (RTLD_START): Use LOCALENTRY.
21724 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21725 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21726 (PLT_ENTRY_WORDS): New macro.
21727 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21728 (elf_machine_runtime_setup): Support ELFv2 ABI.
21729 (elf_machine_fixup_plt): Likewise.
21730 (elf_machine_plt_conflict): Likewise.
21731 (resolve_ifunc): Likewise.
21732 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21736 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21738 (makecontext): Support ELFv2 ABI.
21739 * elf/elf.h (EF_PPC64_ABI): Define.
21741 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21743 * sysdeps/powerpc/powerpc64/sysdep.h
21744 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21745 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21746 (ENTRY) [ASSEMBLER]: ... but instead here ...
21747 (EALIGN) [ASSEMBLER]: ... and here.
21748 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21749 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21750 (ENTRY_2) [!ASSEMBLER]: Use it.
21751 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21752 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21753 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21754 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21755 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21757 Use PPC64_LOAD_FUNCPTR.
21759 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21761 2013-12-04 Alan Modra <amodra@gmail.com>
21763 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21764 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21765 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21766 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21768 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21769 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21770 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21771 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21772 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21773 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21775 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21778 (__makecontext): Fix incorrect CFI when backtracing out of
21779 context created via makecontext.
21780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21781 (__setcontext): Fix incorrect CFI during switch to new context.
21782 (__novec_setcontext): Likewise.
21784 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21787 * time/strptime_l.c (__strptime_internal): Allow modifiers
21789 * time/tst-strptime.c (day_tests): Add testcase.
21791 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21793 * scripts/bench.pl: Skip over blank lines.
21795 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21798 * manual/time.texi (Calendar Time): Clarify what timezone functions
21801 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21805 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21807 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21809 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21810 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21811 * debug/memset_chk.c (__memset_chk): Likewise.
21812 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21813 * debug/strncpy_chk.c: Likewise.
21815 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21819 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21820 (__ieee754_exp): For possibly underflowing results, check size of
21821 result and force underflow exception if required.
21822 * math/auto-libm-test-in: Add more tests of exp.
21823 * math/auto-libm-test-out: Regenerated.
21824 * sysdeps/i386/fpu/libm-test-ulps: Update.
21825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21828 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21829 * math/w_exp2f.c (__exp2f): Likewise.
21830 * math/w_exp2l.c (__exp2l): Likewise.
21831 * math/auto-libm-test-in: Do not allow missing errno on exp2
21833 * math/auto-libm-test-out: Regenerated.
21835 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21838 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21839 handle filename validation.
21840 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21843 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21846 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21847 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21848 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21850 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21851 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21852 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21854 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21856 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21857 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21858 Add more erfc tests.
21859 * math/auto-libm-test-out: Regenerated.
21860 * sysdeps/i386/fpu/libm-test-ulps: Update.
21861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21863 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21864 exp2, expm1, j0 and j1.
21865 * math/auto-libm-test-out: Regenerated.
21866 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21867 (erfc_test_data): Likewise.
21868 (exp_test_data): Likewise.
21869 (exp_tonearest_test_data): Likewise.
21870 (exp_towardzero_test_data): Likewise.
21871 (exp_downward_test_data): Likewise.
21872 (exp_upward_test_data): Likewise.
21873 (exp10_test_data): Likewise.
21874 (exp2_test_data): Likewise.
21875 (expm1_test_data): Likewise.
21876 (j0_test_data): Likewise.
21877 (j1_test_data): Likewise.
21878 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21879 (input_flag_type): Add flag_xfail_rounding.
21880 (input_flags): Add xfail-rounding.
21881 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21882 (output_for_one_input_case): Handle flag_xfail_rounding.
21883 * sysdeps/i386/fpu/libm-test-ulps: Update.
21884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21886 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21889 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21892 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21895 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21896 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21897 (STAP_PROBE0): New macro.
21898 (STAP_PROBE1): Likewise.
21899 (STAP_PROBE2): Likewise.
21900 (STAP_PROBE3): Likewise.
21901 (STAP_PROBE4): Likewise.
21903 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21905 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21907 2013-12-02 Steve Ellcey <sellcey@mips.com>
21909 * benchtests/Makefile (bench): Add sqrt.
21910 (LDLIBS-bench-sqrt): New.
21911 * benchtests/sqrt-input: New.
21913 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21915 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21916 (GAIH_EAI): Likewise.
21917 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21918 (gaih_inet): Likewise.
21919 (getaddrinfo): Don't use GAIH_EAI.
21921 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21922 (struct gaih): Remove definition.
21924 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21926 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21927 Use HERRNOP directly.
21929 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21933 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21935 * math/gen-auto-libm-tests.c (test_functions): Add more
21936 single-argument functions.
21937 (special_fill_pi_2): New function.
21938 (special_fill_minus_pi_2): Likewise.
21939 (special_fill_pi_6): Likewise.
21940 (special_fill_minus_pi_6): Likewise.
21941 (special_fill_pi_3): Likewise.
21942 (special_fill_2pi_3): Likewise.
21943 (special_fill_e): Likewise.
21944 (special_fill_1_e): Likewise.
21945 (special_fill_e_minus_1): Likewise.
21946 (special_real_inputs): Add more special inputs.
21947 (output_for_one_input_case): Do not require ERANGE on underflow to
21948 zero if round-to-nearest result does not underflow to zero, unless
21949 exact results required.
21950 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21951 atan, atanh, cbrt, cos and cosh.
21952 * math/auto-libm-test-out: Regenerated.
21953 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21954 (acos_tonearest_test_data): Likewise.
21955 (acos_towardzero_test_data): Likewise.
21956 (acos_downward_test_data): Likewise.
21957 (acos_upward_test_data): Likewise.
21958 (acosh_test_data): Likewise.
21959 (asin_test_data): Likewise.
21960 (asin_tonearest_test_data): Likewise.
21961 (asin_towardzero_test_data): Likewise.
21962 (asin_upward_test_data): Likewise.
21963 (asinh_test_data): Likewise.
21964 (atan_test_data): Likewise.
21965 (atanh_test_data): Likewise.
21966 (cbrt_test_data): Likewise.
21967 (cos_test_data): Likewise.
21968 (cos_tonearest_test_data): Likewise.
21969 (cos_towardzero_test_data): Likewise.
21970 (cos_downward_test_data): Likewise.
21971 (cos_upward_test_data): Likewise.
21972 (cosh_test_data): Likewise.
21973 (cosh_tonearest_test_data): Likewise.
21974 (cosh_towardzero_test_data): Likewise.
21975 (cosh_downward_test_data): Likewise.
21976 (cosh_upward_test_data): Likewise.
21977 * sysdeps/i386/fpu/libm-test-ulps: Update.
21978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21980 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21983 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21984 * math/w_exp10f.c (__exp10f): Likewise.
21985 * math/w_exp10l.c (__exp10l): Likewise.
21986 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21987 errno settings in existing tests.
21990 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21991 precision control set to double precision.
21992 * sysdeps/i386/fpu/w_sqrt.c: New file.
21993 * math/auto-libm-test-in: Add more tests.
21994 * math/auto-libm-test-out: Update.
21996 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21997 (sqrt_test_tonearest): New function.
21998 (sqrt_towardzero_test_data): New variable.
21999 (sqrt_test_towardzero): New function.
22000 (sqrt_downward_test_data): New variable.
22001 (sqrt_test_downward): New function.
22002 (sqrt_upward_test_data): New variable.
22003 (sqrt_test_upward): New function.
22004 (main): Call the new functions.
22006 * math/gen-auto-libm-tests.c: New file.
22007 * math/auto-libm-test-in: Likewise.
22008 * math/auto-libm-test-out: New generated file.
22009 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22011 (%beautify): Add generated representations of zero.
22012 (top level): Set $auto_input and call parse_auto_input.
22013 (beautify): Remove trailing "f" from hex float constants.
22014 (parse_args): Handle XFAIL_TEST.
22015 (convert_condition): New function.
22016 (or_value): Likewise.
22017 (or_cond_value): Likewise.
22018 (generate_testfile): Handle AUTO_TESTS_* lines.
22019 (parse_auto_input): New function.
22020 * math/libm-test.inc (XFAIL_TEST): New macro.
22021 (ERRNO_UNCHANGED): Update value.
22022 (ERRNO_EDOM): Likewise.
22023 (ERRNO_ERANGE): Likewise.
22024 (IGNORE_RESULT): Likewise.
22025 (TEST_COND_flt_32): New macro.
22026 (TEST_COND_dbl_64): Likewise.
22027 (TEST_COND_ldbl_96_intel): Likewise.
22028 (TEST_COND_ldbl_96_m68k): Likewise.
22029 (TEST_COND_ldbl_128): Likewise.
22030 (TEST_COND_ldbl_128ibm): Likewise.
22031 (TEST_COND_long32): Likewise.
22032 (TEST_COND_long64): Likewise.
22033 (TEST_COND_before_rounding): Likewise.
22034 (TEST_COND_after_rounding): Likewise.
22035 (enable_test): Handle XFAIL_TEST flag.
22036 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22037 with finite results.
22038 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22039 auto-libm-test-out.
22041 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22042 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22045 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22046 __tls_get_addr_internal instead of __tls_get_offset in order to
22047 avoid GOT pointer dependency. Make rtld export
22048 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22049 __tls_get_addr since we are a __tls_get_offset platform.
22050 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22051 GOT pointer being set up before.
22052 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22054 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22056 * manual/math.texi (Errors in Math Functions): Document accuracy
22060 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22061 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22062 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22063 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22067 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22068 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22069 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22070 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22071 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22072 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22073 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22074 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22075 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22077 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22078 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22079 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22080 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22081 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22083 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22085 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22087 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22088 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22089 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22090 atomic-feupdateenv and flt-rounds.
22091 * sysdeps/powerpc/nofpu/Versions (libc): Add
22092 __atomic_feholdexcept, __atomic_feclearexcept,
22093 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22094 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22095 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22096 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22097 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22102 * manual/arith.texi (FP Exceptions): Document that exceptions may
22103 not be raised when matherr is used.
22104 (Math Error Reporting): Document overflow in directed rounding
22105 modes. Document that errno may not be set when finite values are
22106 returned on overflow. Document intent to set errno on underflow
22107 only for underflow to zero.
22110 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22111 round-to-nearest then adjust result for other rounding modes.
22112 * include/fenv.h (fegetround): Use libm_hidden_proto.
22113 * math/fegetround.c (fegetround): Use libm_hidden_def.
22114 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22115 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22116 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22117 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22119 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22120 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22121 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22122 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22124 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22127 * nss/Versions (libnss_files): Add
22128 _nss_files_gethostbyname3_r.
22129 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22131 (HOST_DB_LOOKUP): Remove macro.
22132 (_nss_files_gethostbyname_r): Implement function without the
22133 HOST_DB_LOOKUP macro.
22134 (_nss_files_gethostbyname2_r): Likewise.
22136 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22138 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22140 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22142 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22143 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22146 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22148 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22149 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22150 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22151 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22152 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22153 __fe_nomask_env_priv and attribute_hidden.
22154 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22155 (libc_feupdateenv_test_ppc): Likewise.
22156 (libc_feresetround_ppc): Likewise.
22157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22158 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22159 compat_symbol macro.
22160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22161 (__fe_nomask_env): Likewise.
22162 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22164 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22166 * string/Makefile: Remove ifunc tests.
22167 * string/test-string.h: Define TEST_IFUNC.
22168 * string/test-bcopy-ifunc.c: Remove.
22169 * string/test-bzero-ifunc.c: Likewise.
22170 * string/test-memccpy-ifunc.c: Likewise.
22171 * string/test-memchr-ifunc.c: Likewise.
22172 * string/test-memcmp-ifunc.c: Likewise.
22173 * string/test-memcpy-ifunc.c: Likewise.
22174 * string/test-memmem-ifunc.c: Likewise.
22175 * string/test-memmove-ifunc.c: Likewise.
22176 * string/test-mempcpy-ifunc.c: Likewise.
22177 * string/test-memrchr-ifunc.c: Likewise.
22178 * string/test-memset-ifunc.c: Likewise.
22179 * string/test-rawmemchr-ifunc.c: Likewise.
22180 * string/test-stpcpy-ifunc.c: Likewise.
22181 * string/test-stpncpy-ifunc.c: Likewise.
22182 * string/test-strcasecmp-ifunc.c: Likewise.
22183 * string/test-strcasestr-ifunc.c: Likewise.
22184 * string/test-strcat-ifunc.c: Likewise.
22185 * string/test-strchr-ifunc.c: Likewise.
22186 * string/test-strchrnul-ifunc.c: Likewise.
22187 * string/test-strcmp-ifunc.c: Likewise.
22188 * string/test-strcpy-ifunc.c: Likewise.
22189 * string/test-strcspn-ifunc.c: Likewise.
22190 * string/test-strlen-ifunc.c: Likewise.
22191 * string/test-strncasecmp-ifunc.c: Likewise.
22192 * string/test-strncat-ifunc.c: Likewise.
22193 * string/test-strncmp-ifunc.c: Likewise.
22194 * string/test-strncpy-ifunc.c: Likewise.
22195 * string/test-strnlen-ifunc.c: Likewise.
22196 * string/test-strpbrk-ifunc.c: Likewise.
22197 * string/test-strrchr-ifunc.c: Likewise.
22198 * string/test-strspn-ifunc.c: Likewise.
22199 * string/test-strstr-ifunc.c: Likewise.
22201 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22203 * benchtests/Makefile: Remove ifunc tests.
22204 * benchtests/bench-string.h: Define TEST_IFUNC.
22205 * benchtests/bench-bcopy-ifunc.c: Remove.
22206 * benchtests/bench-bzero-ifunc.c: Likewise.
22207 * benchtests/bench-memccpy-ifunc.c: Likewise.
22208 * benchtests/bench-memchr-ifunc.c: Likewise.
22209 * benchtests/bench-memcmp-ifunc.c: Likewise.
22210 * benchtests/bench-memcpy-ifunc.c: Likewise.
22211 * benchtests/bench-memmem-ifunc.c: Likewise.
22212 * benchtests/bench-memmove-ifunc.c: Likewise.
22213 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22214 * benchtests/bench-memrchr-ifunc.c: Likewise.
22215 * benchtests/bench-memset-ifunc.c: Likewise.
22216 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22217 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22218 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22219 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22220 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22221 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22222 * benchtests/bench-strcat-ifunc.c: Likewise.
22223 * benchtests/bench-strchr-ifunc.c: Likewise.
22224 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22225 * benchtests/bench-strcmp-ifunc.c: Likewise.
22226 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22227 * benchtests/bench-strcpy-ifunc.c: Likewise.
22228 * benchtests/bench-strcspn-ifunc.c: Likewise.
22229 * benchtests/bench-strlen-ifunc.c: Likewise.
22230 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22231 * benchtests/bench-strncat-ifunc.c: Likewise.
22232 * benchtests/bench-strncmp-ifunc.c: Likewise.
22233 * benchtests/bench-strncpy-ifunc.c: Likewise.
22234 * benchtests/bench-strnlen-ifunc.c: Likewise.
22235 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22236 * benchtests/bench-strrchr-ifunc.c: Likewise.
22237 * benchtests/bench-strsep-ifunc.c: Likewise.
22238 * benchtests/bench-strspn-ifunc.c: Likewise.
22239 * benchtests/bench-strstr-ifunc.c: Likewise.
22241 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22243 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22245 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22247 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22248 * rt/aio.h: Likewise.
22249 * sysdeps/gnu/bits/utmp.h: Likewise.
22250 * sysdeps/gnu/bits/utmpx.h: Likewise.
22251 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22252 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22253 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22254 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22255 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22256 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22257 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22258 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22259 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22260 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22261 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22262 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22263 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22265 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22266 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22267 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22268 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22269 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22270 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22271 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22272 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22273 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22274 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22275 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22277 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22278 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22279 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22280 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22281 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22282 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22283 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22284 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22285 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22286 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22287 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22288 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22289 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22290 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22291 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22292 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22294 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22297 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22298 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22300 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22302 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22303 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22306 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22309 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22310 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22311 (__fesetround): Remove define.
22312 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22313 rounding and exceptions handling.
22314 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22315 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22316 (__fe_nomask_env): Likewise.
22317 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22318 __fegetround instead of fegetround.
22319 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22320 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22322 2013-11-21 Roland McGrath <roland@hack.frob.com>
22324 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22327 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22329 2013-11-21 Meador Inge <meadori@codesourcery.com>
22332 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22333 (encrypt_r): Likewise.
22334 * malloc/obstack.h (obstack_free): Likewise.
22335 * posix/unistd.h (encrypt): Likewise.
22337 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22339 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22340 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22341 DL_CALL_DT_FINI() that call the functions directly.
22342 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22343 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22344 * elf/dl-fini.c: Likewise.
22346 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22348 * malloc/hooks.c (memalign_check): Add alignment rounding.
22349 * malloc/malloc.c (_mid_memalign): New function.
22350 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22351 Implement by calling _mid_memalign.
22352 * manual/probes.texi (Memory Allocation Probes): Remove
22353 memory_valloc_retry and memory_pvalloc_retry.
22355 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22357 * locale/programs/locarchive.c (open_archive): Add const
22358 qualifier to ARCHIVEFNAME and copy default fname to
22362 * libio/tst-widetext.input: Rename Oriya to Odia.
22363 * locale/iso-639.def: Likewise.
22365 * manual/probes.texi (Mathematical Function Probes): Add
22366 documentation for sin, cos, asin and acos probes.
22367 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22368 (__sin32): Add slowasin probe.
22369 (__cos32): Add slowacos probe.
22370 (__mpsin): Add slowsin probe.
22371 (__mpcos): Add slowcos probe.
22373 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22376 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22377 thread-local __sim_exceptions_thread and global
22378 __sim_exceptions_global.
22379 (__sim_disabled_exceptions): Change to thread-local
22380 __sim_disabled_exceptions_thread and global
22381 __sim_disabled_exceptions_global.
22382 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22383 and global __sim_round_mode_global.
22384 (__simulate_exceptions): Use thread-local floating-point state and
22385 set global state from it as needed.
22386 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22387 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22388 __sim_round_mode_thread.
22389 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22390 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22391 and global __sim_exceptions_global.
22392 (__sim_disabled_exceptions): Change to thread-local
22393 __sim_disabled_exceptions_thread and global
22394 __sim_disabled_exceptions_global.
22395 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22396 and global __sim_round_mode_global.
22397 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22398 (SIM_SET_GLOBAL): Likewise.
22399 * sysdeps/powerpc/soft-fp/sfp-machine.h
22400 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22401 __sim_round_mode_thread.
22402 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22403 __sim_disabled_exceptions_thread.
22404 (__sim_exceptions): Change to __sim_exceptions_thread.
22405 (__sim_disabled_exceptions): Change to
22406 __sim_disabled_exceptions_thread.
22407 (__sim_round_mode): Change to __sim_round_mode_thread.
22408 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22409 thread-local floating-point state and set global state from it as
22411 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22412 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22413 (__sim_disabled_exceptions): Remove extern declaration.
22414 (feenableexcept): Use thread-local floating-point state and set
22415 global state from it as needed.
22416 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22417 extern declaration.
22418 (__sim_disabled_exceptions): Likewise.
22419 (__sim_round_mode): Likewise.
22420 (__fegetenv): Use thread-local floating-point state.
22421 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22422 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22423 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22424 floating-point state and set global state from it as needed.
22425 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22426 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22427 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22429 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22430 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22432 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22433 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22434 Use __sim_round_mode_thread.
22435 * math/test-fenv-tls.c: New file.
22436 * math/Makefile (tests): Add test-fenv-tls.
22437 ($(objpfx)test-fenv-tls): Depend on
22438 $(common-objpfx)nptl/libpthread.so.
22440 2013-11-19 Andreas Schwab <schwab@suse.de>
22442 * locale/programs/locale.c (show_info): Decode wordarray elements.
22443 * locale/categories.def (LC_MONETARY): Add element for
22444 _NL_MONETARY_CRNCYSTR.
22445 * locale/C-monetary.c (conversion_rate): New variable.
22446 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22449 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22451 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22452 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22454 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22456 * elf/Makefile (tst-auxv): New test.
22457 * elf/tst-auxv.c: New
22458 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22460 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22462 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22463 (hidden_proto): Caller changed.
22464 (hidden_tls_proto): New macro.
22465 (libc_hidden_tls_proto): Likewise.
22466 (rtld_hidden_tls_proto): Likewise.
22467 (libm_hidden_tls_proto): Likewise.
22468 (libresolv_hidden_tls_proto): Likewise.
22469 (librt_hidden_tls_proto): Likewise.
22470 (libdl_hidden_tls_proto): Likewise.
22471 (libnss_files_hidden_tls_proto): Likewise.
22472 (libnsl_hidden_tls_proto): Likewise.
22473 (libnss_nisplus_hidden_tls_proto): Likewise.
22474 (libutil_hidden_tls_proto): Likewise.
22476 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22479 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22480 (decompose_rpath): Defer expansion to fillin_rpath.
22481 (_dl_init_paths): Pass linkmap to fillin_rpath.
22483 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22485 * benchtests/Makefile: Add strsep.
22486 * benchtests/bench-strsep.c: New file: strsep benchtest.
22487 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22489 2013-11-18 Andreas Schwab <schwab@suse.de>
22491 * locale/programs/locale.c (show_info) [case byte]: Check for
22492 '\377' instead of '\177'.
22493 * locale/C-monetary.c (not_available): Always use "\377".
22494 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22495 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22496 detect unavailable sign_posn locale elements.
22497 * locale/localeconv.c (__localeconv): For grouping and
22498 mon_grouping handle "\177" and "\377" like no grouping.
22499 (INT_ELEM): New macro. Use it to set all numeric members.
22500 * locale/programs/ld-monetary.c (monetary_read)
22501 <tok_mon_grouping>: Normalize single -1 to the empty string.
22502 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22505 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22508 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22509 when we match (nil).
22510 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22512 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22514 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22515 (NO_TEST_INLINE): Update value.
22516 (ERRNO_UNCHANGED): Likewise.
22517 (ERRNO_EDOM): Likewise.
22518 (ERRNO_ERANGE): Likewise.
22519 (IGNORE_RESULT): Likewise.
22520 (check_float_internal): Check signs of NaN results if
22521 TEST_NAN_SIGN used.
22522 (check_complex): Pass TEST_NAN_SIGN flag through to second
22523 check_float_internal call.
22524 (copysign_test_data): Add tests with quiet NaNs as second
22525 argument. Use TEST_NAN_SIGN.
22526 (fabs_test_data): Add test of negative quiet NaN argument. Use
22528 (signbit_test_data): Add tests of quiet NaN argument.
22529 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22531 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22533 (parse_args): Handle function results specified as IGNORE.
22534 * math/libm-test.inc (IGNORE_RESULT): New macro.
22535 (check_float_internal): Do not check numerical result if flag
22537 (check_complex): Pass through IGNORE_RESULT to second
22538 check_float_internal call.
22539 (check_int): Do not check numerical result if flag IGNORE_RESULT
22541 (check_long): Likewise.
22542 (check_bool): Likewise.
22543 (check_longlong): Likewise.
22544 (lrint_test_data): Add tests of infinite and NaN arguments.
22545 (lrint_tonearest_test_data): Likewise.
22546 (lrint_towardzero_test_data): Likewise.
22547 (lrint_downward_test_data): Likewise.
22548 (lrint_upward_test_data): Likewise.
22549 (llrint_test_data): Likewise.
22550 (llrint_tonearest_test_data): Likewise.
22551 (llrint_towardzero_test_data): Likewise.
22552 (llrint_downward_test_data): Likewise.
22553 (llrint_upward_test_data): Likewise.
22554 (lround_test_data): Likewise.
22555 (llround_test_data): Likewise.
22557 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22558 (ERRNO_UNCHANGED): Update value.
22559 (ERRNO_EDOM): Likewise.
22560 (ERRNO_ERANGE): Likewise.
22561 (NO_TEST_INLINE_FLOAT): New macro.
22562 (NO_TEST_INLINE_DOUBLE): Likewise.
22563 (enable_test): New function.
22564 (RUN_TEST_f_f): Check enable_test before running test.
22565 (RUN_TEST_2_f): Likewise.
22566 (RUN_TEST_fff_f): Likewise.
22567 (RUN_TEST_c_f): Likewise.
22568 (RUN_TEST_f_f1): Likewise.
22569 (RUN_TEST_fF_f1): Likewise.
22570 (RUN_TEST_fI_f1): Likewise.
22571 (RUN_TEST_ffI_f1): Likewise.
22572 (RUN_TEST_c_c): Likewise.
22573 (RUN_TEST_cc_c): Likewise.
22574 (RUN_TEST_f_i): Likewise.
22575 (RUN_TEST_f_i_tg): Likewise.
22576 (RUN_TEST_ff_i_tg): Likewise.
22577 (RUN_TEST_f_b): Likewise.
22578 (RUN_TEST_f_b_tg): Likewise.
22579 (RUN_TEST_f_l): Likewise.
22580 (RUN_TEST_f_L): Likewise.
22581 (RUN_TEST_fFF_11): Likewise.
22582 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22584 (cosh_test_data): Likewise.
22585 (exp_test_data): Likewise.
22586 (expm1_test_data): Likewise.
22587 (hypot_test_data): Likewise.
22588 (pow_test_data): Likewise.
22589 (sinh_test_data): Likewise.
22590 (tanh_test_data): Likewise.
22591 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22594 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22595 tests with quiet NaN input and output.
22596 (acosh_test_data): Likewise.
22597 (asin_test_data): Likewise.
22598 (asinh_test_data): Likewise.
22599 (atan_test_data): Likewise.
22600 (atanh_test_data): Likewise.
22601 (atan2_test_data): Likewise.
22602 (cbrt_test_data): Likewise.
22603 (cos_test_data): Likewise.
22604 (cosh_test_data): Likewise.
22605 (erf_test_data): Likewise.
22606 (erfc_test_data): Likewise.
22607 (exp_test_data): Likewise.
22608 (exp10_test_data): Likewise.
22609 (exp2_test_data): Likewise.
22610 (expm1_test_data): Likewise.
22611 (hypot_test_data): Likewise.
22612 (j0_test_data): Likewise.
22613 (j1_test_data): Likewise.
22614 (jn_test_data): Likewise.
22615 (lgamma_test_data): Likewise.
22616 (log_test_data): Likewise.
22617 (log10_test_data): Likewise.
22618 (log1p_test_data): Likewise.
22619 (log2_test_data): Likewise.
22620 (pow_test_data): Likewise.
22621 (scalb_test_data): Likewise.
22622 (sin_test_data): Likewise.
22623 (sincos_test_data): Likewise.
22624 (sinh_test_data): Likewise.
22625 (tan_test_data): Likewise.
22626 (tanh_test_data): Likewise.
22627 (tgamma_test_data): Likewise.
22628 (y0_test_data): Likewise.
22629 (y1_test_data): Likewise.
22630 (yn_test_data): Likewise.
22633 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22634 argument being NaN and avoid computations with second argument in
22636 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22637 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22638 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22640 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22642 * locale/iso-639.def: Add Chitwani Tharu (the).
22644 2013-11-14 Andreas Schwab <schwab@suse.de>
22646 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22647 word instead of empty string.
22649 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22652 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22654 (__fe_nomask_env): Likewise.
22656 2013-11-13 Steve Ellcey <sellcey@mips.com>
22658 * benchtests/bench-timing.h: Include time.h.
22660 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22663 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22665 * sysdeps/unix/sysv/linux/configure: Regenerated.
22667 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22670 * stdlib/strtod_l.c (round_and_return): Do not consider
22671 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22672 exponent one less than half the least subnormal exponent.
22673 * stdlib/test-strtod-round-data: Add more tests.
22674 * stdlib/tst-strtod-round.c (tests): Regenerated.
22676 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22679 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22680 (__fe_mask_env): Likewise.
22681 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22682 libm_hidden_proto and add function prototype.
22683 (__fe_mask_env): Add function prototype.
22684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22685 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22687 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22689 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22691 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22693 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22694 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22696 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22698 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22699 of htab_find_slot().
22701 2013-11-11 David S. Miller <davem@davemloft.net>
22704 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22705 symbol in the non-vis3 case in static builds.
22706 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22707 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22708 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22709 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22711 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22714 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22717 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22719 * benchtests/Makefile: Add bench-strtod.
22720 * benchtests/bench-strtod.c: New file: strtod benchtest
22722 2013-11-11 Andreas Schwab <schwab@suse.de>
22725 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22726 terminating NUL in key length.
22728 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22730 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22731 Add artificial ODP entry for vDSO symbol for PPC64.
22732 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22733 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22735 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22738 * nss/getent.c (services_keys): Recognize services starting with digit.
22740 2013-11-06 David S. Miller <davem@davemloft.net>
22743 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22744 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22746 2013-11-06 Will Newton <will.newton@linaro.org>
22748 * manual/memory.texi (Malloc Examples): Remove register
22749 keyword from examples.
22751 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22753 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22755 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22758 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22759 depending on [__GCC_IEC_559 > 0].
22760 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22761 depending on [__GCC_IEC_559_COMPLEX > 0].
22763 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22765 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22768 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22770 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22772 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22775 * malloc/malloc (malloc_info): Do not handle first bin as
22778 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22780 * locale/iso-639.def: Add Central Nahuatl (nhn).
22782 2013-11-01 Bruno Haible <bruno@clisp.org>
22785 * manual/math.texi (BSD Random): Specify range upper bound as
22788 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22790 * locale/iso-639.def: Add Meadow Mari (mhr).
22792 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22794 [BZ #14752], [BZ #15763]
22795 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22797 * rt/tst_shm.c: Add test for escaping directory.
22799 2013-10-31 Andreas Schwab <schwab@suse.de>
22802 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22803 followed by 'x' as part of digit sequence.
22804 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22806 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22809 * configure.ac: allow GNU Make 4.0 and greater.
22810 * configure: Regenerated.
22812 2013-10-30 Will Newton <will.newton@linaro.org>
22815 * malloc/hooks.c (memalign_check): Limit alignment to the
22816 maximum representable power of two.
22817 * malloc/malloc.c (__libc_memalign): Likewise.
22818 * malloc/tst-memalign.c (do_test): Add test for very
22819 large alignment values.
22820 * malloc/tst-posix_memalign.c (do_test): Likewise.
22822 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22825 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22826 (munmap_chunk): Likewise.
22827 (mremap_chunk): Likewise.
22829 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22832 * stdlib/div.c (div): Remove obsolete code.
22833 * stdlib/ldiv.c (ldiv): Likewise.
22834 * stdlib/lldiv.c (lldiv): Likewise.
22836 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22839 * nss/nss_files/files-XXX.c (get_contents_ret): New
22841 (get_contents): New function.
22842 (internal_getent): Use it. Expand size of LINEBUFLEN.
22844 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22846 * configure.in: Moved to ...
22847 * configure.ac: ... here. Change reference to configure.in
22849 * sysdeps/arm/preconfigure.ac: ... here.
22850 configure.in to configure.ac.
22851 * sysdeps/gnu/configure.in: Moved to ...
22852 * sysdeps/gnu/configure.ac: ... here.
22853 * sysdeps/i386/configure.in: Moved to ...
22854 * sysdeps/i386/configure.ac: ... here.
22855 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22856 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22857 * sysdeps/mach/configure.in: Moved to ...
22858 * sysdeps/mach/configure.ac: ... here.
22859 * sysdeps/mach/hurd/configure.in: Moved to ...
22860 * sysdeps/mach/hurd/configure.ac: ... here.
22861 * sysdeps/powerpc/configure.in: Moved to ...
22862 * sysdeps/powerpc/configure.ac: ... here.
22863 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22864 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22865 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22866 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22867 * sysdeps/s390/s390-32/configure.in: Moved to ...
22868 * sysdeps/s390/s390-32/configure.ac: ... here.
22869 * sysdeps/s390/s390-64/configure.in: Moved to ...
22870 * sysdeps/s390/s390-64/configure.ac: ... here.
22871 * sysdeps/sh/configure.in: Moved to ...
22872 * sysdeps/sh/configure.ac: ... here.
22873 * sysdeps/sparc/configure.in: Moved to ...
22874 * sysdeps/sparc/configure.ac: ... here.
22875 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22876 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22877 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22878 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22879 * sysdeps/x86_64/configure.in: Moved to ...
22880 * sysdeps/x86_64/configure.ac: ... here.
22881 * sysdeps/x86_64/preconfigure.in: Moved to ...
22882 * sysdeps/x86_64/preconfigure.ac: ... here.
22883 * aclocal.m4: Change reference to configure.in to configure.ac.
22884 * config.h.in: Likewise.
22885 * manual/install.texi: Likewise.
22886 * manual/maint.texi: Likewise.
22887 * Makefile: Likewise.
22888 * malloc/Makefile: Likewise.
22889 * nscd/Makefile: Likewise.
22890 * Makeconfig: Change reference to configure.in and
22891 preconfigure.in to configure.ac and preconfigure.ac
22893 * INSTALL: Regenerated.
22894 * configure: Likewise.
22895 * sysdeps/gnu/configure: Likewise.
22896 * sysdeps/i386/configure: Likewise.
22897 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22898 * sysdeps/mach/configure: Likewise.
22899 * sysdeps/mach/hurd/configure: Likewise.
22900 * sysdeps/powerpc/configure: Likewise.
22901 * sysdeps/powerpc/powerpc32/configure: Likewise.
22902 * sysdeps/powerpc/powerpc64/configure: Likewise.
22903 * sysdeps/s390/s390-32/configure: Likewise.
22904 * sysdeps/s390/s390-64/configure: Likewise.
22905 * sysdeps/sh/configure: Likewise.
22906 * sysdeps/sparc/configure: Likewise.
22907 * sysdeps/unix/sysv/linux/configure: Likewise.
22908 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22909 * sysdeps/x86_64/configure: Likewise.
22910 * sysdeps/x86_64/preconfigure: Likewise.
22912 2013-10-29 Andreas Schwab <schwab@suse.de>
22914 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22916 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22918 * benchtests/pow-inputs: Add new inputs.
22920 * benchtests/exp-inputs: Add new inputs.
22922 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22923 conditional check for return value.
22924 (__cos32): Likewise.
22926 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22928 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22929 to provide a boost for large inputs with word alignment.
22930 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22931 implementation based on optimized PPC64 strcpy.
22932 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22933 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22934 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22935 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22937 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22940 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22942 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22945 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22946 * time/tst-strptime.c (day_tests): Add testcase.
22948 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22951 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22953 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22956 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22957 MAP_FAILED on error.
22959 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22962 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22963 heap for large requests.
22965 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22968 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22969 result if the result has no associated interface.
22970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22971 interface for all 127.X.Y.Z addresses.
22973 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22975 * locale/iso-639.def: Add Ligurian (lij)
22977 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22980 * sunrpc/rpc_main.c: Document rpcgen -5.
22982 2013-10-19 Michael Stahl <mstahl@redhat.com>
22984 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22986 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22989 * posix/glob.c: Match only directories when trailing slash is present.
22990 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22991 (main): Add testcase.
22993 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22996 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22998 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23000 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23001 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23002 AUTH_DES and cindex for FIPS 140-2.
23003 (DES Encryption): Add cindex FIPS 46-3.
23005 * locale/locarchive.h (struct locarhandle): Add fname.
23006 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23007 if an optional argument was specified to --list-archive,
23009 * locale/programs/locarchive.c (show_archive_content): Take new
23010 argument fname and pass it via ah.fname to open_archive.
23011 * locale/programs/localedef.h: Update decl.
23012 (open_archive): If AH->fname is non-null, open that file
23013 rather than the default file name, and don't ignore ENOENT.
23014 (create_archive): Set AH.fname to NULL.
23015 (delete_locales_from_archive): Likewise.
23016 (add_locales_to_archive): Likewise.
23017 * locale/programs/locfile.c (write_all_categories): Likewise.
23019 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23020 Aldy Hernandez <aldyh@redhat.com>
23022 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23023 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23024 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23025 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23026 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23027 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23028 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23029 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23030 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23031 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23032 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23033 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23034 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23035 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23036 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23038 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23040 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23042 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23044 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23045 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23047 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23048 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23049 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23050 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23052 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23053 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23054 * sysdeps/powerpc/preconfigure: Likewise.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23057 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23058 Replace contents of file by #include of <fenv_libc.h>.
23059 * sysdeps/powerpc/soft-fp/sfp-machine.h
23060 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23062 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23063 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23064 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23065 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23066 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23069 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23075 Allow copysignl PLT reference to be missing.
23077 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23078 Joseph Myers <joseph@codesourcery.com
23081 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23083 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23085 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23087 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23088 * elf/tst-tls1.c: Likewise.
23089 * elf/tst-tls10.h: Likewise.
23090 * elf/tst-tls14.c: Likewise.
23091 * elf/tst-tls2.c: Likewise.
23092 * elf/tst-tls3.c: Likewise.
23093 * elf/tst-tls4.c: Likewise.
23094 * elf/tst-tls5.c: Likewise.
23095 * elf/tst-tls6.c: Likewise.
23096 * elf/tst-tls7.c: Likewise.
23097 * elf/tst-tls8.c: Likewise.
23098 * elf/tst-tls9.c: Likewise.
23099 * elf/tst-tlsmod1.c: Likewise.
23100 * elf/tst-tlsmod13.c: Likewise.
23101 * elf/tst-tlsmod13a.c: Likewise.
23102 * elf/tst-tlsmod14a.c: Likewise.
23103 * elf/tst-tlsmod16a.c: Likewise.
23104 * elf/tst-tlsmod16b.c: Likewise.
23105 * elf/tst-tlsmod2.c: Likewise.
23106 * elf/tst-tlsmod3.c: Likewise.
23107 * elf/tst-tlsmod4.c: Likewise.
23108 * elf/tst-tlsmod5.c: Likewise.
23109 * elf/tst-tlsmod6.c: Likewise.
23111 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23114 * malloc/malloc.c: remove checks for statistics.
23116 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23119 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23120 * inet/tst-network.c: Add testcase.
23122 2013-10-17 Andreas Schwab <schwab@suse.de>
23125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23126 to determine canonical name.
23128 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23130 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23131 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23133 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23135 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23136 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23137 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23138 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23139 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23140 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23154 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23155 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23160 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23186 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23189 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23192 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23193 make result into a quiet NaN.
23195 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23197 * soft-fp/adddf3.c: Fix horizontal whitespace.
23198 * soft-fp/addsf3.c: Likewise.
23199 * soft-fp/addtf3.c: Likewise.
23200 * soft-fp/divdf3.c: Likewise.
23201 * soft-fp/divsf3.c: Likewise.
23202 * soft-fp/divtf3.c: Likewise.
23203 * soft-fp/double.h: Likewise.
23204 * soft-fp/eqdf2.c: Likewise.
23205 * soft-fp/eqsf2.c: Likewise.
23206 * soft-fp/eqtf2.c: Likewise.
23207 * soft-fp/extenddftf2.c: Likewise.
23208 * soft-fp/extended.h: Likewise.
23209 * soft-fp/extendsfdf2.c: Likewise.
23210 * soft-fp/extendsftf2.c: Likewise.
23211 * soft-fp/extendxftf2.c: Likewise.
23212 * soft-fp/fixdfdi.c: Likewise.
23213 * soft-fp/fixdfsi.c: Likewise.
23214 * soft-fp/fixdfti.c: Likewise.
23215 * soft-fp/fixsfdi.c: Likewise.
23216 * soft-fp/fixsfsi.c: Likewise.
23217 * soft-fp/fixsfti.c: Likewise.
23218 * soft-fp/fixtfdi.c: Likewise.
23219 * soft-fp/fixtfsi.c: Likewise.
23220 * soft-fp/fixtfti.c: Likewise.
23221 * soft-fp/fixunsdfdi.c: Likewise.
23222 * soft-fp/fixunsdfsi.c: Likewise.
23223 * soft-fp/fixunsdfti.c: Likewise.
23224 * soft-fp/fixunssfdi.c: Likewise.
23225 * soft-fp/fixunssfsi.c: Likewise.
23226 * soft-fp/fixunssfti.c: Likewise.
23227 * soft-fp/fixunstfdi.c: Likewise.
23228 * soft-fp/fixunstfsi.c: Likewise.
23229 * soft-fp/fixunstfti.c: Likewise.
23230 * soft-fp/floatdidf.c: Likewise.
23231 * soft-fp/floatdisf.c: Likewise.
23232 * soft-fp/floatditf.c: Likewise.
23233 * soft-fp/floatsidf.c: Likewise.
23234 * soft-fp/floatsisf.c: Likewise.
23235 * soft-fp/floatsitf.c: Likewise.
23236 * soft-fp/floattidf.c: Likewise.
23237 * soft-fp/floattisf.c: Likewise.
23238 * soft-fp/floattitf.c: Likewise.
23239 * soft-fp/floatundidf.c: Likewise.
23240 * soft-fp/floatundisf.c: Likewise.
23241 * soft-fp/floatunditf.c: Likewise.
23242 * soft-fp/floatunsidf.c: Likewise.
23243 * soft-fp/floatunsisf.c: Likewise.
23244 * soft-fp/floatunsitf.c: Likewise.
23245 * soft-fp/floatuntidf.c: Likewise.
23246 * soft-fp/floatuntisf.c: Likewise.
23247 * soft-fp/floatuntitf.c: Likewise.
23248 * soft-fp/fmadf4.c: Likewise.
23249 * soft-fp/fmasf4.c: Likewise.
23250 * soft-fp/fmatf4.c: Likewise.
23251 * soft-fp/gedf2.c: Likewise.
23252 * soft-fp/gesf2.c: Likewise.
23253 * soft-fp/getf2.c: Likewise.
23254 * soft-fp/ledf2.c: Likewise.
23255 * soft-fp/lesf2.c: Likewise.
23256 * soft-fp/letf2.c: Likewise.
23257 * soft-fp/muldf3.c: Likewise.
23258 * soft-fp/mulsf3.c: Likewise.
23259 * soft-fp/multf3.c: Likewise.
23260 * soft-fp/negdf2.c: Likewise.
23261 * soft-fp/negsf2.c: Likewise.
23262 * soft-fp/negtf2.c: Likewise.
23263 * soft-fp/op-1.h: Likewise.
23264 * soft-fp/op-2.h: Likewise.
23265 * soft-fp/op-4.h: Likewise.
23266 * soft-fp/op-8.h: Likewise.
23267 * soft-fp/op-common.h: Likewise.
23268 * soft-fp/quad.h: Likewise.
23269 * soft-fp/single.h: Likewise.
23270 * soft-fp/soft-fp.h: Likewise.
23271 * soft-fp/sqrtdf2.c: Likewise.
23272 * soft-fp/sqrtsf2.c: Likewise.
23273 * soft-fp/sqrttf2.c: Likewise.
23274 * soft-fp/subdf3.c: Likewise.
23275 * soft-fp/subsf3.c: Likewise.
23276 * soft-fp/subtf3.c: Likewise.
23277 * soft-fp/truncdfsf2.c: Likewise.
23278 * soft-fp/trunctfdf2.c: Likewise.
23279 * soft-fp/trunctfsf2.c: Likewise.
23280 * soft-fp/trunctfxf2.c: Likewise.
23281 * soft-fp/unorddf2.c: Likewise.
23282 * soft-fp/unordsf2.c: Likewise.
23283 * soft-fp/unordtf2.c: Likewise.
23285 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23287 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23288 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23290 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23292 * elf/dl-libc.c: Clear initfini list after freeing.
23294 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23296 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23297 * soft-fp/addsf3.c: Likewise.
23298 * soft-fp/addtf3.c: Likewise.
23299 * soft-fp/divdf3.c: Likewise.
23300 * soft-fp/divsf3.c: Likewise.
23301 * soft-fp/divtf3.c: Likewise.
23302 * soft-fp/double.h: Likewise.
23303 * soft-fp/eqdf2.c: Likewise.
23304 * soft-fp/eqsf2.c: Likewise.
23305 * soft-fp/eqtf2.c: Likewise.
23306 * soft-fp/extenddftf2.c: Likewise.
23307 * soft-fp/extended.h: Likewise.
23308 * soft-fp/extendsfdf2.c: Likewise.
23309 * soft-fp/extendsftf2.c: Likewise.
23310 * soft-fp/extendxftf2.c: Likewise.
23311 * soft-fp/fixdfdi.c: Likewise.
23312 * soft-fp/fixdfsi.c: Likewise.
23313 * soft-fp/fixdfti.c: Likewise.
23314 * soft-fp/fixsfdi.c: Likewise.
23315 * soft-fp/fixsfsi.c: Likewise.
23316 * soft-fp/fixsfti.c: Likewise.
23317 * soft-fp/fixtfdi.c: Likewise.
23318 * soft-fp/fixtfsi.c: Likewise.
23319 * soft-fp/fixtfti.c: Likewise.
23320 * soft-fp/fixunsdfdi.c: Likewise.
23321 * soft-fp/fixunsdfsi.c: Likewise.
23322 * soft-fp/fixunsdfti.c: Likewise.
23323 * soft-fp/fixunssfdi.c: Likewise.
23324 * soft-fp/fixunssfsi.c: Likewise.
23325 * soft-fp/fixunssfti.c: Likewise.
23326 * soft-fp/fixunstfdi.c: Likewise.
23327 * soft-fp/fixunstfsi.c: Likewise.
23328 * soft-fp/fixunstfti.c: Likewise.
23329 * soft-fp/floatdidf.c: Likewise.
23330 * soft-fp/floatdisf.c: Likewise.
23331 * soft-fp/floatditf.c: Likewise.
23332 * soft-fp/floatsidf.c: Likewise.
23333 * soft-fp/floatsisf.c: Likewise.
23334 * soft-fp/floatsitf.c: Likewise.
23335 * soft-fp/floattidf.c: Likewise.
23336 * soft-fp/floattisf.c: Likewise.
23337 * soft-fp/floattitf.c: Likewise.
23338 * soft-fp/floatundidf.c: Likewise.
23339 * soft-fp/floatundisf.c: Likewise.
23340 * soft-fp/floatunsidf.c: Likewise.
23341 * soft-fp/floatunsisf.c: Likewise.
23342 * soft-fp/floatuntidf.c: Likewise.
23343 * soft-fp/floatuntisf.c: Likewise.
23344 * soft-fp/floatuntitf.c: Likewise.
23345 * soft-fp/fmadf4.c: Likewise.
23346 * soft-fp/fmasf4.c: Likewise.
23347 * soft-fp/fmatf4.c: Likewise.
23348 * soft-fp/gedf2.c: Likewise.
23349 * soft-fp/gesf2.c: Likewise.
23350 * soft-fp/getf2.c: Likewise.
23351 * soft-fp/ledf2.c: Likewise.
23352 * soft-fp/lesf2.c: Likewise.
23353 * soft-fp/letf2.c: Likewise.
23354 * soft-fp/muldf3.c: Likewise.
23355 * soft-fp/mulsf3.c: Likewise.
23356 * soft-fp/multf3.c: Likewise.
23357 * soft-fp/negdf2.c: Likewise.
23358 * soft-fp/negsf2.c: Likewise.
23359 * soft-fp/negtf2.c: Likewise.
23360 * soft-fp/op-1.h: Likewise.
23361 * soft-fp/op-2.h: Likewise.
23362 * soft-fp/op-4.h: Likewise.
23363 * soft-fp/op-8.h: Likewise.
23364 * soft-fp/op-common.h: Likewise.
23365 * soft-fp/quad.h: Likewise.
23366 * soft-fp/single.h: Likewise.
23367 * soft-fp/soft-fp.h: Likewise.
23368 * soft-fp/sqrtdf2.c: Likewise.
23369 * soft-fp/sqrtsf2.c: Likewise.
23370 * soft-fp/sqrttf2.c: Likewise.
23371 * soft-fp/subdf3.c: Likewise.
23372 * soft-fp/subsf3.c: Likewise.
23373 * soft-fp/subtf3.c: Likewise.
23374 * soft-fp/truncdfsf2.c: Likewise.
23375 * soft-fp/trunctfdf2.c: Likewise.
23376 * soft-fp/trunctfsf2.c: Likewise.
23377 * soft-fp/trunctfxf2.c: Likewise.
23378 * soft-fp/unorddf2.c: Likewise.
23379 * soft-fp/unordsf2.c: Likewise.
23380 * soft-fp/unordtf2.c: Likewise.
23382 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23385 * misc/error.c (error_tail): Fix possible buffer overflow.
23387 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23390 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23393 2013-10-14 P. J. McDermott <pj@pehjota.net>
23396 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23397 testing pipefail option.
23399 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23401 * soft-fp/double.h: Indent preprocessor directives inside #if.
23402 * soft-fp/extended.h: Likewise.
23403 * soft-fp/op-2.h: Likewise.
23404 * soft-fp/op-4.h: Likewise.
23405 * soft-fp/op-common.h: Likewise.
23406 * soft-fp/quad.h: Likewise.
23407 * soft-fp/single.h: Likewise.
23408 * soft-fp/soft-fp.h: Likewise.
23410 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23412 * iconv/iconv_prog.c: Fix typos.
23413 * stdio-common/psiginfo-data.h: Likewise.
23415 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23418 * locale/setlocale.c: Fix typo.
23420 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23423 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23424 signaling NaN arguments.
23425 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23426 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23429 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23430 unordered operands.
23431 * soft-fp/gesf2.c (__gesf2): Likewise.
23432 * soft-fp/getf2.c (__getf2): Likewise.
23433 * soft-fp/ledf2.c (__ledf2): Likewise.
23434 * soft-fp/lesf2.c (__lesf2): Likewise.
23435 * soft-fp/letf2.c (__letf2): Likewise.
23437 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23438 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23439 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23440 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23441 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23442 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23443 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23444 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23445 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23446 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23447 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23448 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23449 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23450 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23451 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23452 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23453 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23454 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23455 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23456 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23457 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23458 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23459 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23460 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23461 * soft-fp/floattidf.c (__floattidf): Likewise.
23462 * soft-fp/floattisf.c (__floattisf): Likewise.
23463 * soft-fp/floattitf.c (__floattitf): Likewise.
23464 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23465 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23466 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23467 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23468 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23469 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23470 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23471 * soft-fp/gesf2.c (__gesf2): Likewise.
23472 * soft-fp/getf2.c (__getf2): Likewise.
23473 * soft-fp/ledf2.c (__ledf2): Likewise.
23474 * soft-fp/lesf2.c (__lesf2): Likewise.
23475 * soft-fp/letf2.c (__letf2): Likewise.
23477 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23478 Undefine and redefine.
23479 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23480 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23481 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23482 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23483 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23484 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23485 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23486 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23487 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23488 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23489 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23490 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23491 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23492 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23493 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23496 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23497 without decrementing exponent if mantissa >= that for the
23498 denominator, not >.
23499 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23500 denominator, not >. Decrement exponent in < case instead of
23501 incrementing in >= case.
23502 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23503 without decrementing exponent if mantissa >= that for the
23504 denominator, not >.
23506 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23507 computing saturated result for unsigned overflow.
23509 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23510 Jeff Law <law@redhat.com>
23512 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23513 (atan2Mp): Add systemtap probe marker.
23514 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23515 (__ieee754_log): Add systemtap probe marker.
23516 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23517 (atanMp): Add systemtap probe marker.
23518 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23519 (tanMp): Add systemtap probe marker.
23520 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23521 (__slowexp): Add systemtap probe marker.
23522 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23523 (__slowpow): Add systemtap probe marker.
23524 * manual/probes.texi: Document probes.
23526 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23529 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23531 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23533 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23534 written to buffer but not flushed.
23535 * libio/iofwrite_u.c: Likewise.
23536 * libio/iopadn.c: Return bytes returned even if EOF was
23538 * libio/iowpadn.c: Likewise.
23539 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23540 if _IO_padn does not write the whole buffer.
23541 [!COMPILE_WPRINTF] (PAD): Likewise.
23543 2013-10-10 David S. Miller <davem@davemloft.net>
23545 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23548 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23550 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23551 instead of FSF address.
23552 * soft-fp/fixdfti.c: Likewise.
23553 * soft-fp/fixsfti.c: Likewise.
23554 * soft-fp/fixtfti.c: Likewise.
23555 * soft-fp/fixunsdfti.c: Likewise.
23556 * soft-fp/fixunssfti.c: Likewise.
23557 * soft-fp/fixunstfti.c: Likewise.
23558 * soft-fp/floattidf.c: Likewise.
23559 * soft-fp/floattisf.c: Likewise.
23560 * soft-fp/floattitf.c: Likewise.
23561 * soft-fp/floatuntidf.c: Likewise.
23562 * soft-fp/floatuntisf.c: Likewise.
23563 * soft-fp/floatuntitf.c: Likewise.
23564 * soft-fp/trunctfxf2.c: Likewise.
23566 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23567 * soft-fp/fixdfti.c: Likewise.
23568 * soft-fp/fixsfti.c: Likewise.
23569 * soft-fp/fixtfti.c: Likewise.
23570 * soft-fp/fixunsdfti.c: Likewise.
23571 * soft-fp/fixunssfti.c: Likewise.
23572 * soft-fp/fixunstfti.c: Likewise.
23573 * soft-fp/floattidf.c: Likewise.
23574 * soft-fp/floattisf.c: Likewise.
23575 * soft-fp/floattitf.c: Likewise.
23576 * soft-fp/floatuntidf.c: Likewise.
23577 * soft-fp/floatuntisf.c: Likewise.
23578 * soft-fp/floatuntitf.c: Likewise.
23579 * soft-fp/trunctfxf2.c: Likewise.
23581 2013-10-10 David S. Miller <davem@davemloft.net>
23583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23585 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23587 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23588 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23589 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23590 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23591 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23592 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23593 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23596 for NaNs before doing comparisons on argument.
23597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23600 2013-10-10 Will Newton <will.newton@linaro.org>
23602 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23603 passed to _int_memalign does not overflow.
23605 2013-10-10 Torvald Riegel <triegel@redhat.com>
23607 * scripts/bench.pl: Add include-sources directive.
23608 * benchtests/README: Update documentation.
23610 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23612 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23613 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23614 instead of FP_INIT_ROUNDMODE.
23615 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23616 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23619 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23620 copy class of input value.
23621 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23622 not handle exceptions.
23623 * soft-fp/negsf2.c (__negsf2): Likewise.
23624 * soft-fp/negtf2.c (__negtf2): Likewise.
23625 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23627 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23629 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23630 semicolon. From Linux kernel.
23632 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23634 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23636 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23639 * manual/socket.texi: Added statement about buffer
23640 for gethostbyname2_r.
23642 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23644 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23645 Use .p2align directive instead, throughout.
23646 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23647 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23648 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23651 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23652 * sysdeps/x86_64/strchr.S: Likewise.
23653 * sysdeps/x86_64/strrchr.S: Likewise.
23655 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23657 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23659 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23661 * sysdeps/generic/math_private.h (__mpsin1): Remove
23663 (__mpcos1): Likewise.
23664 (__mpsin): New argument __range_reduce.
23665 (__mpcos): Likewise.
23666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23667 (slow): Use __mpsin and __mpcos.
23671 (sloww1): Likewise.
23672 (sloww2): Likewise.
23673 (bsloww): Likewise.
23674 (bsloww1): Likewise.
23675 (bsloww2): Likewise.
23676 (cslow2): Likewise.
23677 (csloww): Likewise.
23678 (csloww1): Likewise.
23679 (csloww2): Likewise.
23680 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23681 range_reduce. Merge in __mpsin1.
23682 (__mpcos): Likewise.
23683 (__mpsin1): Remove.
23684 (__mpcos1): Likewise.
23686 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23688 * locale/loadlocale.c (_nl_intern_locale_data): Use
23690 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23691 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23692 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23693 obstack data is appropriately aligned.
23694 (obstack_int32_grow_fast): Likewise.
23695 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23696 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23697 (add_locale_uint32_array): Likewise.
23699 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23701 * benchtests/Makefile: Remove ARGLIST and RET variables.
23702 ($(objpfx)bench-%.c): Pass only function name to the script.
23703 * benchtests/README: Update documentation.
23704 * benchtests/acos-inputs: Add new directives.
23705 * benchtests/acosh-inputs: Likewise.
23706 * benchtests/asin-inputs: Likewise.
23707 * benchtests/asinh-inputs: Likewise.
23708 * benchtests/atan-inputs: Likewise.
23709 * benchtests/atanh-inputs: Likewise.
23710 * benchtests/cos-inputs: Likewise.
23711 * benchtests/cosh-inputs: Likewise.
23712 * benchtests/exp-inputs: Likewise.
23713 * benchtests/log-inputs: Likewise.
23714 * benchtests/pow-inputs: Likewise.
23715 * benchtests/rint-inputs: Likewise.
23716 * benchtests/sin-inputs: Likewise.
23717 * benchtests/sinh-inputs: Likewise.
23718 * benchtests/tan-inputs: Likewise.
23719 * benchtests/tanh-inputs: Likewise.
23720 * scripts/bench.pl: Add support for new directives.
23722 2013-10-07 Alan Modra <amodra@gmail.com>
23724 * README: Fix careless merge.
23726 2013-10-05 Alan Modra <amodra@gmail.com>
23728 * NEWS: Mention powerpc64le support and bugs fixed.
23729 * README: Both big-endian and little-endian powerpc64 supported.
23731 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23733 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23734 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23735 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23736 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23738 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23740 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23743 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23745 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23746 Move -mhard-float appending from
23747 ports/sysdeps/powerpc/powerpc32/Makefile.
23748 [$(with-fp) = yes] (ASFLAGS): Likewise.
23749 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23750 * sysdeps/powerpc/nofpu: Move directory from
23751 ports/sysdeps/powerpc/nofpu.
23752 * sysdeps/powerpc/soft-fp: Move directory from
23753 ports/sysdeps/powerpc/soft-fp.
23754 * sysdeps/powerpc/powerpc32/405: Move directory from
23755 ports/sysdeps/powerpc/powerpc32/405.
23756 * sysdeps/powerpc/powerpc32/440: Move directory from
23757 ports/sysdeps/powerpc/powerpc32/440.
23758 * sysdeps/powerpc/powerpc32/464: Move directory from
23759 ports/sysdeps/powerpc/powerpc32/464.
23760 * sysdeps/powerpc/powerpc32/476: Move directory from
23761 ports/sysdeps/powerpc/powerpc32/476.
23762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23763 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23765 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23767 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23769 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23771 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23772 * README: Update for powerpc-*-linux-gnu software floating point
23775 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23776 case to powerpc/powerpc32*.
23777 * sysdeps/unix/sysv/linux/configure: Regenerated.
23779 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23780 (_FPU_MASK_OM): Define as 0x04.
23781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23789 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23792 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23795 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23796 and setcontext_e500.
23798 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23800 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23802 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23804 * manual/threads.texi (Default Thread Attributes): Fix typo.
23806 2013-10-04 Will Newton <will.newton@linaro.org>
23808 * malloc/Makefile: Add tst-memalign.
23809 * malloc/tst-memalign.c: New file.
23811 * malloc/tst-posix_memalign.c: Add comments.
23812 (do_test): Add comments and call free on all potentially
23813 allocated pointers. Add space after cast.
23815 * malloc/tst-pvalloc.c: Add comments.
23816 (do_test): Add comments and call free on all potentially
23817 allocated pointers. Remove duplicate check for NULL pointer.
23818 Add space after cast.
23820 * malloc/tst-valloc.c: Add comments.
23821 (do_test): Add comments and call free on all potentially
23822 allocated pointers. Remove duplicate check for NULL pointer.
23823 Add space after cast.
23825 2013-10-04 Alan Modra <amodra@gmail.com>
23827 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23828 Use stdint types in rather than __attribute__((mode())).
23829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23831 2013-10-04 Alan Modra <amodra@gmail.com>
23833 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23834 Correct handling of unaligned relocs for little-endian.
23835 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23837 2013-10-04 Alan Modra <amodra@gmail.com>
23839 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23840 * configure: Regenerate.
23841 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23842 * shlib-versions: Likewise.
23844 2013-10-04 Alan Modra <amodra@gmail.com>
23846 * string/tester.c (test_memrchr): Increment reported test cycle.
23848 2013-10-04 Alan Modra <amodra@gmail.com>
23850 * string/test-memcpy.c (do_one_test): When reporting errors, print
23851 string address and don't overrun end of string.
23853 2013-10-04 Alan Modra <amodra@gmail.com>
23855 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23856 insrdi. Make better use of reg selection to speed exit slightly.
23857 Schedule entry path a little better. Remove useless "are we done"
23858 checks on entry to main loop. Handle wrapping around zero address.
23859 Correct main loop count. Handle single left-over word from main
23860 loop inline rather than by using loop_small. Remove extra word
23861 case in loop_small caused by wrong loop count. Add little-endian
23863 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23864 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23866 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23867 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23868 support. Avoid rlwimi.
23869 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23871 2013-10-04 Alan Modra <amodra@gmail.com>
23873 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23874 insrdi. Formatting.
23875 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23876 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23877 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23878 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23879 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23880 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23882 2013-10-04 Alan Modra <amodra@gmail.com>
23884 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23885 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23886 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23887 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23888 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23889 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23890 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23891 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23892 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23893 use of regs. Use power7 mtocrf. Tidy function tails.
23895 2013-10-04 Alan Modra <amodra@gmail.com>
23897 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23898 Formatting. Consistently use rXXX register defines or rN defines.
23899 Use early exit labels that avoid restoring unused non-volatile regs.
23900 Make cr field use more consistent with rWORDn compares. Rename
23901 regs used as shift registers for unaligned loop, using rN defines
23902 for short lifetime/multiple use regs.
23903 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23904 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23905 addi 1,1,64 to pop stack frame. Simplify return value code.
23906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23908 2013-10-04 Alan Modra <amodra@gmail.com>
23910 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23911 support. Correct typos, formatting. Optimize tail. Use insrdi
23912 rather than rlwimi.
23913 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23914 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23915 little-endian support. Correct typos.
23916 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23917 rather than rlwimi.
23918 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23919 in loop and entry code to keep "and." results.
23920 (strchr): Add little-endian support. Comment. Move cntlzd
23922 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23924 2013-10-04 Alan Modra <amodra@gmail.com>
23926 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23927 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23928 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23929 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23931 2013-10-04 Alan Modra <amodra@gmail.com>
23933 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23934 (rTMP): Define as r11.
23935 (strcmp): Add little-endian support. Optimise tail.
23936 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23937 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23938 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23939 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23940 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23941 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23942 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23944 2013-10-04 Alan Modra <amodra@gmail.com>
23946 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23947 little-endian support. Remove unnecessary "are we done" tests.
23948 Handle "s" wrapping around zero and extremely large "size".
23949 Correct main loop count. Handle single left-over word from main
23950 loop inline rather than by using small_loop. Correct comments.
23951 Delete "zero" tail, use "end_max" instead.
23952 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23954 2013-10-04 Alan Modra <amodra@gmail.com>
23956 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23957 support. Don't branch over align.
23958 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23959 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23960 support. Rearrange tmp reg use to suit. Comment.
23961 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23963 2013-10-04 Alan Modra <amodra@gmail.com>
23965 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23967 2013-10-04 Alan Modra <amodra@gmail.com>
23969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23970 conditional form of branch and link when obtaining pc.
23971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23973 2013-10-04 Alan Modra <amodra@gmail.com>
23975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23980 2013-10-04 Alan Modra <amodra@gmail.com>
23982 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23983 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23984 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23985 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23986 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23987 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23988 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23989 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23990 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23991 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23993 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23994 Alistair Popple <alistair@ozlabs.au.ibm.com>
23995 Alan Modra <amodra@gmail.com>
23998 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23999 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24000 _dl_hwcap access for little-endian.
24001 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24002 destroy vmx regs when saving unaligned.
24003 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24004 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24005 destroy vmx regs when saving unaligned.
24007 2013-10-04 Alan Modra <amodra@gmail.com>
24009 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24010 Don't use a union to pack hi/low value.
24012 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24014 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24016 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24017 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24018 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24019 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24020 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24022 2013-10-04 Alan Modra <amodra@gmail.com>
24024 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24025 constants to usual value for .cst8 section, and remove redundant
24027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24028 constant for 0x1p52. Load little-endian words of double from
24029 correct stack offsets.
24031 2013-10-04 Alan Modra <amodra@gmail.com>
24033 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24034 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24035 words of double from correct stack offsets.
24036 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24037 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24038 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24039 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24040 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24043 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24044 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24045 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24048 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24049 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24050 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24051 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24052 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24054 2013-10-04 Alan Modra <amodra@gmail.com>
24056 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24057 64-bit int/double union.
24058 (_FPU_SETCW): Likewise.
24059 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24060 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24062 2013-10-04 Alan Modra <amodra@gmail.com>
24064 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24065 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24067 2013-10-04 Alan Modra <amodra@gmail.com>
24069 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24070 use vector int constants.
24071 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24073 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24075 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24076 array with long long.
24077 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24078 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24079 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24080 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24081 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24082 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24083 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24084 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24085 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24086 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24087 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24088 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24089 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24091 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24093 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24094 (__signbit): Likewise. Correct for little-endian.
24095 (__signbitl): Call __signbit.
24096 (lrint): Correct for little-endian.
24097 (lrintf): Call lrint.
24099 2013-10-04 Alan Modra <amodra@gmail.com>
24101 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24102 union 32-bit int array member with 64-bit int array.
24103 (t515, tm256): Double rather than long double.
24104 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24106 2013-10-04 Alan Modra <amodra@gmail.com>
24108 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24110 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24111 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24112 version of math_ldbl.h.
24114 2013-10-04 Alan Modra <amodra@gmail.com>
24116 [BZ #15734], [BZ #15735]
24117 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24118 all uses of ieee875 long double macros and unions. Simplify test
24119 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24120 ldbl_extract_mantissa value for ix,iy exponents. Properly
24121 normalize after ldbl_extract_mantissa, and don't add hidden bit
24122 already handled. Don't treat low word of ieee854 mantissa like
24123 low word of IBM long double and mask off bit when testing for
24125 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24126 all uses of ieee875 long double macros and unions. Simplify tests
24127 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24128 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24129 two1022, instead use their values. Recognise that tests for large
24130 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24131 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24132 Rewrite all uses of ieee875 long double macros and unions. Simplify
24133 test for 0.0L and nan. Correct negation.
24134 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24135 ieee875 long double macros and unions. Correct output for large
24136 magnitude x. Correct absolute value calculation.
24137 (__erfcl): Likewise.
24138 * math/libm-test.inc: Add tests for errors discovered in IBM long
24139 double versions of fmodl, remainderl, erfl and erfcl.
24141 2013-10-04 Alan Modra <amodra@gmail.com>
24143 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24144 all uses of ieee854 long double macros and unions. Simplify tests
24145 for long doubles that are fully specified by the high double.
24146 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24148 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24149 Remove dead code too.
24150 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24151 (__ieee754_ynl): Likewise.
24152 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24153 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24155 Remove dead code too.
24156 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24159 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24161 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24163 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24164 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24165 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24166 Comment on variable precision.
24167 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24168 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24170 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24172 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24173 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24174 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24176 2013-10-04 Alan Modra <amodra@gmail.com>
24178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24180 all uses of ieee854 long double macros and unions.
24181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24185 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24186 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24190 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24191 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24192 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24193 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24194 Simplify sign and nan test too.
24195 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24196 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24197 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24198 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24200 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24201 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24203 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24204 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24205 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24206 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24207 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24208 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24210 2013-10-04 Alan Modra <amodra@gmail.com>
24212 * stdio-common/printf_size.c (__printf_size): Don't use
24213 union ieee854_long_double in fpnum union.
24214 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24215 signbit macro to retrieve sign from long double.
24216 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24217 retrieve sign from long double.
24218 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24219 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24220 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24221 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24222 * math/test-misc.c (main): Don't use union ieee854_long_double.
24224 2013-10-04 Alan Modra <amodra@gmail.com>
24227 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24228 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24229 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24230 calculation. Remove unnecessary test for denormal exponent.
24231 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24232 Correct handling of denormals. Avoid undefined shift behaviour.
24233 Correct normalisation of low mantissa when low double is denormal.
24234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24235 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24236 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24237 Correct normalisation of low mantissa. Test for overflow of high
24238 mantissa and normalise.
24239 (ldbl_nearbyint): Use more readable constant for two52.
24240 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24241 (__mpn_construct_long_double): Fix test for overflow of high
24242 mantissa and correct normalisation. Avoid undefined shift.
24244 2013-10-04 Alan Modra <amodra@gmail.com>
24246 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24247 (union ibm_extended_long_double): Define as an array of ieee754_double.
24248 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24249 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24250 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24251 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24260 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24262 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24263 page size instead of calling getpagesize.
24265 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24266 (LOCFILE_ALIGN_MASK): Likewise.
24267 (LOCFILE_ALIGN_UP): Likewise.
24268 (LOCFILE_ALIGNED_P): Likewise.
24269 * locale/programs/ld-collate.c (collate_output): Use the new
24270 macros instead of __alignof__ (int32_t).
24271 * locale/weight.h (findidx): Likewise.
24273 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24276 * manual/string.texi: Fix strncat and wcsncat.
24278 2013-10-03 Brooks Moses <bmoses@google.com>
24281 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24282 * Makerules: ...here, and adjust associated comments.
24284 2013-10-02 Will Newton <will.newton@linaro.org>
24286 * malloc/Makefile: Add tst-pvalloc.
24287 * malloc/tst-pvalloc.c: New file.
24289 2013-10-02 Will Newton <will.newton@linaro.org>
24291 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24292 improve test coverage.
24294 2013-10-02 Will Newton <will.newton@linaro.org>
24296 * malloc/Makefile: Add tst-posix_memalign.
24297 * malloc/tst-posix_memalign.c: New file.
24299 2013-10-01 Eric Blake <eblake@redhat.com>
24301 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24302 Use __THROWNL rather than __THROW on static functions.
24304 2013-09-30 Petr Machata <pmachata@redhat.com>
24306 * elf/elf.h (R_AARCH64_ABS16): New macro.
24307 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24308 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24309 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24310 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24311 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24312 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24313 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24314 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24315 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24316 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24317 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24318 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24319 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24320 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24321 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24322 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24323 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24324 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24325 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24326 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24327 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24328 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24329 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24330 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24331 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24332 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24333 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24334 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24335 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24336 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24337 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24338 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24339 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24340 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24341 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24342 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24343 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24344 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24345 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24346 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24347 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24348 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24349 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24350 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24351 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24352 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24353 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24354 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24355 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24356 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24357 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24358 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24359 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24360 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24361 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24362 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24363 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24364 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24365 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24366 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24367 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24368 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24369 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24370 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24371 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24372 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24373 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24374 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24375 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24376 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24377 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24378 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24379 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24380 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24381 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24382 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24383 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24384 (R_AARCH64_TLSDESC_LDR): Likewise.
24385 (R_AARCH64_TLSDESC_ADD): Likewise.
24386 (R_AARCH64_TLSDESC_CALL): Likewise.
24388 2013-09-30 Andreas Schwab <schwab@suse.de>
24391 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24392 the nss database lookup.
24393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24396 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24398 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24400 2013-09-28 P. J. McDermott <pj@pehjota.net>
24402 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24403 ${Bash-specific parameter/pattern/string} parameter expansion.
24404 * sysdeps/unix/make-syscalls.sh: Likewise.
24406 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24408 * sysdeps/sh/stackguard-macros.h: New file.
24410 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24414 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24415 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24416 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24417 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24419 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24421 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24422 Fix thread ID register.
24424 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24426 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24427 [POSIX || UNIX98]: Require rather than permitting all symbols from
24429 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24430 element of struct sched_param.
24431 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24432 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24433 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24434 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24437 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24439 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24440 argument calculation.
24442 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24444 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24446 [POSIX] (pthread_attr_t): Do not require type.
24447 [POSIX] (pthread_cond_t): Likewise.
24448 [POSIX] (pthread_condattr_t): Likewise.
24449 [POSIX] (pthread_key_t): Likewise.
24450 [POSIX] (pthread_mutex_t): Likewise.
24451 [POSIX] (pthread_mutexattr_t): Likewise.
24452 [POSIX] (pthread_once_t): Likewise.
24453 [POSIX] (pthread_t): Likewise.
24454 [POSIX-based standards] (pthread_atfork): Expect function.
24456 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24457 Richard Sandiford <richard@codesourcery.com>
24459 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24460 (swap_endianness_p): New extern variable.
24461 (set_big_endian): New inline function.
24462 (maybe_swap_uint32): Likewise.
24463 (maybe_swap_uint32_array): Likewise.
24464 (maybe_swap_uint32_obstack): Likewise.
24465 * locale/programs/locfile.c: Include <stdbool.h>.
24466 (swap_endianness_p): New variable.
24467 (add_locale_uint32): Call maybe_swap_uint32.
24468 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24469 (write_locale_data): Call maybe_swap_uint32_array.
24470 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24472 (obstack_int32_grow_fast): Likewise.
24473 (output_weightwc): Call maybe_swap_uint32_obstack.
24474 (collate_output): Likewise.
24475 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24476 (OPT_LITTLE_ENDIAN): Likewise.
24477 (options): Add --little-endian and --big-endian options.
24478 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24479 * locale/programs/locarchive.c: Include "locfile.h".
24483 (create_archive): Use the new macros to access fields of
24484 structures directly mapped from or written to locale archives.
24485 (oldlocrecentcmp): Likewise.
24486 (enlarge_archive): Likewise.
24487 (insert_name): Likewise.
24488 (add_alias): Likewise.
24489 (add_locale): Likewise.
24490 (delete_locales_from_archive): Likewise.
24491 (show_archive_content): Likewise.
24492 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24495 2013-09-24 Roland McGrath <roland@hack.frob.com>
24497 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24498 http://www.gnu.org/doc/freemanuals.texi.
24499 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24501 2013-09-24 Will Newton <will.newton@linaro.org>
24503 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24506 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24508 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24511 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24513 * manual/threads.texi (POSIX Threads): Fix a typo.
24515 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24518 * string/tst-strcoll-overflow.c: New test case.
24519 * string/Makefile (xtests): Add tst-strcoll-overflow.
24520 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24521 cache if string sizes may cause integer overflow.
24524 * string/strcoll_l.c (coll_seq): New members rule, idx,
24525 save_idx and back_us.
24526 (get_next_seq_nocache): New function.
24527 (do_compare_nocache): New function.
24528 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24531 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24534 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24535 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24536 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24539 * elf/Makefile (tests): Add tst-ptrguard1.
24540 (tests-static): Add tst-ptrguard1-static.
24541 (tst-ptrguard1-ARGS): Define.
24542 (tst-ptrguard1-static-ARGS): Define.
24543 * elf/tst-ptrguard1.c: New file.
24544 * elf/tst-ptrguard1-static.c: New file.
24545 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24546 * sysdeps/i386/stackguard-macros.h: Likewise.
24547 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24548 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24549 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24550 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24551 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24552 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24554 2013-09-23 Hector Marco <hecmargi@upv.es>
24555 Ismael Ripoll <iripoll@disca.upv.es>
24556 Carlos O'Donell <carlos@redhat.com>
24559 * sysdeps/generic/stackguard-macros.h: Define
24560 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24561 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24562 Define __pointer_chk_guard_local.
24563 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24564 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24566 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24569 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24571 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24573 * include/string.h (__ffs): Declare as hidden.
24574 * string/ffs.c (__ffs): Define as hidden.
24575 * sysdeps/i386/ffs.c (__ffs): Likewise.
24576 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24577 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24578 * sysdeps/s390/ffs.c (__ffs): Likewise.
24579 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24581 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24583 * NEWS: Mention malloc probes.
24585 * malloc/arena.c (new_heap): New memory_heap_new probe.
24586 (grow_heap): New memory_heap_more probe.
24587 (shrink_heap): New memory_heap_less probe.
24588 (heap_trim): New memory_heap_free probe.
24589 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24590 (systrim): New memory_sbrk_less probe.
24591 * manual/probes.texi: Document them.
24593 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24594 * manual/probes.texi: Document it.
24596 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24597 (__libc_realloc): Add memory_realloc_retry probe.
24598 (__libc_memalign): Add memory_memalign_retry probe.
24599 (__libc_valloc): Add memory_valloc_retry probe.
24600 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24601 (__libc_calloc): Add memory_calloc_retry probe.
24602 * manual/probes.texi: Document them.
24604 * malloc/arena.c (get_free_list): Add probe
24605 memory_arena_reuse_free_list.
24606 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24607 and memory_arena_reuse.
24608 (arena_get2) [!PER_THREAD]: Likewise.
24609 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24610 memory_arena_reuse_realloc.
24611 * manual/probes.texi: Document them.
24613 * malloc/malloc.c (__libc_free): Add
24614 memory_mallopt_free_dyn_thresholds probe.
24615 (__libc_mallopt): Add multiple memory_mallopt probes.
24616 * manual/probes.texi: Document them.
24618 * malloc/malloc.c: Include stap-probe.h.
24619 (__libc_mallopt): Add memory_mallopt probe.
24620 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24621 * manual/probes.texi: New.
24622 * manual/Makefile (chapters): Add probes.
24623 * manual/threads.texi: Set next node.
24625 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24627 [BZ #15963, #13985]
24628 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24629 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24630 Add `Chinese' to `nan' entry name.
24632 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24634 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24635 (POLYNOMIAL): Likewise.
24636 (TAYLOR_SINCOS): Likewise.
24637 (TAYLOR_SLOW): Likewise.
24638 (__sin): Use TAYLOR_SINCOS.
24640 (slow): Use TAYLOR_SLOW.
24642 (bsloww): Likewise.
24643 (csloww): Likewise.
24645 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24647 * stdlib/strtod_l.c: Fix buffer overrun.
24649 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24651 * benchtests/Makefile (bench): Add sincos.
24652 * benchtests/bench-sincos.c: New file.
24654 * math/libm-test.inc (cos_test_data): New test inputs.
24655 (sin_test_data): Likewise.
24657 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24663 (sloww1): Likewise.
24664 (sloww2): Likewise.
24665 (bsloww1): Likewise.
24666 (bsloww2): Likewise.
24667 (cslow2): Likewise.
24668 (csloww1): Likewise.
24669 (csloww2): Likewise.
24671 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24676 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24680 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24682 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24683 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24684 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24685 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24686 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24687 * elf/cache.c (print_entry): Handle the new cache flags.
24689 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24690 Aldy Hernandez <aldyh@redhat.com>
24692 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24693 Change condition to [_SOFT_FLOAT].
24694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24706 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24709 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24712 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24714 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24715 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24716 (__longjmp): Use LOAD_GP to load saved GPRs.
24717 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24718 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24719 (__sigsetjmp): Use SAVE_GP to save GPRs.
24721 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24722 Do not append -msoft-float.
24723 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24725 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24727 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24729 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24732 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24733 (_FPU_GETCW): Use initial "__" on variable and field names but not
24734 on macro parameter name.
24735 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24736 parentheses around reference to macro parameter.
24738 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24740 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24742 (ctype_startup): Use uint32_t in cast and sizeof for
24745 2013-09-11 Jia Liu <proljc@gmail.com>
24747 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24749 [__FreeBSD__]: Likewise.
24751 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24754 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24755 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24756 (strchr): Remove __strchr_sse42 ifunc selection.
24757 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24758 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24760 2013-09-11 Will Newton <will.newton@linaro.org>
24762 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24763 parameter to RES. Remove hardcoded 1000 value.
24764 * benchtests/bench-skeleton.c (main): Pass RES parameter
24765 to TIMING_INIT and multiply result by 1000.
24767 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24771 2013-09-11 Andreas Schwab <schwab@suse.de>
24773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24775 (O_TMPFILE) [__USE_GNU]: Define.
24776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24779 2013-09-11 Will Newton <will.newton@linaro.org>
24782 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24785 2013-09-11 Will Newton <will.newton@linaro.org>
24788 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24791 2013-09-11 Will Newton <will.newton@linaro.org>
24794 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24797 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24799 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24800 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24801 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24802 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24803 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24805 2013-09-10 Allan McRae <allan@archlinux.org>
24808 * manual/arith.texi (Parsing of Floats): Clarify
24812 * manual/install.texi (Running make install): Mention
24814 * INSTALL: Regenerated.
24816 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24818 * csu/init-first.c (_init): Remove the !SHARED condition around
24819 FPU control word initialization.
24820 * elf/dl-support.c (_dl_fpu_control): New variable.
24821 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24822 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24823 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24824 * math/test-fpucw-static.c: New file.
24825 * math/test-fpucw-ieee.c: New file.
24826 * math/test-fpucw-ieee-static.c: New file.
24827 * math/Makefile (tests): Add `test-fpucw-ieee' and
24829 (tests-static): New variable.
24830 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24832 [($(build-shared),yes)]
24833 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24835 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24838 2013-09-09 Allan McRae <allan@archlinux.org>
24841 * manual/string.texi (Collation Functions): Fix typo in
24843 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24846 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24849 * libio/memstream.c (open_memstream): Fix memory leak.
24850 * libio/wmemstream.c (open_wmemstream): Likewise.
24853 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24855 2013-09-09 Will Newton <will.newton@linaro.org>
24857 * malloc/Makefile: Add tst-realloc to tests.
24858 * malloc/tst-realloc.c: New file.
24860 2013-09-09 Allan McRae <allan@archlinux.org>
24863 * COPYING: Update from GNU website to fix FSF address.
24864 * COPYING.LIB: Likewise.
24866 2013-09-06 David S. Miller <davem@davemloft.net>
24868 * po/zh_TW.po: Update Chinese (traditional) translation from
24869 translation project.
24871 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24872 Joseph Myers <joseph@codesourcery.com>
24874 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24876 (obstack_chunk_alloc): New macro.
24877 (obstack_chunk_free): Likewise.
24878 (record_offset): New function.
24879 (init_locale_data): Likewise.
24880 (align_locale_data): Likewise.
24881 (add_locale_empty): Likewise.
24882 (add_locale_raw_data): Likewise.
24883 (add_locale_raw_obstack): Likewise.
24884 (add_locale_string): Likewise.
24885 (add_locale_wstring): Likewise.
24886 (add_locale_uint32): Likewise.
24887 (add_locale_uint32_array): Likewise.
24888 (add_locale_char): Likewise.
24889 (start_locale_structure): Likewise.
24890 (end_locale_structure): Likewise.
24891 (start_locale_prelude): Likewise.
24892 (end_locale_prelude): Likewise.
24893 (write_locale_data): Take locale_file structure rather than an
24895 * locale/programs/locfile.h: Include "obstack.h".
24896 (struct locale_file): Change to store locale file contents instead
24898 (init_locale_data): New prototype.
24899 (align_locale_data): Likewise.
24900 (add_locale_empty): Likewise.
24901 (add_locale_raw_data): Likewise.
24902 (add_locale_raw_obstack): Likewise.
24903 (add_locale_string): Likewise.
24904 (add_locale_wstring): Likewise.
24905 (add_locale_uint32): Likewise.
24906 (add_locale_uint32_array): Likewise.
24907 (add_locale_char): Likewise.
24908 (start_locale_structure): Likewise.
24909 (end_locale_structure): Likewise.
24910 (start_locale_prelude): Likewise.
24911 (end_locale_prelude): Likewise.
24912 (write_locale_data): Update prototype.
24913 * locale/programs/3level.h (struct TABLE): Remove result field.
24914 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24915 Use new locale_file interface.
24916 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24917 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24918 * locale/programs/ld-address.c (address_output): Use new
24919 locale_file interface.
24920 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24922 (collate_finish): Don't call collseq_table_finalize.
24923 (collate_output): Use new locale_file interface.
24924 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24926 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24927 (TABLE): Move defines earlier in file.
24928 (ELEMENT): Likewise.
24929 (DEFAULT): Likewise.
24930 (wctrans_table_add): Move macro and inline function earlier in
24932 (struct wctype_table): Move type earlier in file.
24933 (add_locale_wctype_table): New static prototype.
24934 (struct locale_ctype_t): Use logical types instead of struct iovec
24935 pointers for members.
24936 (ctype_output): Use new locale_file interface.
24937 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24938 new locale_file interface.
24939 (allocate_arrays): Update for use of new locale_file interface.
24940 * locale/programs/ld-identification.c (identification_output): Use
24941 new locale_file interface.
24942 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24943 * locale/programs/ld-messages.c (messages_output): Likewise.
24944 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24945 * locale/programs/ld-name.c (name_output): Likewise.
24946 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24947 * locale/programs/ld-paper.c (paper_output): Likewise.
24948 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24949 * locale/programs/ld-time.c (time_output): Likewise.
24951 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24953 * benchtests/Makefile: Add memrchr benchmark.
24954 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24955 benchmark as memrchr.
24956 * benchtests/bench-memrchr-ifunc.c: New file.
24957 * benchtests/bench-memrchr.c: New file.
24959 2013-09-06 Will Newton <will.newton@linaro.org>
24961 * benchtests/Makefile (string-bench): Add memcpy.
24963 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24964 Cong Wang <amwang@redhat.com>
24967 * sysdeps/unix/sysv/linux/bits/in.h
24968 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24969 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24970 before __USE_KERNEL_IPV6_DEFS uses.
24971 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24973 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24974 sockaddr_in6, or ipv6_mreq.
24976 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24978 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24979 memory access for final bytes in some large inputs.
24980 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24982 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24984 * string/test-memrchr.c: New file.
24985 * string/test-memrchr-ifunc.c: New file.
24986 * string/Makefile: Add new memrchr testcase.
24988 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24990 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24991 fanotify_init returns EPERM.
24993 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24995 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24997 (top level): Treat second token from macro or constant entries for
24998 allowed headers as allowed.
24999 * include/complex.h: Condition internal declarations on
25001 * include/fenv.h: Condition include of <stdbool.h> and internal
25002 declarations on [!_ISOMAC].
25004 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25007 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25009 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25011 * configure.in (--enable-versioning): Remove configure option.
25012 (libc_cv_asm_symver_directive): Remove configure test.
25013 (libc_cv_ld_version_script_option): Likewise.
25014 (VERSIONING): Remove variable and AC_SUBST.
25015 (DO_VERSIONING): Remove AC_DEFINE.
25016 * configure: Regenerated.
25017 * config.h.in (DO_VERSIONING): Remove macro.
25018 * Makerules [$(versioning) = yes]: Change conditionals to
25019 [$(build-shared) = yes].
25020 * config.make.in (versioning): Remove variable.
25021 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25022 [$(build-shared) = yes].
25023 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25024 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25025 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25026 [$(build-shared) = yes].
25027 * extra-lib.mk [$(versioning) = yes]: Likewise.
25028 * hurd/Makefile [$(versioning) = yes]: Likewise.
25029 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25031 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25033 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25034 [SHARED && !NO_HIDDEN].
25035 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25037 [SHARED && DO_VERSIONING]: Likewise..
25038 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25039 [$(build-shared) = yes].
25040 * manual/install.texi (--disable-versioning): Remove
25042 * INSTALL: Regenerated.
25043 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25045 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25046 [$(build-shared) = yes].
25047 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25048 * sysdeps/i386/i686/multiarch/strstr-c.c
25049 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25050 [SHARED && !NO_HIDDEN].
25051 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25052 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25053 * sysdeps/powerpc/powerpc32/dl-machine.c
25054 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25055 * sysdeps/powerpc/powerpc32/sysdep.h
25056 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25057 to [SHARED && PIC && !NO_HIDDEN].
25058 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25059 conditional to [SHARED].
25061 2013-09-04 Will Newton <will.newton@linaro.org>
25063 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25064 * benchtests/bench-string.h: Include bench-timing.h instead
25065 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25066 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25067 call to HP_TIMING_DIFF_INIT.
25068 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25069 instead of hp-timing.h macros.
25070 * benchtests/bench-memchr.c: Likewise.
25071 * benchtests/bench-memcmp.c: Likewise.
25072 * benchtests/bench-memcpy.c: Likewise.
25073 * benchtests/bench-memmem.c: Likewise.
25074 * benchtests/bench-memmove.c: Likewise.
25075 * benchtests/bench-memset.c: Likewise.
25076 * benchtests/bench-rawmemchr.c: Likewise.
25077 * benchtests/bench-strcasecmp.c: Likewise.
25078 * benchtests/bench-strcasestr.c: Likewise.
25079 * benchtests/bench-strcat.c: Likewise.
25080 * benchtests/bench-strchr.c: Likewise.
25081 * benchtests/bench-strcmp.c: Likewise.
25082 * benchtests/bench-strcpy.c: Likewise.
25083 * benchtests/bench-strcpy_chk.c: Likewise.
25084 * benchtests/bench-strlen.c: Likewise.
25085 * benchtests/bench-strncasecmp.c: Likewise.
25086 * benchtests/bench-strncat.c: Likewise.
25087 * benchtests/bench-strncmp.c: Likewise.
25088 * benchtests/bench-strncpy.c: Likewise.
25089 * benchtests/bench-strnlen.c: Likewise.
25090 * benchtests/bench-strpbrk.c: Likewise.
25091 * benchtests/bench-strrchr.c: Likewise.
25092 * benchtests/bench-strspn.c: Likewise.
25093 * benchtests/bench-strstr.c: Likewise.
25095 2013-09-04 Will Newton <will.newton@linaro.org>
25097 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25099 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25103 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25104 * math/libm-test.inc (lgamma_test_data): Add more tests.
25105 * sysdeps/i386/fpu/libm-test-ulps: Update.
25106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25108 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25110 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25114 Add strcmp-sse2-unaligned
25115 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25117 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25119 * Versions.def (libc): Add GLIBC_2.19.
25121 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25123 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25124 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25126 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25129 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25130 intermediate calculations in recurrence.
25131 (__ieee754_ynf): Likewise.
25132 * math/libm-test.inc (jn_test_data): Do not allow spurious
25133 underflow exception. Add more tests.
25134 (yn_test_data): Add more tests.
25135 * sysdeps/i386/fpu/libm-test-ulps: Update.
25136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25138 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25140 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25142 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25144 * csu/init-first.c: Fix then/than typos.
25145 * locale/programs/ld-collate.c: Likewise.
25146 * locale/programs/linereader.h: Likewise.
25147 * manual/charset.texi: Likewise.
25148 * manual/filesys.texi: Likewise.
25149 * manual/stdio.texi: Likewise.
25150 * manual/string.texi: Likewise.
25151 * stdlib/fmtmsg.c: Likewise.
25152 * sysdeps/i386/stpncpy.S: Likewise.
25153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25154 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25155 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25156 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25158 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25160 * elf/dl-open.c: Fix typos.
25161 * iconvdata/gbbig5.c: Likewise.
25162 * iconvdata/iso-2022-jp.c: Likewise.
25163 * iconv/gconv_int.h: Likewise.
25164 * iconv/loop.c: Likewise.
25165 * nis/rpcsvc/nis.h: Likewise.
25166 * resolv/ns_name.c: Likewise.
25167 * stdio-common/vfscanf.c: Likewise.
25168 * streams/stropts.h: Likewise.
25169 * sunrpc/rpc_thread.c: Likewise.
25170 * sysdeps/i386/strpbrk.S: Likewise.
25171 * sysdeps/ieee754/k_standard.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25174 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25175 * sysdeps/mach/hurd/profil.c: Likewise.
25176 * sysdeps/s390/dl-procinfo.h: Likewise.
25177 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25178 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25179 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25180 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25181 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25183 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25185 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25186 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25188 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25190 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25191 aix specific files.
25192 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25193 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25194 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25195 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25196 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25197 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25198 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25199 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25201 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25202 Roland McGrath <roland@hack.frob.com>
25204 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25205 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25207 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25209 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25210 __executable_start symbol instead of _start.
25212 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25214 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25215 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25217 * sysdeps/gnu/ldsodefs.h: ... this new file.
25219 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25220 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25221 instead of ELFOSABI_LINUX.
25223 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25224 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25225 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25226 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25228 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25229 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25230 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25232 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25233 (ibm_extended_long_double): Add ieee_nan member.
25234 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25235 (do_test): New function.
25237 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25239 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25240 functions, renamed from truncdfsf_test, trunctfsf_test,
25242 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25244 (do_test): Run all these.
25246 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25248 * argp/argp-help.c: Fix typos.
25249 * argp/argp-parse.c: Likewise.
25250 * debug/backtracesyms.c: Likewise.
25251 * elf/elf.h: Likewise.
25252 * malloc/malloc.c: Likewise.
25253 * nis/nis_print.c: Likewise.
25254 * resolv/res_comp.c: Likewise.
25255 * stdlib/stdlib.h: Likewise.
25256 * sunrpc/clnt_tcp.c: Likewise.
25257 * sunrpc/clnt_udp.c: Likewise.
25258 * sunrpc/clnt_unix.c: Likewise.
25259 * sysdeps/unix/bsd/ptsname.c: Likewise.
25260 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25261 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25268 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25270 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25272 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25275 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25278 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25279 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25280 ($(objpfx)bug-dl-leaf): New rule.
25281 ($(objpfx)bug-dl-leaf.so): Likewise.
25282 ($(objpfx)bug-dl-leaf.out): Likewise.
25283 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25284 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25285 * dlfcn/bug-dl-leaf.c: New test.
25286 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25287 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25288 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25289 (dlclose): Likewise.
25290 (dlmopen): Likewise.
25292 2013-08-27 Roland McGrath <roland@hack.frob.com>
25294 * include/netdb.h [!_ISOMAC]:
25295 Don't include <tls.h>.
25296 (h_errno, __libc_h_errno): Move declaration and macros out of
25299 * include/resolv.h [_RESOLV_H_]:
25300 Don't include <tls.h>.
25301 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25302 * resolv/res_libc.c: Don't include <tls.h>.
25303 (_res): Use __attribute__ ((nocommon)) in place of
25304 __attribute__ ((section (".bss"))).
25306 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25307 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25309 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25311 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25312 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25314 * resolv/res_mkquery.c: Include <sys/time.h>.
25316 * inet/ifreq.c: Moved to ...
25317 * sysdeps/unix/ifreq.c: ... here.
25318 * inet/ifreq.c: New file, true stub version.
25320 * socket/sa_len.c: New file.
25321 * socket/Makefile (aux): Add it.
25322 * sysdeps/unix/sysv/linux/Makefile
25323 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25324 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25325 and #include <socket/sa_len.c>.
25326 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25327 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25329 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25330 * bits/socket.h: ... here.
25332 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25333 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25334 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25336 2013-08-27 Andreas Schwab <schwab@suse.de>
25339 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25340 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25341 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25342 * string/test-strcasecmp.c (test_main): Run tests in several
25344 * string/test-strncasecmp.c (test_main): Likewise.
25346 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25347 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25348 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25350 (__strncasecmp_ssse3) [PIC]: Likewise.
25352 2013-08-26 Roland McGrath <roland@hack.frob.com>
25354 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25356 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25357 instead of explicitly declaring xdecrypt.
25358 * nis/nss_nis/nis-publickey.c: Likewise.
25360 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25363 * nscd/aicache.c: Include res_hconf.h.
25364 (addhstaiX): Initialize res_hconf.
25366 2013-08-26 Andreas Schwab <schwab@suse.de>
25368 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25369 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25371 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25373 * nscd/aicache.c (addhstaiX): Fix indentation.
25375 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25377 * configure.ac: Quote $build_pt_chown test.
25378 * configure: Regenerated.
25380 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25383 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25384 * math/s_cexpf.c (__cexpf): Likewise.
25385 * math/s_cexpl.c (__cexpl): Likewise.
25386 * math/libm-test.inc (cexp_test_data): Correct expected return
25387 value for NaN + i0. Add another test.
25389 2013-08-22 David S. Miller <davem@davemloft.net>
25391 * po/ca.po: Update Catalan translation from translation project.
25392 * po/uk.po: Add Ukrainian translations from translation project.
25394 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25397 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25398 is infinite, not alongside NaN test.
25399 * math/s_fdimf.c (__fdimf): Likewise.
25400 * math/s_fdiml.c (__fdiml): Likewise.
25401 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25402 errno is unchanged.
25404 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25406 * argp/argp-help.c: Fix typos.
25407 * crypt/speeds.c: Likewise.
25408 * csu/check_fds.c: Likewise.
25409 * elf/dl-load.c: Likewise.
25410 * elf/dl-open.c: Likewise.
25411 * elf/reldep3.c: Likewise.
25412 * elf/reldep.c: Likewise.
25413 * elf/sprof.c: Likewise.
25414 * iconv/iconv_charmap.c: Likewise.
25415 * iconv/skeleton.c: Likewise.
25416 * iconv/strtab.c: Likewise.
25417 * io/lockf64.c: Likewise.
25418 * libio/libioP.h: Likewise.
25419 * resolv/gai_notify.c: Likewise.
25420 * resolv/ns_name.c: Likewise.
25421 * resolv/ns_samedomain.c: Likewise.
25422 * resolv/res_send.c: Likewise.
25423 * stdlib/random.c: Likewise.
25424 * sunrpc/rpc/xdr.h: Likewise.
25425 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25426 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25427 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25428 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25429 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25431 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25432 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25433 * sysdeps/mach/hurd/check_fds.c: Likewise.
25434 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25435 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25437 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25438 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25439 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25440 * sysdeps/pthread/aio_notify.c: Likewise.
25441 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25442 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25443 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25444 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25445 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25447 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25449 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25450 version if bit_Slow_SSE4_2 is set.
25451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25452 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25454 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25457 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25458 trampoline stack frame information.
25459 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25460 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25461 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25462 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25463 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25464 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25465 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25466 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25468 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25469 interrupting a syscall and set with option SA_SIGINFO.
25471 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25474 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25475 argument is infinite.
25476 * math/s_cprojf.c (__cprojf): Likewise.
25477 * math/s_cprojl.c (__cprojl): Likewise.
25478 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25479 * math/libm-test.inc (cproj_test_data): Add more tests.
25481 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25483 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25484 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25485 size. Use __ffs to determine corresponding shift.
25487 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25488 Roland McGrath <roland@hack.frob.com>
25490 * Makefile (INSTALL): Remove trailing blank lines from output of
25493 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25495 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25496 Align 32 bit compat elf_greg to 8 bytes.
25498 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25500 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25502 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25504 * string/strcoll_l.c (coll_seq): New structure.
25505 (get_next_seq_cached): New function.
25506 (get_next_seq): New function.
25507 (do_compare): New function.
25508 (STRCOLL): Use GNU style definition. Simplify implementation
25509 by using get_next_seq, get_next_seq_cached and do_compare.
25511 2013-08-16 Florian Weimer <fweimer@redhat.com>
25515 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25517 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25519 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25520 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25521 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25523 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25524 GETDENTS_64BIT_ALIGNED.
25525 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25526 * manual/filesys.texi (Reading/Closing Directory): Document
25527 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25529 * manual/conf.texi (Limits for Files): Add portability note to
25530 NAME_MAX, PATH_MAX.
25531 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25533 2013-08-13 Andreas Schwab <schwab@suse.de>
25536 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25538 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25539 LDBL_MAX_EXP >= 16384]: Add tests for it.
25541 2013-08-12 David S. Miller <davem@davemloft.net>
25543 * version.h (RELEASE): Set to "development".
25544 (VERSION): Set to "2.18.90".
25545 * NEWS: Add 2.19 section.
25547 2013-08-03 David S. Miller <davem@davemloft.net>
25549 * po/ko.po: Update Korean translation from translation project.
25551 2013-08-01 David S. Miller <davem@davemloft.net>
25553 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25554 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25557 2013-07-30 David S. Miller <davem@davemloft.net>
25559 * po/fr.po: Update French translation from translation project.
25561 2013-07-28 David S. Miller <davem@davemloft.net>
25563 * po/cs.po: Update Czech translation from translation project.
25565 * po/sv.po: Update Swedish translation from translation project.
25567 2013-07-27 David S. Miller <davem@davemloft.net>
25569 * po/eo.po: Update Esperanto translation from translation project.
25571 * po/vi.po: Update Vietnamese translation from translation project.
25573 * po/de.po: Update German translation from translation project.
25575 2013-07-26 David S. Miller <davem@davemloft.net>
25577 * po/bg.po: Update Bulgarian translation from translation project.
25579 * po/nl.po: Update Dutch translation from translation project.
25580 * po/pl.po: Update Polish translation from translation project.
25581 * po/ru.po: Update Russian translation from translation project.
25583 2013-07-24 David S. Miller <davem@davemloft.net>
25585 * po/libc.pot: Update.
25587 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25589 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25590 variable page size.
25591 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25592 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25593 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25595 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25597 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25599 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25600 Andreas Schwab <schwab@suse.de>
25601 Roland McGrath <roland@hack.frob.com>
25602 Joseph Myers <joseph@codesourcery.com>
25603 Carlos O'Donell <carlos@redhat.com>
25606 * config.h.in: Define HAVE_PT_CHOWN.
25607 * config.make.in (build-pt-chown): New variable.
25608 * configure.in (--enable-pt_chown): New configure option.
25609 * configure: Regenerate.
25610 * login/Makefile: Include Makeconfig. Build pt_chown only if
25611 build-pt-chown is enabled.
25612 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25613 pt_chown to fix pty ownership.
25614 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25616 * manual/install.texi (Configuring and compiling): Mention
25617 --enable-pt_chown. Add @findex for grantpt.
25618 * INSTALL: Regenerate.
25620 2013-07-20 David S. Miller <davem@davemloft.net>
25622 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25623 difference between 32-bit and 64-bit.
25625 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25628 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25629 Avoid system header dependency with -ffreestanding.
25630 ($(objpfx)bits/syscall%d): Likewise.
25632 2013-07-13 David S. Miller <davem@davemloft.net>
25634 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25635 underflows from atanl/atan2l due to bug 15319.
25636 (casinh_test_data): Likewise.
25638 2013-07-07 David S. Miller <davem@davemloft.net>
25640 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25642 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25644 * sysdeps/i386/fpu/libm-test-ulps: Update.
25645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25647 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25649 * configure.in (--enable-lock-elision): Fix message text.
25650 * INSTALL: Regenerate.
25651 * configure: Regenerate.
25653 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25657 2013-07-03 Andreas Jaeger <aj@suse.de>
25659 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25661 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25662 (ptrace_peeksiginfo_args): Add.
25663 (__ptrace_peeksiginfo_flags): Add.
25664 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25666 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25668 2013-07-03 Allan McRae <allan@archlinux.org>
25670 * sysdeps/i386/fpu/libm-test-ulps: Update.
25672 2013-07-02 David S. Miller <davem@davemloft.net>
25674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25676 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25680 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25682 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25685 2013-07-02 Andi Kleen <ak@linux.intel.com>
25687 * config.h.in (ENABLE_LOCK_ELISION): Add.
25688 * configure.in (--enable-lock-elision): Add option.
25689 * manual/install.texi: Document --enable lock elision.
25690 * configure: Regenerate
25691 * INSTALL: Regenerate.
25693 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25695 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25696 SSE4.2 strcasecmp for libc.a.
25697 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25699 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25702 * soft-fp/op-common.h (_FP_FMA): New macro.
25703 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25704 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25705 (_FP_MUL_MEAT_1_imm): ... here.
25706 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25707 (_FP_MUL_MEAT_1_wide): ... here.
25708 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25709 (_FP_MUL_MEAT_1_hard): ... here.
25710 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25711 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25712 (_FP_MUL_MEAT_2_wide): ... here.
25713 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25714 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25715 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25716 (_FP_MUL_MEAT_2_gmp): ... here.
25717 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25718 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25719 (_FP_MUL_MEAT_4_wide): ... here.
25720 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25721 (_FP_MUL_MEAT_4_gmp): ... here.
25722 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25723 (_FP_WFRACBITS_DW_S): Likewise.
25724 (_FP_WFRACXBITS_DW_S): Likewise.
25725 (_FP_HIGHBIT_DW_S): Likewise.
25726 (FP_FMA_S): Likewise.
25727 (_FP_FRAC_HIGH_DW_S): Likewise.
25728 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25729 (_FP_WFRACBITS_DW_D): Likewise.
25730 (_FP_WFRACXBITS_DW_D): Likewise.
25731 (_FP_HIGHBIT_DW_D): Likewise.
25732 (FP_FMA_D): Likewise.
25733 (_FP_FRAC_HIGH_DW_D): Likewise.
25734 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25735 (_FP_WFRACBITS_DW_E): Likewise.
25736 (_FP_WFRACXBITS_DW_E): Likewise.
25737 (_FP_HIGHBIT_DW_E): Likewise.
25738 (FP_FMA_E): Likewise.
25739 (_FP_FRAC_HIGH_DW_E): Likewise.
25740 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25741 (_FP_WFRACBITS_DW_Q): Likewise.
25742 (_FP_WFRACXBITS_DW_Q): Likewise.
25743 (_FP_HIGHBIT_DW_Q): Likewise.
25744 (FP_FMA_Q): Likewise.
25745 (_FP_FRAC_HIGH_DW_Q): Likewise.
25746 * soft-fp/fmasf4.c: New file.
25747 * soft-fp/fmadf4.c: Likewise.
25748 * soft-fp/fmatf4.c: Likewise.
25750 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25753 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25755 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25757 (index_Slow_SSE4_2): Likewise.
25758 (index_Prefer_PMINUB_for_stringop): Likewise.
25759 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25760 bit_Slow_SSE4_2 is set.
25761 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25762 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25764 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25766 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25767 rtld_global._dl_hwcap2.
25768 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25770 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25771 POWER8 feature descriptions defined in _dl_hwcap2.
25772 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25773 string handling for POWER8 feature bits.
25774 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25775 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25776 _dl_powerpc_cap_flags.
25777 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25778 * sysdeps/powerpc/rtld-global-offsets.sym
25779 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25780 _dl_hwcap2 in the rtld_global_ro structure.
25782 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25784 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25785 hardware capabilities in support of AT_HWCAP2.
25786 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25787 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25789 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25790 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25791 explicitly the unknown a_type display mechanism is used.
25792 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25793 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25795 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25796 to macro prototype for AT_HWCAP2 support.
25797 * sysdeps/i386/dl-procinfo.h: Likewise.
25798 * sysdeps/s390/dl-procinfo.h: Likewise.
25799 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25800 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25801 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25802 return -1 for unknown a_type display fallback.
25803 * sysdeps/sparc/dl-procinfo.h: Likewise.
25804 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25805 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25807 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25809 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25810 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25812 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25815 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25816 mprotect making __stack_prot writable.
25818 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25819 Joseph Myers <joseph@codesourcery.com>
25821 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25822 as being properly aligned.
25824 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25826 * dlfcn/modstatic5.c: New file.
25827 * dlfcn/tststatic5.c: New file.
25828 * dlfcn/Makefile (tests): Add tststatic5.
25829 (tests-static): Likewise.
25830 (modules-names): Add modstatic5.
25831 (tststatic5-ENV): New variable.
25832 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25835 * elf/dl-support.c (_dl_main_map): New variable.
25836 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25837 (_dl_nns, _dl_load_adds): Set to 1.
25838 (_dl_initial_searchlist): Refer to _dl_main_map.
25839 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25840 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25841 call to _dl_get_origin.
25842 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25844 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25845 * dlfcn/modstatic3.c: New file.
25846 * dlfcn/tststatic3.c: New file.
25847 * dlfcn/tststatic4.c: New file.
25848 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25849 (tests-static): Likewise.
25850 (modules-names): Add modstatic3.
25851 (tststatic3-ENV, tststatic4-ENV): New variables.
25852 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25853 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25855 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25857 * configure.in (CC): Require GCC version 4.4 or later.
25858 * configure: Regenerated.
25859 * manual/install.texi (Tools for Compilation): Update GCC version
25861 * INSTALL: Regenerated.
25863 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25866 * string/test-memcmp.c (check2): New.
25867 (main): Call check2.
25869 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25871 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25874 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25876 (dl_open_worker) [!SHARED]: ... here.
25878 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25880 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25882 2013-06-25 Richard Henderson <rth@redhat.com>
25884 * locale/programs/locarchive.c: Include <libc-internal.h>
25886 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25888 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25889 trailing whitespace removed.
25891 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25894 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25895 * locale/programs/locarchive.c: Include libc-mmap.h.
25896 (prepare_address_space): Take two new outputs (the mmap base and len).
25897 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25899 (create_archive): Declare new mmap base and len values for
25900 prepare_address_space, and store the result in ah.
25901 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25902 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25903 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25904 Declare new mmap base and len values for
25905 prepare_address_space, and store the result in new_ah.
25906 (open_archive): Declare new mmap base and len values for
25907 prepare_address_space, and store the result in ah.
25908 (close_archive): If ah->mmap_base is not NULL, use that and
25909 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25910 * sysdeps/generic/libc-mmap.h: New file.
25912 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25914 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25915 (ALIGN_UP): Likewise.
25916 (PTR_ALIGN_DOWN): Likewise.
25917 (PTR_ALIGN_UP): Likewise.
25919 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25921 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25922 entry mapped to PPC_PLATFORM_POWER8.
25923 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25925 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25926 (_dl_string_platform): Add case for exporting platform position for
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25929 search path to sysdeps/powerpc/powerpc32/power8 directory.
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25931 search path to sysdeps/powerpc/powerpc64/power8 directory.
25932 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25933 power7 directories.
25934 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25935 power7 directories.
25937 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25939 * INSTALL: Regenerate.
25941 * nscd/connections.c (nscd_init): Fix comment.
25943 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25945 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25948 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25949 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25951 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25953 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25955 (DL_DST_REQ_STATIC): Remove macro.
25957 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25960 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25961 with a shift of 0 bits.
25963 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25965 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25968 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25971 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25973 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25975 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25976 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25977 accepts -fno-tree-loop-distribute-patterns.
25978 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25979 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25981 * string/memset.c (memset): Likewise.
25982 * string/test-memmove.c (simple_memmove): Disable loop transformation
25984 * string/test-memset.c (simple_memset): Likewise.
25985 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25986 * benchtests/bench-memset.c (simple_memset): Likewise.
25987 * configure: Regenerated.
25989 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25991 * math/test-misc.c (main): Ignore fesetround failure when failures
25992 of subsequent rounding tests would be ignored.
25995 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25996 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25997 * math/fegetenv.c (__fegetenv): Return 0.
25998 * math/fegetexcept.c (fegetexcept): Return 0.
25999 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26001 * math/feholdexcpt.c (feholdexcept): Return 0.
26002 * math/fesetenv.c (__fesetenv): Return 0.
26003 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26004 argument FE_TONEAREST.
26005 * math/feupdateenv.c (__feupdateenv): Return 0.
26006 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26008 2013-06-18 Roland McGrath <roland@hack.frob.com>
26010 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26011 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26012 ($(objpfx)rtld-%.os rules): Use them.
26014 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26016 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26019 2013-06-17 Roland McGrath <roland@hack.frob.com>
26021 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26022 length of target pattern, then descending length of dependency pattern.
26023 * configure.in (AWK): Require gawk 3.1.2 or newer.
26024 * manual/install.texi (Tools for Compilation): Say that we do.
26025 * configure: Regenerated.
26027 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26028 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26029 * scripts/sysd-rules.awk: ... this new script.
26030 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26031 than a glob-style pattern.
26033 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26035 * math/test-misc.c (main): Do not treat incorrectly rounded
26036 conversions as failure unless ROUNDING_TESTS passes.
26038 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26041 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26042 restore exception state around main square root computation, then
26043 check for inexactness explicitly.
26045 * math/libm-test.inc (fma_test_data): Add another test.
26047 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26049 * manual/threads.texi (Non-POSIX Extensions): New document
26050 node. Document pthread_getattr_default_np and
26051 pthread_setattr_default_np.
26053 * Versions.def (libpthread): Add GLIBC_2.18.
26054 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26063 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26074 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26077 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26079 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26080 H.J. Lu <hjl.tools@gmail.com>
26083 * sysdeps/x86_64/rtld-memset.c: Remove file.
26084 * sysdeps/x86_64/rtld-memset.S: New file.
26086 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26088 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26089 (test_in_one_mode): Take arguments for whether the rounding mode
26090 is supported for each floating-point type.
26091 (do_test): Pass new arguments to test_in_one_mode using
26094 2013-06-13 Roland McGrath <roland@hack.frob.com>
26096 * posix/tst-waitid.c (do_test): Distinguish different instances of
26097 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26098 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26099 before entering the kernel for waitpid.
26101 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26103 * NEWS: Fix note on clock function precision. Text by Roland
26106 2013-06-13 Roland McGrath <roland@hack.frob.com>
26108 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26109 it into place only when and if the sanity check passes.
26111 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26113 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26114 output for whether conversion result is exact. Take argument
26115 indicating whether type is IBM long double.
26116 (round_for_all): Change need_exact field to ibm_ld.
26117 * stdlib/tst-strtod-round.c (struct exactness): New type.
26118 (struct test): Change bool ld_ok field to struct exactness exact.
26119 (TEST): Update all definitions for change to field.
26120 (tests): Regenerate array contents.
26121 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26122 field value. Check for IBM long double here.
26123 (do_test): Update calls to test_in_one_mode.
26125 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26128 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26129 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26131 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26134 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26135 generated by the compiler on loop optimizations.
26136 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26137 general definitions.
26139 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26141 * math/bug-nextafter.c: Include <math-tests.h>.
26142 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26144 * math/bug-nexttoward.c: Include <math-tests.h>.
26145 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26147 * math/test-misc.c: Include <math-tests.h>.
26148 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26151 2013-06-12 Andreas Jaeger <aj@suse.de>
26153 * po/ia.po: Update Interlingua translation from translation
26156 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26158 * include/fenv.h: Include stdbool.h.
26159 (struct rm_ctx): New structure.
26160 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26162 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26163 (SET_RESTORE_ROUNDF): Likewise.
26164 (SET_RESTORE_ROUNDL): Likewise.
26165 (SET_RESTORE_ROUND_NOEX): Likewise.
26166 (SET_RESTORE_ROUND_NOEXF): Likewise.
26167 (SET_RESTORE_ROUND_NOEXL): Likewise.
26168 (SET_RESTORE_ROUND_53BIT): Likewise.
26169 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26170 (libc_feresetround_noexf_ctx): Likewise.
26171 (libc_feresetround_noexl_ctx): Likewise.
26172 (libc_feholdsetround_53bit_ctx): Likewise.
26173 (libc_feresetround_53bit_ctx): Likewise.
26174 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26175 (libc_feholdexcept_setround_sse_ctx): New function.
26176 (libc_fesetenv_sse_ctx): Likewise.
26177 (libc_feupdateenv_sse_ctx): Likewise.
26178 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26179 (libc_feholdexcept_setround_387_ctx): Likewise.
26180 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26181 (libc_feholdsetround_387_prec_ctx): Likewise.
26182 (libc_feholdsetround_387_ctx): Likewise.
26183 (libc_feholdsetround_387_53bit_ctx): Likewise.
26184 (libc_feholdsetround_sse_ctx): Likewise.
26185 (libc_feresetround_sse_ctx): Likewise.
26186 (libc_feresetround_387_ctx): Likewise.
26187 (libc_feupdateenv_387_ctx): Likewise.
26188 (libc_feholdexcept_setroundf_ctx): Define macro.
26189 (libc_fesetenvf_ctx): Likewise.
26190 (libc_feupdateenvf_ctx): Likewise.
26191 (libc_feholdsetroundf_ctx): Likewise.
26192 (libc_feresetroundf_ctx): Likewise.
26193 (libc_feholdexcept_setround_ctx): Likewise.
26194 (libc_fesetenv_ctx): Likewise.
26195 (libc_feupdateenv_ctx): Likewise.
26196 (libc_feholdsetround_ctx): Likewise.
26197 (libc_feresetround_ctx): Likewise.
26198 (libc_feholdexcept_setroundl_ctx): Likewise.
26199 (libc_feupdateenvl_ctx): Likewise.
26200 (libc_feholdsetroundl_ctx): Likewise.
26201 (libc_feresetroundl_ctx): Likewise.
26202 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26203 (libc_feresetround_53bit_ctx): Likewise.
26205 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26207 * locale/iso-639.def: Convert to UTF-8.
26209 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26211 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26212 (EXCEPTION_TESTS_double): Likewise.
26213 (EXCEPTION_TESTS_long_double): Likewise.
26214 (EXCEPTION_TESTS): Likewise.
26215 * math/libm-test.inc (test_exceptions): Only test exceptions if
26216 EXCEPTION_TESTS (FLOAT).
26218 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26220 * benchtests/Makefile (string-bench): Add strcpy_chk and
26222 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26223 * benchtests/bench-stpcpy_chk.c: New file.
26224 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26225 * benchtests/bench-strcpy_chk.c: New file.
26226 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26228 (do_test): Likewise.
26230 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26232 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26233 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26234 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26235 with tabs where appropriate.
26236 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26238 [PPC_PLATFORM_PPC440]: Likewise.
26239 [PPC_PLATFORM_PPC464]: Likewise.
26240 [PPC_PLATFORM_PPC476]: Likewise.
26241 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26242 ppc464, and ppc476 platform strings merging from ports/
26245 2013-06-11 Andreas Schwab <schwab@suse.de>
26248 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26249 (from_ucs4_idx): Regenerate.
26250 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26251 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26252 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26253 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26254 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26255 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26256 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26257 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26258 from FROM_LOOP and TO_LOOP specific macros.
26259 (BODY): Handle combining characters.
26260 * iconvdata/BIG5HKSCS.irreversible: Update.
26261 * iconvdata/BIG5HKSCS.precomposed: New file.
26262 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26264 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26266 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26268 * include/sys/time.h: Fix indentation and add copyright header.
26270 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26271 (do_test): Likewise.
26272 * string/test-memchr.c (do_one_test): Likewise.
26273 (do_test): Likewise.
26274 * string/test-memcmp.c (do_one_test): Likewise.
26275 (do_test): Likewise.
26276 * string/test-memcpy.c (do_one_test): Likewise.
26277 (do_test): Likewise.
26278 * string/test-memmem.c (do_one_test): Likewise.
26279 (do_test): Likewise.
26280 (do_random_tests): Likewise.
26281 * string/test-memmove.c (do_one_test): Likewise.
26282 (do_test): Likewise.
26283 * string/test-memset.c (do_one_test): Likewise.
26284 (do_test): Likewise.
26285 * string/test-rawmemchr.c (do_one_test): Likewise.
26286 (do_test): Likewise.
26287 * string/test-strcasecmp.c (do_one_test): Likewise.
26288 (do_test): Likewise.
26289 * string/test-strcasestr.c (do_one_test): Likewise.
26290 (do_test): Likewise.
26291 * string/test-strcat.c (do_one_test): Likewise.
26292 (do_test): Likewise.
26293 * string/test-strchr.c (do_one_test): Likewise.
26294 (do_test): Likewise.
26295 * string/test-strcmp.c (do_one_test): Likewise.
26296 (do_test): Likewise.
26297 * string/test-strcpy.c (do_one_test): Likewise.
26298 (do_test): Likewise.
26299 * string/test-string.h: Likewise.
26300 (test_init): Likewise.
26301 * string/test-strlen.c (do_one_test): Likewise.
26302 (do_test): Likewise.
26303 * string/test-strncasecmp.c (do_one_test): Likewise.
26304 (do_test): Likewise.
26305 * string/test-strncat.c (do_one_test): Likewise.
26306 (do_test): Likewise.
26307 * string/test-strncmp.c (do_one_test): Likewise.
26308 (do_test_limit): Likewise.
26309 (do_test): Likewise.
26310 * string/test-strncpy.c (do_one_test): Likewise.
26311 (do_test): Likewise.
26312 * string/test-strnlen.c (do_one_test): Likewise.
26313 (do_test): Likewise.
26314 * string/test-strpbrk.c (do_one_test): Likewise.
26315 (do_test): Likewise.
26316 * string/test-strrchr.c (do_one_test): Likewise.
26317 (do_test): Likewise.
26318 * string/test-strspn.c (do_one_test): Likewise.
26319 (do_test): Likewise.
26320 * string/test-strstr.c (do_one_test): Likewise.
26321 (do_test): Likewise.
26323 * benchtests/Makefile (string-bench): Add string benchmarks.
26324 * benchtests/bench-bcopy-ifunc.c: New file.
26325 * benchtests/bench-bcopy.c: New file.
26326 * benchtests/bench-bzero-ifunc.c: New file.
26327 * benchtests/bench-bzero.c: New file.
26328 * benchtests/bench-memccpy-ifunc.c: New file.
26329 * benchtests/bench-memccpy.c: New file.
26330 * benchtests/bench-memchr-ifunc.c: New file.
26331 * benchtests/bench-memchr.c: New file.
26332 * benchtests/bench-memcmp-ifunc.c: New file.
26333 * benchtests/bench-memcmp.c: New file.
26334 * benchtests/bench-memmem-ifunc.c: New file.
26335 * benchtests/bench-memmem.c: New file.
26336 * benchtests/bench-memmove-ifunc.c: New file.
26337 * benchtests/bench-memmove.c: New file.
26338 * benchtests/bench-mempcpy-ifunc.c: New file.
26339 * benchtests/bench-mempcpy.c: New file.
26340 * benchtests/bench-memset-ifunc.c: New file.
26341 * benchtests/bench-memset.c: New file.
26342 * benchtests/bench-rawmemchr-ifunc.c: New file.
26343 * benchtests/bench-rawmemchr.c: New file.
26344 * benchtests/bench-stpcpy-ifunc.c: New file.
26345 * benchtests/bench-stpcpy.c: New file.
26346 * benchtests/bench-stpncpy-ifunc.c: New file.
26347 * benchtests/bench-stpncpy.c: New file.
26348 * benchtests/bench-strcasecmp-ifunc.c: New file.
26349 * benchtests/bench-strcasecmp.c: New file.
26350 * benchtests/bench-strcasestr-ifunc.c: New file.
26351 * benchtests/bench-strcasestr.c: New file.
26352 * benchtests/bench-strcat-ifunc.c: New file.
26353 * benchtests/bench-strcat.c: New file.
26354 * benchtests/bench-strchr-ifunc.c: New file.
26355 * benchtests/bench-strchr.c: New file.
26356 * benchtests/bench-strchrnul-ifunc.c: New file.
26357 * benchtests/bench-strchrnul.c: New file.
26358 * benchtests/bench-strcmp-ifunc.c: New file.
26359 * benchtests/bench-strcmp.c: New file.
26360 * benchtests/bench-strcpy-ifunc.c: New file.
26361 * benchtests/bench-strcpy.c: New file.
26362 * benchtests/bench-strcspn-ifunc.c: New file.
26363 * benchtests/bench-strcspn.c: New file.
26364 * benchtests/bench-strlen-ifunc.c: New file.
26365 * benchtests/bench-strlen.c: New file.
26366 * benchtests/bench-strncasecmp-ifunc.c: New file.
26367 * benchtests/bench-strncasecmp.c: New file.
26368 * benchtests/bench-strncat-ifunc.c: New file.
26369 * benchtests/bench-strncat.c: New file.
26370 * benchtests/bench-strncmp-ifunc.c: New file.
26371 * benchtests/bench-strncmp.c: New file.
26372 * benchtests/bench-strncpy-ifunc.c: New file.
26373 * benchtests/bench-strncpy.c: New file.
26374 * benchtests/bench-strnlen-ifunc.c: New file.
26375 * benchtests/bench-strnlen.c: New file.
26376 * benchtests/bench-strpbrk-ifunc.c: New file.
26377 * benchtests/bench-strpbrk.c: New file.
26378 * benchtests/bench-strrchr-ifunc.c: New file.
26379 * benchtests/bench-strrchr.c: New file.
26380 * benchtests/bench-strspn-ifunc.c: New file.
26381 * benchtests/bench-strspn.c: New file.
26382 * benchtests/bench-strstr-ifunc.c: New file.
26383 * benchtests/bench-strstr.c: New file.
26385 * benchtests/Makefile: Disable parallel execution of targets.
26386 (string-bench): Add memcpy.
26387 (benchset): New variable to store a list of benchmark sets.
26388 (bench-func): Renamed from bench.
26389 (bench-set): New target.
26390 (bench): Depend on bench-func and bench-set.
26391 * benchtests/README: Add section on benchmark sets.
26392 * benchtests/bench-memcpy-ifunc.c: New file.
26393 * benchtests/bench-memcpy.c: New file.
26394 * benchtests/bench-string.h: New file.
26396 2013-06-11 Andreas Schwab <schwab@suse.de>
26399 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26400 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26401 values in the triple.
26402 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26403 terminator in the group key.
26405 2013-06-11 Andreas Jaeger <aj@suse.de>
26407 * po/zh_TW.po: Update Chinese (traditional) translation from
26408 translation project.
26410 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26412 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26413 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26414 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26415 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26416 (clock_getcpuclockid): Likewise.
26417 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26418 Add weak_alias and libc_hidden_def.
26419 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26420 * rt/clock_gettime.c (clock_gettime): Rename to
26421 __clock_gettime. Add weak_alias and libc_hidden_def.
26422 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26423 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26424 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26425 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26426 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26428 * rt/clock_settime.c (clock_settime): Rename to
26429 __clock_settime. Add weak_alias and libc_hidden_def.
26430 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26432 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26434 * mach/err_boot.sub: Remove trailing whitespace.
26435 * mach/err_ipc.sub: Likewise.
26436 * mach/err_mach.sub: Likewise.
26438 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26439 (ROUNDING_TESTS_double): Likewise.
26440 (ROUNDING_TESTS_long_double): Likewise.
26441 (ROUNDING_TESTS): Likewise.
26442 * math/libm-test.inc: Include <math-tests.h>.
26443 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26444 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26445 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26446 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26448 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26450 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26453 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26455 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26456 otherwise empty TRANS lines.
26457 * sysdeps/gnu/errlist.c: Regenerated.
26459 * catgets/gencat.c (error_print): Use (void) in function
26461 * crypt/crypt_util.c (__init_des): Likewise.
26462 * crypt/speeds.c (Stop): Likewise.
26464 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26465 * inet/ruserpass.c (token): Likewise.
26466 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26467 * intl/localealias.c (extend_alias_table): Likewise.
26468 * intl/plural-exp.c (init_germanic_plural): Likewise.
26469 * libio/fcloseall.c (__fcloseall): Likewise.
26470 * libio/genops.c (_IO_flush_all): Likewise.
26471 (_IO_flush_all_linebuffered): Likewise.
26472 (_IO_cleanup): Likewise.
26473 (_IO_iter_begin): Likewise.
26474 (_IO_iter_end): Likewise.
26475 (_IO_list_lock): Likewise.
26476 (_IO_list_unlock): Likewise.
26477 (_IO_list_resetlock): Likewise.
26478 * libio/getchar.c (getchar): Likewise.
26479 * libio/getchar_u.c (getchar_unlocked): Likewise.
26480 * libio/getwchar.c (getwchar): Likewise.
26481 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26482 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26483 * login/getpt.c (__getpt): Likewise.
26484 * login/tst-utmp.c (main): Likewise.
26485 * malloc/hooks.c (__malloc_check_init): Likewise.
26486 * malloc/malloc.c (__malloc_stats): Likewise.
26487 * malloc/mtrace.c (tr_break): Likewise.
26488 (mtrace): Likewise.
26489 (muntrace): Likewise.
26490 * misc/fstab.c (endfsent): Likewise.
26491 * misc/getclktck.c (__getclktck): Likewise.
26492 * misc/getdtsz.c (__getdtablesize): Likewise.
26493 * misc/gethostid.c (gethostid): Likewise.
26494 * misc/getpagesize.c (__getpagesize): Likewise.
26495 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26496 (__get_nprocs): Likewise.
26497 (__get_phys_pages): Likewise.
26498 (__get_avphys_pages): Likewise.
26499 * misc/getttyent.c (getttyent): Likewise.
26500 (setttyent): Likewise.
26501 (endttyent): Likewise.
26502 * misc/getusershell.c (getusershell): Likewise.
26503 (endusershell): Likewise.
26504 (setusershell): Likewise.
26505 (initshells): Likewise.
26506 * misc/hsearch.c (__hdestroy): Likewise.
26507 * misc/sync.c (sync): Likewise.
26508 * misc/syslog.c (closelog_internal): Likewise.
26509 (closelog): Likewise.
26510 * misc/ttyslot.c (ttyslot): Likewise.
26511 * misc/vhangup.c (vhangup): Likewise.
26512 * posix/fork.c (__fork): Likewise.
26513 * posix/getegid.c (__getegid): Likewise.
26514 * posix/geteuid.c (__geteuid): Likewise.
26515 * posix/getgid.c (__getgid): Likewise.
26516 * posix/getpid.c (__getpid): Likewise.
26517 * posix/getppid.c (__getppid): Likewise.
26518 * posix/getuid.c (__getuid): Likewise.
26519 * posix/pause.c (pause): Likewise.
26520 * posix/setpgrp.c (setpgrp): Likewise.
26521 * posix/setsid.c (__setsid): Likewise.
26522 * posix/test-vfork.c (noop): Likewise.
26523 * resolv/gethnamaddr.c (_endhtent): Likewise.
26524 (_gethtent): Likewise.
26525 (ht_endhostent): Likewise.
26526 (gethostent): Likewise.
26527 (dns_service): Likewise.
26528 * stdlib/drand48.c (drand48): Likewise.
26529 * stdlib/lrand48.c (lrand48): Likewise.
26530 * stdlib/mrand48.c (mrand48): Likewise.
26531 * stdlib/rand.c (rand): Likewise.
26532 * stdlib/random.c (__random): Likewise.
26533 * stdlib/setenv.c (clearenv): Likewise.
26534 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26535 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26536 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26537 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26538 (__get_nprocs): Likewise.
26539 (__get_phys_pages): Likewise.
26540 (__get_avphys_pages): Likewise.
26541 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26542 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26543 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26544 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26545 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26546 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26547 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26548 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26549 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26550 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26551 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26552 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26553 * sysdeps/posix/clock.c (clock): Likewise.
26554 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26555 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26556 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26557 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26558 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26559 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26560 (__get_nprocs_conf): Likewise.
26561 (__get_phys_pages): Likewise.
26562 (__get_avphys_pages): Likewise.
26563 * time/clock.c (clock): Likewise.
26564 * time/tzset.c (__tzname_max): Likewise.
26566 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26568 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26569 (__bswap_32): Do not use "register".
26570 * crypt/crypt.c (_ufc_doit_r): Likewise.
26571 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26572 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26573 * gmon/gmon.c (__monstartup): Likewise.
26574 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26575 * hurd/hurdmalloc.c (more_memory): Likewise.
26576 (malloc): Likewise.
26578 (realloc): Likewise.
26579 (malloc_fork_prepare): Likewise.
26580 (malloc_fork_parent): Likewise.
26581 (malloc_fork_child): Likewise.
26582 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26583 (_svcauth_des): Likewise.
26584 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26585 * inet/inet_net.c (inet_network): Likewise.
26586 * inet/inet_netof.c (inet_netof): Likewise.
26587 * inet/rcmd.c (__validuser2_sa): Likewise.
26588 * io/fts.c (fts_open): Likewise.
26589 (fts_load): Likewise.
26590 (fts_close): Likewise.
26591 (fts_read): Likewise.
26592 (fts_children): Likewise.
26593 (fts_build): Likewise.
26594 (fts_stat): Likewise.
26595 (fts_sort): Likewise.
26596 (fts_alloc): Likewise.
26597 (fts_lfree): Likewise.
26598 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26599 (_IO_file_xsgetn): Likewise.
26600 (_IO_file_xsgetn_mmap): Likewise.
26601 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26602 (_IO_cookie_write): Likewise.
26603 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26604 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26605 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26606 * malloc/obstack.c (_obstack_begin): Likewise.
26607 (_obstack_begin_1): Likewise.
26608 (_obstack_newchunk): Likewise.
26609 (_obstack_allocated_p): Likewise.
26610 (obstack_free): Likewise.
26611 (_obstack_memory_used): Likewise.
26612 * misc/getttyent.c (getttynam): Likewise.
26613 (getttyent): Likewise.
26616 * misc/getusershell.c (initshells): Likewise.
26617 * misc/syslog.c (__vsyslog_chk): Likewise.
26618 * misc/ttyslot.c (ttyslot): Likewise.
26619 * nis/nis_hash.c (__nis_hash): Likewise.
26620 * posix/fnmatch_loop.c (FCT): Likewise.
26621 * posix/getconf.c (print_all): Likewise.
26623 * posix/getopt.c (exchange): Likewise.
26624 * posix/glob.c (globfree): Likewise.
26625 (prefix_array): Likewise.
26626 (__glob_pattern_type): Likewise.
26627 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26628 (NS_GET32): Likewise.
26629 (NS_PUT16): Likewise.
26630 (NS_PUT32): Likewise.
26631 * resolv/gethnamaddr.c (getanswer): Likewise.
26632 (gethostbyname2): Likewise.
26633 (gethostbyaddr): Likewise.
26634 (_gethtent): Likewise.
26635 (_gethtbyname2): Likewise.
26636 (_gethtbyaddr): Likewise.
26637 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26638 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26639 * resolv/res_init.c (__res_vinit): Likewise.
26640 (net_mask): Likewise.
26641 * resolv/res_mkquery.c (outchar): Likewise.
26643 * stdio-common/printf_fp.c (outchar): Likewise.
26645 * stdio-common/printf_fphex.c (outchar): Likewise.
26647 * stdio-common/printf_size.c (outchar): Likewise.
26649 * stdio-common/test_rdwr.c (main): Likewise.
26650 * stdio-common/tfformat.c (matches): Likewise.
26651 * stdio-common/vfprintf.c (outchar): Likewise.
26652 (printf_unknown): Likewise.
26653 (buffered_vfprintf): Likewise.
26654 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26655 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26656 (ReadFile): Likewise.
26657 * stdlib/qsort.c (SWAP): Likewise.
26658 (_quicksort): Likewise.
26659 * stdlib/setenv.c (__add_to_environ): Likewise.
26660 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26661 * stdlib/strtol_l.c (__strtol_l): Likewise.
26662 * stdlib/tst-strtod.c (main): Likewise.
26663 * stdlib/tst-strtol.c (main): Likewise.
26664 * stdlib/tst-strtoll.c (main): Likewise.
26665 * string/bits/string2.h (__strcmp_cc): Likewise.
26666 (__strcmp_cg): Likewise.
26667 (__strcspn_c1): Likewise.
26668 (__strcspn_c2): Likewise.
26669 (__strcspn_c3): Likewise.
26670 (__strspn_c1): Likewise.
26671 (__strspn_c2): Likewise.
26672 (__strspn_c3): Likewise.
26673 (__strsep_1c): Likewise.
26674 (__strsep_2c): Likewise.
26675 (__strsep_3c): Likewise.
26676 * string/memccpy.c (__memccpy): Likewise.
26677 * string/stpcpy.c (__stpcpy): Likewise.
26678 * string/strcmp.c (strcmp): Likewise.
26679 * string/strrchr.c (strrchr): Likewise.
26680 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26682 * sysdeps/mach/hurd/getcwd.c
26683 (_hurd_canonicalize_directory_name_internal): Likewise.
26684 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26685 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26686 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26687 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26688 Likewise, in both definitions.
26689 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26691 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26692 64] (__bswap_64): Likewise.
26693 * time/test_time.c (main): Likewise.
26694 * time/tzfile.c (__tzfile_read): Likewise.
26695 (__tzfile_compute): Likewise.
26696 * time/tzset.c (__tzset_parse_tz): Likewise.
26697 (tzset_internal): Likewise.
26698 (compute_change): Likewise.
26699 * wcsmbs/wcscat.c (__wcscat): Likewise.
26700 * wcsmbs/wcschr.c (wcschr): Likewise.
26701 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26702 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26703 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26704 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26705 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26706 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26707 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26708 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26709 * wcsmbs/wmemset.c (wmemset): Likewise.
26711 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26713 * scripts/config.guess: Update to version 2013-05-16.
26714 * scripts/config.sub: Update to version 2013-04-24.
26715 * scripts/install-sh: Update to version 2011-11-20.07.
26716 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26717 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26719 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26721 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26722 * elf/sln.c: Likewise.
26723 * hurd/hurd/ioctl.h: Likewise.
26724 * hurd/hurdmalloc.c: Likewise.
26725 * hurd/xattr.c: Likewise.
26726 * include/shlib-compat.h: Likewise.
26727 * inet/ruserpass.c: Likewise.
26728 * libio/iofgets_u.c: Likewise.
26729 * libio/iofgetws_u.c: Likewise.
26730 * locale/programs/ld-identification.c: Likewise.
26731 * locale/programs/ld-time.c: Likewise.
26732 * mach/msg-destroy.c: Likewise.
26733 * nss/nss_files/files-netgrp.c: Likewise.
26734 * resolv/res_data.c: Likewise.
26735 * soft-fp/op-1.h: Likewise.
26736 * soft-fp/op-2.h: Likewise.
26737 * soft-fp/op-4.h: Likewise.
26738 * soft-fp/op-common.h: Likewise.
26739 * stdio-common/printf_fphex.c: Likewise.
26740 * stdlib/strtod_l.c: Likewise.
26741 * sunrpc/rpc/clnt.h: Likewise.
26742 * sysdeps/generic/framestate.c: Likewise.
26743 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26744 * sysdeps/i386/bsd-setjmp.S: Likewise.
26745 * sysdeps/i386/__longjmp.S: Likewise.
26746 * sysdeps/i386/setjmp.S: Likewise.
26747 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26748 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26749 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26757 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26765 * sysdeps/ieee754/support.c: Likewise.
26766 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26767 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26768 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26769 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26770 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26771 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26772 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26773 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26774 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26775 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26776 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26777 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26778 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26779 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26780 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26781 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26782 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26785 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26787 * posix/transbug.c: Remove executable mode.
26789 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26791 * crypt/speeds.c: Remove trailing whitespace.
26792 * dlfcn/default.c: Likewise.
26793 * elf/ifuncdep2.c: Likewise.
26794 * elf/ifuncmain1.c: Likewise.
26795 * elf/ifuncmain1vis.c: Likewise.
26796 * elf/testobj.h: Likewise.
26797 * elf/tst-stackguard1.c: Likewise.
26798 * gmon/sys/gmon.h: Likewise.
26799 * hurd/hurdmsg.c: Likewise.
26800 * hurd/new-fd.c: Likewise.
26801 * hurd/ports-get.c: Likewise.
26802 * iconvdata/ibm1008_420.c: Likewise.
26803 * inet/tst-getni1.c: Likewise.
26804 * inet/tst-getni2.c: Likewise.
26805 * libio/ioungetc.c: Likewise.
26806 * libio/wfiledoalloc.c: Likewise.
26807 * manual/libm-err-tab.pl: Likewise.
26808 * math/w_dremf.c: Likewise.
26809 * misc/ftruncate.c: Likewise.
26810 * posix/bug-glob2.c: Likewise.
26811 * posix/tst-pcre.c: Likewise.
26812 * posix/wait4.c: Likewise.
26813 * resolv/README: Likewise.
26814 * resolv/res_debug.h: Likewise.
26815 * resolv/tst-inet_ntop.c: Likewise.
26816 * setjmp/bug269-setjmp.c: Likewise.
26817 * soft-fp/extended.h: Likewise.
26818 * soft-fp/op-1.h: Likewise.
26819 * soft-fp/op-2.h: Likewise.
26820 * soft-fp/op-4.h: Likewise.
26821 * soft-fp/op-8.h: Likewise.
26822 * soft-fp/testit.c: Likewise.
26823 * stdio-common/bug16.c: Likewise.
26824 * stdlib/random.c: Likewise.
26825 * sunrpc/rpcsvc/rquota.x: Likewise.
26826 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26827 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26828 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26829 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26830 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26831 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26832 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26833 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26834 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26835 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26836 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26837 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26838 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26839 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26840 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26841 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26842 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26843 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26844 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26845 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26846 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26847 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26848 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26849 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26850 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26851 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26852 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26854 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26855 * sysdeps/ieee754/s_lib_version.c: Likewise.
26856 * sysdeps/mach/hurd/check_fds.c: Likewise.
26857 * sysdeps/mach/hurd/getsockname.c: Likewise.
26858 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26859 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26860 * sysdeps/powerpc/bits/link.h: Likewise.
26861 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26862 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26863 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26864 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26865 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26866 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26867 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26868 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26869 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26870 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26871 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26872 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26873 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26874 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26875 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26876 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26877 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26878 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26879 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26880 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26881 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26882 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26883 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26884 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26885 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26886 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26887 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26888 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26889 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26890 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26891 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26892 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26893 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26894 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26895 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26896 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26897 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26898 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26899 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26900 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26901 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26902 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26903 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26904 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26905 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26906 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26907 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26908 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26909 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26910 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26913 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26914 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26915 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26916 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26917 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26918 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26919 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26920 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26921 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26922 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26923 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26924 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26925 * sysdeps/powerpc/sysdep.h: Likewise.
26926 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26927 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26928 * sysdeps/sh/dl-trampoline.S: Likewise.
26929 * sysdeps/sh/memset.S: Likewise.
26930 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26931 * sysdeps/sh/strlen.S: Likewise.
26932 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26933 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26934 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26935 * sysdeps/sparc/sparc32/rem.S: Likewise.
26936 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26937 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26938 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26939 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26940 * sysdeps/sparc/sparc32/urem.S: Likewise.
26941 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26942 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26943 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26944 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26945 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26946 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26947 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26948 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26949 * sysdeps/unix/bsd/times.c: Likewise.
26950 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26951 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26955 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26956 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26957 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26958 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26959 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26960 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26961 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26962 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26963 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26964 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26965 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26966 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26967 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26968 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26969 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26970 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26971 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26972 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26973 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26974 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26975 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26976 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26977 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26978 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26979 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26980 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26981 * sysdeps/x86_64/strcspn.S: Likewise.
26983 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26985 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26986 generated file. Regenerate properly from gen-translit.pl.
26987 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26988 locale/C-translit.h.
26990 2013-06-05 Andreas Schwab <schwab@suse.de>
26993 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26994 week as 6 instead of -1.
26995 * time/tst-strptime.c (day_tests): Add test case.
26997 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26999 * sysdeps/generic/math_private.h
27000 (libc_feholdexcept_setround_53bit): Replace with
27001 libc_feholdsetround_53bit.
27002 (libc_feupdateenv_53bit): Replace with
27003 libc_feresetround_53bit.
27004 (SET_RESTORE_ROUND_53BIT): Adjust.
27006 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27008 * string/test-strchrnul.c: Add copyright header.
27010 * posix/tst-getaddrinfo4.c: Increase test timeout.
27012 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27015 * math/libm-test.inc (MAX_EXP): Remove
27017 (ulp): Use MIN_EXP - MANT_DIG.
27018 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27020 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27022 * po/be.po: Revert last change.
27023 * po/zh_CN.po: Likewise.
27024 * po/header.pot: Likewise.
27026 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27028 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27029 link-libc-deps to empty as target-specific variable.
27030 * Makerules (link-libc-args): New variable.
27031 (libc-for-link): Likewise.
27032 (link-libc-deps): Likewise.
27033 (lib%.so): Depend on $(link-libc-deps). Link with
27035 (build-module): Link with $(link-libc-args).
27036 (build-module-asneeded): Likewise.
27037 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27039 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27040 target-specific variable.
27041 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27042 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27043 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27045 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27047 ($(objpfx)libpcprofile.so): Likewise.
27048 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27050 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27051 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27052 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27054 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27055 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27056 * login/Makefile ($(objpfx)libutil.so): Likewise.
27057 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27058 * math/Makefile ($(objpfx)libm.so): Likewise.
27059 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27060 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27061 variable instead of depending directly on libc.
27062 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27063 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27065 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27067 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27068 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27069 ($(objpfx)libanl.so): Likewise.
27070 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27072 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27074 * sysdeps/i386/fpu/Makefile: Remove file.
27075 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27076 ($(objpfx)libm.so): Remove dependency on ld.so.
27078 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27081 * nis/yp_xdr.c (XDRMAXNAME): Define.
27082 (XDRMAXRECORD): Define.
27083 (xdr_domainname): Use XDRMAXNAME.
27084 (xdr_mapname): Likewise.
27085 (xdr_peername): Likewise.
27086 (xdr_keydat): Use XDRMAXRECORD.
27087 (xdr_valdat): Likewise.
27089 2013-05-30 Jeff Law <law@redhat.com>
27092 * manual/errno.texi (ESTALE): Update to account for more than
27093 just NFS file systems.
27094 * sysdeps/gnu/errlist.c: Regenerated.
27096 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27099 * elf/Makefile (tests): Add tst-null-argv.
27100 (modules-names): Add tst-null-argv-lib.
27101 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27102 (tst-null-argv-ENV): Set environment for tst-null-argv.
27103 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27104 (RTLD_PROGNAME): New macro.
27105 * elf/tst-null-argv.c: New test case.
27106 * elf/tst-null-argv-lib.c: Library for test case.
27107 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27108 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27109 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27110 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27111 * elf/dl-init.c (call_init): Likewise.
27112 (_dl_init): Likewise.
27113 * elf/dl-load.c (print_search_path): Likewise.
27114 (_dl_map_object): Likewise.
27115 * elf/dl-lookup.c (do_lookup_x): Likewise.
27116 (add_dependency): Likewise.
27117 (_dl_lookup_symbol_x): Likewise.
27118 (_dl_debug_bindings): Likewise.
27119 * elf/dl-open.c (_dl_show_scope): Likewise.
27120 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27121 * elf/dl-version.c (match_symbol): Likewise.
27122 (_dl_check_map_versions): Likewise.
27123 * elf/rtld.c (dl_main): Likewise.
27124 (print_unresolved): Use RTLD_PROGNAME.
27125 (print_missing_version): Likewise.
27126 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27127 (elf_machine_rela): Likewise.
27128 * sysdeps/powerpc/powerpc32/dl-machine.c
27129 (__process_machine_rela): Likewise.
27130 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27132 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27134 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27136 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27137 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27139 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27141 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27143 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27145 * po/be.po: Add descriptive title.
27146 * po/zh_CN.po: Likewise.
27147 * po/header.pot: Likewise.
27149 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27151 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27153 (enlarge_archive): Likewise.
27155 2013-05-28 Ben North <ben@redfrontdoor.org>
27157 * manual/arith.texi (frexp): It is the magnitude of the return
27158 value which lies in [0.5, 1), not the return value itself.
27160 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27164 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27166 * stdio-common/bug26.c (main): Correct fscanf template.
27168 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27169 declare _dl_skip_args.
27171 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27174 * manual/platform.texi: Add missing @end deftypefun.
27176 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27179 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27180 bit of mantissa of 2^16382.
27181 * math/libm-test.inc (hypot_test_data): Add more tests.
27183 * math/libm-test.inc: Add drem and pow10 to list of tested
27185 (pow10_test): New function.
27186 (drem_test): Likewise.
27187 (drem_test_tonearest): Likewise.
27188 (drem_test_towardzero): Likewise.
27189 (drem_test_downward): Likewise.
27190 (drem_test_upward): Likewise.
27191 (main): Call the new functions.
27193 * math/libm-test.inc (finite_test_data): Remove.
27194 (finite_test): Run tests from isfinite_test_data.
27195 (gamma_test_data): Remove.
27196 (gamma_test): Run tests from lgamma_test_data.
27197 * sysdeps/i386/fpu/libm-test-ulps: Update.
27198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27200 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27202 * manual/platform.texi: Add PowerPC PPR function set documentation.
27203 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27206 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27208 * math/libm-test.inc (MAX_EXP): Define.
27210 (ulp): New function.
27211 (check_float_internal): Use ULPDIFF.
27212 (cpow_test): Disable failing test.
27213 (check_ulp): Test ulp() implemetnation.
27214 (main): Call check_ulp before starting tests.
27216 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27218 * math/gen-libm-test.pl (generate_testfile): Do not handle
27219 START_DATA and END_DATA.
27220 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27222 (acos_tonearest_test_data): Likewise.
27223 (acos_towardzero_test_data): Likewise.
27224 (acos_downward_test_data): Likewise.
27225 (acos_upward_test_data): Likewise.
27226 (acosh_test_data): Likewise.
27227 (asin_test_data): Likewise.
27228 (asin_tonearest_test_data): Likewise.
27229 (asin_towardzero_test_data): Likewise.
27230 (asin_downward_test_data): Likewise.
27231 (asin_upward_test_data): Likewise.
27232 (asinh_test_data): Likewise.
27233 (atan_test_data): Likewise.
27234 (atanh_test_data): Likewise.
27235 (atan2_test_data): Likewise.
27236 (cabs_test_data): Likewise.
27237 (cacos_test_data): Likewise.
27238 (cacosh_test_data): Likewise.
27239 (carg_test_data): Likewise.
27240 (casin_test_data): Likewise.
27241 (casinh_test_data): Likewise.
27242 (catan_test_data): Likewise.
27243 (catanh_test_data): Likewise.
27244 (cbrt_test_data): Likewise.
27245 (ccos_test_data): Likewise.
27246 (ccosh_test_data): Likewise.
27247 (ceil_test_data): Likewise.
27248 (cexp_test_data): Likewise.
27249 (cimag_test_data): Likewise.
27250 (clog_test_data): Likewise.
27251 (clog10_test_data): Likewise.
27252 (conj_test_data): Likewise.
27253 (copysign_test_data): Likewise.
27254 (cos_test_data): Likewise.
27255 (cos_tonearest_test_data): Likewise.
27256 (cos_towardzero_test_data): Likewise.
27257 (cos_downward_test_data): Likewise.
27258 (cos_upward_test_data): Likewise.
27259 (cosh_test_data): Likewise.
27260 (cosh_tonearest_test_data): Likewise.
27261 (cosh_towardzero_test_data): Likewise.
27262 (cosh_downward_test_data): Likewise.
27263 (cosh_upward_test_data): Likewise.
27264 (cpow_test_data): Likewise.
27265 (cproj_test_data): Likewise.
27266 (creal_test_data): Likewise.
27267 (csin_test_data): Likewise.
27268 (csinh_test_data): Likewise.
27269 (csqrt_test_data): Likewise.
27270 (ctan_test_data): Likewise.
27271 (ctan_tonearest_test_data): Likewise.
27272 (ctan_towardzero_test_data): Likewise.
27273 (ctan_downward_test_data): Likewise.
27274 (ctan_upward_test_data): Likewise.
27275 (ctanh_test_data): Likewise.
27276 (ctanh_tonearest_test_data): Likewise.
27277 (ctanh_towardzero_test_data): Likewise.
27278 (ctanh_downward_test_data): Likewise.
27279 (ctanh_upward_test_data): Likewise.
27280 (erf_test_data): Likewise.
27281 (erfc_test_data): Likewise.
27282 (exp_test_data): Likewise.
27283 (exp_tonearest_test_data): Likewise.
27284 (exp_towardzero_test_data): Likewise.
27285 (exp_downward_test_data): Likewise.
27286 (exp_upward_test_data): Likewise.
27287 (exp10_test_data): Likewise.
27288 (exp2_test_data): Likewise.
27289 (expm1_test_data): Likewise.
27290 (fabs_test_data): Likewise.
27291 (fdim_test_data): Likewise.
27292 (finite_test_data): Likewise.
27293 (floor_test_data): Likewise.
27294 (fma_test_data): Likewise.
27295 (fma_towardzero_test_data): Likewise.
27296 (fma_downward_test_data): Likewise.
27297 (fma_upward_test_data): Likewise.
27298 (fmax_test_data): Likewise.
27299 (fmin_test_data): Likewise.
27300 (fmod_test_data): Likewise.
27301 (fpclassify_test_data): Likewise.
27302 (frexp_test_data): Likewise.
27303 (gamma_test_data): Likewise.
27304 (hypot_test_data): Likewise.
27305 (ilogb_test_data): Likewise.
27306 (isfinite_test_data): Likewise.
27307 (isgreater_test_data): Likewise.
27308 (isgreaterequal_test_data): Likewise.
27309 (isinf_test_data): Likewise.
27310 (isless_test_data): Likewise.
27311 (islessequal_test_data): Likewise.
27312 (islessgreater_test_data): Likewise.
27313 (isnan_test_data): Likewise.
27314 (isnormal_test_data): Likewise.
27315 (issignaling_test_data): Likewise.
27316 (isunordered_test_data): Likewise.
27317 (j0_test_data): Likewise.
27318 (j1_test_data): Likewise.
27319 (jn_test_data): Likewise.
27320 (ldexp_test_data): Likewise.
27321 (lgamma_test_data): Likewise.
27322 (lrint_test_data): Likewise.
27323 (lrint_tonearest_test_data): Likewise.
27324 (lrint_towardzero_test_data): Likewise.
27325 (lrint_downward_test_data): Likewise.
27326 (lrint_upward_test_data): Likewise.
27327 (llrint_test_data): Likewise.
27328 (llrint_tonearest_test_data): Likewise.
27329 (llrint_towardzero_test_data): Likewise.
27330 (llrint_downward_test_data): Likewise.
27331 (llrint_upward_test_data): Likewise.
27332 (log_test_data): Likewise.
27333 (log10_test_data): Likewise.
27334 (log1p_test_data): Likewise.
27335 (log2_test_data): Likewise.
27336 (logb_test_data): Likewise.
27337 (logb_downward_test_data): Likewise.
27338 (lround_test_data): Likewise.
27339 (llround_test_data): Likewise.
27340 (modf_test_data): Likewise.
27341 (nearbyint_test_data): Likewise.
27342 (nextafter_test_data): Likewise.
27343 (nexttoward_test_data): Likewise.
27344 (pow_test_data): Likewise.
27345 (pow_tonearest_test_data): Likewise.
27346 (pow_towardzero_test_data): Likewise.
27347 (pow_downward_test_data): Likewise.
27348 (pow_upward_test_data): Likewise.
27349 (remainder_test_data): Likewise.
27350 (remainder_tonearest_test_data): Likewise.
27351 (remainder_towardzero_test_data): Likewise.
27352 (remainder_downward_test_data): Likewise.
27353 (remainder_upward_test_data): Likewise.
27354 (remquo_test_data): Likewise.
27355 (rint_test_data): Likewise.
27356 (rint_tonearest_test_data): Likewise.
27357 (rint_towardzero_test_data): Likewise.
27358 (rint_downward_test_data): Likewise.
27359 (rint_upward_test_data): Likewise.
27360 (round_test_data): Likewise.
27361 (scalb_test_data): Likewise.
27362 (scalbn_test_data): Likewise.
27363 (scalbln_test_data): Likewise.
27364 (signbit_test_data): Likewise.
27365 (sin_test_data): Likewise.
27366 (sin_tonearest_test_data): Likewise.
27367 (sin_towardzero_test_data): Likewise.
27368 (sin_downward_test_data): Likewise.
27369 (sin_upward_test_data): Likewise.
27370 (sincos_test_data): Likewise.
27371 (sinh_test_data): Likewise.
27372 (sinh_tonearest_test_data): Likewise.
27373 (sinh_towardzero_test_data): Likewise.
27374 (sinh_downward_test_data): Likewise.
27375 (sinh_upward_test_data): Likewise.
27376 (sqrt_test_data): Likewise.
27377 (tan_test_data): Likewise.
27378 (tan_tonearest_test_data): Likewise.
27379 (tan_towardzero_test_data): Likewise.
27380 (tan_downward_test_data): Likewise.
27381 (tan_upward_test_data): Likewise.
27382 (tanh_test_data): Likewise.
27383 (tgamma_test_data): Likewise.
27384 (trunc_test_data): Likewise.
27385 (y0_test_data): Likewise.
27386 (y1_test_data): Likewise.
27387 (yn_test_data): Likewise.
27388 (significand_test_data): Likewise.
27390 * math/gen-libm-test.pl (@functions): Remove variable.
27391 (generate_testfile): Don't handle START and END lines.
27392 * math/libm-test.inc (START): New macro.
27394 (END_COMPLEX): Likewise.
27395 (acos_test): Use END macro without arguments.
27396 (acos_test_tonearest): Likewise.
27397 (acos_test_towardzero): Likewise.
27398 (acos_test_downward): Likewise.
27399 (acos_test_upward): Likewise.
27400 (acosh_test): Likewise.
27401 (asin_test): Likewise.
27402 (asin_test_tonearest): Likewise.
27403 (asin_test_towardzero): Likewise.
27404 (asin_test_downward): Likewise.
27405 (asin_test_upward): Likewise.
27406 (asinh_test): Likewise.
27407 (atan_test): Likewise.
27408 (atanh_test): Likewise.
27409 (atan2_test): Likewise.
27410 (cabs_test): Likewise.
27411 (cacos_test): Use END_COMPLEX macro without arguments.
27412 (cacosh_test): Likewise.
27413 (carg_test): Use END macro without arguments.
27414 (casin_test): Use END_COMPLEX macro without arguments.
27415 (casinh_test): Likewise.
27416 (catan_test): Likewise.
27417 (catanh_test): Likewise.
27418 (cbrt_test): Use END macro without arguments.
27419 (ccos_test): Use END_COMPLEX macro without arguments.
27420 (ccosh_test): Likewise.
27421 (ceil_test): Use END macro without arguments.
27422 (cexp_test): Use END_COMPLEX macro without arguments.
27423 (cimag_test): Use END macro without arguments.
27424 (clog_test): Use END_COMPLEX macro without arguments.
27425 (clog10_test): Likewise.
27426 (conj_test): Likewise.
27427 (copysign_test): Use END macro without arguments.
27428 (cos_test): Likewise.
27429 (cos_test_tonearest): Likewise.
27430 (cos_test_towardzero): Likewise.
27431 (cos_test_downward): Likewise.
27432 (cos_test_upward): Likewise.
27433 (cosh_test): Likewise.
27434 (cosh_test_tonearest): Likewise.
27435 (cosh_test_towardzero): Likewise.
27436 (cosh_test_downward): Likewise.
27437 (cosh_test_upward): Likewise.
27438 (cpow_test): Use END_COMPLEX macro without arguments.
27439 (cproj_test): Likewise.
27440 (creal_test): Use END macro without arguments.
27441 (csin_test): Use END_COMPLEX macro without arguments.
27442 (csinh_test): Likewise.
27443 (csqrt_test): Likewise.
27444 (ctan_test): Likewise.
27445 (ctan_test_tonearest): Likewise.
27446 (ctan_test_towardzero): Likewise.
27447 (ctan_test_downward): Likewise.
27448 (ctan_test_upward): Likewise.
27449 (ctanh_test): Likewise.
27450 (ctanh_test_tonearest): Likewise.
27451 (ctanh_test_towardzero): Likewise.
27452 (ctanh_test_downward): Likewise.
27453 (ctanh_test_upward): Likewise.
27454 (erf_test): Use END macro without arguments.
27455 (erfc_test): Likewise.
27456 (exp_test): Likewise.
27457 (exp_test_tonearest): Likewise.
27458 (exp_test_towardzero): Likewise.
27459 (exp_test_downward): Likewise.
27460 (exp_test_upward): Likewise.
27461 (exp10_test): Likewise.
27462 (exp2_test): Likewise.
27463 (expm1_test): Likewise.
27464 (fabs_test): Likewise.
27465 (fdim_test): Likewise.
27466 (finite_test): Likewise.
27467 (floor_test): Likewise.
27468 (fma_test): Likewise.
27469 (fma_test_towardzero): Likewise.
27470 (fma_test_downward): Likewise.
27471 (fma_test_upward): Likewise.
27472 (fmax_test): Likewise.
27473 (fmin_test): Likewise.
27474 (fmod_test): Likewise.
27475 (fpclassify_test): Likewise.
27476 (frexp_test): Likewise.
27477 (gamma_test): Likewise.
27478 (hypot_test): Likewise.
27479 (ilogb_test): Likewise.
27480 (isfinite_test): Likewise.
27481 (isgreater_test): Likewise.
27482 (isgreaterequal_test): Likewise.
27483 (isinf_test): Likewise.
27484 (isless_test): Likewise.
27485 (islessequal_test): Likewise.
27486 (islessgreater_test): Likewise.
27487 (isnan_test): Likewise.
27488 (isnormal_test): Likewise.
27489 (issignaling_test): Likewise.
27490 (isunordered_test): Likewise.
27491 (j0_test): Likewise.
27492 (j1_test): Likewise.
27493 (jn_test): Likewise.
27494 (ldexp_test): Likewise.
27495 (lgamma_test): Likewise.
27496 (lrint_test): Likewise.
27497 (lrint_test_tonearest): Likewise.
27498 (lrint_test_towardzero): Likewise.
27499 (lrint_test_downward): Likewise.
27500 (lrint_test_upward): Likewise.
27501 (llrint_test): Likewise.
27502 (llrint_test_tonearest): Likewise.
27503 (llrint_test_towardzero): Likewise.
27504 (llrint_test_downward): Likewise.
27505 (llrint_test_upward): Likewise.
27506 (log_test): Likewise.
27507 (log10_test): Likewise.
27508 (log1p_test): Likewise.
27509 (log2_test): Likewise.
27510 (logb_test): Likewise.
27511 (logb_test_downward): Likewise.
27512 (lround_test): Likewise.
27513 (llround_test): Likewise.
27514 (modf_test): Likewise.
27515 (nearbyint_test): Likewise.
27516 (nextafter_test): Likewise.
27517 (nexttoward_test): Likewise.
27518 (pow_test): Likewise.
27519 (pow_test_tonearest): Likewise.
27520 (pow_test_towardzero): Likewise.
27521 (pow_test_downward): Likewise.
27522 (pow_test_upward): Likewise.
27523 (remainder_test): Likewise.
27524 (remainder_test_tonearest): Likewise.
27525 (remainder_test_towardzero): Likewise.
27526 (remainder_test_downward): Likewise.
27527 (remainder_test_upward): Likewise.
27528 (remquo_test): Likewise.
27529 (rint_test): Likewise.
27530 (rint_test_tonearest): Likewise.
27531 (rint_test_towardzero): Likewise.
27532 (rint_test_downward): Likewise.
27533 (rint_test_upward): Likewise.
27534 (round_test): Likewise.
27535 (scalb_test): Likewise.
27536 (scalbn_test): Likewise.
27537 (scalbln_test): Likewise.
27538 (signbit_test): Likewise.
27539 (sin_test): Likewise.
27540 (sin_test_tonearest): Likewise.
27541 (sin_test_towardzero): Likewise.
27542 (sin_test_downward): Likewise.
27543 (sin_test_upward): Likewise.
27544 (sincos_test): Likewise.
27545 (sinh_test): Likewise.
27546 (sinh_test_tonearest): Likewise.
27547 (sinh_test_towardzero): Likewise.
27548 (sinh_test_downward): Likewise.
27549 (sinh_test_upward): Likewise.
27550 (sqrt_test): Likewise.
27551 (tan_test): Likewise.
27552 (tan_test_tonearest): Likewise.
27553 (tan_test_towardzero): Likewise.
27554 (tan_test_downward): Likewise.
27555 (tan_test_upward): Likewise.
27556 (tanh_test): Likewise.
27557 (tgamma_test): Likewise.
27558 (trunc_test): Likewise.
27559 (y0_test): Likewise.
27560 (y1_test): Likewise.
27561 (yn_test): Likewise.
27562 (significand_test): Likewise.
27564 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27567 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27569 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27572 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27573 __ppc_mdoio and __ppc_mdoom.
27574 * manual/platform.texi: Document new functions __ppc_yield,
27575 __ppc_mdoio and __ppc_mdoom.
27577 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27579 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27580 (main): Mention "tls" pseudo-hwcap is legacy.
27581 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27583 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27585 * math/gen-libm-test.pl (parse_args): Output only string of
27586 arguments as text for test name, not full call or descriptions of
27587 tests for extra outputs.
27588 (generate_testfile): Do not pass function name to parse_args.
27589 Generate this_func variable from START.
27590 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27592 (struct test_ff_f_data): Likewise.
27593 (test_ff_f_data_nexttoward): Likewise.
27594 (struct test_fi_f_data): Likewise.
27595 (struct test_fl_f_data): Likewise.
27596 (struct test_if_f_data): Likewise.
27597 (struct test_fff_f_data): Likewise.
27598 (struct test_c_f_data): Likewise.
27599 (struct test_f_f1_data): Likewise. Remove field extra_name.
27600 (struct test_fF_f1_data): Likewise.
27601 (struct test_ffI_f1_data): Likewise.
27602 (struct test_c_c_data): Rename test_name field to arg_str.
27603 (struct test_cc_c_data): Likewise.
27604 (struct test_f_i_data): Likewise.
27605 (struct test_ff_i_data): Likewise.
27606 (struct test_f_l_data): Likewise.
27607 (struct test_f_L_data): Likewise.
27608 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27610 (COMMON_TEST_SETUP): New macro.
27611 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27612 (COMMON_TEST_CLEANUP): Likewise.
27613 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27614 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27616 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27617 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27619 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27620 (RUN_TEST_fff_f): Take argument string. Call new setup and
27622 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27623 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27625 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27626 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27628 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27629 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27631 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27632 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27634 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27635 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27637 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27638 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27640 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27641 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27643 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27644 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27646 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27647 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27649 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27650 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27652 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27653 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27655 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27656 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27658 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27659 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27661 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27662 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27664 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27665 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27667 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27669 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27671 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27672 to _sifields.sigfault.
27673 (si_addr_lsb): Define new macro.
27674 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27675 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27676 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27678 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27681 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27683 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27685 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27686 loading the domain.
27688 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27690 * math/gen-libm-test.pl (parse_args): Do not include expected
27691 result in test name.
27692 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27693 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27694 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27695 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27696 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27699 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27701 * benchtests/Makefile: Sort function entries.
27703 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27704 tanh, asinh, acosh, atanh.
27705 * benchtests/acos-inputs: New file.
27706 * benchtests/acosh-inputs: New file.
27707 * benchtests/asin-inputs: New file.
27708 * benchtests/asinh-inputs: New file.
27709 * benchtests/atanh-inputs: New file.
27710 * benchtests/cosh-inputs: New file.
27711 * benchtests/log-inputs: New file.
27712 * benchtests/sinh-inputs: New file.
27713 * benchtests/tanh-inputs: New file.
27715 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27718 * posix/tst-getaddrinfo4.c: New test.
27719 * posix/Makefile (tests): Add it.
27721 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27724 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27725 when no services were used.
27726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27727 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27729 2013-05-21 Andreas Schwab <schwab@suse.de>
27732 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27733 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27735 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27736 redundant variable declarations and reallocation of buffer when
27737 parsing as IPv6 address. Always set NSS status when called from
27738 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27739 buffer too small. Correct computation of needed size.
27740 * nss/Makefile (tests): Add test-digits-dots.
27741 * nss/test-digits-dots.c: New test.
27743 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27745 * benchtests/Makefile: Remove instructions for adding
27747 * benchtests/README: New file to explain how to execute and
27748 enhance the benchmark tests.
27750 2013-05-21 Andreas Schwab <schwab@suse.de>
27753 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27754 * setjmp/tst-sigsetjmp.c: New test.
27756 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27758 * sysdeps/x86_64/memset.S (memset): New implementation.
27759 (__bzero): Likewise.
27760 (__memset_tail): New function.
27762 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27764 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27765 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27766 __memcpy_sse2_unaligned ifunc selection.
27767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27768 Add memcpy-sse2-unaligned.S.
27769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27770 Add: __memcpy_sse2_unaligned.
27772 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27775 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27776 math_force_eval before restoring floating-point envrionment.
27777 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27780 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27782 (__nearbyintl): Use math_force_eval before restoring
27783 floating-point environment.
27784 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27786 * math/gen-libm-test.pl (special_functions): Remove.
27787 (parse_args): Don't handle TEST_extra. Handle functions with no
27789 * math/libm-test.inc (struct test_sincos_data): Replace with
27790 struct test_fFF_11_data.
27791 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27792 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27793 (sincos_test_data): Change element type to struct
27794 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27795 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27796 RUN_TEST_LOOP_sincos.
27797 * math/README.libm-test: Don't mention special handling of
27798 individual functions.
27799 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27801 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27802 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27803 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27806 * math/gen-libm-test.pl (get_variable): Remove function.
27807 (parse_args): Don't show pointer parameters to call in test
27808 names. Use "extra output N" in test names for extra outputs
27809 rather than naming variables.
27811 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27814 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27815 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27816 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27818 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27820 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27823 * math/gen-libm-test.pl (@tests): Remove variable.
27824 ($count): Likewise.
27825 (new_test): Remove function.
27826 (show_exceptions): New function.
27827 (special_functions): Use show_exceptions instead of new_test.
27828 (parse_args): Likewise.
27829 (generate_testfile): Pass only function name in generated call to
27830 print_max_error or print_complex_max_error.
27831 (get_ulps): Do not handle complex tests specially.
27832 (output_test): Rename to ...
27833 (get_all_ulps_for_test): ... this. Return a string rather than
27834 printing to a file. Require ulps to be present.
27835 (output_ulps): Generate arrays rather than #defines.
27836 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27837 (struct ulp_data): New type.
27838 (BUILD_COMPLEX_ULP): Remove macro.
27839 (compare_ulp_data): New function.
27840 (find_ulps): Likewise.
27841 (find_test_ulps): Likewise.
27842 (find_function_ulps): Likewise.
27843 (find_complex_function_ulps): Likewise.
27844 (print_max_error): Determine allowed ulps using
27845 find_function_ulps.
27846 (print_complex_max_error): Determine allowed ulps using
27847 find_complex_function_ulps.
27848 (check_float_internal): Determine max ulps using find_test_ulps.
27849 (check_float): Do not take max_ulp parameter. Update call to
27850 check_float_internal.
27851 (check_complex): Likewise.
27852 (check_int): Do not take max_ulp parameter.
27853 (check_long): Likewise.
27854 (check_bool): Likewise.
27855 (check_longlong): Likewise.
27856 (struct test_f_f_data): Remove max_ulp field.
27857 (struct test_ff_f_data): Likewise.
27858 (struct test_ff_f_data_nexttoward): Likewise.
27859 (struct test_fi_f_data): Likewise.
27860 (struct test_fl_f_data): Likewise.
27861 (struct test_if_f_data): Likewise.
27862 (struct test_fff_f_data): Likewise.
27863 (struct test_c_f_data): Likewise.
27864 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27865 (struct test_fF_f1_data): Likewise.
27866 (struct test_ffI_f1_data): Likewise.
27867 (struct test_c_c_data): Remove max_ulp field.
27868 (struct test_cc_c_data): Likewise.
27869 (struct test_f_i_data): Likewise.
27870 (struct test_ff_i_data): Likewise.
27871 (struct test_f_l_data): Likewise.
27872 (struct test_f_L_data): Likewise.
27873 (struct test_sincos_data): Likewise.
27874 (RUN_TEST_f_f): Do not handle ulps.
27875 (RUN_TEST_LOOP_f_f): Likewise.
27876 (RUN_TEST_2_f): Likewise.
27877 (RUN_TEST_LOOP_2_f): Likewise.
27878 (RUN_TEST_fff_f): Likewise.
27879 (RUN_TEST_LOOP_fff_f): Likewise.
27880 (RUN_TEST_c_f): Likewise.
27881 (RUN_TEST_LOOP_c_f): Likewise.
27882 (RUN_TEST_f_f1): Likewise.
27883 (RUN_TEST_LOOP_f_f1): Likewise.
27884 (RUN_TEST_fF_f1): Likewise.
27885 (RUN_TEST_LOOP_fF_f1): Likewise.
27886 (RUN_TEST_fI_f1): Likewise.
27887 (RUN_TEST_LOOP_fI_f1): Likewise.
27888 (RUN_TEST_ffI_f1): Likewise.
27889 (RUN_TEST_LOOP_ffI_f1): Likewise.
27890 (RUN_TEST_c_c): Likewise.
27891 (RUN_TEST_LOOP_c_c): Likewise.
27892 (RUN_TEST_cc_c): Likewise.
27893 (RUN_TEST_LOOP_cc_c): Likewise.
27894 (RUN_TEST_f_i): Likewise.
27895 (RUN_TEST_LOOP_f_i): Likewise.
27896 (RUN_TEST_f_i_tg): Likewise.
27897 (RUN_TEST_LOOP_f_i_tg): Likewise.
27898 (RUN_TEST_ff_i_tg): Likewise.
27899 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27900 (RUN_TEST_f_b): Likewise.
27901 (RUN_TEST_LOOP_f_b): Likewise.
27902 (RUN_TEST_f_b_tg): Likewise.
27903 (RUN_TEST_LOOP_f_b_tg): Likewise.
27904 (RUN_TEST_f_l): Likewise.
27905 (RUN_TEST_LOOP_f_l): Likewise.
27906 (RUN_TEST_f_L): Likewise.
27907 (RUN_TEST_LOOP_f_L): Likewise.
27908 (RUN_TEST_sincos): Likewise.
27909 (RUN_TEST_LOOP_sincos): Likewise.
27911 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27915 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27916 main case of finite arguments, set rounding mode to FE_TONEAREST
27917 and discard exceptions.
27918 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27920 (remainder_tonearest_test_data): New variable.
27921 (remainder_test_tonearest): New function.
27922 (remainder_towardzero_test_data): New variable.
27923 (remainder_test_towardzero): New function.
27924 (remainder_downward_test_data): New variable.
27925 (remainder_test_downward): New function.
27926 (remainder_upward_test_data): New variable.
27927 (remainder_test_upward): New function.
27928 (main): Call the new test functions.
27930 * math/libm-test.inc (struct test_f_f1_data): Remove field
27932 (struct test_fF_f1_data): Likewise.
27933 (struct test_ffI_f1_data): Likewise.
27934 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27935 based on value of EXTRA_EXPECTED.
27936 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27937 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27938 EXTRA_VAR based on value of EXTRA_EXPECTED.
27939 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27940 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27941 EXTRA_VAR based on value of EXTRA_EXPECTED.
27942 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27943 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27944 EXTRA_VAR based on value of EXTRA_EXPECTED.
27945 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27946 * math/gen-libm-test.pl (parse_args): Don't output initializers
27947 for extra output values.
27949 * math/libm-test.inc (check_int): Expect result to be exactly
27950 equal to expected value and do not handle ulps.
27951 (check_long): Likewise.
27952 (check_longlong): Likewise.
27954 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27956 (cimag_test_data): Likewise.
27957 (conj_test_data): Likewise.
27958 (copysign_test_data): Likewise.
27959 (cproj_test_data): Likewise.
27960 (creal_test_data): Likewise.
27961 (fabs_test_data): Likewise.
27962 (fdim_test_data): Likewise.
27963 (finite_test_data): Likewise.
27964 (floor_test_data): Likewise.
27965 (fmax_test_data): Likewise.
27966 (fmin_test_data): Likewise.
27967 (fmod_test_data): Likewise.
27968 (fpclassify_test_data): Likewise.
27969 (frexp_test_data): Likewise.
27970 (ilogb_test_data): Likewise.
27971 (isfinite_test_data): Likewise.
27972 (isgreater_test_data): Likewise.
27973 (isgreaterequal_test_data): Likewise.
27974 (isinf_test_data): Likewise.
27975 (isless_test_data): Likewise.
27976 (islessequal_test_data): Likewise.
27977 (islessgreater_test_data): Likewise.
27978 (isnan_test_data): Likewise.
27979 (isnormal_test_data): Likewise.
27980 (issignaling_test_data): Likewise.
27981 (isunordered_test_data): Likewise.
27982 (ldexp_test_data): Likewise.
27983 (lrint_test_data): Likewise.
27984 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27985 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27986 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27987 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27988 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27989 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27991 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27992 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27993 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27994 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27996 (lrint_downward_test_data): Test for "inexact" exceptions.
27997 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27998 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27999 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28001 (lrint_upward_test_data): Test for "inexact" exceptions.
28002 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28004 (llrint_test_data): Test for "inexact" exceptions.
28005 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28006 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28007 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28008 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28009 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28010 (llrint_downward_test_data): Test for "inexact" exceptions.
28011 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28012 (llrint_upward_test_data): Test for "inexact" exceptions.
28013 (logb_test_data): Likewise.
28014 (logb_downward_test_data): Likewise.
28015 (nextafter_test_data): Likewise.
28016 (nexttoward_test_data): Likewise.
28017 (remainder_test_data): Likewise.
28018 (remquo_test_data): Likewise.
28019 (scalbn_test_data): Likewise.
28020 (scalbln_test_data): Likewise.
28021 (signbit_test_data): Likewise.
28022 (sqrt_test_data): Likewise.
28023 (significand_test_data): Likewise.
28025 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28028 * benchtests/bench-modf.c (struct args): Mark arg0 as
28030 * scripts/bench.pl: Mark members of struct args as volatile.
28032 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28035 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28036 negative infinity on POWER6 or lower.
28037 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28039 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28042 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28043 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28044 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28045 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28046 (_FP_SETQNAN): New macro.
28047 (_FP_SETQNAN_SEMIRAW): Likewise.
28048 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28049 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28050 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28051 (FP_EXTEND): Use _FP_FRAC_SNANP.
28052 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28053 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28055 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28057 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28060 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28062 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28063 with DIVIDE_BY_ZERO_EXCEPTION.
28064 (gamma_test_data): Likewise.
28065 (lgamma_test_data): Likewise.
28066 (log_test_data): Likewise.
28067 (log10_test_data): Likewise.
28068 (log2_test_data): Likewise.
28069 (tgamma_test_data): Likewise.
28071 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28072 (acos_test_tonearest): Likewise.
28073 (acos_test_towardzero): Likewise.
28074 (acos_test_downward): Likewise.
28075 (acos_test_upward): Likewise.
28076 (acosh_test): Likewise.
28077 (asin_test): Likewise.
28078 (asin_test_tonearest): Likewise.
28079 (asin_test_towardzero): Likewise.
28080 (asin_test_downward): Likewise.
28081 (asin_test_upward): Likewise.
28082 (asinh_test): Likewise.
28083 (atan_test): Likewise.
28084 (atanh_test): Likewise.
28085 (atan2_test): Likewise.
28086 (cabs_test): Likewise.
28087 (cacos_test): Likewise.
28088 (cacosh_test): Likewise.
28089 (casin_test): Likewise.
28090 (casinh_test): Likewise.
28091 (catan_test): Likewise.
28092 (catanh_test): Likewise.
28093 (cbrt_test): Likewise.
28094 (ccos_test): Likewise.
28095 (ccosh_test): Likewise.
28096 (cexp_test): Likewise.
28097 (clog_test): Likewise.
28098 (clog10_test): Likewise.
28099 (cos_test): Likewise.
28100 (cos_test_tonearest): Likewise.
28101 (cos_test_towardzero): Likewise.
28102 (cos_test_downward): Likewise.
28103 (cos_test_upward): Likewise.
28104 (cosh_test): Likewise.
28105 (cosh_test_tonearest): Likewise.
28106 (cosh_test_towardzero): Likewise.
28107 (cosh_test_downward): Likewise.
28108 (cosh_test_upward): Likewise.
28109 (cpow_test): Likewise.
28110 (csin_test): Likewise.
28111 (csinh_test): Likewise.
28112 (csqrt_test): Likewise.
28113 (ctan_test): Likewise.
28114 (ctan_test_tonearest): Likewise.
28115 (ctan_test_towardzero): Likewise.
28116 (ctan_test_downward): Likewise.
28117 (ctan_test_upward): Likewise.
28118 (ctanh_test): Likewise.
28119 (ctanh_test_tonearest): Likewise.
28120 (ctanh_test_towardzero): Likewise.
28121 (ctanh_test_downward): Likewise.
28122 (ctanh_test_upward): Likewise.
28123 (erf_test): Likewise.
28124 (erfc_test): Likewise.
28125 (exp_test): Likewise.
28126 (exp_test_tonearest): Likewise.
28127 (exp_test_towardzero): Likewise.
28128 (exp_test_downward): Likewise.
28129 (exp_test_upward): Likewise.
28130 (exp10_test): Likewise.
28131 (exp2_test): Likewise.
28132 (expm1_test): Likewise.
28133 (fmod_test): Likewise.
28134 (gamma_test): Likewise.
28135 (hypot_test): Likewise.
28136 (j0_test): Likewise.
28137 (j1_test): Likewise.
28138 (jn_test): Likewise.
28139 (lgamma_test): Likewise.
28140 (log_test): Likewise.
28141 (log10_test): Likewise.
28142 (log1p_test): Likewise.
28143 (log2_test): Likewise.
28144 (logb_test_downward): Likewise.
28145 (pow_test): Likewise.
28146 (pow_test_tonearest): Likewise.
28147 (pow_test_towardzero): Likewise.
28148 (pow_test_downward): Likewise.
28149 (pow_test_upward): Likewise.
28150 (remainder_test): Likewise.
28151 (remquo_test): Likewise.
28152 (sin_test): Likewise.
28153 (sin_test_tonearest): Likewise.
28154 (sin_test_towardzero): Likewise.
28155 (sin_test_downward): Likewise.
28156 (sin_test_upward): Likewise.
28157 (sincos_test): Likewise.
28158 (sinh_test): Likewise.
28159 (sinh_test_tonearest): Likewise.
28160 (sinh_test_towardzero): Likewise.
28161 (sinh_test_downward): Likewise.
28162 (sinh_test_upward): Likewise.
28163 (sqrt_test): Likewise.
28164 (tan_test): Likewise.
28165 (tan_test_tonearest): Likewise.
28166 (tan_test_towardzero): Likewise.
28167 (tan_test_downward): Likewise.
28168 (tan_test_upward): Likewise.
28169 (tanh_test): Likewise.
28170 (tgamma_test): Likewise.
28171 (y0_test): Likewise.
28172 (y1_test): Likewise.
28173 (yn_test): Likewise.
28175 * math/gen-libm-test.pl (adjust_arg): Remove function.
28176 (special_function): Remove argument $in_func. Only handle
28177 generating output for tables of tests, not inside functions.
28178 (parse_args): Likewise.
28179 (generate_testfile): Remove variable $in_func. Update call to
28181 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28182 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28183 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28184 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28185 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28186 (MAX_VALUE_INIT): Rename macro to max_value.
28187 (MIN_VALUE_INIT): Rename macro to min_value.
28188 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28189 (plus_zero): Remove variable.
28190 (minus_zero): Likewise.
28191 (plus_infty): Likewise.
28192 (minus_infty): Likewise.
28193 (qnan_value): Likewise.
28194 (max_value): Likewise.
28195 (min_value): Likewise.
28196 (min_subnorm_value): Likewise.
28198 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28200 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28201 uint64_t or uint32_t usage.
28202 * crypt/sha256-block.c: Likewise.
28203 * crypt/sha256-crypt.c: Likewise.
28204 * crypt/sha256.c: Likewise.
28205 * crypt/sha512-block.c: Likewise.
28206 * crypt/sha512-crypt.c: Likewise.
28207 * crypt/sha512.c: Likewise.
28208 * debug/backtrace-tst.c: Likewise.
28209 * debug/pcprofiledump.c: Likewise.
28210 * elf/cache.c: Likewise.
28211 * elf/dl-cache.c: Likewise.
28212 * elf/dl-misc.c: Likewise.
28213 * elf/dl-profile.c: Likewise.
28214 * elf/dl-support.c: Likewise.
28215 * elf/ldconfig.c: Likewise.
28216 * elf/sprof.c: Likewise.
28217 * iconv/dummy-repertoire.c: Likewise.
28218 * iconv/iconv_charmap.c: Likewise.
28219 * iconv/skeleton.c: Likewise.
28220 * iconvdata/8bit-generic.c: Likewise.
28221 * iconvdata/cp737.h: Likewise.
28222 * iconvdata/cp775.h: Likewise.
28223 * iconvdata/ibm1008.h: Likewise.
28224 * iconvdata/ibm1025.h: Likewise.
28225 * iconvdata/ibm1046.h: Likewise.
28226 * iconvdata/ibm1097.h: Likewise.
28227 * iconvdata/ibm1112.h: Likewise.
28228 * iconvdata/ibm1122.h: Likewise.
28229 * iconvdata/ibm1123.h: Likewise.
28230 * iconvdata/ibm1124.h: Likewise.
28231 * iconvdata/ibm1129.h: Likewise.
28232 * iconvdata/ibm1130.h: Likewise.
28233 * iconvdata/ibm1132.h: Likewise.
28234 * iconvdata/ibm1133.h: Likewise.
28235 * iconvdata/ibm1137.h: Likewise.
28236 * iconvdata/ibm1140.h: Likewise.
28237 * iconvdata/ibm1141.h: Likewise.
28238 * iconvdata/ibm1142.h: Likewise.
28239 * iconvdata/ibm1143.h: Likewise.
28240 * iconvdata/ibm1144.h: Likewise.
28241 * iconvdata/ibm1145.h: Likewise.
28242 * iconvdata/ibm1146.h: Likewise.
28243 * iconvdata/ibm1147.h: Likewise.
28244 * iconvdata/ibm1148.h: Likewise.
28245 * iconvdata/ibm1149.h: Likewise.
28246 * iconvdata/ibm1153.h: Likewise.
28247 * iconvdata/ibm1154.h: Likewise.
28248 * iconvdata/ibm1155.h: Likewise.
28249 * iconvdata/ibm1156.h: Likewise.
28250 * iconvdata/ibm1157.h: Likewise.
28251 * iconvdata/ibm1158.h: Likewise.
28252 * iconvdata/ibm1160.h: Likewise.
28253 * iconvdata/ibm1161.h: Likewise.
28254 * iconvdata/ibm1162.h: Likewise.
28255 * iconvdata/ibm1163.h: Likewise.
28256 * iconvdata/ibm1164.h: Likewise.
28257 * iconvdata/ibm1166.h: Likewise.
28258 * iconvdata/ibm1167.h: Likewise.
28259 * iconvdata/ibm12712.h: Likewise.
28260 * iconvdata/ibm1390.h: Likewise.
28261 * iconvdata/ibm1399.h: Likewise.
28262 * iconvdata/ibm16804.h: Likewise.
28263 * iconvdata/ibm4517.h: Likewise.
28264 * iconvdata/ibm4899.h: Likewise.
28265 * iconvdata/ibm4909.h: Likewise.
28266 * iconvdata/ibm4971.h: Likewise.
28267 * iconvdata/ibm5347.h: Likewise.
28268 * iconvdata/ibm803.h: Likewise.
28269 * iconvdata/ibm856.h: Likewise.
28270 * iconvdata/ibm901.h: Likewise.
28271 * iconvdata/ibm902.h: Likewise.
28272 * iconvdata/ibm9030.h: Likewise.
28273 * iconvdata/ibm9066.h: Likewise.
28274 * iconvdata/ibm921.h: Likewise.
28275 * iconvdata/ibm922.h: Likewise.
28276 * iconvdata/ibm9448.h: Likewise.
28277 * iconvdata/isiri-3342.h: Likewise.
28278 * iconvdata/jis0201.h: Likewise.
28279 * include/link.h: Likewise.
28280 * include/netdb.h: Likewise.
28281 * inet/check_native.c: Likewise.
28282 * inet/check_pf.c: Likewise.
28283 * inet/getipv4sourcefilter.c: Likewise.
28284 * inet/getnameinfo.c: Likewise.
28285 * inet/getsourcefilter.c: Likewise.
28286 * inet/htonl.c: Likewise.
28287 * inet/setipv4sourcefilter.c: Likewise.
28288 * inet/setsourcefilter.c: Likewise.
28289 * inet/test-inet6_opt.c: Likewise.
28290 * inet/tst-network.c: Likewise.
28291 * locale/C-collate.c: Likewise.
28292 * locale/C-ctype.c: Likewise.
28293 * locale/C-time.c: Likewise.
28294 * locale/C-translit.h: Likewise.
28295 * locale/loadarchive.c: Likewise.
28296 * locale/programs/3level.h: Likewise.
28297 * locale/programs/charmap.c: Likewise.
28298 * locale/programs/charmap.h: Likewise.
28299 * locale/programs/ld-address.c: Likewise.
28300 * locale/programs/ld-collate.c: Likewise.
28301 * locale/programs/ld-ctype.c: Likewise.
28302 * locale/programs/ld-identification.c: Likewise.
28303 * locale/programs/ld-measurement.c: Likewise.
28304 * locale/programs/ld-messages.c: Likewise.
28305 * locale/programs/ld-monetary.c: Likewise.
28306 * locale/programs/ld-name.c: Likewise.
28307 * locale/programs/ld-numeric.c: Likewise.
28308 * locale/programs/ld-paper.c: Likewise.
28309 * locale/programs/ld-telephone.c: Likewise.
28310 * locale/programs/ld-time.c: Likewise.
28311 * locale/programs/linereader.c: Likewise.
28312 * locale/programs/locale.c: Likewise.
28313 * locale/programs/locarchive.c: Likewise.
28314 * locale/programs/locfile.h: Likewise.
28315 * locale/programs/repertoire.c: Likewise.
28316 * locale/programs/simple-hash.c: Likewise.
28317 * locale/programs/simple-hash.h: Likewise.
28318 * malloc/memusage.c: Likewise.
28319 * malloc/memusagestat.c: Likewise.
28320 * nis/nis_defaults.c: Likewise.
28321 * nis/nis_hash.c: Likewise.
28322 * nis/nis_print.c: Likewise.
28323 * nis/nis_xdr.c: Likewise.
28324 * nscd/connections.c: Likewise.
28325 * nscd/hstcache.c: Likewise.
28326 * nscd/nscd_gethst_r.c: Likewise.
28327 * nscd/nscd_getserv_r.c: Likewise.
28328 * nscd/nscd_helper.c: Likewise.
28329 * nscd/servicescache.c: Likewise.
28330 * nss/makedb.c: Likewise.
28331 * nss/nss_db/db-XXX.c: Likewise.
28332 * nss/nss_db/db-initgroups.c: Likewise.
28333 * nss/nss_db/db-netgrp.c: Likewise.
28334 * nss/nss_files/files-network.c: Likewise.
28335 * nss/nss_files/files-parse.c: Likewise.
28336 * posix/bug-regex5.c: Likewise.
28337 * posix/fnmatch_loop.c: Likewise.
28338 * posix/regcomp.c: Likewise.
28339 * posix/regexec.c: Likewise.
28340 * posix/tst-rfc3484-2.c: Likewise.
28341 * posix/tst-rfc3484-3.c: Likewise.
28342 * posix/tst-rfc3484.c: Likewise.
28343 * resolv/nss_dns/dns-canon.c: Likewise.
28344 * resolv/nss_dns/dns-network.c: Likewise.
28345 * resolv/res_init.c: Likewise.
28346 * resolv/res_mkquery.c: Likewise.
28347 * resolv/tst-aton.c: Likewise.
28348 * stdlib/cxa_atexit.c: Likewise.
28349 * stdlib/cxa_finalize.c: Likewise.
28350 * stdlib/gen-fpioconst.c: Likewise.
28351 * stdlib/strtol_l.c: Likewise.
28352 * string/tst-endian.c: Likewise.
28353 * sunrpc/auth_des.c: Likewise.
28354 * sunrpc/clnt_udp.c: Likewise.
28355 * sunrpc/rtime.c: Likewise.
28356 * sunrpc/svcauth_des.c: Likewise.
28357 * sunrpc/xdr.c: Likewise.
28358 * sunrpc/xdr_intXX_t.c: Likewise.
28359 * sunrpc/xdr_rec.c: Likewise.
28360 * sysdeps/generic/ldconfig.h: Likewise.
28361 * sysdeps/generic/ldsodefs.h: Likewise.
28362 * sysdeps/generic/memusage.h: Likewise.
28363 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28364 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28365 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28366 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28372 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28373 * sysdeps/posix/getaddrinfo.c: Likewise.
28374 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28375 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28376 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28377 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28378 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28379 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28380 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28381 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28382 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28383 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28384 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28385 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28386 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28387 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28388 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28389 * sysdeps/x86_64/dl-tls.h: Likewise.
28390 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28391 * time/alt_digit.c: Likewise.
28392 * time/era.c: Likewise.
28393 * wcsmbs/tst-c16c32-1.c: Likewise.
28395 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28397 * math/libm-test.inc (struct test_sincos_data): New type.
28398 (RUN_TEST_LOOP_sincos): New macro.
28399 (sincos_test_data): New variable.
28400 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28402 2013-05-16 Richard Henderson <rth@redhat.com>
28404 * math/atest-exp2.c (LIMB64): New macro.
28405 (CONSTSZ): New macro.
28406 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28408 (print_mpn_fp): ... to function scope.
28409 (read_mpn_hex): Remove.
28410 (get_log2): Remove.
28411 (exp2_mpn): Use mp_log2.
28412 (main): Use mp_exp1.
28414 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28416 * math/libm-test.inc: Remove comment about not testing "inexact"
28418 (INEXACT_EXCEPTION): New macro.
28419 (NO_INEXACT_EXCEPTION): Likewise.
28420 (INVALID_EXCEPTION_OK): Update value.
28421 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28422 (OVERFLOW_EXCEPTION_OK): Likewise.
28423 (UNDERFLOW_EXCEPTION_OK): Likewise.
28424 (IGNORE_ZERO_INF_SIGN): Likewise.
28425 (ERRNO_UNCHANGED): Likewise.
28426 (ERRNO_EDOM): Likewise.
28427 (ERRNO_ERANGE): Likewise.
28428 (test_exceptions): Handle testing "inexact" exceptions.
28429 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28430 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28431 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28432 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28434 (rint_towardzero_test_data): Likewise.
28435 (rint_downward_test_data): Likewise.
28436 (rint_upward_test_data): Likewise.
28438 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28439 with OVERFLOW_EXCEPTION.
28440 (exp10_test_data): Likewise.
28441 (exp2_test_data): Likewise.
28442 (expm1_test_data): Likewise.
28443 (lgamma_test_data): Likewise.
28444 (pow_test_data): Likewise.
28445 (tgamma_test_data): Likewise.
28446 (yn_test_data): Remove duplicate test of overflow.
28448 * math/libm-test.inc (struct test_cc_c_data): New type.
28449 (RUN_TEST_LOOP_cc_c): New macro.
28450 (cpow_test_data): New variable.
28451 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28453 * math/libm-test.inc (struct test_f_L_data): New type.
28454 (RUN_TEST_LOOP_f_L): New macro.
28455 (llrint_test_data): New variable.
28456 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28457 (llrint_tonearest_test_data): New variable.
28458 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28459 (llrint_towardzero_test_data): New variable.
28460 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28461 (llrint_downward_test_data): New variable.
28462 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28463 (llrint_upward_test_data): New variable.
28464 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28465 (llround_test_data): New variable.
28466 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28468 2013-05-13 Peter Collingbourne <pcc@google.com>
28470 * math/atest-exp2.c (get_log2): Remove const attribute.
28472 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28474 * math/libm-test.inc (struct test_f_l_data): New type.
28475 (RUN_TEST_LOOP_f_l): New macro.
28476 (lrint_test_data): New variable.
28477 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28478 (lrint_tonearest_test_data): New variable.
28479 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28480 (lrint_towardzero_test_data): New variable.
28481 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28482 (lrint_downward_test_data): New variable.
28483 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28484 (lrint_upward_test_data): New variable.
28485 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28486 (lround_test_data): New variable.
28487 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28489 2013-05-15 Peter Collingbourne <pcc@google.com>
28491 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28492 (EXTRACT_WORDS64) Use where appropriate.
28493 (INSERT_WORDS64) Likewise.
28495 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28496 constraints with x constraints.
28497 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28499 * malloc/obstack.c (_obstack_compat): Add initializer.
28501 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28503 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28504 si_trapno and add si_addr_lsb to _sifields.sigfault.
28505 (si_trapno): Remove macro.
28506 (si_addr_lsb): Define new macro.
28507 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28509 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28511 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28512 instead of TEST_f_l.
28513 (llrint_test_tonearest): Likewise.
28514 (llrint_test_towardzero): Likewise.
28515 (llrint_test_downward): Likewise.
28516 (llrint_test_upward): Likewise.
28517 (llround_test): Likewise.
28519 * math/libm-test.inc (struct test_f_i_data): Add comment.
28520 (RUN_TEST_LOOP_f_b): New macro.
28521 (RUN_TEST_LOOP_f_b_tg): Likewise.
28522 (finite_test_data): New variable.
28523 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28524 (isfinite_test_data): New variable.
28525 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28526 (isinf_test_data): New variable.
28527 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28528 (isnan_test_data): New variable.
28529 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28530 (isnormal_test_data): New variable.
28531 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28532 (issignaling_test_data): New variable.
28533 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28534 (signbit_test_data): New variable.
28535 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28537 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28538 with INVALID_EXCEPTION.
28539 (acosh_test_data): Likewise.
28540 (asin_test_data): Likewise.
28541 (atanh_test_data): Likewise.
28542 (fmod_test_data): Likewise.
28543 (log_test_data): Likewise.
28544 (log10_test_data): Likewise.
28545 (log2_test_data): Likewise.
28546 (pow_test_data): Likewise.
28547 (sqrt_test_data): Likewise.
28548 (y0_test_data): Likewise.
28549 (y1_test_data): Likewise.
28550 (yn_test_data): Likewise.
28552 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28555 * math/libm-test.inc (struct test_ff_i_data): New type.
28556 (RUN_TEST_LOOP_ff_i_tg): New macro.
28557 (isgreater_test_data): New variable.
28558 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28559 (isgreaterequal_test_data): New variable.
28560 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28561 (isless_test_data): New variable.
28562 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28563 (islessequal_test_data): New variable.
28564 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28565 (islessgreater_test_data): New variable.
28566 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28567 (isunordered_test_data): New variable.
28568 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28570 2013-05-14 David S. Miller <davem@davemloft.net>
28572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28574 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28576 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28578 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28580 (struct test_f_i_data): Change type of max_ulp to int.
28582 * math/libm-test.inc (test_ffI_f1_data): New type.
28583 (RUN_TEST_LOOP_ffI_f1): New macro.
28584 (remquo_test_data): New variable.
28585 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28587 * setjmp/tst-setjmp-fp.c: New file.
28588 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28589 (link-libm): New variable.
28590 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28592 * math/libm-test.inc (struct test_f_i_data): New type.
28593 (RUN_TEST_LOOP_f_i): New macro.
28594 (RUN_TEST_LOOP_f_i_tg): Likewise.
28595 (fpclassify_test_data): New variable.
28596 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28597 (ilogb_test_data): New variable.
28598 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28600 * math/libm-test.inc (scalbln_test): Correct function name in END
28603 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28604 (RUN_TEST_LOOP_fI_f1): New macro.
28605 (frexp_test_data): New variable.
28606 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28608 * math/libm-test.inc (struct test_fF_f1_data): New type.
28609 (RUN_TEST_LOOP_fF_f1): New macro.
28610 (modf_test_data): New variable.
28611 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28613 * math/libm-test.inc (struct test_f_f1_data): New type.
28614 (RUN_TEST_LOOP_f_f1): New macro.
28615 (gamma_test_data): New variable.
28616 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28617 (lgamma_test_data): New variable.
28618 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28620 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28622 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28623 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28624 (main): Comment "tls" pseudo-hwcap.
28626 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28628 * math/libm-test.inc (struct test_fl_f_data): New type.
28629 (RUN_TEST_LOOP_fl_f): New variable.
28630 (scalbln_test_data): New variable.
28631 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28633 * math/libm-test.inc (struct test_fi_f_data): New type.
28634 (RUN_TEST_LOOP_fi_f): New macro.
28635 (ldexp_test_data): New variable.
28636 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28637 (scalbn_test_data): New variable.
28638 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28640 * math/libm-test.inc (struct test_c_f_data): New type.
28641 (RUN_TEST_LOOP_c_f): New macro.
28642 (cabs_test_data): New variable.
28643 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28644 (carg_test_data): New variable.
28645 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28646 (cimag_test_data): New variable.
28647 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28648 (creal_test_data): New variable.
28649 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28651 * math/libm-test.inc (struct test_if_f_data): New type.
28652 (RUN_TEST_LOOP_if_f): New macro.
28653 (jn_test_data): New variable.
28654 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28655 (yn_test_data): New variable.
28656 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28658 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28660 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28662 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28663 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28665 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28667 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28668 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28669 (bench-deps): Add bench-timing.h.
28670 * benchtests-bench-skeleton.c: Include bench-timing.h.
28671 (main): Use TIMING_* macros instead of clock_gettime.
28672 * benchtests/bench-timing.h: New file.
28675 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28676 Renamed from _LIB_VERSION.
28677 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28679 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28681 * math/libm-test.inc (struct test_fff_f_data): New type.
28682 (RUN_TEST_LOOP_fff_f): New macro.
28683 (fma_test_data): New variable.
28684 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28685 (fma_towardzero_test_data): New variable.
28686 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28687 (fma_downward_test_data): New variable.
28688 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28689 (fma_upward_test_data): New variable.
28690 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28692 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28693 (struct test_c_c_data): New type.
28694 (RUN_TEST_LOOP_c_c): New macro.
28695 (cacos_test_data): New variable.
28696 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28697 (cacosh_test_data): New variable.
28698 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28699 (casin_test_data): New variable.
28700 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28701 (casinh_test_data): New variable.
28702 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28703 (catan_test_data): New variable.
28704 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28705 (catanh_test_data): New variable.
28706 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28707 (ccos_test_data): New variable.
28708 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28709 (ccosh_test_data): New variable.
28710 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28711 (cexp_test_data): New variable.
28712 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28713 (clog_test_data): New variable.
28714 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28715 (clog10_test_data): New variable.
28716 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28717 (conj_test_data): New variable.
28718 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28719 (cproj_test_data): New variable.
28720 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28721 (csin_test_data): New variable.
28722 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28723 (csinh_test_data): New variable.
28724 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28725 (csqrt_test_data): New variable.
28726 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28727 (ctan_test_data): New variable.
28728 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28729 (ctan_tonearest_test_data): New variable.
28730 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28731 (ctan_towardzero_test_data): New variable.
28732 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28733 (ctan_downward_test_data): New variable.
28734 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28735 (ctan_upward_test_data): New variable.
28736 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28737 (ctanh_test_data): New variable.
28738 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28739 (ctanh_tonearest_test_data): New variable.
28740 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28741 (ctanh_towardzero_test_data): New variable.
28742 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28743 (ctanh_downward_test_data): New variable.
28744 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28745 (ctanh_upward_test_data): New variable.
28746 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28747 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28750 * math/libm-test.inc (struct test_ff_f_data): New type.
28751 (struct test_ff_f_data_nexttoward): Likewise.
28752 (RUN_TEST_LOOP_2_f): New macro.
28753 (RUN_TEST_LOOP_ff_f): Likewise.
28754 (atan2_test_data): New variable.
28755 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28756 (copysign_test_data): New variable.
28757 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28758 (fdim_test_data): New variable.
28759 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28760 (fmax_test_data): New variable.
28761 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28762 (fmin_test_data): New variable.
28763 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28764 (fmod_test_data): New variable.
28765 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28766 (hypot_test_data): New variable.
28767 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28768 (nextafter_test_data): New variable.
28769 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28770 (nexttoward_test_data): New variable.
28771 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28772 (pow_test_data): New variable.
28773 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28774 (pow_tonearest_test_data): New variable.
28775 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28776 (pow_towardzero_test_data): New variable.
28777 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28778 (pow_downward_test_data): New variable.
28779 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28780 (pow_upward_test_data): New variable.
28781 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28782 (remainder_test_data): New variable.
28783 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28784 (scalb_test_data): New variable.
28785 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28786 * sysdeps/i386/fpu/libm-test-ulps: Update.
28788 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28790 * math/libm-test.inc (fma_test): Use max_value instead of local
28792 (nextafter_test): Likewise.
28794 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28795 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28796 (acos_downward_test_data): New variable.
28797 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28798 (acos_upward_test_data): New variable.
28799 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28800 (acosh_test_data): New variable.
28801 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28802 (asin_test_data): New variable.
28803 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28804 (asin_tonearest_test_data): New variable.
28805 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28806 (asin_towardzero_test_data): New variable.
28807 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28808 (asin_downward_test_data): New variable.
28809 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28810 (asin_upward_test_data): New variable.
28811 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28812 (asinh_test_data): New variable.
28813 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28814 (atan_test_data): New variable.
28815 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28816 (atanh_test_data): New variable.
28817 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28818 (cbrt_test_data): New variable.
28819 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28820 (ceil_test_data): New variable.
28821 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28822 (cos_test_data): New variable.
28823 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28824 (cos_tonearest_test_data): New variable.
28825 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28826 (cos_towardzero_test_data): New variable.
28827 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28828 (cos_downward_test_data): New variable.
28829 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28830 (cos_upward_test_data): New variable.
28831 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28832 (cosh_test_data): New variable.
28833 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28834 (cosh_tonearest_test_data): New variable.
28835 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28836 (cosh_towardzero_test_data): New variable.
28837 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28838 (cosh_downward_test_data): New variable.
28839 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28840 (cosh_upward_test_data): New variable.
28841 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28842 (erf_test_data): New variable.
28843 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28844 (erfc_test_data): New variable.
28845 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28846 (exp_test_data): New variable.
28847 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28848 (exp_tonearest_test_data): New variable.
28849 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28850 (exp_towardzero_test_data): New variable.
28851 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28852 (exp_downward_test_data): New variable.
28853 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28854 (exp_upward_test_data): New variable.
28855 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28856 (exp10_test_data): New variable.
28857 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28858 (exp2_test_data): New variable.
28859 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28860 (expm1_test_data): New variable.
28861 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28862 (fabs_test_data): New variable.
28863 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28864 (floor_test_data): New variable.
28865 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28866 (j0_test_data): New variable.
28867 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28868 (j1_test_data): New variable.
28869 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28870 (log_test_data): New variable.
28871 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28872 (log10_test_data): New variable.
28873 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28874 (log1p_test_data): New variable.
28875 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28876 (log2_test_data): New variable.
28877 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28878 (logb_test_data): New variable.
28879 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28880 (logb_downward_test_data): New variable.
28881 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28882 (nearbyint_test_data): New variable.
28883 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28884 (rint_test_data): New variable.
28885 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28886 (rint_tonearest_test_data): New variable.
28887 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28888 (rint_towardzero_test_data): New variable.
28889 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28890 (rint_downward_test_data): New variable.
28891 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28892 (rint_upward_test_data): New variable.
28893 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28894 (round_test_data): New variable.
28895 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28896 (sin_test_data): New variable.
28897 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28898 (sin_tonearest_test_data): New variable.
28899 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28900 (sin_towardzero_test_data): New variable.
28901 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28902 (sin_downward_test_data): New variable.
28903 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28904 (sin_upward_test_data): New variable.
28905 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28906 (sinh_test_data): New variable.
28907 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28908 (sinh_tonearest_test_data): New variable.
28909 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28910 (sinh_towardzero_test_data): New variable.
28911 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28912 (sinh_downward_test_data): New variable.
28913 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28914 (sinh_upward_test_data): New variable.
28915 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28916 (sqrt_test_data): New variable.
28917 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28918 (tan_test_data): New variable.
28919 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28920 (tan_tonearest_test_data): New variable.
28921 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28922 (tan_towardzero_test_data): New variable.
28923 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28924 (tan_downward_test_data): New variable.
28925 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28926 (tan_upward_test_data): New variable.
28927 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28928 (tanh_test_data): New variable.
28929 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28930 (tgamma_test_data): New variable.
28931 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28932 (trunc_test_data): New variable.
28933 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28934 (y0_test_data): New variable.
28935 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28936 (y1_test_data): New variable.
28937 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28938 (significand_test_data): New variable.
28939 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28941 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28944 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28946 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28948 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28950 2013-05-10 Andreas Jaeger <aj@suse.de>
28953 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28954 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28956 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28958 * math/gen-libm-test.pl (adjust_arg): New function.
28959 (special_functions): Handle generating output in both functions
28961 (parse_args): Likewise.
28962 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28963 $in_func argument to parse_args.
28964 * math/libm-test.inc (struct test_f_f_data): New type.
28965 (IF_ROUND_INIT_): New macro.
28966 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28967 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28968 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28969 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28970 (ROUND_RESTORE_): Likewise.
28971 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28972 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28973 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28974 (ROUND_RESTORE_FE_UPWARD): Likewise.
28975 (RUN_TEST_LOOP_f_f): New macro.
28976 (acos_test_data): New variable.
28977 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28978 (acos_tonearest_test_data): New variable.
28979 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28981 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28983 * benchtests/bench-skeleton.c (startup): Fix coding style.
28985 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28988 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28989 negative infinity argument.
28990 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28991 negative infinity argument.
28992 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28993 negative infinity argument.
28994 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28997 2013-05-10 Florian Weimer <fweimer@redhat.com>
28999 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29000 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29001 * iconv/iconv_prog.c (main): Likewise.
29002 * locale/programs/charmap-dir.c (charmap_readdir)
29003 (fopen_uncompressed): Likewise.
29004 * locale/programs/locfile.c (siblings_uncached)
29005 (write_locale_data): Use lstat64 instead of lstat.
29006 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29009 2013-05-10 Andreas Jaeger <aj@suse.de>
29012 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29014 Include <locale.h>.
29016 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29018 * elf/dl-close.c (_dl_close_worker): Add comments.
29020 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29023 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29025 (__ieee754_rem_pio2l): Update comments.
29028 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29030 (__ieee754_rem_pio2l): Update comments.
29032 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29033 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29035 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29038 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29039 (M_PI_34_LOG10El): Likewise.
29040 (M_PI2_LOG10El): Likewise.
29041 (M_PI4_LOG10El): Likewise.
29042 (M_PI_LOG10El): Likewise.
29044 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29048 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29050 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29051 (MINUS_ZERO_INIT): Likewise.
29052 (PLUS_INFTY_INIT): Likewise.
29053 (MINUS_INFTY_INIT): Likewise.
29054 (QNAN_VALUE_INIT): Likewise.
29055 (MAX_VALUE_INIT): Likewise.
29056 (MIN_VALUE_INIT): Likewise.
29057 (MIN_SUBNORM_VALUE_INIT): Likewise.
29058 (plus_zero): Initialize with PLUS_ZERO_INIT.
29059 (minus_zero): Initialize with MINUS_ZERO_INIT.
29060 (plus_infty): Initialize with PLUS_INFTY_INIT.
29061 (minus_infty): Initialize with MINUS_INFTY_INIT.
29062 (qnan_value): Initialize with QNAN_VALUE_INIT.
29063 (max_value): Initialize with MAX_VALUE_INIT.
29064 (min_value): Initialize with MIN_VALUE_INIT.
29065 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29067 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29068 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29069 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29070 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29072 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29073 (RUN_TEST_2_f): Likewise.
29074 (RUN_TEST_ff_f): Likewise.
29075 (RUN_TEST_fi_f): Likewise.
29076 (RUN_TEST_fl_f): Likewise.
29077 (RUN_TEST_fff_f): Likewise.
29078 (RUN_TEST_c_f): Likewise.
29079 (RUN_TEST_f_f1): Likewise.
29080 (RUN_TEST_fF_f1): Likewise.
29081 (RUN_TEST_fI_f1): Likewise.
29082 (RUN_TEST_ffI_f1): Likewise.
29083 (RUN_TEST_c_c): Likewise.
29084 (RUN_TEST_cc_c): Likewise.
29085 (RUN_TEST_f_i): Likewise.
29086 (RUN_TEST_f_i_tg): Likewise.
29087 (RUN_TEST_ff_i_tg): Likewise.
29088 (RUN_TEST_f_b): Likewise.
29089 (RUN_TEST_f_b_tg): Likewise.
29090 (RUN_TEST_f_l): Likewise.
29091 (RUN_TEST_f_L): Likewise.
29092 (RUN_TEST_sincos): Likewise.
29093 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29094 whether to show exceptions. Do not include ");\n" in return
29096 (special_functions): Output call to RUN_TEST_sincos instead of
29097 check_float calls. Update calls to new_test.
29098 (parse_args): Output call to single RUN_TEST_* macro instead of
29099 check_* calls and other assignments. Update calls to new_test.
29105 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29106 input to result for tgamma overflow.
29107 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29108 (gamma_coeff): New variable.
29109 (NCOEFF): New macro.
29110 (gamma_positive): New function.
29111 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29112 underflow here. Use gamma_positive instead of exp (lgamma) for
29114 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29115 (gamma_coeff): New variable.
29116 (NCOEFF): New macro.
29117 (gammaf_positive): New function.
29118 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29119 underflow here. Use gamma_positive instead of exp (lgamma) for
29121 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29122 (gamma_coeff): New variable.
29123 (NCOEFF): New macro.
29124 (gammal_positive): New function.
29125 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29126 underflow here. Use gamma_positive instead of exp (lgamma) for
29128 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29129 (gamma_coeff): New variable.
29130 (NCOEFF): New macro.
29131 (gammal_positive): New function.
29132 (__ieee754_gammal_r): Handle positive infinity, overflow and
29133 underflow here. Handle NaN the same as positive infinity. Remove
29134 check x < 0xffffffff for negative integers. Use gamma_positive
29135 instead of exp (lgamma) for other arguments.
29136 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29137 (gamma_coeff): New variable.
29138 (NCOEFF): New macro.
29139 (gammal_positive): New function.
29140 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29141 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29142 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29143 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29144 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29145 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29146 * sysdeps/generic/math_private.h (__gamma_productf): New
29148 (__gamma_product): Likewise.
29149 (__gamma_productl): Likewise.
29150 * math/Makefile (libm-calls): Add gamma_product.
29151 * math/libm-test.inc (tgamma_test): Add more tests.
29152 * sysdeps/i386/fpu/libm-test-ulps: Update.
29153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29155 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29157 * benchtests/bench-skeleton.c (main): Preheat CPU.
29159 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29161 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29163 2013-05-07 Roland McGrath <roland@hack.frob.com>
29165 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29166 and _dl_skip_args_internal.
29168 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29170 * manual/message.texi (Message Translation): Talk about users.
29171 Message to key mapping impacts design.
29173 2013-05-06 Roland McGrath <roland@hack.frob.com>
29175 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29177 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29179 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29180 * sysdeps/wordsize-64/glob64.c: ... here.
29182 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29183 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29186 * debug/getlogin_r_chk.c: Moved to ...
29187 * login/getlogin_r_chk.c: ... here.
29188 * debug/Makefile (routines): Move getlogin_r_chk to ...
29189 * login/Makefile (routines): ... here.
29190 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29191 * login/Versions (libc: GLIBC_2.4): ... here.
29193 * io/poll.c (__poll): Renamed from poll.
29194 Add libc_hidden_def.
29195 (poll): Define as weak alias.
29197 * debug/ptsname_r_chk.c: Moved to ...
29198 * login/ptsname_r_chk.c: ... here.
29199 * debug/Makefile (routines): Move ptsname_r_chk to ...
29200 * login/Makefile (routines): ... here.
29201 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29202 * login/Versions (libc: GLIBC_2.4): ... here.
29204 * posix/getlogin.c: Moved to ...
29205 * login/getlogin.c: ... here.
29206 * posix/getlogin_r.c: Moved to ...
29207 * login/getlogin_r.c: ... here.
29208 * posix/getlogin_r.c: Moved to ...
29209 * login/getlogin_r.c: ... here.
29210 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29211 * login/Makefile (routines): ... here.
29212 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29213 * login/Versions (libc: GLIBC_2.0): ... here.
29215 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29216 (setrlimit): Define as weak alias.
29218 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29219 Call __ names for open, ftruncate, and close.
29220 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29221 (truncate): Define as weak alias.
29223 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29225 * math/gen-libm-test.pl (parse_args): Initialize x before each
29226 test of frexp, modf and remquo.
29228 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29229 test signgam value.
29231 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29235 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29237 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29239 2013-05-06 Roland McGrath <roland@hack.frob.com>
29241 * elf/dl-writev.h: New file.
29242 * elf/dl-misc.c: Include it.
29243 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29244 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29246 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29248 * math/libm-test.inc (noXFails): Remove variable.
29249 (noXPasses): Likewise.
29250 (BUILD_COMPLEX_INT): Remove macro.
29251 (print_screen): Remove xfail argument.
29252 (print_screen_max_error): Likewise.
29253 (update_stats): Likewise.
29254 (print_max_error): Likewise. Update calls to other affected
29256 (print_complex_max_error): Likewise.
29257 (test_single_exception): Update calls to print_screen.
29258 (test_single_errno): Likewise.
29259 (check_float_internal): Remove xfail argument. Update calls to
29260 other affected functions.
29261 (check_float): Likewise.
29262 (check_complex): Likewise.
29263 (check_int): Likewise.
29264 (check_long): Likewise.
29265 (check_bool): Likewise.
29266 (check_longlong): Likewise.
29267 (main): Don't print noXFails and noXPasses.
29268 * math/gen-libm-test.pl (top level): Don't mention expected
29269 failure handling in comment.
29270 (new_test): Don't handle expected failures.
29271 (parse_args): Don't mention expected failure handling in comment.
29272 (generate_testfile): Don't handle expected failures.
29273 (parse_ulps): Likewise.
29274 (print_ulps_file): Likewise.
29275 (get_failure): Remove function.
29276 (output_test): Don't handle expected failures.
29277 * make/README.libm-test: Don't mention expected failure handling.
29279 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29280 (minus_zero): Likewise.
29281 (plus_infty): Likewise.
29282 (minus_infty): Likewise.
29283 (qnan_value): Likewise.
29284 (max_value): Likewise.
29285 (min_value): Likewise.
29286 (min_subnorm_value): Likewise.
29287 (initialize): Do not initialize those variables dynamically.
29289 2013-05-03 Roland McGrath <roland@hack.frob.com>
29291 * io/open.c (__open_2): Moved to ...
29292 * io/open_2.c: ... this new file.
29293 * io/open64.c (__open64_2): Moved to ...
29294 * io/open64_2.c: ... this new file.
29295 * io/openat.c (__openat_2): Moved to ...
29296 * io/openat_2.c: ... this new file.
29297 * io/openat64.c (__openat64_2): Moved to ...
29298 * io/openat64_2.c: ... this new file.
29299 * io/Makefile (routines): Add them.
29300 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29301 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29302 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29303 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29304 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29305 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29306 (__openat64): Add hidden_ver.
29307 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29308 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29310 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29311 Separately conditionalize setting of GLRO(dl_sysinfo) so
29312 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29313 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29315 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29317 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29318 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29320 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29321 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29322 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29323 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29324 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29326 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29328 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29329 test signgam value.
29331 * math/libm-test.inc (hypot_test): Do not use
29332 IGNORE_ZERO_INF_SIGN.
29334 2013-05-03 Andreas Jaeger <aj@suse.de>
29336 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29338 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29339 (PF_MAX): Adjust for VSOCK change.
29341 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29345 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29348 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29349 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29350 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29352 2013-05-02 David S. Miller <davem@davemloft.net>
29354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29356 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29358 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29360 2013-05-01 Roland McGrath <roland@hack.frob.com>
29362 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29364 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29367 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29368 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29369 Use __attribute__ ((__gnu_inline__)).
29370 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29371 Don't use __attribute__ ((__gnu_inline__)).
29373 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29376 * math/s_catan.c (__catan): Handle small real or imaginary part of
29377 input specially to avoid spurious underflow.
29378 * math/s_catanf.c (__catanf): Likewise.
29379 * math/s_catanh.c (__catanh): Likewise.
29380 * math/s_catanhf.c (__catanhf): Likewise.
29381 * math/s_catanhl.c (__catanhl): Likewise.
29382 * math/s_catanl.c (__catanl): Likewise.
29383 * math/libm-test.inc (catan_test): Add more tests.
29384 (catanh_test): Likewise.
29385 * sysdeps/i386/fpu/libm-test-ulps: Update.
29386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29388 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29392 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29395 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29396 accurately for denominator in atan2.
29397 * math/s_catanf.c (__catanf): Likewise.
29398 * math/s_catanh.c (__catanh): Likewise.
29399 * math/s_catanhf.c (__catanhf): Likewise.
29400 * math/s_catanhl.c (__catanhl): Likewise.
29401 * math/s_catanl.c (__catanl): Likewise.
29402 * math/libm-test.inc (catan_test): Add more tests.
29403 (catanh_test): Likewise.
29404 * sysdeps/i386/fpu/libm-test-ulps: Update.
29405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29407 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29409 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29411 * benchtests/Makefile (bench): Remove slow benchmarks.
29412 * benchtests/atan-inputs: Add slow benchmark inputs.
29413 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29414 (BENCH_FUNC): Accept variant offset.
29416 * benchtests/bench-skeleton.c (main): Run benchmark for each
29418 * benchtests/cos-inputs: Add slow benchmark inputs.
29419 * benchtests/exp-inputs: Likewise.
29420 * benchtests/pow-inputs: Likewise.
29421 * benchtests/sin-inputs: Likewise.
29422 * benchtests/slowatan-inputs: Remove.
29423 * benchtests/slowatan.c: Remove.
29424 * benchtests/slowcos-inputs: Remove.
29425 * benchtests/slowcos.c: Remove.
29426 * benchtests/slowexp-inputs: Remove.
29427 * benchtests/slowexp.c: Remove.
29428 * benchtests/slowpow-inputs: Remove.
29429 * benchtests/slowpow.c: Remove.
29430 * benchtests/slowsin-inputs: Remove.
29431 * benchtests/slowsin.c: Remove.
29432 * benchtests/slowtan-inputs: Remove.
29433 * benchtests/slowtan.c: Remove.
29434 * benchtests/tan-inputs: Add slow benchmark inputs.
29435 * scripts/bench.pl: Parse comments and directives.
29437 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29439 ($(objpfx)bench-%.c): Remove *-ITER.
29440 * benchtests/bench-modf.c: Remove definition of ITER.
29441 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29442 (main): Loop for DURATION seconds instead of fixed number of
29444 * scripts/bench.pl: Don't expect iterations in parameters.
29446 2013-04-29 Roland McGrath <roland@hack.frob.com>
29448 * io/fchdir.c (__fchdir): Renamed from fchdir.
29449 (fchdir): Define as weak alias.
29451 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29453 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29454 (ERRNO_EDOM): Likewise.
29455 (ERRNO_ERANGE): Likewise.
29456 (noErrnoTests): New variable.
29457 (init_max_error): Set errno to 0.
29458 (test_single_errno): New function.
29459 (test_errno): Likewise.
29460 (check_float_internal): Call test_errno. Set errno to 0.
29461 (check_complex): Refer to errno tests in comment.
29462 (check_int): Call test_errno. Set errno to 0.
29463 (check_long): Likewise.
29464 (check_bool): Likewise.
29465 (check_longlong): Likewise.
29466 (cos_test): Use ERRNO_* flags for errno tests instead of
29468 (expm1_test): Likewise.
29469 (fmod_test): Likewise.
29470 (ilogb_test): Likewise.
29471 (lgamma_test): Likewise.
29472 (pow_test): Likewise.
29473 (remainder_test): Likewise.
29474 (sin_test): Likewise.
29475 (tan_test): Likewise.
29476 (yn_test): Likewise.
29477 (initialize): Set errno to 0.
29478 (main): Print number of errno tests.
29479 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29481 2013-04-29 Andreas Jaeger <aj@suse.de>
29484 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29488 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29489 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29493 * stdlib/random.c (__initstate): Return NULL if
29497 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29498 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29501 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29505 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29507 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29508 of individual tests.
29509 (casin_test): Likewise.
29510 (casinh_test): Likewise.
29512 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29515 * math/s_catan.c (__catan): Handle arguments with large real or
29516 imaginary part separately without squaring.
29517 * math/s_catanf.c (__catanf): Likewise.
29518 * math/s_catanh.c (__catanh): Likewise.
29519 * math/s_catanhf.c (__catanhf): Likewise.
29520 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29522 (__catanhl): Handle arguments with large real or imaginary part
29523 separately without squaring.
29524 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29526 (__catanl): Handle arguments with large real or imaginary part
29527 separately without squaring.
29528 * math/libm-test.inc (catan_test): Add more tests.
29529 (catanh_test): Likewise.
29530 * sysdeps/i386/fpu/libm-test-ulps: Update.
29531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29533 2013-04-27 Andreas Jaeger <aj@suse.de>
29536 * stdlib/stdlib.h: Update guards for qecvt.
29537 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29540 2013-04-27 Allan McRae <allan@archlinux.org>
29542 * sysdeps/i386/fpu/libm-test-ulps: Update.
29544 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29547 * math/s_catan.c: Include <float.h>.
29548 (__catan): Ensure underflow exception occurs for underflowed
29550 * math/s_catanf.c: Include <float.h>.
29551 (__catanf): Ensure underflow exception occurs for underflowed
29553 * math/s_catanh.c: Include <float.h>.
29554 (__catanh): Ensure underflow exception occurs for underflowed
29556 * math/s_catanhf.c: Include <float.h>.
29557 (__catanhf): Ensure underflow exception occurs for underflowed
29559 * math/s_catanhl.c: Include <float.h>.
29560 (__catanhl): Ensure underflow exception occurs for underflowed
29562 * math/s_catanl.c: Include <float.h>.
29563 (__catanl): Ensure underflow exception occurs for underflowed
29565 * math/libm-test.inc (catan_test): Add more tests.
29566 (catanh_test): Likewise.
29569 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29570 underflowed result.
29571 * math/s_ccoshf.c (__ccoshf): Likewise.
29572 * math/s_ccoshl.c (__ccoshl): Likewise.
29573 * math/s_csin.c (__csin): Likewise.
29574 * math/s_csinf.c (__csinf): Likewise.
29575 * math/s_csinh.c (__csinh): Likewise.
29576 * math/s_csinhf.c (__csinhf): Likewise.
29577 * math/s_csinhl.c (__csinhl): Likewise.
29578 * math/s_csinl.c (__csinl): Likewise.
29579 * math/libm-test.inc (ccos_test): Add more tests.
29580 (ccosh_test): Likewise.
29581 (csin_test): Likewise.
29582 (csinh_test): Likewise.
29584 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29586 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29587 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29588 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29589 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29590 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29591 powerpc/power5+/fpu folders.
29592 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29595 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29599 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29601 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29602 additions to variable.
29603 [$(config-machine) = x86_64] (modules-names): Likewise.
29604 ($(objpfx)tst-audit3): Remove dependency.
29605 ($(objpfx)tst-audit3.out): Likewise.
29606 ($(objpfx)tst-audit4): Likewise.
29607 ($(objpfx)tst-audit4.out): Likewise.
29608 ($(objpfx)tst-audit5): Likewise.
29609 ($(objpfx)tst-audit5.out): Likewise.
29610 ($(objpfx)tst-audit6): Likewise.
29611 ($(objpfx)tst-audit6.out): Likewise.
29612 ($(objpfx)tst-audit7): Likewise.
29613 ($(objpfx)tst-audit7.out): Likewise.
29614 (tst-audit3-ENV): Remove variable.
29615 (tst-audit4-ENV): Likewise.
29616 (tst-audit5-ENV): Likewise.
29617 (tst-audit6-ENV): Likewise.
29618 (tst-audit7-ENV): Likewise.
29619 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29620 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29621 addition to variable.
29622 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29623 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29624 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29625 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29626 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29627 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29628 tst-audit3, tst-audit4 and tst-audit5.
29629 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29630 tst-audit6 and tst-audit7.
29631 [$(subdir) = elf] (modules-names): Add audit modules for those
29633 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29634 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29635 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29636 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29637 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29638 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29639 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29640 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29641 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29642 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29643 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29644 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29645 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29646 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29647 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29648 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29650 [$(subdir) = elf && $(config-cflags-avx) = yes]
29651 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29652 [$(subdir) = elf && $(config-cflags-avx) = yes]
29653 (CFLAGS-tst-auditmod4a.c): Likewise.
29654 [$(subdir) = elf && $(config-cflags-avx) = yes]
29655 (CFLAGS-tst-auditmod4b.c): Likewise.
29656 [$(subdir) = elf && $(config-cflags-avx) = yes]
29657 (CFLAGS-tst-auditmod6b.c): Likewise.
29658 [$(subdir) = elf && $(config-cflags-avx) = yes]
29659 (CFLAGS-tst-auditmod6c.c): Likewise.
29660 [$(subdir) = elf && $(config-cflags-avx) = yes]
29661 (CFLAGS-tst-auditmod7b.c): Likewise.
29662 * elf/tst-audit3.c: Move to ...
29663 * sysdeps/x86_64/tst-audit3.c: ... here.
29664 * elf/tst-audit4.c: Move to ...
29665 * sysdeps/x86_64/tst-audit4.c: ... here.
29666 * elf/tst-audit5.c: Move to ...
29667 * sysdeps/x86_64/tst-audit5.c: ... here.
29668 * elf/tst-audit6.c: Move to ...
29669 * sysdeps/x86_64/tst-audit6.c: ... here.
29670 * elf/tst-audit7.c: Move to ...
29671 * sysdeps/x86_64/tst-audit7.c: ... here.
29672 * elf/tst-auditmod3a.c: Move to ...
29673 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29674 * elf/tst-auditmod3b.c: Move to ...
29675 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29676 * elf/tst-auditmod4a.c: Move to ...
29677 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29678 * elf/tst-auditmod4b.c: Move to ...
29679 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29680 * elf/tst-auditmod5a.c: Move to ...
29681 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29682 * elf/tst-auditmod5b.c: Move to ...
29683 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29684 * elf/tst-auditmod6a.c: Move to ...
29685 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29686 * elf/tst-auditmod6b.c: Move to ...
29687 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29688 * elf/tst-auditmod6c.c: Move to ...
29689 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29690 * elf/tst-auditmod7a.c: Move to ...
29691 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29692 * elf/tst-auditmod7b.c: Move to ...
29693 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29695 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29698 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29699 define unconditionally.
29700 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29701 define unconditionally.
29702 (INT8_C, INT16_C, etc.): Likewise.
29704 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29706 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29707 __ehdr_start with hidden visibility.
29709 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29711 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29713 * math/libm-test.inc (cos_test): Use accurate hex constants.
29714 (sincost_test): Likewise.
29716 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29718 * math/libm-test.inc (catan_test): Add more tests.
29719 (catanh_test): Likewise.
29721 * math/s_catanf.c (__catanf): Use suffixed floating-point
29723 * math/s_catanhf.c (__catanhf): Likewise.
29724 * math/s_catanhl.c (__catanhl): Likewise.
29725 * math/s_catanl.c (__catanl): Likewise.
29728 * math/s_catan.c (__catan): Calculate imaginary part of result
29729 with log1p not log unless computing log of number close to 0.
29730 * math/s_catanf.c (__catanf): Likewise.
29731 * math/s_catanl.c (__catanl): Likewise.
29732 * math/s_catanh.c (__catanh): Calculate real part of result with
29733 log1p not log unless computing log of number close to 0.
29734 * math/s_catanhf.c (__catanhf): Likewise.
29735 * math/s_catanhl.c (__catanhl): Likewise.
29736 * math/libm-test.inc (catan_test): Add more tests.
29737 (catanh_test): Likewise.
29738 * sysdeps/i386/fpu/libm-test-ulps: Update.
29739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29741 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29743 * benchtests/Makefile: Mention files in which fast and slow
29744 paths of math functions are implemented.
29746 2013-04-23 Roland McGrath <roland@hack.frob.com>
29748 * sysdeps/posix/timespec_get.c: New file.
29750 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29752 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29754 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29756 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29757 powerpc/power5/fpu folders.
29758 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29759 * benchtests/Makefile: Add modf testcase.
29760 * benchtests/bench-modf.c: New file: Benchmark test for mo
29762 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29765 * time/Makefile (tests): Add tst-strptime-whitespace.
29766 * time/strptime_l.c (get_number): Use ISSPACE.
29767 (__strptime_internal): Likewise.
29768 * time/tst-strptime-whitespace.c: New test case.
29770 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29772 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29774 (_nss_files_init): Set it here.
29776 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29778 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29779 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29782 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29784 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29786 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29788 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29791 2013-04-21 David S. Miller <davem@davemloft.net>
29793 * po/ru.po: Update Russion translation from translation project.
29795 2013-04-17 Adam Conrad <adconrad@0c3.net>
29797 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29800 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29802 * configure.in: Remove i386 configure warning. Remove i386 case.
29803 * configure: Regenerate.
29804 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29805 Add example to error message.
29806 * sysdeps/i386/configure: Regenerate.
29808 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29810 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29812 * benchtests/cos-inputs: New file.
29813 * benchtests/slowcos-inputs: New file.
29814 * benchtests/slowcos.c: New file.
29815 * benchtests/slowtan-inputs: New file.
29816 * benchtests/slowtan.c: New file.
29817 * benchtests/tan-inputs: New file.
29819 2013-04-16 Roland McGrath <roland@hack.frob.com>
29821 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29824 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29826 * benchtests/Makefile: Include cppflags-iterator.mk to add
29827 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29829 * Makefile.in (bench-clean): New target.
29830 * benchtests/Makefile (bench-clean): Likewise.
29832 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29834 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29836 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29838 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29840 2013-04-15 Andreas Schwab <schwab@suse.de>
29842 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29843 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29844 * nscd/pwdcache.c (cache_addpw): Likewise.
29845 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29848 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29850 * benchtests/Makefile (bench): Write all output to
29851 bench-out.tmp together.
29853 2013-04-15 Andreas Schwab <schwab@suse.de>
29855 * nscd/nscd.c (main): Don't fork again after closing files.
29857 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29859 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29861 * benchtests/Rules (bench-deps): Collect dependencies into a
29862 single variable. Add Makefile to dependencies.
29863 ($(objpfx)bench-%.c): Depend on bench-deps.
29865 2013-04-12 Roland McGrath <roland@hack.frob.com>
29866 Xavier Roche <roche+kml2@exalead.com>
29869 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29870 just that it's a file descriptor.
29871 * manual/llio.texi (Synchronizing AIO Operations): Update description
29872 for EBADF error from aio_fsync.
29874 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29876 * Rules (bench): Move target definition...
29877 * benchtests/Makefile: ... here.
29879 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29881 * math/libm-test.inc (cos_test): Fix PI/2 test.
29882 (sincos_test): Likewise.
29883 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29884 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29886 2013-04-11 Andreas Schwab <schwab@suse.de>
29889 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29890 accept exponent character only when digits were seen.
29891 * stdio-common/Makefile (tests): Add bug26.
29892 * stdio-common/bug26.c: New file.
29895 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29898 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29900 * Makeconfig (rtld-prefix): Define built linker prefix.
29901 * Rules (run-bench): Use it.
29902 * math/Makefile (run-regen-ulps): Likewise.
29904 * Rules (bench): Remove eval.
29906 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29907 Roland McGrath <roland@hack.frob.com>
29908 Ondrej Bilka <neleai@seznam.cz>
29911 * time/getdate.c: Include ctype.h and alloca.h.
29912 (__getdate_r): Trim leading and trailing spaces of input.
29913 * time/tst-getdate.c (tests): Add tests with leading and
29916 2013-04-08 Roland McGrath <roland@hack.frob.com>
29919 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29920 when computing value.
29922 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29924 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29925 Use testrun.sh to run libm tests.
29928 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29930 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29933 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29935 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29937 * Makefile.in (regen-ulps): New target.
29938 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29939 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29940 [ifneq (no,$(PERL)] (regen-ulps): New target.
29941 [ifeq (no,$(PERL)] (regen-ulps): New target.
29942 * math/libm-test.inc (ulps_file_name): Define.
29943 (output_dir): New variable.
29944 (options): Add "output-dir" option.
29945 (parse_opt): Handle 'o' case.
29946 (main): If output_dir is non-NULL use it as a prefix
29948 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29950 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29952 [BZ #10060, #10062]
29953 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29954 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29955 fail configure if __sync_val_compare_and_swap is not inlined.
29956 * sysdeps/i386/configure: Regenerate.
29957 * configure.in: Build for i686 when configured for i386.
29958 * configure: Regenerate.
29959 * README: Remove i386 reference.
29961 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29963 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29964 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29966 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29968 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29969 (lmsnanval): New variables.
29970 (F): Add conversion tests.
29971 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29972 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29974 * stdio-common/tstdiomisc.c (F): Properly collect individual
29977 [BZ #14686, #15336]
29978 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29979 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29980 Instead, use input NaN values or generate a qNaN by arithmetic
29981 operation. Also fix bugs to comply with the standard.
29982 * math/libm-test.inc (remainder_test): Add more tests.
29984 [BZ #15335, #15342]
29985 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29987 input NaN values or generate a qNaN by arithmetic operation.
29989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29992 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29995 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29998 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29999 underflowed result.
30000 * math/s_cexpf.c (__cexpf): Likewise.
30001 * math/s_cexpl.c (__cexpl): Likewise.
30002 * math/libm-test.inc (cexp_test): Add more tests.
30004 2013-04-03 Andreas Schwab <schwab@suse.de>
30007 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30008 order arrays from heap if bigger than alloca cutoff.
30010 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30012 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30013 (SNAN_TESTS_double): Refer to GCC PR56831.
30014 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30017 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30019 * Rules (bench): Move bench.out after the run is complete.
30021 * Rules (bench): Echo currently running benchmark.
30023 * benchtests/Makefile (bench): Add atan and slowatan.
30024 * benchtests/atan-inputs: New file.
30025 * benchtests/slowatan-inputs: New file.
30026 * benchtests/slowatan.c: New file.
30028 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30033 * sysdeps/unix/sysv/linux/kernel-features.h
30034 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30035 __ASSUME_XFS_RESTRICTED_CHOWN.
30036 * sysdeps/unix/sysv/linux/pathconf.c
30037 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30038 Save and restore errno.
30040 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30043 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30044 arguments using __kernel_casinh.
30045 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30046 arguments using __kernel_casinhf.
30047 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30048 arguments using __kernel_casinhl.
30049 * math/libm-test.inc (cacosh_test): Add more tests.
30050 * sysdeps/i386/fpu/libm-test-ulps: Update.
30051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30053 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30055 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30058 * bench/Makefile (bench): Add sin and slowsin.
30059 * benchtests/sin-inputs: New file.
30060 * benchtests/slowsin-inputs: New file.
30061 * benchtests/slowsin.c: New file.
30063 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30064 (bench): Add slowexp and slowpow.
30065 (exp-ITER): Increase iterations.
30066 (pow-ITER): Likewise.
30067 * benchtests/exp-inputs: Change input.
30068 * benchtests/pow-inputs: Likewise.
30069 * benchtests/slowexp-inputs: New file.
30070 * benchtests/slowexp.c: New file.
30071 * benchtests/slowpow-inputs: New file.
30072 * benchtests/slowpow.c: New file.
30074 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30076 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30078 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30079 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30080 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30081 * benchtests/Makefile: Add rint benchtest.
30082 * benchtests/rint-inputs: Input for rint benchtest.
30084 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30086 * Versions.def (libm): Add GLIBC_2.18.
30087 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30088 hidden libm prototypes.
30089 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30090 * math/Makefile (libm-calls): Add s_issignaling.
30091 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30092 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30093 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30095 * math/math.h [__USE_GNU] (issignaling): New macro.
30096 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30097 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30099 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30102 * manual/arith.texi (issignaling): New section.
30103 * manual/libm-err-tab.pl (@all_functions): Update comment.
30104 * math/gen-libm-test.pl (parse_args): Apply special handling for
30106 * math/libm-test.inc (print_float, issignaling_test): New
30108 (check_float_internal): Add issignaling checks.
30109 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30110 default definition.
30111 * sysdeps/powerpc/math-tests.h: New file.
30112 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30114 * math/test-snan.c (TEST_FUNC): Likewise.
30116 2013-03-30 David S. Miller <davem@davemloft.net>
30118 * po/de.po: Update from translation team.
30120 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30123 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30124 imaginary part less than 1.0 and real part less than 0.5
30126 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30127 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30128 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30129 (cacos_test): Add more tests.
30130 (casin_test): Likewise.
30131 (casinh_test): Likewise.
30132 * sysdeps/i386/fpu/libm-test-ulps: Update.
30133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30135 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30137 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30138 ONE with its value.
30140 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30141 (__pow_mp): Replace ONE and MONE with their values.
30142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30144 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30145 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30146 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30147 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30149 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30151 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30152 (__pow_mp): Replace ZERO and MZERO with their values.
30153 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30154 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30155 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30156 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30157 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30158 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30161 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30163 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30165 2013-03-28 Roland McGrath <roland@hack.frob.com>
30167 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30168 Declare with __attribute__ ((weak)).
30169 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30170 Call __call_tls_dtors only if it's not NULL.
30172 2013-03-28 Roland McGrath <roland@hack.frob.com>
30174 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30175 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30176 magic __ehdr_start linker symbol if it's defined.
30177 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30178 them up here if it was already done.
30180 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30181 (_dl_aux_init): Use const in cast when setting it.
30182 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30183 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30184 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30186 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30188 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30189 * csu/libc-tls.c: Nor here.
30190 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30192 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30193 (__libc_message): Never call vsyslog.
30195 2013-03-28 Alan Modra <amodra@gmail.com>
30197 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30199 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30202 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30209 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30212 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30213 Don't add gid passed as argument.
30215 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30217 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30220 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30221 imaginary part between 1.0 and 1.5 and real part less than 0.5
30223 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30224 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30225 * math/libm-test.inc (cacos_test): Add more tests.
30226 (casin_test): Likewise.
30227 (casinh_test): Likewise.
30228 * sysdeps/i386/fpu/libm-test-ulps: Update.
30229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30231 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30233 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30236 (denorm): Likewise.
30237 (__dbl_mp): Likewise.
30238 (add_magnitudes): Likewise.
30239 (sub_magnitudes): Likewise.
30247 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30249 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30250 (__dubcos): Likewise.
30251 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30252 (__ieee754_acos): Likewise.
30253 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30254 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30255 (__exp1): Likewise.
30256 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30259 (my_log2): Likewise.
30260 (checkint): Likewise.
30261 * sysdeps/ieee754/dbl-64/e_remainder.c
30262 (__ieee754_remainder): Likewise.
30263 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30264 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30265 (bsloww): Likewise.
30266 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30268 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30269 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30270 MANTISSA_STORE_T to store computations on mantissa. Use
30271 macros for rounding and division.
30272 (denorm): Likewise.
30273 (__dbl_mp): Likewise.
30274 (add_magnitudes): Likewise.
30275 (sub_magnitudes): Likewise.
30278 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30279 powers of two in terms of TWOPOW macro.
30280 (mp_no): Make type of mantissa as MANTISSA_T.
30281 [!RADIXI]: Define RADIXI.
30282 [!TWO52]: Define TWO52.
30283 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30285 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30287 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30288 llroundl symbol when building for PPC32.
30290 2013-03-24 Mark H Weaver <mhw@netris.org>
30292 * manual/arith.texi (Normalization Functions): Fix prototypes for
30293 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30295 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30298 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30299 high value to check if expl overflow.
30300 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30301 to check for underflow and overflow.
30302 * math/libm-test.inc: Add exp test.
30304 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30307 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30310 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30312 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30315 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30317 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30318 wrap blocks consisting of several statements.
30320 * sysdeps/generic/math-tests.h: New file.
30321 * sysdeps/i386/fpu/math-tests.h: Likewise.
30322 * math/test-snan.c: Include it.
30323 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30325 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30329 (__ieee754_j0l): Do not improve calculations using cos of twice
30330 input for inputs above LDBL_MAX / 2.0L.
30331 (__ieee754_y0l): Likewise.
30332 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30333 (__ieee754_j1l): Do not improve calculations using cos of twice
30334 input for inputs above LDBL_MAX / 2.0L.
30335 (__ieee754_y1l): Likewise.
30336 * math/libm-test.inc (j0_test): Add another test.
30337 (j1_test): Likewise.
30338 (y0_test): Likewise.
30339 (y1_test): Likewise.
30340 * sysdeps/i386/fpu/libm-test-ulps: Update.
30342 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30344 * Rules ($(objpfx)bench-%.c): Include code from a C source
30347 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30350 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30351 imaginary part 1.0 and real part less than 0.5 specially.
30352 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30353 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30354 * math/libm-test.inc (cacos_test): Add more tests.
30355 (casin_test): Likewise.
30356 (casinh_test): Likewise.
30357 * sysdeps/i386/fpu/libm-test-ulps: Update.
30358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30360 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30362 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30363 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30365 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30367 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30368 * config.make.in (config-cflags-sse4): Remove variable.
30369 (config-cflags-avx): Likewise.
30370 (config-cflags-sse2avx): Likewise.
30371 (config-cflags-novzeroupper): Likewise.
30372 (config-asflags-i686): Likewise.
30373 (have-mfma4): Likewise.
30374 (have-as-vis3): Likewise.
30376 * configure.in (MIG): Do not AC_SUBST.
30377 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30378 (libc_cv_cc_sse4): Do not AC_SUBST.
30379 (libc_cv_cc_avx): Likewise.
30380 (libc_cv_cc_sse2avx): Likewise.
30381 (libc_cv_cc_novzeroupper): Likewise.
30382 (libc_cv_cc_fma4): Likewise.
30383 (libc_cv_as_i686): Likewise.
30384 (libc_cv_sparc_as_vis3): Likewise.
30385 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30387 (config-asflags-i686): Likewise.
30388 (config-cflags-avx): Likewise.
30389 (config-cflags-sse2avx): Likewise.
30390 (have-mfma4): Likewise.
30391 (config-cflags-novzeroupper): Likewise.
30392 * sysdeps/mach/configure.in (MIG): Likewise.
30393 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30394 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30396 (config-cflags-avx): Likewise.
30397 (config-cflags-sse2avx): Likewise.
30398 (have-mfma4): Likewise.
30399 (config-cflags-novzeroupper): Likewise.
30400 * configure: Regenerated.
30401 * sysdeps/i386/configure: Likewise.
30402 * sysdeps/mach/configure: Likewise.
30403 * sysdeps/sparc/configure: Likewise.
30404 * sysdeps/x86_64/configure: Likewise.
30406 2013-03-20 Roland McGrath <roland@hack.frob.com>
30409 * locale/programs/localedef.c (options): Put N_ translation marker
30410 on argument names, not just descriptions.
30412 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30414 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30416 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30419 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30421 2013-03-19 Roland McGrath <roland@hack.frob.com>
30423 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30424 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30425 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30426 [!BEFORE_ABORT] (before_abort): New function.
30427 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30428 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30429 (writev_for_fatal): New function.
30430 (WRITEV_FOR_FATAL): New macro; call that.
30431 (backtrace_and_maps): New function.
30432 (BEFORE_ABORT): New macro; call that.
30433 (struct str_list): Type removed.
30434 (__libc_message, __libc_fatal): Functions removed.
30435 Include <sysdeps/posix/libc_fatal.c> instead.
30437 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30439 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30441 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30444 2013-03-19 Andreas Schwab <schwab@suse.de>
30446 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30447 * sysdeps/gnu/configure: Regenerate.
30449 * configure.in: Substitute libc_cv_rtlddir.
30450 * configure: Regenerate.
30451 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30452 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30453 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30454 * elf/Makefile (install-others, CFLAGS-interp.c)
30455 (ldso_install, common-ldd-rewrite): Likewise.
30456 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30457 $(inst_slibdir)/$(rtld-installed-name).
30458 * scripts/rellns-sh: Add -p option.
30459 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30462 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30464 * manual/nptl.texi: Renamed to ...
30465 * manual/threads.texi: ... this.
30466 * manual/Makefile (chapters): Update.
30468 2013-03-18 Roland McGrath <roland@hack.frob.com>
30471 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30472 on argument names, not just descriptions.
30473 * malloc/memusagestat.c (options): Likewise.
30474 * nss/getent.c (options): Likewise.
30476 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30479 * iconv/iconv_prog.c (options): Put N_ translation marker
30480 on argument names, not just descriptions.
30481 * iconv/iconvconfig.c (options): Likewise.
30483 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30485 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30486 implementation which is faster on all x86_64 architectures.
30487 Tested on AMD, Intel Nehalem, SNB, IVB.
30488 * sysdeps/x86_64/strnlen.S: Likewise.
30490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30491 Remove all multiarch strlen and strnlen versions.
30492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30493 Remove strlen and strnlen related parts.
30495 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30496 Inline strlen part.
30497 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30499 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30500 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30501 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30502 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30503 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30504 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30506 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30508 * manual/memory.texi (Malloc Tunable Parameters):
30509 Sort parameters alphabetically. Add comments for missing entries.
30511 2013-03-17 David S. Miller <davem@davemloft.net>
30513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30515 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30518 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30519 for arguments at most half maximum finite value.
30520 * math/libm-test.inc (j0_test): Add more tests.
30521 (j1_test): Likewise.
30522 (y0_test): Likewise.
30523 (y1_test): Likewise.
30524 * sysdeps/i386/fpu/libm-test-ulps: Update.
30525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30528 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30529 1 / x and functions P and Q for arguments above 0x1p256L.
30530 (__ieee754_y0l): Likewise.
30531 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30532 (__ieee754_y1l): Likewise.
30533 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30534 (j1_test): Likewise.
30535 (y0_test): Likewise.
30536 (y1_test): Likewise.
30538 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30540 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30543 2013-03-15 Roland McGrath <roland@hack.frob.com>
30545 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30546 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30547 zero since it's initialized to EXEC_PAGESIZE.
30549 * sysdeps/unix/sysv/linux/ldsodefs.h
30550 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30551 * sysdeps/generic/ldsodefs.h: ... here.
30553 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30555 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30557 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30559 * math/test-snan.c: Renamed from
30560 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30561 * math/Makefile (tests): Add test-snan.
30562 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30565 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30566 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30568 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30569 __builtin_nan family of functions.
30570 * math/libm-test.inc (initialize): Initialize qnan_value with
30571 __builtin_nan family of functions.
30572 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30574 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30576 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30577 storage class. Initialize qNaN_var and sNaN_var with
30578 __builtin_nan and __builtin_nans families of functions,
30581 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30582 (sqrt_test): Remove duplicate test with qNaN input.
30583 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30584 (round_test, signbit_test, significand_test): Note missing +/-Inf
30585 as well as qNaN tests.
30587 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30588 qNaN_var. Fix a few strings, too.
30589 * math/libm-test.inc (nan_value): Rename to qnan_value.
30590 * math/gen-libm-test.pl (%beautify): Adjust to that.
30591 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30592 * math/test-misc.c (main): Likewise.
30593 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30594 to __qnan_bytes, and __qnan_union, respectively.
30595 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30597 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30598 and lqnanval, respectively.
30599 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30600 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30601 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30602 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30604 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30605 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30608 * math/test-misc.c (main): Fix copy'n'pastos.
30609 * misc/tst-efgcvt.c (special): Likewise.
30611 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30612 Remove declarations.
30614 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30616 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30617 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30618 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30619 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30621 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30624 macro to return vdso values correctly in IFUNC implementations.
30625 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30626 Optimization by using IFUNC.
30628 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30629 Richard Henderson <rth@redhat.com>
30630 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30632 * Makefile.in (bench): New target.
30633 * NEWS: Mention the benchmark framework.
30634 * Rules (bench): Likewise.
30635 (binaries-bench): Generate binaries for functions to
30637 * benchtests/Makefile: New makefile for benchmark tests.
30638 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30640 * benchtests/exp-inputs: New input file for EXP function.
30641 * benchtests/pow-inputs: New input file for POW function.
30642 * scripts/bench.pl: New script to generate source files for
30643 benchmark programs.
30645 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30647 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30648 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30649 computations on mantissa. Use macros for rounding and
30651 (denorm): Likewise.
30652 (__dbl_mp): Likewise.
30653 (add_magnitudes): Likewise.
30654 (sub_magnitudes): Likewise.
30657 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30658 powers of two in terms of TWOPOW macro.
30659 (mp_no): Make type of mantissa as MANTISSA_T.
30660 [!RADIXI]: Define RADIXI.
30661 [!TWO52]: Define TWO52.
30662 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30664 * manual/nptl.texi (cindex): Modify threads to pthreads.
30666 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30668 * sysdeps/x86_64/preconfigure: Regenerated.
30670 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30673 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30675 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30676 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30678 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30679 * math/libm-test.inc (j0_test): Do not allow one spurious
30680 underflow exception.
30681 (y1_test): Likewise.
30683 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30685 * manual/Makefile (chapters): Add nptl.
30686 * manual/debug.texi (Debugging Support): Add link to Threads
30688 * manual/nptl.texi: New file.
30690 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30692 2013-03-14 Petr Baudis <pasky@ucw.cz>
30694 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30695 for non-NULL pointer before the memory validity test. Pointed
30696 out by Holger Brunck <holger.brunck@keymile.com>.
30698 2013-03-13 Andreas Schwab <schwab@suse.de>
30700 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30703 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30705 * timezone/zic.c: Update from tzcode 2013b.
30707 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30709 * manual/install.texi (Configuring and compiling):
30710 Mention i686 and i586.
30711 * INSTALL: Regenerate.
30713 2013-03-12 Roland McGrath <roland@hack.frob.com>
30715 * sysdeps/init_array/elf-init.c: New file.
30717 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30718 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30720 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30721 __gmon_start__ as global, but as static with a .preinit_array pointer.
30722 * sysdeps/init_array/gmon-start.c: New file. Use that.
30723 * sysdeps/init_array/crti.S: New file, empty except for comments.
30724 * sysdeps/init_array/crtn.S: Likewise.
30726 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30728 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30731 Remove Prefer_SSE_for_memop.
30732 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30733 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30734 HAS_PREFER_SSE_FOR_MEMOP.
30735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30738 Remove bzero, memset ifunc support.
30739 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30740 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30741 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30742 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30744 2013-03-11 Andreas Schwab <schwab@suse.de>
30747 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30750 (GLIBC_2.16): Remove pthread_atfork.
30752 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30754 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30755 (ptestcases.h): Likewise.
30757 2013-03-08 Roland McGrath <roland@hack.frob.com>
30759 * Makeconfig ($(common-objpfx)config.status): Depend on
30760 sysdeps/*/preconfigure{,.in} too.
30762 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30764 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30765 (__free_hook): Use void * instead of __malloc_ptr_t.
30766 (__malloc_hook): Likewise.
30767 (__realloc_hook): Likewise.
30768 (__memalign_hook): Likewise.
30769 (__after_morecore_hook): Likewise.
30770 * malloc/arena.c (save_malloc_hook): Likewise.
30771 (save_free_hook): Likewise.
30772 * malloc/hooks.c (malloc_hook_ini): Likewise.
30773 (realloc_hook_ini): Likewise.
30774 (memalign_hook_ini): Likewise.
30775 * malloc/malloc.c (malloc_hook_ini): Likewise.
30776 (realloc_hook_ini): Likewise.
30777 (memalign_hook_ini): Likewise.
30778 (__free_hook): Likewise.
30779 (__malloc_hook): Likewise.
30780 (__realloc_hook): Likewise.
30781 (__memalign_hook): Likewise.
30782 (__libc_malloc): Likewise.
30783 (__libc_free): Likewise.
30784 (__libc_realloc): Likewise.
30785 (__libc_memalign): Likewise.
30786 (__libc_valloc): Likewise.
30787 (__libc_pvalloc): Likewise.
30788 (__libc_calloc): Likewise.
30789 (__posix_memalign): Likewise.
30790 * malloc/morecore.c (__sbrk): Likewise.
30791 (__default_morecore): Likewise.
30793 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30795 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30796 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30797 __malloc_ptrdiff_t.
30799 * malloc/malloc.h (__malloc_size_t): Remove macro.
30800 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30802 (old_memalign_hook): Likewise.
30803 (old_realloc_hook): Likewise.
30804 (struct hdr): Likewise.
30806 (mallochook): Likewise.
30807 (memalignhook): Likewise.
30808 (reallochook): Likewise.
30809 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30810 (tr_old_realloc_hook): Likewise.
30811 (tr_old_memalign_hook): Likewise.
30812 (tr_mallochook): Likewise.
30813 (tr_reallochook): Likewise.
30814 (tr_memalignhook): Likewise.
30816 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30818 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30819 default_ldbl_pack and using as default implementation.
30820 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30822 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30823 redundant definition.
30824 (ldbl_insert_mantissa): Likewise.
30825 (ldbl_canonicalize): Likewise.
30826 (ldbl_nearbyint): Likewise.
30827 (ldbl_pack): Rename to ldbl_pack_ppc.
30828 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30829 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30830 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30832 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30835 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30836 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30837 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30840 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30841 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30843 2013-03-07 Andreas Jaeger <aj@suse.de>
30845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30848 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30850 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30851 Include mpa.h and declare __MPEXP.
30852 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30853 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30854 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30855 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30856 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30857 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30858 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30860 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30861 (__slowpow): Use long double EXPL and LOGL functions to
30863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30864 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30865 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30867 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30868 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30871 intermediate variable to calculate exponent.
30873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30877 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30878 [!NO__SQR]: Define __sqr.
30879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30880 and NO__SQR. Remove all code except __mul and __sqr. Include
30881 sysdeps/ieee754/dbl-64/mpa.c.
30882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30885 * posix/Makefile (tests): Add tst-pathconf.
30886 * posix/tst-pathconf.c: New test case.
30887 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30889 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30891 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30893 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30895 2013-03-06 Andreas Jaeger <aj@suse.de>
30897 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30898 definition via __MAP_ANONYMOUS.
30900 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30901 it's not part of Linux headers.
30903 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30904 (MAP_HUGE_MASK): Define.
30906 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30908 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30911 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30912 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30914 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30915 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30917 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30919 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30920 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30921 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30922 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30923 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30924 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30926 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30929 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30930 Handle f2fs and efivarfs.
30932 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30935 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30936 (EFIVARFS_MAGIC): Add.
30937 (F2FS_LINK_MAX): Add.
30939 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30941 * stdio-common/vfprintf.c: Replace __builtin_expect with
30944 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30947 * sysdeps/generic/bp-sym.h: Remove file.
30948 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30949 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30950 <bp-sym.h> and <bp-asm.h>.
30951 (__longjmp): Don't use BP_SYM.
30952 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30954 (memcpy): Don't use BP_SYM.
30955 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30956 <bp-sym.h> and <bp-asm.h>.
30957 (memcpy): Don't use BP_SYM.
30958 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30960 (memcpy): Don't use BP_SYM.
30961 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30963 (memset): Don't use BP_SYM.
30964 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30965 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30966 (__bzero): Don't use BP_SYM.
30967 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30968 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30969 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30970 <bp-sym.h> and <bp-asm.h>.
30971 (memcmp): Don't use BP_SYM. Remove comment about bounded
30973 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30974 <bp-sym.h> and <bp-asm.h>.
30975 (memcpy): Don't use BP_SYM.
30976 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30977 <bp-sym.h> and <bp-asm.h>.
30978 (memset): Don't use BP_SYM.
30979 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30980 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30981 (__bzero): Don't use BP_SYM.
30982 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30983 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30984 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30985 <bp-sym.h> and <bp-asm.h>.
30986 (strncmp): Don't use BP_SYM. Remove comment about bounded
30988 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30989 <bp-sym.h> and <bp-asm.h>.
30990 (memcpy): Don't use BP_SYM.
30991 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30992 <bp-sym.h> and <bp-asm.h>.
30993 (memset): Don't use BP_SYM.
30994 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30995 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30996 (__bzero): Don't use BP_SYM.
30997 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30998 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30999 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31000 <bp-sym.h> and <bp-asm.h>.
31001 (__memchr): Don't use BP_SYM.
31002 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31003 <bp-sym.h> and <bp-asm.h>.
31004 (memcmp): Don't use BP_SYM. Remove comment about bounded
31006 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31007 <bp-sym.h> and <bp-asm.h>.
31008 (memcpy): Don't use BP_SYM.
31009 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31010 <bp-sym.h> and <bp-asm.h>.
31011 (__mempcpy): Don't use BP_SYM.
31012 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31013 <bp-sym.h> and <bp-asm.h>.
31014 (__memrchr): Don't use BP_SYM.
31015 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31016 <bp-sym.h> and <bp-asm.h>.
31017 (memset): Don't use BP_SYM.
31018 (__bzero): Likewise.
31019 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31020 <bp-sym.h> and <bp-asm.h>.
31021 (__rawmemchr): Don't use BP_SYM.
31022 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31023 <bp-sym.h> and <bp-asm.h>.
31024 (__STRCMP): Don't use BP_SYM.
31025 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31026 <bp-sym.h> and <bp-asm.h>.
31027 (strchr): Don't use BP_SYM.
31028 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31029 <bp-sym.h> and <bp-asm.h>.
31030 (__strchrnul): Don't use BP_SYM.
31031 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31032 <bp-sym.h> and <bp-asm.h>.
31033 (strlen): Don't use BP_SYM.
31034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31035 <bp-sym.h> and <bp-asm.h>.
31036 (strncmp): Don't use BP_SYM. Remove comment about bounded
31038 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31039 <bp-sym.h> and <bp-asm.h>.
31040 (__strnlen): Don't use BP_SYM.
31041 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31042 <bp-sym.h> and <bp-asm.h>.
31043 (__GI__setjmp): Don't use BP_SYM.
31044 (_setjmp): Likewise.
31045 (__sigsetjmp): Likewise.
31046 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31047 (L(start_addresses)): Don't use BP_SYM.
31048 (_start): Likewise.
31049 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31051 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31052 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31053 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31054 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31055 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31057 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31058 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31059 about bounded pointers.
31060 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31061 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31062 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31064 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31065 about bounded pointers. Remove GKM FIXME comments.
31066 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31067 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31069 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31070 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31071 Remove GKM FIXME comments.
31072 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31073 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31074 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31076 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31077 about bounded pointers. Remove GKM FIXME comment.
31078 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31080 (strncmp): Don't use BP_SYM. Remove comment about bounded
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31083 <bp-sym.h> and <bp-asm.h>.
31084 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31086 <bp-sym.h> and <bp-asm.h>.
31087 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31090 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31092 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31095 2013-03-05 David S. Miller <davem@davemloft.net>
31097 * po/es.po: Update from translation team.
31099 2013-03-05 Andreas Jaeger <aj@suse.de>
31101 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31102 <bits/mman-linux.h>.
31103 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31105 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31106 <bits/mman-linux.h> to end of file.
31107 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31109 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31110 <bits/mman-linux.h> to end of file.
31111 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31113 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31114 <bits/mman-linux.h> to end of file.
31116 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31117 (MCL_CURRENT, MCL_FUTURE): Define here.
31119 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31122 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31124 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31126 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31128 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31129 fourth parameter needed for rt_sigprocmask syscall.
31130 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31131 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31132 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31133 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31134 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31135 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31137 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31140 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31141 comment about bounded pointers.
31142 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31143 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31145 2013-03-04 Andreas Jaeger <aj@suse.de>
31147 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31148 common definitions.
31150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31151 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31152 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31153 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31157 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31160 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31161 __ieee754_sqrl instead of __sqrl.
31163 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31165 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31166 * sysdeps/powerpc/fpu_control.h: ... here.
31167 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31168 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31169 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31170 * sysdeps/powerpc/bits/mathinline.h: ... here.
31172 2013-03-01 Roland McGrath <roland@hack.frob.com>
31174 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31175 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31176 to just [NEED_DL_SYSINFO_DSO].
31177 * elf/dl-support.c: Likewise.
31178 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31179 * elf/rtld.c (dl_main): Likewise.
31180 * elf/setup-vdso.h (setup_vdso): Likewise.
31181 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31182 * sysdeps/unix/sysv/linux/dl-sysdep.c
31183 (_dl_discover_osversion): Likewise.
31185 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31187 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31188 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31190 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31192 * NEWS: Mention libm performance improvements and non-x86 PI
31195 * csu/libc-start.c (__pthread_initialize_minimal): Change
31196 function arguments.
31197 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31199 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31202 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31203 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31204 <bp-sym.h> and <bp-asm.h>.
31205 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31206 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31208 (memcpy): Don't use BP_SYM.
31209 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31211 (__mpn_add_n): Don't use BP_SYM.
31212 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31213 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31215 (__mpn_addmul_1): Don't use BP_SYM.
31216 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31217 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31219 (_setjmp): Don't use BP_SYM.
31220 (__novmx_setjmp): Likewise.
31221 (__GI__setjmp): Likewise.
31222 (__vmx_setjmp): Likewise.
31223 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31225 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31226 (__bzero): Don't use BP_SYM.
31227 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31228 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31229 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31230 <bp-sym.h> and <bp-asm.h>.
31231 (memcpy): Don't use BP_SYM.
31232 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31233 <bp-sym.h> and <bp-asm.h>.
31234 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31235 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31236 <bp-sym.h> and <bp-asm.h>.
31237 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31238 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31240 (__mpn_lshift): Don't use BP_SYM.
31241 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31242 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31244 (memset): Don't use BP_SYM.
31245 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31246 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31247 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31249 (__mpn_mul_1): Don't use BP_SYM.
31250 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31252 <bp-sym.h> and <bp-asm.h>.
31253 (memcmp): Don't use BP_SYM.
31254 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31255 <bp-sym.h> and <bp-asm.h>.
31256 (memcpy): Don't use BP_SYM.
31257 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31258 <bp-sym.h> and <bp-asm.h>.
31259 (memset): Don't use BP_SYM.
31260 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31261 <bp-sym.h> and <bp-asm.h>.
31262 (strncmp): Don't use BP_SYM.
31263 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31264 <bp-sym.h> and <bp-asm.h>.
31265 (memcpy): Don't use BP_SYM.
31266 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31267 <bp-sym.h> and <bp-asm.h>.
31268 (memset): Don't use BP_SYM.
31269 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31270 <bp-sym.h> and <bp-asm.h>.
31271 (__memchr): Don't use BP_SYM.
31272 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31273 <bp-sym.h> and <bp-asm.h>.
31274 (memcmp): Don't use BP_SYM.
31275 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31276 <bp-sym.h> and <bp-asm.h>.
31277 (memcpy): Don't use BP_SYM.
31278 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31279 <bp-sym.h> and <bp-asm.h>.
31280 (__mempcpy): Don't use BP_SYM.
31281 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31282 <bp-sym.h> and <bp-asm.h>.
31283 (__memrchr): Don't use BP_SYM.
31284 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31285 <bp-sym.h> and <bp-asm.h>.
31286 (memset): Don't use BP_SYM.
31287 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31288 <bp-sym.h> and <bp-asm.h>.
31289 (__rawmemchr): Don't use BP_SYM.
31290 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31291 <bp-sym.h> and <bp-asm.h>.
31292 (__STRCMP): Don't use BP_SYM.
31293 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31294 <bp-sym.h> and <bp-asm.h>.
31295 (strchr): Don't use BP_SYM.
31296 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31297 <bp-sym.h> and <bp-asm.h>.
31298 (__strchrnul): Don't use BP_SYM.
31299 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31300 <bp-sym.h> and <bp-asm.h>.
31301 (strlen): Don't use BP_SYM.
31302 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31303 <bp-sym.h> and <bp-asm.h>.
31304 (strncmp): Don't use BP_SYM.
31305 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31306 <bp-sym.h> and <bp-asm.h>.
31307 (__strnlen): Don't use BP_SYM.
31308 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31310 (__mpn_rshift): Don't use BP_SYM.
31311 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31312 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31313 <bp-sym.h> and <bp-asm.h>.
31314 (__sigsetjmp): Don't use BP_SYM.
31315 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31316 (L(start_addresses)): Don't use BP_SYM.
31317 (_start): Likewise.
31318 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31320 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31321 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31322 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31323 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31325 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31326 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31327 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31328 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31330 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31332 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31333 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31335 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31337 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31338 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31339 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31341 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31343 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31345 (strncmp): Don't use BP_SYM,
31346 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31348 (__mpn_sub_n): Don't use BP_SYM.
31349 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31350 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31352 (__mpn_submul_1): Don't use BP_SYM.
31353 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31355 <bp-sym.h> and <bp-asm.h>.
31356 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31358 <bp-sym.h> and <bp-asm.h>.
31359 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31362 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31365 Use ZK to minimize writes to Z.
31366 (sub_magnitudes): Simplify code a bit.
31367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31368 Use ZK to minimize writes to Z.
31369 (sub_magnitudes): Simplify code a bit.
31371 2013-02-27 Roland McGrath <roland@hack.frob.com>
31373 * csu/gmon-start.c: Add special exception to license text.
31375 2013-02-27 Richard Henderson <rth@redhat.com>
31377 * scripts/config.guess: Update from config.git.
31378 * scripts/config.sub: Likewise.
31380 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31382 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31384 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31386 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31388 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31390 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31392 2013-02-26 Roland McGrath <roland@hack.frob.com>
31394 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31395 [$(build-shared = yes].
31397 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31399 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31400 (__mul): Reduce iterations for calculating mantissa.
31402 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31404 (__mpranred): Likewise.
31407 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31408 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31410 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31412 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31413 Define __attribute__.
31415 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31417 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31419 * posix/regex_internal.h (__attribute): Remove.
31420 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31421 (re_string_context_at): Likewise.
31422 (bitset_not): Use __attribute__ and mark function as possibly
31424 (bitset_merge): Likewise.
31425 (bitset_mask): Likewise.
31426 (re_string_char_size_at): Likewise.
31427 (re_string_wchar_at): Likewise.
31428 (re_string_elem_size_at): Likewise.
31430 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31432 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31436 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31440 (denorm): Likewise.
31441 (__dbl_mp): Likewise.
31442 (add_magnitudes): Likewise.
31443 (sub_magnitudes): Likewise.
31447 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31450 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31453 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31457 up changes with default code.
31458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31461 2013-02-24 Allan McRae <allan@archlinux.org>
31463 * manual/socket.texi (The Internet Namespace): Order menu items
31464 to match that in the file.
31466 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31467 node listing of the info page menu.
31469 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31472 * sysdeps/i386/bp-asm.h: Remove file.
31473 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31474 (PARMS): Do not use macros from bp-asm.h.
31478 (__mpn_add_n): Do not use BP_SYM
31479 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31481 (PARMS): Do not use macros from bp-asm.h.
31484 (__mpn_addmul_1): Do not use BP_SYM
31485 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31487 (PARMS): Do not use macros from bp-asm.h.
31488 (SIGMSK): Likewise.
31489 (_setjmp): Likewise. Do not use BP_SYM.
31490 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31492 (PARMS): Do not use macros from bp-asm.h.
31493 (SIGMSK): Likewise.
31494 (setjmp): Likewise. Do not use BP_SYM.
31495 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31497 (PARMS): Do not use macros from bp-asm.h.
31498 (__frexp): Do not use BP_SYM.
31500 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31502 (PARMS): Do not use macros from bp-asm.h.
31503 (__frexpf): Do not use BP_SYM.
31504 (frexpf): Likewise.
31505 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31507 (PARMS): Do not use macros from bp-asm.h.
31508 (__frexpl): Do not use BP_SYM.
31509 (frexpl): Likewise.
31510 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31512 (PARMS): Do not use macros from bp-asm.h.
31513 (__remquo): Do not use BP_SYM.
31514 (remquo): Likewise.
31515 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31517 (PARMS): Do not use macros from bp-asm.h.
31518 (__remquof): Do not use BP_SYM.
31519 (remquof): Likewise.
31520 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31522 (PARMS): Do not use macros from bp-asm.h.
31523 (__remquol): Do not use BP_SYM.
31524 (remquol): Likewise.
31525 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31527 (PARMS): Do not use macros from bp-asm.h.
31530 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31531 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31533 (PARMS): Do not use macros from bp-asm.h.
31534 (strlen): Do not use BP_SYM.
31535 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31537 (PARMS): Do not use macros from bp-asm.h.
31541 (__mpn_add_n): Do not use BP_SYM.
31542 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31544 (PARMS): Do not use macros from bp-asm.h.
31547 (__mpn_addmul_1): Do not use BP_SYM.
31548 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31551 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31553 (PARMS): Do not use macros from bp-asm.h.
31556 (__mpn_lshift): Do not use BP_SYM.
31557 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31559 (PARMS): Do not use macros from bp-asm.h.
31563 (memcpy): Likewise. Do not use BP_SYM.
31564 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31565 libc_hidden_def and weak_alias.
31566 (mempcpy): Do not use BP_SYM in weak_alias.
31567 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31569 (PARMS): Do not use macros from bp-asm.h.
31572 [!BZERO_P] (CHR): Likewise.
31573 (memset): Likewise. Do not use BP_SYM.
31574 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31576 (PARMS): Do not use macros from bp-asm.h.
31579 (__mpn_mul_1): Do not use BP_SYM.
31580 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31582 (PARMS): Do not use macros from bp-asm.h.
31585 (__mpn_rshift): Do not use BP_SYM.
31586 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31588 (PARMS): Do not use macros from bp-asm.h.
31591 (strchr): Likewise. Do not use BP_SYM.
31592 (index): Do not use BP_SYM in weak_alias.
31593 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31595 (PARMS): Do not use macros from bp-asm.h.
31598 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31599 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31601 (PARMS): Do not use macros from bp-asm.h.
31602 (strlen): Do not use BP_SYM.
31603 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31605 (PARMS): Do not use macros from bp-asm.h.
31609 (__mpn_sub_n): Do not use BP_SYM.
31610 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31612 (PARMS): Do not use macros from bp-asm.h.
31615 (__mpn_submul_1): Do not use BP_SYM.
31616 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31618 (PARMS): Do not use macros from bp-asm.h.
31622 (__mpn_add_n): Do not use BP_SYM.
31623 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31626 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31628 (PARMS): Do not use macros from bp-asm.h.
31631 (memcmp): Do not use BP_SYM.
31632 (bcmp): Do not use BP_SYM in weak_alias.
31633 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31635 (PARMS): Do not use macros from bp-asm.h.
31639 (memcpy): Likewise. Do not use BP_SYM.
31640 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31642 (PARMS): Do not use macros from bp-asm.h.
31646 (memmove): Likewise. Do not use BP_SYM.
31647 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31649 (PARMS): Do not use macros from bp-asm.h.
31653 (__mempcpy): Likewise. Do not use BP_SYM.
31654 (mempcpy): Do not use BP_SYM in weak_alias.
31655 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31657 (PARMS): Do not use macros from bp-asm.h.
31660 [!BZERO_P] (CHR): Likewise.
31661 (memset): Likewise. Do not use BP_SYM.
31662 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31664 (PARMS): Do not use macros from bp-asm.h.
31666 (strcmp): Do not use BP_SYM.
31667 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31669 (PARMS): Do not use macros from bp-asm.h.
31672 [USE_AS_STRTOK_R] (SAVE): Likewise.
31673 (FUNCTION): Likewise. Do not use BP_SYM.
31674 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31676 (strtok_r): Likewise.
31677 (__GI___strtok_r): Likewise.
31678 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31679 (PARMS): Do not use macros from bp-asm.h.
31682 (__mpn_lshift): Do not use BP_SYM.
31683 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31684 (PARMS): Do not use macros from bp-asm.h.
31687 (__memchr): Do not use BP_SYM.
31688 (memchr): Do not use BP_SYM in weak_alias.
31689 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31690 (PARMS): Do not use macros from bp-asm.h.
31693 (memcmp): Do not use BP_SYM.
31694 (bcmp): Do not use BP_SYM in weak_alias.
31695 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31696 (PARMS): Do not use macros from bp-asm.h.
31699 (__mpn_mul_1): Do not use BP_SYM.
31700 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31702 (PARMS): Do not use macros from bp-asm.h.
31705 (__rawmemchr): Do not use BP_SYM.
31706 (rawmemchr): Do not use BP_SYM in weak_alias.
31707 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31708 (PARMS): Do not use macros from bp-asm.h.
31711 (__mpn_rshift): Do not use BP_SYM.
31712 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31713 (PARMS): Do not use macros from bp-asm.h.
31714 (SIGMSK): Likewise.
31715 (__sigsetjmp): Likewise. Do not use BP_SYM.
31716 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31717 (_start): Do not use BP_SYM.
31718 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31719 (PARMS): Do not use macros from bp-asm.h.
31722 (__stpcpy): Likewise. Do not use BP_SYM.
31723 (stpcpy): Do not use BP_SYM in weak_alias.
31724 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31726 (PARMS): Do not use macros from bp-asm.h.
31730 (__stpncpy): Likewise. Do not use BP_SYM.
31731 (stpncpy): Do not use BP_SYM in weak_alias.
31732 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31733 (PARMS): Do not use macros from bp-asm.h.
31736 (strchr): Likewise. Do not use BP_SYM.
31737 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31739 (PARMS): Do not use macros from bp-asm.h.
31742 (__strchrnul): Likewise. Do not use BP_SYM.
31743 (strchrnul): Do not use BP_SYM in weak_alias.
31744 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31746 (PARMS): Do not use macros from bp-asm.h.
31748 (strcspn): Do not use BP_SYM.
31749 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31751 (PARMS): Do not use macros from bp-asm.h.
31754 (strpbrk): Likewise. Do not use BP_SYM.
31755 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31757 (PARMS): Do not use macros from bp-asm.h.
31760 (strrchr): Likewise. Do not use BP_SYM.
31761 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31762 (PARMS): Do not use macros from bp-asm.h.
31764 (strspn): Do not use BP_SYM.
31765 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31766 (PARMS): Do not use macros from bp-asm.h.
31770 (FUNCTION): Likewise. Do not use BP_SYM.
31771 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31773 (strtok_r): Likewise.
31774 (__GI___strtok_r): Likewise.
31775 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31776 (PARMS): Do not use macros from bp-asm.h.
31780 (__mpn_sub_n): Do not use BP_SYM.
31781 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31783 (PARMS): Do not use macros from bp-asm.h.
31786 (__mpn_submul_1): Do not use BP_SYM.
31787 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31789 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31791 (PARMS): Do not use macros from bp-asm.h.
31796 (__clone): Do not use BP_SYM.
31797 (clone): Do not use BP_SYM in weak_alias.
31798 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31800 (PARMS): Do not use macros from bp-asm.h.
31802 (__mmap64): Do not use BP_SYM.
31803 (mmap64): Do not use BP_SYM in weak_alias.
31804 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31805 <bp-sym.h> and <bp-asm.h>.
31806 (PARMS): Do not use macros from bp-asm.h.
31807 (__posix_fadvise64_l64): Do not use BP_SYM.
31808 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31809 (PARMS): Do not use macros from bp-asm.h.
31811 (semtimedop): Do not use BP_SYM.
31812 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31815 2013-02-21 Allan McRae <allan@archlinux.org>
31817 * manual/message.texi (Charset conversion in gettext):
31818 Move @end statement to beginning of line.
31820 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31827 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31828 (denorm): Likewise.
31829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31832 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31834 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31835 tail-call to the resolved function if pltexit isn't needed.
31837 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31840 or Y being zero as being unlikely.
31841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31844 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31846 * manual/nss.texi (System Databases and Name Service Switch):
31847 Remove frobnicate @pxref.
31849 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31851 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31852 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31854 2013-02-20 Petr Machata <pmachata@redhat.com>
31856 * elf/elf.h (R_ARM_TARGET1): New macro.
31857 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31858 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31859 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31860 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31861 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31862 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31863 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31864 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31865 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31866 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31867 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31868 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31869 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31870 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31871 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31872 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31873 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31874 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31875 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31876 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31877 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31878 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31879 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31880 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31881 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31882 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31883 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31884 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31885 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31886 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31887 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31888 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31889 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31890 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31891 (R_ARM_THM_GOT_BREL12): Likewise.
31892 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31893 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31894 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31895 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31896 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31897 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31898 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31899 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31900 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31902 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31904 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31905 __attribute_used__ to __attribute__ ((unused)).
31907 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31909 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31912 comment formatting.
31913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31915 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31918 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31920 (ENTER): Remove both macro definitions.
31922 (CHECK_BOUNDS_LOW): Likewise.
31923 (CHECK_BOUNDS_HIGH): Likewise.
31924 (CHECK_BOUNDS_BOTH): Likewise.
31925 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31926 (RETURN_BOUNDED_POINTER): Likewise.
31927 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31928 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31929 (POP_ERRNO_LOCATION_RETURN): Likewise.
31930 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31931 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31932 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31934 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31935 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31936 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31937 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31938 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31939 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31940 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31941 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31942 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31943 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31944 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31945 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31946 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31947 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31949 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31950 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31952 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31953 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31954 * sysdeps/i386/i586/memset.S (memset): Likewise.
31955 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31956 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31957 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31959 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31960 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31961 Change uses of L(2) to L(out).
31962 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31963 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31964 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31965 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31966 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31968 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31969 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31971 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31972 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31973 (RETURN): Do not use macro LEAVE.
31974 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31975 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31976 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31977 * sysdeps/i386/i686/memset.S (memset): Likewise.
31978 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31979 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31980 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31981 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31983 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31984 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31985 L(1_2) and L(1_3) into L(1).
31986 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31987 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31988 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31989 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31990 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31991 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31992 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31993 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31994 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31996 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31997 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31998 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31999 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32000 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32001 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32002 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32003 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32004 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32005 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32006 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32007 * sysdeps/i386/strspn.S (strspn): Likewise.
32008 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32010 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32011 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32012 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32013 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32014 L(1_3) into L(1_1).
32015 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32016 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32017 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32019 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32021 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32023 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32026 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32028 * math/atest-exp.c (exp_mpn): Remove ROUND.
32029 * math/atest-exp2.c (exp_mpn): Likewise.
32030 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32032 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32033 * stdlib/tst-tls-atexit-lib.c: Likewise.
32034 * stdlib/tst-tls-atexit.c: Likewise.
32036 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32038 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32039 and __attribute_alloc_size__.
32041 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32043 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32044 __attribute_alloc_size__.
32045 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32046 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32048 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32050 * include/programs/xmalloc.h: New file.
32051 * catgets/gencat.c: Include it.
32052 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32053 * elf/pldd.c: Likewise.
32054 * iconv/iconv_charmap.c: Likewise.
32055 * iconv/iconvconfig.c: Likewise.
32056 * iconv/strtab.c: Likewise.
32057 * locale/programs/locale.c: Likewise.
32058 * locale/programs/localedef.h: Likewise.
32059 * locale/programs/simple-hash.c: Likewise.
32060 * nscd/nscd.h: Likewise.
32061 * nss/makedb.c: Likewise.
32062 * sysdeps/generic/ldconfig.h: Likewise.
32064 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32066 * Versions.def: Add GLIBC_2.18.
32067 * include/link.h (struct link_map): New member l_tls_dtor_count.
32068 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32069 (__call_tls_dtors): Likewise.
32070 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32071 __cxa_thread_atexit_impl.
32072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32080 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32088 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32089 (tests): Add test case tst-tls-atexit.
32090 (modules-names): Add shared library for tst-tls-atexit.
32091 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32092 (GLIBC_PRIVATE): Add __call_tls_dtors.
32093 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32095 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32096 * stdlib/tst-tls-atexit.c: New test case.
32097 * stdlib/tst-tls-atexit-lib.c: New test case.
32099 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32101 * elf/Versions (ld): Add _dl_find_dso_for_object.
32102 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32103 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32104 (dl_open_worker): Use _dl_find_dso_for_object.
32105 * elf/dl-sym.c (do_sym): Likewise.
32106 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32108 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32110 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32111 Syntactic changes only.
32112 (_dl_runtime_profile): Do a tail-call to the resolved function.
32114 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32117 * sysdeps/x86_64/bp-asm.h: Remove file.
32118 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32119 <bp-sym.h> and <bp-asm.h>.
32120 (__clone): Do not use BP_SYM.
32121 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32122 <bp-sym.h> and <bp-asm.h>.
32123 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32124 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32126 (_setjmp): Do not use BP_SYM.
32127 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32129 (setjmp): Do not use BP_SYM.
32130 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32132 (mempcpy): Do not use BP_SYM in weak_alias.
32133 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32135 (strchr): Do not use BP_SYM.
32136 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32138 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32139 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32140 (_start): Do not use BP_SYM.
32141 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32143 (strcat): Do not use BP_SYM.
32144 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32146 (STRCMP): Do not use BP_SYM.
32147 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32149 (STRCPY): Do not use BP_SYM.
32150 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32152 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32154 (FUNCTION): Do not use BP_SYM.
32155 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32157 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32159 2013-02-17 Andreas Jaeger <aj@suse.de>
32161 * time/Versions: Sort entries.
32162 * string/Versions: Likewise.
32163 * resolv/Versions: Likewise.
32164 * posix/Versions: Likewise.
32165 * iconv/Versions: Likewise.
32166 * elf/Versions: Likewise.
32167 * wcsmbs/Versions: Likewise.
32169 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32171 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32172 loop termination condition.
32174 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32175 variable to calculate EZ.
32178 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32179 the lower precision input.
32181 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32184 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32185 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32186 (run-via-rtld-prefix): Do not handle %-bp tests.
32187 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32188 (all-object-suffixes): Remove .ob.
32189 (bppfx): Remove variable.
32190 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32191 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32192 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32193 [$(build-bounded) = yes] (libtype.ob): Likewise.
32194 * Makerules (elide-routines.ob): Remove variable.
32195 (do-tests-clean): Do not handle *-bp.out.
32196 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32197 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32198 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32199 (tests): Do not include $(tests-bp.out).
32200 (xtests): Do not include $(xtests-bp.out).
32201 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32202 [$(build-bounded) = yes] ($(addprefix
32203 $(objpfx),$(binaries-bounded))): Remove rule.
32204 ($(objpfx)%-bp.out): Remove rule.
32205 * config.make.in (build-bounded): Remove variable.
32206 * crypt/Makefile [$(build-bounded) = yes]
32207 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32208 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32209 append to variable.
32210 [$(build-bounded) = yes] (install-lib): Likewise.
32211 [$(build-bounded) = yes] (generated): Likewise.
32212 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32214 * intl/Makefile [$(build-bounded) = yes]
32215 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32216 * math/Makefile [$(build-bounded) = yes]
32217 ($(tests:%=$(objpfx)%-bp): Likewise.
32218 * misc/Makefile [$(build-bounded) = yes]
32219 ($(objpfx)tst-tsearch-bp): Likewise.
32220 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32221 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32223 * string/Makefile (o-objects.ob): Remove variable.
32224 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32225 (CFLAGS-.ob): Remove variable.
32226 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32227 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32228 both definitions of variable.
32229 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32230 (ASFLAGS-.ob): Remove variable.
32232 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32235 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32236 Remove __BOUNDED_POINTERS__ from condition.
32237 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32238 * string/bits/string2.h [!__NO_STRING_INLINES &&
32239 !__BOUNDED_POINTERS__]: Likewise.
32240 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32242 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32243 Remove conditional code.
32244 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32245 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32246 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32250 * csu/libc-start.c: Do not include <bp-sym.h>.
32251 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32252 * elf/dl-open.c: Do not include <bp-sym.h>.
32253 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32254 * math/fegetenv.c: Do not include <bp-sym.h>.
32255 (fegetenv): Do not use BP_SYM in versioned symbols.
32256 * nptl/sysdeps/pthread/bits/libc-lockP.h
32257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32260 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32262 (__pthread_mutex_destroy): Likewise.
32263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32264 (__pthread_mutex_lock): Likewise.
32265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32266 (__pthread_mutex_trylock): Likewise.
32267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32268 (__pthread_mutex_unlock): Likewise.
32269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32270 (__pthread_mutexattr_init): Likewise.
32271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32272 (__pthread_mutexattr_destroy): Likewise.
32273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32274 (__pthread_mutexattr_settype): Likewise.
32275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32276 (__pthread_rwlock_init): Likewise.
32277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32278 (__pthread_rwlock_destroy): Likewise.
32279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32280 (__pthread_rwlock_rdlock): Likewise.
32281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32282 (__pthread_rwlock_tryrdlock): Likewise.
32283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32284 (__pthread_rwlock_wrlock): Likewise.
32285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32286 (__pthread_rwlock_trywrlock): Likewise.
32287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32288 (__pthread_rwlock_unlock): Likewise.
32289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32290 (__pthread_key_create): Likewise.
32291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32292 (__pthread_setspecific): Likewise.
32293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32294 (__pthread_getspecific): Likewise.
32295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32298 (_pthread_cleanup_push_defer): Likewise.
32299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32300 (_pthread_cleanup_pop_restore): Likewise.
32301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32302 (pthread_setcancelstate): Likewise.
32303 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32305 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32306 (memchr): Do not use BP_SYM in weak_alias.
32307 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32308 (fegetenv): Do not use BP_SYM in versioned symbols.
32309 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32310 (fesetenv): Do not use BP_SYM in versioned symbols.
32311 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32312 (feupdateenv): Do not use BP_SYM in versioned symbols.
32313 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32314 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32315 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32316 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32317 (open64): Do not use BP_SYM in weak_alias.
32318 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32319 (fegetenv): Do not use BP_SYM in versioned symbols.
32320 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32321 (fesetenv): Do not use BP_SYM in versioned symbols.
32322 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32323 (feupdateenv): Do not use BP_SYM in versioned symbols.
32324 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32325 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32326 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32327 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32328 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32329 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32330 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32332 (__libc_start_main): Do not use BP_SYM.
32334 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32337 redundant return line.
32339 (denorm): Likewise.
32340 (dbl_mp): Likewise.
32341 (sub_magnitudes): Likewise.
32347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32349 (denorm): Likewise.
32350 (dbl_mp): Likewise.
32351 (sub_magnitudes): Likewise.
32358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32360 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32361 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32364 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32365 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32367 of __mul for squares.
32368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32372 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32373 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32375 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32378 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32380 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32381 prototype or function definition. Rename ubp_* variables and
32382 parameters. Remove argv definitions conditional on
32383 [__BOUNDED_POINTERS__].
32384 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32385 * elf/dl-runtime.c (_dl_fixup): Likewise.
32386 * include/set-hooks.h (RUN_HOOK): Likewise.
32387 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32389 * string/strcpy.c (strcpy): Do not use __unbounded.
32390 * sysdeps/generic/frame.h (struct layout): Likewise.
32391 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32392 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32393 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32394 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32395 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32396 (__backtrace): Likewise.
32397 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32399 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32400 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32401 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32403 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32404 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32405 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32406 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32407 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32408 Do not use __unbounded.
32409 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32410 Rename __unboundedrlimits parameter to rlimits in prototype.
32411 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32412 Do not use __unbounded.
32413 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32414 not use __ptrvalue.
32415 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32416 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32417 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32418 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32419 __ptrvalue or __unbounded.
32420 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32421 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32423 (__new_msgctl): Do not use __ptrvalue.
32424 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32426 (__libc_msgrcv): Do not use __ptrvalue.
32427 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32428 startup_info): Do not use __unbounded.
32429 (__libc_start_main): Likewise. Rename ubp_* variables and
32430 parameters. Remove argv definitions conditional on
32431 [__BOUNDED_POINTERS__].
32432 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32434 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32436 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32438 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32440 (__new_shmctl): Do not use __ptrvalue.
32441 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32442 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32444 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32445 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32446 (__libc_sigaction): Likewise.
32447 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32448 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32450 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32452 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32454 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32456 * string/mempcpy.c: Implement by calling memcpy.
32458 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32465 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32466 values in the mantissa.
32468 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32469 minimize writes to Z.
32470 (sub_magnitudes): Simplify code a bit.
32472 2013-02-12 Roland McGrath <roland@hack.frob.com>
32474 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32475 from the message. The linker prefixes all warnings with that already.
32477 2013-02-12 Andreas Schwab <schwab@suse.de>
32480 * posix/regexec.c (extend_buffers): Add parameter min_len.
32481 (check_matching): Pass minimum needed length.
32482 (clean_state_log_if_needed): Likewise.
32483 (get_subexp): Likewise.
32484 * posix/Makefile (tests): Add bug-regex34.
32485 (bug-regex34-ENV): Define.
32486 * posix/bug-regex34.c: New file.
32489 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32490 elements compare against the byte sequence of it, not its name.
32491 * posix/Makefile (tests): Add bug-regex35.
32492 (bug-regex35-ENV): Define.
32493 * posix/bug-regex35.c: New file.
32495 2013-02-11 Tom de Vries <tom@codesourcery.com>
32497 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32499 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32500 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32501 (CHECK_EOL): Add undef.
32503 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32505 * bits/stdlib-bsearch.h: New file.
32506 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32507 * stdlib/stdlib.h: Likewise.
32509 2013-02-11 Roland McGrath <roland@hack.frob.com>
32511 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32512 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32514 * manual/search.texi (Array Search Function): Add missing const in
32516 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32517 declaration to use rlim_t.
32518 (Basic Scheduling Functions): Remove erroneous const from
32519 sched_getparam prototype. Remove erroneous * from
32520 sched_get_priority_max and sched_get_priority_min prototypes.
32521 (Resource Usage): Fix summary @comment on vtimes to refer to
32522 sys/vtimes.h rather than vtimes.h.
32523 Add missing *s in vtimes prototype.
32524 (Limits on Resources): Fix ulimit prototype to return long int.
32525 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32526 prototypes to use long int rather than double.
32527 (BSD Random): Fix initstate and setstate to use char *, not void *.
32528 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32529 prototype to make second argument 'struct aiocb64 *const[]'.
32530 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32531 (Status of AIO Operations): Remove erroneous const in aio_return and
32532 aio_return64 prototypes.
32533 (Synchronizing I/O): Fix sync prototype to return void.
32534 * manual/startup.texi (Suboptions): Remove an erroneous const in
32535 getsubopt prototype.
32536 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32537 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32538 use size_t rather than int.
32539 (Scanning All Users): Likewise for getpwent_r.
32540 (Setting Groups): Add missing const to setgroups prototype.
32541 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32542 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32543 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32544 'const void *' rather than 'const char *'.
32545 (Host Address Functions): Likewise for inet_ntop.
32546 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32547 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32548 ssize_t for return value.
32549 (Sending Data): Likewise for send, sendto, sendmsg.
32550 (Socket Option Functions): Add a missing const in setsockopt prototype.
32551 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32552 use wchar_t for the argument.
32553 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32554 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32556 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32557 double/float/long double for second argument.
32558 Fix return types of significand, significandf, significandl.
32559 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32560 argument in fchmod prototype.
32561 (File Owner): Use uid_t and gid_t in fchown prototype.
32562 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32563 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32564 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32565 use 'const struct dirent **' as argument types to CMP function pointer
32567 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32568 (File Times): Fix summary magic @comment for struct utimbuf and utime
32569 to refer to utime.h, not time.h.
32570 * manual/string.texi (Argz Functions): Add missing const in
32571 argz_extract and argz_next prototypes.
32572 (Finding Tokens in a String): Likewise for basename.
32573 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32574 (Copying and Concatenation): Fix typo in wmemmove prototype.
32575 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32576 (Signal Stack): Remove erroneous const in sigstack prototype.
32577 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32579 (Simple Calendar Time): Likewise for stime.
32580 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32582 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32583 say sys/sysctl.h instead.
32584 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32585 and vsyslog prototypes.
32587 2013-02-11 Tom de Vries <tom@codesourcery.com>
32589 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32592 2013-02-11 Roland McGrath <roland@hack.frob.com>
32594 * misc/sys/mman.h: Fix typo in mremap comment.
32596 2013-02-08 Roland McGrath <roland@hack.frob.com>
32598 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32599 the '\0' terminator.
32601 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32604 * debug/segfault.c: Don't include <bp-checks.h>.
32605 * sysdeps/generic/bp-checks.h: Remove file.
32606 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32607 (__GETDENTS): Don't use CHECK_N.
32608 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32609 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32610 (__getgroups): Don't use CHECK_N.
32611 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32612 (setgroups): Don't use CHECK_N.
32613 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32614 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32615 (__libc_msgrcv): Don't use CHECK_N.
32616 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32617 (__libc_msgsnd): Don't use CHECK_N.
32618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32620 (__libc_pread): Don't use CHECK_N.
32621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32622 include <bp-checks.h>.
32623 (__libc_pread64): Don't use CHECK_N.
32624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32625 include <bp-checks.h>.
32626 (__libc_pwrite): Don't use CHECK_N.
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32628 include <bp-checks.h>.
32629 (__libc_pwrite64): Don't use CHECK_N.
32630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32632 (__libc_pread): Don't use CHECK_N.
32633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32634 include <bp-checks.h>.
32635 (__libc_pread64): Don't use CHECK_N.
32636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32637 include <bp-checks.h>.
32638 (__libc_pwrite): Don't use CHECK_N.
32639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32640 include <bp-checks.h>.
32641 (__libc_pwrite64): Don't use CHECK_N.
32642 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32643 (do_pread): Don't use CHECK_N.
32644 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32645 (do_pread64): Don't use CHECK_N.
32646 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32647 (do_pwrite): Don't use CHECK_N.
32648 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32649 (do_pwrite64): Don't use CHECK_N.
32650 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32651 (__libc_readv): Don't use CHECK_N.
32652 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32653 (semop): Don't use CHECK_N.
32654 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32656 (semtimedop): Don't use CHECK_N.
32657 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32658 (__libc_pread): Don't use CHECK_N.
32659 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32661 (__libc_pread64): Don't use CHECK_N.
32662 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32664 (__libc_pwrite): Don't use CHECK_N.
32665 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32667 (__libc_pwrite64): Don't use CHECK_N.
32668 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32670 (__libc_msgrcv): Don't use CHECK_N.
32671 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32672 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32673 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32674 (__libc_writev): Don't use CHECK_N.
32676 2013-02-08 Roland McGrath <roland@hack.frob.com>
32678 * string/strcpy.c: Removed unused variable.
32680 * Makeconfig (+sysdep-includes): Define with := rather than =.
32681 Use an existing include/ subdir of each sysdeps dir before it.
32683 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32685 * nscd/connection.c (register_traced_file): Comment function.
32686 [HAVE_INOTIFY] (union __inev): Define.
32687 [HAVE_INOTIFY] (inotify_check_files): New function.
32688 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32689 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32691 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32693 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32695 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32696 loaded if not already and that a failure is permanent.
32698 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32701 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32702 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32704 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32707 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32708 (CHECK_1_NULL_OK): Likewise.
32709 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32710 (__fxstat): Do not use CHECK_1.
32711 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32713 (___fxstat64): Do not use CHECK_1.
32714 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32716 (__fxstatat): Do not use CHECK_1.
32717 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32719 (__fxstatat64): Do not use CHECK_1.
32720 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32722 (__fxstat): Do not use CHECK_1.
32723 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32725 (__fxstatat): Do not use CHECK_1.
32726 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32728 (__getresgid): Do not use CHECK_1.
32729 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32731 (__getresuid): Do not use CHECK_1.
32732 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32734 (__lxstat): Do not use CHECK_1.
32735 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32737 (__old_msgctl): Do not use CHECK_1.
32738 (__new_msgctl): Likewise.
32739 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32741 (__new_setrlimit): Do not use CHECK_1.
32742 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32744 (__old_shmctl): Do not use CHECK_1.
32745 (__new_shmctl): Likewise.
32746 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32748 (__xstat): Do not use CHECK_1.
32749 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32750 (__lxstat): Do not use CHECK_1.
32751 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32753 (___lxstat64): Do not use CHECK_1.
32754 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32755 (__old_msgctl): Do not use CHECK_1.
32756 (__new_msgctl): Likewise.
32757 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32759 (__gettimeofday): Do not use CHECK_1.
32760 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32761 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32762 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32764 (__gettimeofday): Do not use CHECK_1.
32765 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32766 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32767 (__new_shmctl): Do not use CHECK_1.
32768 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32770 (do_sigtimedwait): Do not use CHECK_1.
32771 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32773 (do_sigwaitinfo): Do not use CHECK_1.
32774 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32776 (msgctl): Do not use CHECK_1.
32777 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32779 (shmctl): Do not use CHECK_1.
32780 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32781 (ustat): Do not use CHECK_1.
32782 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32784 (__fxstat): Do not use CHECK_1.
32785 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32787 (__fxstatat): Do not use CHECK_1.
32788 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32790 (__lxstat): Do not use CHECK_1.
32791 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32793 (__xstat): Do not use CHECK_1.
32794 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32795 (__xstat): Do not use CHECK_1.
32796 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32797 (___xstat64): Do not use CHECK_1.
32800 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32802 (CHECK_BOUNDS_HIGH): Likewise.
32803 * string/strcpy.c: Do not include <bp-checks.h>.
32804 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32806 2013-02-07 Roland McGrath <roland@hack.frob.com>
32808 * nscd/nscd-client.h (__nscd_drop_map_ref):
32809 Add __attribute__ ((unused)).
32810 * nis/nss-nisplus.h (niserr2nss): Likewise.
32812 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32813 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32815 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32816 Remove inline keyword.
32817 * include/rounding-mode.h (round_away): Likewise.
32818 * libio/wfileops.c (adjust_wide_data): Likewise.
32819 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32820 (__m128i_strloadu_tolower): Likewise.
32821 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32822 (__m128i_strloadu_tolower): Likewise.
32823 * time/mktime.c (ydhms_diff): Likewise.
32824 * locale/elem-hash.h (elem_hash): Likewise.
32825 * locale/setlocale.c (setdata): Likewise.
32826 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32827 (re_string_wchar_at): Likewise.
32828 (bitset_not, bitset_merge, bitset_mask): Likewise.
32829 [!(__GNUC__ > 3)] (inline): Remove macro.
32830 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32831 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32832 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32833 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32834 * string/memcmp.c (memcmp_bytes): Likewise.
32835 * locale/programs/locarchive.c (compute_hashval): Likewise.
32836 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32837 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32838 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32839 * nss/getent.c (print_rpc, print_protocols): Likewise.
32840 (print_passwd, print_group, print_aliases): Likewise.
32841 * nis/nss-nisplus.h (niserr2nss): Likewise.
32842 * nscd/connections.c (restart_p): Likewise.
32843 Change return type to bool.
32845 2013-02-05 Roland McGrath <roland@hack.frob.com>
32847 * Makeconfig (all-Depend-files): Add existing
32848 $(sorted-subdirs:=/Depend) files.
32849 (all-subdirs): Remove nss.
32850 * sysdeps/unix/inet/Subdirs: Add it here instead.
32851 * hesiod/Depend: New file.
32853 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32854 instead of calling alloca.
32856 * io/lseek.c (__lseek): Rename to __libc_lseek.
32857 Define __lseek as an alias.
32859 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32861 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32863 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32864 else clause and remove check for non-standard endianness.
32866 2013-02-04 David S. Miller <davem@davemloft.net>
32868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32870 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32873 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32874 (__ubp_memchr): Remove prototype.
32875 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32876 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32877 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32878 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32879 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32881 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32882 (__ubp_memchr): Likewise.
32883 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32884 (__ubp_memchr): Likewise.
32885 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32886 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32887 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32888 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32890 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32891 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32892 (__getcwd): Do not use CHECK_STRING.
32893 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32895 (__real_chown): Do not use CHECK_STRING.
32896 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32898 (fchownat): Do not use CHECK_STRING.
32899 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32901 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32903 (__lchown): Do not use CHECK_STRING.
32904 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32905 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32906 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32907 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32909 include <bp-checks.h>.
32910 (truncate64): Do not use CHECK_STRING.
32911 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32913 (__real_chown): Do not use CHECK_STRING.
32914 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32916 (__lchown): Do not use CHECK_STRING.
32917 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32919 (__chown): Do not use CHECK_STRING.
32920 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32922 (truncate64): Do not use CHECK_STRING.
32923 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32925 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32926 (__xmknod): Do not use CHECK_STRING.
32927 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32929 (__xmknodat): Do not use CHECK_STRING.
32930 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32931 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32933 2013-02-04 Andreas Schwab <schwab@suse.de>
32936 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32937 * include/netdb.h: Likewise for h_errno.
32938 * elf/tst-stackguard1.c: Include <tls.h>.
32940 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32942 * elf/link.h (struct link_map): Extend the l_addr comment.
32943 * include/link.h (struct link_map): Likewise.
32945 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32948 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32949 (BOUNDED_1): Remove macro.
32950 * debug/backtrace.c: Don't include <bp-checks.h>.
32951 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32952 (__backtrace): Likewise.
32953 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32955 (__backtrace): Don't use BOUNDED_1.
32956 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32958 (__backtrace): Don't use BOUNDED_1.
32959 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32960 (__backtrace): Don't use BOUNDED_1.
32961 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32962 (shmat): Don't use BOUNDED_N.
32964 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32967 * sysdeps/generic/bp-start.h: Remove file.
32968 * csu/libc-start.c: Don't include <bp-start.h>.
32969 (LIBC_START_MAIN): Set up __environ directly instead of using
32970 INIT_ARGV_and_ENVIRON.
32971 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32975 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32977 (CHECK_FCNTL): Likewise.
32978 (CHECK_N_PAGES): Likewise.
32981 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32983 (CHECK_SIGSET_NULL_OK): Likewise.
32984 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32986 (sigpending): Don't use CHECK_SIGSET.
32987 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32989 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32990 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32992 (do_sigsuspend): Don't use CHECK_SIGSET.
32993 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32995 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32996 (do_sigwait): Don't use CHECK_SIGSET.
32997 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32999 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33000 include <bp-checks.h>.
33001 (sigpending): Don't use CHECK_SIGSET.
33002 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33003 include <bp-checks.h>.
33004 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33005 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33007 (sigpending): Don't use CHECK_SIGSET.
33008 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33010 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33013 * sysdeps/generic/bp-semctl.h: Remove file.
33014 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33015 <bp-checks.h> and <bp-semctl.h>.
33016 (__old_semctl): Don't use CHECK_SEMCTL.
33017 (__new_semctl): Likewise.
33018 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33020 (__old_semctl): Don't use CHECK_SEMCTL.
33021 (__new_semctl): Likewise.
33022 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33023 <bp-checks.h> and <bp-semctl.h>.
33024 (__old_semctl): Don't use CHECK_SEMCTL.
33025 (__new_semctl): Likewise.
33026 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33027 <bp-checks.h> and <bp-semctl.h>.
33028 (semctl): Don't use CHECK_SEMCTL.
33031 * Makerules (elide-bp-thunks): Remove variable.
33032 (elide-routines.oS): Don't use $(elide-bp-thunks).
33033 (elide-routines.os): Likewise.
33034 (elide-routines.o): Likewise.
33035 (elide-routines.op): Likewise.
33036 (elide-routines.og): Likewise.
33037 (objects): Don't use $(bp-thunks).
33038 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33040 (common-generated): Do not add s-proto-bp.d.
33041 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33044 Do not generate makefile rules for bounded-pointer thunks.
33045 * sysdeps/generic/bp-thunks.h: Remove file.
33046 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33047 * sysdeps/unix/s-proto-bp.S: Likewise.
33050 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33051 parts of result separately when argument is not close to line from
33052 -i to i and one part of argument is small.
33053 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33054 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33055 * math/libm-test.inc (cacos_test): Add more tests.
33056 (casin_test): Likewise.
33057 (casinh_test): Likewise.
33058 * sysdeps/i386/fpu/libm-test-ulps: Update.
33059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33061 2013-01-31 David S. Miller <davem@davemloft.net>
33063 * po/de.po: Update from translation team.
33065 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33067 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33069 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33071 * configure.in (_AC_PROG_CC_C89): New definition.
33072 * configure: Regenerate.
33074 * configure.in (AC_PROG_CPP): New definition.
33075 * configure: Regenerate.
33077 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33079 * debug/tst-backtrace.h: New file.
33080 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33081 (ret): Remove variable.
33083 (FAIL): Remove macro.
33084 (NO_INLINE): Likewise.
33085 (fn1): Use match function instead of strstr.
33086 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33087 (ret): Remove variable.
33089 (FAIL): Remove macro.
33090 (NO_INLINE): Likewise.
33091 (fn): Use match function instead of strstr.
33092 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33093 (ret): Remove variable.
33095 (FAIL): Remove macro.
33096 (NO_INLINE): Likewise.
33097 (handle_signal): Use match function instead of strstr.
33098 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33099 (ret): Remove variable.
33101 (FAIL): Remove macro.
33102 (NO_INLINE): Likewise.
33103 (handle_signal): Use match function instead of strstr.
33105 2013-01-23 Roland McGrath <roland@hack.frob.com>
33107 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33109 2013-01-23 David S. Miller <davem@davemloft.net>
33111 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33112 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33113 argument of CAS if possible.
33114 * sysdeps/sparc/sparc64/bits/atomic.h
33115 (__arch_compare_and_exchange_val_32_acq): Likewise.
33116 (__arch_compare_and_exchange_val_64_acq): Likewise.
33118 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33120 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33121 * sysdeps/posix/ulimit.c: ... this.
33122 Include <limits.h>.
33123 * sysdeps/unix/bsd/ulimit.c: Remove file.
33125 2013-01-23 Adam Conrad <adconrad@0c3.net>
33127 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33128 (LDFLAGS-tst-array5): Likewise.
33130 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33133 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33134 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33135 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33136 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33138 2013-01-21 David S. Miller <davem@davemloft.net>
33140 * sysdeps/sparc/backtrace.c: New file.
33141 * sysdeps/sparc/sparc32/backtrace.h: New file.
33142 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33143 * sysdeps/sparc/sparc64/backtrace.h: New file.
33144 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33145 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33148 2013-01-21 Andreas Schwab <schwab@suse.de>
33151 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33154 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33160 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33161 Mark Mitchell <mark@codesourcery.com>
33162 Tom de Vries <tom@codesourcery.com>
33163 Paul Pluzhnikov <ppluzhnikov@google.com>
33165 * debug/tst-backtrace2.c: New file.
33166 * debug/tst-backtrace3.c: Likewise.
33167 * debug/tst-backtrace4.c: Likewise.
33168 * debug/tst-backtrace5.c: Likewise.
33169 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33170 (CFLAGS-tst-backtrace3.c): Likewise.
33171 (CFLAGS-tst-backtrace4.c): Likewise.
33172 (CFLAGS-tst-backtrace5.c): Likewise.
33173 (LDFLAGS-tst-backtrace2): Likewise.
33174 (LDFLAGS-tst-backtrace3): Likewise.
33175 (LDFLAGS-tst-backtrace4): Likewise.
33176 (LDFLAGS-tst-backtrace5): Likewise.
33177 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33178 tst-backtrace4 and tst-backtrace5.
33180 2013-01-18 Anton Blanchard <anton@samba.org>
33181 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33183 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33184 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33185 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33186 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33188 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33189 "+r" and remove output regs list as redundant. Add explicit inline
33190 asm to specify register of return val to work around compiler codegen
33191 bug. Remove (int) cast on return value. Add return type parameter to
33192 use in macro so that this macro does not truncate return value for
33194 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33195 pass to INTERNAL_VSYSCALL_NCS.
33196 (INLINE_VSYSCALL): Add 'long int' as return type to
33197 INTERNAL_VSYSCALL_NCS macro invocation.
33198 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33199 INTERNAL_VSYSCALL_NCS macro invocation.
33200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33202 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33205 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33206 Fix application of SIMD FP exception mask.
33208 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33209 mp_no from a power of two.
33210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33211 __mpexp_twomm1. Use __pow_mp.
33213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33216 2013-01-17 David S. Miller <davem@davemloft.net>
33218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33220 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33223 * include/complex.h: Condition contents on [!_COMPLEX_H].
33224 (__kernel_casinhf): New prototype.
33225 (__kernel_casinh): Likewise.
33226 (__kernel_casinhl): Likewise.
33227 * math/Makefile (libm_calls): Add k_casinh.
33228 * math/k_casinh.c: New file.
33229 * math/k_casinhf.c: Likewise.
33230 * math/k_casinhl.c: Likewise.
33231 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33232 finite nonzero arguments.
33233 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33234 finite nonzero arguments.
33235 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33236 finite nonzero arguments.
33237 * math/s_casinh.c: Do not include <float.h>.
33238 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33239 * math/s_casinhf.c: Do not include <float.h>.
33240 (__casinhf): Move code for finite nonzero arguments to
33242 * math/s_casinhl.c: Do not include <float.h>.
33243 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33245 (__casinhl): Move code for finite nonzero arguments to
33247 * math/libm-test.inc (cacos_test): Add more tests.
33248 * sysdeps/i386/fpu/libm-test-ulps: Update.
33249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33251 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33253 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33254 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33255 [!HAVE_MREMAP]: Remove [defined linux] case.
33256 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33258 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33260 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33262 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33264 * elf/elf.h (R_386_SIZE32): New relocation.
33265 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33267 (elf_machine_rela): Likewise.
33268 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33269 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33271 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33273 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33274 (FP_FAST_FMA): Do not define.
33275 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33276 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33277 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33278 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33279 !_SOFT_FLOAT]: Likewise.
33280 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33281 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33283 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33284 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33285 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33286 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33287 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33288 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33291 2013-01-16 Andreas Schwab <schwab@suse.de>
33294 * include/stdlib.h (__mktemp): Add declaration.
33295 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33296 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33298 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33300 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33302 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33303 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33304 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33306 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33307 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33309 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33311 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33312 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33313 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33315 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33316 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33318 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33320 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33322 2013-01-15 David S. Miller <davem@davemloft.net>
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33325 trunc{,f} to libm-sysdep_routes.
33326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33336 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33337 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33338 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33339 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33340 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33341 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33344 nearbyint{,f} to libm-sysdep_routes.
33345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33359 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33362 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33363 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33365 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33366 libc_feholdexcept and libc_fesetenv.
33368 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33370 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33372 2013-01-14 David S. Miller <davem@davemloft.net>
33374 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33375 (SPARC_ASM_VIS2_IFUNC): Likewise.
33376 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33378 use of 'siam' instruction.
33379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33412 routines to libm-sysdep_routines.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33416 fdim/fdimf to libm-sysdep_routines.
33417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33425 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33426 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33427 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33428 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33430 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33432 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33433 to optimize copies.
33435 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33440 local variable MPTWO.
33441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33444 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33446 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33449 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33451 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33453 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33455 * manual/pattern.texi (glob_t): Document gl_flags.
33456 (glob64_t): Likewise.
33458 2013-01-11 David S. Miller <davem@davemloft.net>
33460 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33461 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33462 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33463 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33464 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33465 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33466 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33467 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33468 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33469 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33470 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33471 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33472 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
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 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33481 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33484 2013-01-11 Roland McGrath <roland@hack.frob.com>
33486 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33487 not in the main loop.
33488 * configure: Regenerated.
33490 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33492 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33493 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33495 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33496 [!__GLIBC_HAVE_LONG_LONG] case.
33497 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33498 condition to just #else.
33499 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33500 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33501 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33502 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33504 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33505 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33506 #elif condition to just #else.
33507 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33508 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33509 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33510 #elif condition to just #else.
33512 2013-01-11 Steve Ellcey <sellcey@mips.com>
33514 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33515 (EF_MIPS_ARCH_64): Fix value.
33516 (EF_MIPS_ARCH_32R2): New.
33517 (EF_MIPS_ARCH_64R2): New.
33519 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33521 * Makeconfig (+link-pie-before-libc): New.
33522 (+link-pie-after-libc): Likewise.
33523 (+link-pie-tests): Likewise.
33524 (+link-pie): Rewritten.
33525 (link-before-libc): Remove $(config-LDFLAGS).
33526 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33527 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33528 (config-LDFLAGS): Renamed to ...
33529 (rtld-LDFLAGS): This.
33530 (rtld-tests-LDFLAGS): New macro.
33531 (link-libc-rpath-link): Likewise.
33532 (link-libc-tests-rpath-link): Likewise.
33533 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33534 (link-libc): Prepand $(link-libc-rpath-link).
33535 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33536 (test-program-prefix): New macro.
33537 (test-via-rtld-prefix): Likewise.
33538 (test-program-cmd): Likewise.
33539 (host-test-program-cmd): Likewise.
33540 * Makefile ($(common-objpfx)testrun.sh): Replace
33541 $(run-program-prefix) with $(test-program-prefix).
33542 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33544 ($(common-objpfx)shlib.lds): Likewise.
33545 (build-module-helper): Likewise.
33546 ($(common-objpfx)format.lds): Likewise.
33547 * Rules (binaries-pie-tests): New.
33548 (binaries-pie-notests): Likewise.
33549 (binaries-pie): Rewritten.
33550 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33551 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33552 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33553 (make-test-out): Replace $(host-built-program-cmd) with
33554 $(host-test-program-cmd).
33555 * config.make.in (build-hardcoded-path-in-tests): New variable.
33556 * configure.in (--enable-hardcoded-path-in-tests): New configure
33558 (hardcoded_path_in_tests): New AC_SUBST.
33559 * configure: Regenerated.
33560 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33561 $(built-program-cmd) with $(test-program-cmd).
33562 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33563 (test_program_cmd): This.
33564 * elf/Makefile ($(objpfx)order.out): Run test with
33565 $(test-program-prefix).
33566 ($(objpfx)order2.out): Likewise.
33567 ($(objpfx)tst-initorder.out): Likewise.
33568 ($(objpfx)tst-initorder2.out): Likewise.
33569 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33570 $(test-program-cmd).
33571 ($(objpfx)tst-array1-static.out): Likewise.
33572 ($(objpfx)tst-array2.out): Likewise.
33573 ($(objpfx)tst-array3.out): Likewise.
33574 ($(objpfx)tst-array4.out): Likewise.
33575 ($(objpfx)tst-array5.out): Likewise.
33576 ($(objpfx)tst-array5-static.out): Likewise.
33577 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33578 $(test-program-cmd).
33579 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33580 $(run-program-prefix) with $(test-program-prefix).
33581 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33582 (test_program_prefix): This.
33583 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33584 $(run-program-prefix) with $(test-program-prefix).
33585 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33586 (test_program_prefix): This.
33587 * iconvdata/tst-tables.sh: Likewise.
33588 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33589 $(run-program-prefix) with $(test-program-prefix).
33590 ($(objpfx)tst-translit.out): Likewise.
33591 ($(objpfx)tst-gettext2.out): Likewise.
33592 ($(objpfx)tst-gettext4.out): Likewise.
33593 ($(objpfx)tst-gettext6.out): Likewise.
33594 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33595 (test_program_prefix): This.
33596 * intl/tst-gettext2.sh: Likewise.
33597 * intl/tst-gettext4.sh Likewise.
33598 * intl/tst-gettext6.sh: Likewise.
33599 * intl/tst-translit.sh: Likewise.
33600 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33601 with $(test-program-cmd).
33602 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33603 $(run-program-prefix) with $(test-program-prefix).
33604 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33605 (test_program_prefix): This.
33606 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33607 $(run-program-prefix) with $(test-program-prefix).
33608 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33609 (test_program_prefix): This.
33610 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33611 * posix/Makefile ($(objpfx)globtest.out): Replace
33612 $(run-via-rtld-prefix) and $(test-wrapper) with
33613 $(test-program-prefix) and $(test-via-rtld-prefix).
33614 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33615 $(test-program-prefix).
33616 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33617 $(host-test-program-cmd).
33618 (tst-spawn-ARGS): Likewise.
33619 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33620 $(test-program-prefix).
33621 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33622 (test_via_rtld_prefix): This.
33623 (test_wrapper): Renamed to ...
33624 (test_program_prefix): This.
33625 (run_program_prefix): Replaced by test_program_prefix.
33626 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33627 (test_program_prefix): This.
33628 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33629 with $(host-test-program-cmd).
33630 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33631 $(run-program-prefix) with $(test-program-prefix).
33632 ($(objpfx)tst-printf.out): Likewise.
33633 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33634 $(test-program-cmd).
33635 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33636 (test_program_prefix): This.
33637 * stdio-common/tst-unbputc.sh: Likewise.
33638 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33639 $(run-program-prefix) with $(test-program-prefix).
33640 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33641 (test_program_prefix): This.
33642 * string/Makefile ($(objpfx)tst-svc.out): Replace
33643 $(built-program-cmd) with $(test-program-cmd).
33645 2013-01-11 Andreas Jaeger <aj@suse.de>
33648 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33649 value. Sync with Linux 3.7.
33651 2013-01-10 David S. Miller <davem@davemloft.net>
33653 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33654 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33655 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33657 2013-01-10 Roland McGrath <roland@hack.frob.com>
33659 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33661 * configure: Regenerated.
33663 2013-01-10 David S. Miller <davem@davemloft.net>
33665 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33666 sparc V9 rather than using V8 code.
33667 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33668 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33670 2013-01-10 Roland McGrath <roland@hack.frob.com>
33672 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33673 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33674 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33675 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33676 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33677 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33678 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33679 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33680 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33681 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33682 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33683 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33684 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33685 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33686 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33687 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33688 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33689 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33690 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33691 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33692 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33693 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33694 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33695 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33696 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33697 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33698 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33700 2013-01-10 David S. Miller <davem@davemloft.net>
33702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33704 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33706 * posix/Makefile (tests-static): New variable.
33707 (tests): Add $(tests-static).
33708 (tst-exec-static-ARGS): New variable.
33709 (tst-spawn-static-ARGS): Likewise.
33710 * posix/tst-exec-static.c: New file.
33711 * posix/tst-spawn-static.c: Likewise.
33712 * posix/tst-exec.c: Support run directly.
33713 * posix/tst-spawn.c: Likewise.
33715 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33717 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33719 * math/bits/mathcalls.h (llrint): Likewise.
33720 (llround): Likewise.
33721 * stdlib/stdlib.h (struct drand48_data): Likewise.
33722 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33723 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33724 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33726 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33728 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33729 (elf_greg_t): Likewise.
33730 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33731 (__jmp_buf): Likewise.
33732 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33734 (llrint): Likewise, for all definitions.
33735 (llrintl): Likewise.
33737 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33738 Remove [__GNUC__] condition.
33739 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33740 condition to just [__USE_ISOC99].
33741 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33743 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33746 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33747 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33749 (_POSIX_V6_ILP32_OFF32): Likewise.
33750 (_XBS5_ILP32_OFF32): Likewise.
33751 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33752 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33754 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33756 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33759 doubles __mpexp_twomm1. Adjust usage.
33760 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33763 2013-01-10 Andreas Schwab <schwab@suse.de>
33766 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33767 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33769 2013-01-09 David S. Miller <davem@davemloft.net>
33772 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33773 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33774 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33775 (TCP_FASTOPEN): Define.
33776 (tcp_repair_opt): New structure.
33777 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33779 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33780 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33781 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33782 (tcp_cookie_transactions): New structure.
33784 2013-01-09 Anton Blanchard <anton@samba.org>
33786 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33787 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33788 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33789 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33791 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33793 * include/features.h (__USE_ANSI): Remove.
33795 2013-01-09 Roland McGrath <roland@hack.frob.com>
33797 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33799 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33801 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33803 * sysdeps/s390/fpu/libm-test-ulps: Update.
33805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33807 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33811 (denorm): Likewise.
33812 (__mp_dbl): Likewise.
33813 (__dbl_mp): Likewise.
33814 (add_magnitudes): Likewise.
33815 (sub_magnitudes): Likewise.
33821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33825 (denorm): Likewise.
33826 (__mp_dbl): Likewise.
33827 (__dbl_mp): Likewise.
33828 (add_magnitudes): Likewise.
33829 (sub_magnitudes): Likewise.
33835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33839 (denorm): Likewise.
33840 (__mp_dbl): Likewise.
33841 (__dbl_mp): Likewise.
33842 (add_magnitudes): Likewise.
33843 (sub_magnitudes): Likewise.
33850 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33852 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33853 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33854 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33855 2 && __USE_EXTERN_INLINES]: Likewise.
33857 2013-01-08 Andreas Jaeger <aj@suse.de>
33860 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33862 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33863 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33865 2013-01-07 Anton Blanchard <anton@samba.org>
33867 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33868 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33869 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33870 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33871 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33872 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33873 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33874 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33876 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33877 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33878 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33879 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33880 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33881 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33882 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33883 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33884 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33885 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33886 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33887 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33888 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33889 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33890 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33891 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33892 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33893 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33894 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33896 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33897 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33899 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33900 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33901 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33902 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33903 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33907 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33909 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33911 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33913 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33914 (__MALLOC_PMT): Likewise.
33915 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33916 [__GNUC__], only on [_LIBC].
33917 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33918 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33919 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33920 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33921 forward declaration.
33922 (realloc_hook_ini): Likewise.
33923 (memalign_hook_ini): Likewise.
33924 (__libc_memalign): Do not use __MALLOC_PMT in variable
33926 (__libc_valloc): Likewise.
33927 (__libc_pvalloc): Likewise.
33928 (__libc_calloc): Likewise.
33929 (__posix_memalign): Likewise.
33932 * math/s_casinh.c: Include <float.h>.
33933 (__casinh): Do not do computation with squaring and square root
33934 for large arguments.
33935 * math/s_casinhf.c: Include <float.h>.
33936 (__casinhf): Do not do computation with squaring and square root
33937 for large arguments.
33938 * math/s_casinhl.c: Include <float.h>.
33939 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33940 (__casinhl): Do not do computation with squaring and square root
33941 for large arguments.
33942 * math/libm-test.inc (casin_test): Add more tests.
33943 (casinh_test): Likewise.
33944 * sysdeps/i386/fpu/libm-test-ulps: Update.
33945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33947 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33949 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33950 (__x86_64_raw_data_cache_size): Likewise.
33951 (__x86_64_data_cache_size_half): Likewise.
33952 (__x86_64_raw_data_cache_size_half): Likewise.
33953 (__x86_64_shared_cache_size): Likewise.
33954 (__x86_64_raw_shared_cache_size): Likewise.
33955 (__x86_64_shared_cache_size_half): Likewise.
33956 (__x86_64_raw_shared_cache_size_half): Likewise.
33957 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33959 (__x86_data_cache_size): This.
33960 (__x86_64_raw_data_cache_size): Renamed to ...
33961 (__x86_raw_data_cache_size): This.
33962 (__x86_64_data_cache_size_half): Renamed to ...
33963 (__x86_data_cache_size_half): This.
33964 (__x86_64_raw_data_cache_size_half): Renamed to ...
33965 (__x86_raw_data_cache_size_half): This.
33966 (__x86_64_shared_cache_size): Renamed to ...
33967 (__x86_shared_cache_size): This.
33968 (__x86_64_raw_shared_cache_size): Renamed to ...
33969 (__x86_raw_shared_cache_size): This.
33970 (__x86_64_shared_cache_size_half): Renamed to ...
33971 (__x86_shared_cache_size_half): This.
33972 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33973 (__x86_raw_shared_cache_size_half): This.
33974 * sysdeps/x86_64/memcpy.S: Updated.
33975 * sysdeps/x86_64/memset.S: Likewise.
33976 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33977 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33980 2013-01-04 David S. Miller <davem@davemloft.net>
33982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33984 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33986 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33987 1 to avoid redefinition warning.
33988 (__USE_GNU): Don't define.
33989 (init_signaling_nan): Protoize.
33991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33993 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33995 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33997 (__cpymn): Likewise.
33998 (norm): Remove commented code.
33999 (denorm): Likewise.
34000 (__mp_dbl): Likewise.
34002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34003 (__cpymn): Likewise.
34004 (norm): Remove commented code.
34005 (denorm): Likewise.
34006 (__mp_dbl): Likewise.
34009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34010 mp_no value for 1.0 and 2.0.
34011 (norm): Use RADIXI instead of radixi.d.
34012 (denorm): Likewise.
34013 (__mul): Use 0.0 instead of zero.d.
34014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34015 mp_no value for 1.0 and 2.0.
34016 (norm): Use RADIXI instead of radixi.d.
34017 (denorm): Likewise.
34018 (__mul): Use 0.0 instead of zero.d.
34020 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34023 * math/s_casinh.c (__casinh): Reduce finite argument to first
34024 quadrant then set signs of results at the end.
34025 * math/s_casinhf.c (__casinhf): Likewise.
34026 * math/s_casinhl.c (__casinhl): Likewise.
34027 * math/libm-test.inc (casin_test): Add more tests.
34028 (casinh_test): Likewise.
34029 * sysdeps/i386/fpu/libm-test-ulps: Update.
34030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34032 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34034 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34036 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34038 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34040 (denorm): Likewise.
34041 (__mp_dbl): Likewise.
34044 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34045 and adjust the header comment.
34047 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34048 variable name from declaration.
34050 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34053 Initialize COMMON_CPUID_INDEX_7 element.
34054 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34055 (CPUID_RTM): Likewise.
34056 (HAS_RTM): Likewise.
34057 (COMMON_CPUID_INDEX_7): New enum.
34059 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34062 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34063 size is zero, record memory as freed.
34065 2013-01-03 Andreas Jaeger <aj@suse.de>
34067 * po/ia.po: Add new Interlingua translation.
34069 2012-01-03 Allan McRae <allan@archlinux.org>
34071 * locale/programs/localedef.c: Fix description of '--posix' flag.
34073 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34075 * NEWS: Update dates in second copyright notice.
34076 * README: Update copyright dates in example.
34077 * manual/libc.texinfo: Update copyright dates.
34078 * scripts/test-installation.pl: Update copyright date in --version
34081 * hurd/ctty-input.c: Fix copyright notice formatting.
34082 * hurd/ctty-output.c: Likewise.
34083 * hurd/dtable.c: Likewise.
34084 * hurd/hurd-raise.c: Likewise.
34085 * hurd/hurdprio.c: Likewise.
34086 * hurd/msgportdemux.c: Likewise.
34087 * misc/sys/file.h: Likewise.
34088 * misc/sys/ioctl.h: Likewise.
34089 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34090 * sysdeps/mach/hurd/chdir.c: Likewise.
34091 * sysdeps/mach/hurd/fchdir.c: Likewise.
34092 * sysdeps/mach/hurd/rename.c: Likewise.
34093 * sysdeps/mach/hurd/rmdir.c: Likewise.
34094 * sysdeps/mach/hurd/seekdir.c: Likewise.
34095 * sysdeps/mach/hurd/setsid.c: Likewise.
34096 * sysdeps/posix/wait3.c: Likewise.
34098 * All files with FSF copyright notices: Update copyright dates
34099 using scripts/update-copyrights.
34100 * intl/plural.c: Regenerated.
34101 * locale/programs/charmap-kw.h: Likewise.
34102 * locale/programs/locfile-kw.h: Likewise.
34104 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34106 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34109 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34110 calculation loop and add branch prediction.
34112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34113 check access beyond bounds of m1np.
34115 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34117 (__inv): Remove local variable MPTWO to use the global
34119 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34122 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34123 MP3HALFS static const.
34125 2013-01-01 David S. Miller <davem@davemloft.net>
34127 * po/ca.po: Update from translation team.
34129 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34131 * scripts/update-copyrights: New file.
34132 * Makeconfig: Reformat copyright notice.
34133 * ctype/ctype.h: Likewise.
34134 * debug/swprintf_chk.c: Likewise.
34135 * elf/dl-cache.c: Likewise.
34136 * elf/dl-debug.c: Likewise.
34137 * elf/dl-object.c: Likewise.
34138 * grp/initgroups.c: Likewise.
34139 * hurd/Makefile: Likewise.
34140 * hurd/hurd/signal.h: Likewise.
34141 * hurd/hurdfault.c: Likewise.
34142 * hurd/hurdioctl.c: Likewise.
34143 * hurd/hurdlookup.c: Likewise.
34144 * hurd/intr-msg.c: Likewise.
34145 * iconv/gconv_open.c: Likewise.
34146 * libio/swprintf.c: Likewise.
34147 * locale/lc-ctype.c: Likewise.
34148 * locale/nl_langinfo.c: Likewise.
34149 * mach/Machrules: Likewise.
34150 * mach/Makefile: Likewise.
34151 * malloc/obstack.h: Likewise.
34152 * manual/Makefile: Likewise.
34153 * manual/tsort.awk: Likewise.
34154 * misc/bits/stab.def: Likewise.
34155 * nis/nis_print_group_entry.c: Likewise.
34156 * nis/nis_table.c: Likewise.
34157 * nis/nss_compat/compat-pwd.c: Likewise.
34158 * nis/nss_compat/compat-spwd.c: Likewise.
34159 * po/Makefile: Likewise.
34160 * posix/fnmatch.c: Likewise.
34161 * posix/regex.h: Likewise.
34162 * resolv/Makefile: Likewise.
34163 * resolv/nss_dns/dns-network.c: Likewise.
34164 * resolv/res_hconf.c: Likewise.
34165 * scripts/gen-sorted.awk: Likewise.
34166 * soft-fp/soft-fp.h: Likewise.
34167 * stdio-common/printf.h: Likewise.
34168 * stdlib/monetary.h: Likewise.
34169 * stdlib/random.c: Likewise.
34170 * stdlib/random_r.c: Likewise.
34171 * sysdeps/generic/Makefile: Likewise.
34172 * sysdeps/gnu/Makefile: Likewise.
34173 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34174 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34175 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34177 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34178 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34180 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34181 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34183 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34184 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34185 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34186 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34187 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34188 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34189 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34190 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34191 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34192 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34193 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34194 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34195 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34196 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34197 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34198 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34200 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34201 * sysdeps/mach/hurd/errnos.awk: Likewise.
34202 * sysdeps/mach/hurd/fork.c: Likewise.
34203 * sysdeps/mach/hurd/getcwd.c: Likewise.
34204 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34205 * sysdeps/mach/hurd/mmap.c: Likewise.
34206 * sysdeps/mach/hurd/utimes.c: Likewise.
34207 * sysdeps/mach/hurd/xmknod.c: Likewise.
34208 * sysdeps/posix/profil.c: Likewise.
34209 * sysdeps/posix/readdir_r.c: Likewise.
34210 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34211 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34212 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34213 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34215 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34216 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34217 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34219 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34220 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34221 * sysdeps/pthread/lio_listio.c: Likewise.
34222 * sysdeps/sparc/dl-procinfo.h: Likewise.
34223 * sysdeps/unix/i386/sysdep.S: Likewise.
34224 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34225 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34226 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34227 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34229 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34230 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34231 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34232 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34233 * sysdeps/wordsize-32/divdi3.c: Likewise.
34234 * time/sys/time.h: Likewise.
34235 * wcsmbs/Makefile: Likewise.
34237 2013-01-01 David S. Miller <davem@davemloft.net>
34239 * po/fr.po: Update from translation team.
34241 * catgets/gencat.c: Update copyright year.
34242 * csu/version.c: Likewise.
34243 * debug/catchsegv.sh: Likewise.
34244 * debug/pcprofiledump.c: Likewise.
34245 * debug/xtrace.sh: Likewise.
34246 * elf/ldconfig.c: Likewise.
34247 * elf/ldd.bash.in: Likewise.
34248 * elf/pldd.c: Likewise.
34249 * elf/sotruss.ksh: Likewise.
34250 * elf/sprof.c: Likewise.
34251 * iconv/iconv_prog.c: Likewise.
34252 * iconv/iconvconfig.c: Likewise.
34253 * locale/programs/locale.c: Likewise.
34254 * locale/programs/localedef.c: Likewise.
34255 * login/programs/pt_chown.c: Likewise.
34256 * malloc/memusage.sh: Likewise.
34257 * malloc/memusagestat.c: Likewise.
34258 * malloc/mtrace.pl: Likewise.
34259 * nscd/nscd.c: Likewise.
34260 * nss/getent.c: Likewise.
34261 * nss/makedb.c: Likewise.
34262 * posix/getconf.c: Likewise.
34264 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34266 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34269 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34271 * math/bits/mathcalls.h (modf): Use __nonnull.
34273 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34275 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34276 (split): Use macro CN instead of the bare value.
34277 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34280 instead of the bare value.
34281 (power1): Likewise.
34283 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34285 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34287 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34289 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34291 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34292 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34293 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34294 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34296 2012-12-28 Andreas Jaeger <aj@suse.de>
34298 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34299 values are from Linux 3.7.
34301 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34302 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34304 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34306 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34309 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34311 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34312 variables with preprocessor constants.
34313 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34314 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34315 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34317 2012-12-27 Bruno Haible <bruno@clisp.org>
34320 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34323 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34326 and use variable directly.
34327 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34329 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34331 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34332 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34334 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34336 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34337 include directive. Remove local variable MPONE.
34338 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34339 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34340 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34342 2012-12-25 David S. Miller <davem@davemloft.net>
34344 * version.h (RELEASE): Set to "development".
34345 (VERSION): Set to "2.17.90".
34346 * NEWS: Add 2.18 section.
34348 2012-12-21 David S. Miller <davem@davemloft.net>
34350 * po/hr.po: Update from translation team.
34352 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34354 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34356 2012-12-19 Steve Ellcey <sellcey@mips.com>
34358 * NEWS: Mention new memcpy for MIPS.
34360 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34362 * manual/contrib.texi (Contributors): Spelling correction.
34364 2012-12-15 David S. Miller <davem@davemloft.net>
34366 * po/ru.po: Update from translation team.
34368 2012-12-13 David S. Miller <davem@davemloft.net>
34370 * NEWS: Mention IFUNC testsuite enhancements.
34372 * po/pl.po: Update from translation team.
34373 * po/bg.po: Likewise.
34375 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34376 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34378 2012-12-11 David S. Miller <davem@davemloft.net>
34380 * po/sv.po: Update from translation team.
34382 * po/vi.po: Update from translation team.
34384 * po/cs.po: Update from translation team.
34386 * po/de.po: Update from translation team.
34387 * po/eo.po: Likewise.
34388 * po/nl.po: Likewise.
34390 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34393 * manual/argp.texi (Argp Helper Functions): Move node to follow
34394 Argp Parsing State.
34397 * manual/conf.texi (Limits on File System Capacity): Mention if
34398 terminating null is included in the max size.
34400 2012-12-10 Andreas Jaeger <aj@suse.de>
34402 * po/cs.po: Update from translation team.
34404 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34406 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34407 void pointer and cast to uintptr_t.
34408 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34410 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34411 * sysdeps/s390/s390-64/memset.S: Likewise.
34413 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34416 * menual/message.texi (Message Translation): Fix typos.
34417 (Helper programs for gettext): Likewise.
34419 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34422 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34425 2012-12-07 David S. Miller <davem@davemloft.net>
34427 * po/libc.pot: Update.
34429 2012-12-07 Richard Henderson <rth@redhat.com>
34432 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34433 normal/normal case to before the switch.
34434 (_FP_DIV): Likewise.
34436 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34437 Mike Frysinger <vapier@gentoo.org>
34439 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34440 check for __NR_fadvise64_64.
34442 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34444 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34445 0, not just to plain "0" as a statement.
34446 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34449 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34451 * NEWS: Use sourceware.org in Bugzilla URL.
34453 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34456 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34458 * stdio-common/tst-put-error.c (do_test): Add newline to the
34459 padded test to ensure flush.
34461 2012-12-05 Jeff Law <law@redhat.com>
34463 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34465 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34467 * README: Don't refer to ports add-on as distributed separately.
34468 Mention AArch64 in list of systems supported in the ports add-on.
34470 * LICENSES: Add more non-FSF copyright and license notices.
34472 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34475 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34477 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34478 10000 as width of padded output.
34480 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34482 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34485 variable LX with __attribute__ ((unused)).
34486 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34488 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34490 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34491 with __attribute__ ((unused)).
34493 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34495 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34497 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34499 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34500 (CFLAGS-nldbl-acos.c): New variable.
34501 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34502 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34503 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34504 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34505 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34506 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34507 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34508 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34509 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34510 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34511 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34512 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34513 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34514 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34515 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34516 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34517 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34518 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34519 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34520 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34521 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34522 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34523 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34524 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34525 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34526 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34527 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34528 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34529 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34530 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34531 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34532 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34533 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34534 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34535 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34536 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34537 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34538 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34539 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34540 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34541 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34542 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34543 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34544 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34545 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34546 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34547 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34548 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34549 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34550 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34551 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34552 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34553 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34554 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34555 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34556 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34557 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34558 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34559 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34560 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34561 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34562 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34563 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34564 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34565 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34566 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34567 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34568 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34569 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34570 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34571 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34572 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34573 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34574 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34575 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34576 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34577 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34578 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34579 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34580 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34581 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34582 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34583 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34584 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34585 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34586 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34587 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34588 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34589 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34590 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34591 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34592 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34593 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34594 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34595 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34596 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34597 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34600 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34603 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34604 whole low double instead of just low 47 bits when splitting values
34607 2012-12-03 Allan McRae <allan@archlinux.org>
34609 * manual/stdio.texi (Predefined Printf Handlers): Remove
34610 @hsep and @vsep usage.
34612 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34614 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34615 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34617 2012-12-03 Jeff Law <law@redhat.com>
34619 * time/sys/time.h (settimeofday): Do not mark TV argument
34622 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34624 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34625 when currently writing and seek to current position when not.
34626 * libio/Makefile (tests): Remove bug-fclose1.
34627 * libio/bug-fclose1.c: Delete.
34629 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34631 * manual/arith.texi (feenableexcept): Fix typo.
34632 (fedisableexcept): Likewise.
34634 2012-11-30 Roland McGrath <roland@hack.frob.com>
34636 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34637 second, differently-typed declaration, rather than a cast.
34639 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34641 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34642 * include/rpc/svc.h: ... here.
34644 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34647 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34648 depending n and resplen2 to catch cases where answer
34651 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34653 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34654 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34656 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34658 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34660 2012-11-29 Roland McGrath <roland@hack.frob.com>
34662 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34664 2012-11-28 Jeff Law <law@redhat.com>
34667 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34668 dataset_temporary. Track alloca usage into alloca_used.
34669 If dataset is large allocate and release it via malloc/free.
34671 2012-06-04 Florian Weimer <fweimer@redhat.com>
34674 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34676 2012-11-28 David S. Miller <davem@davemloft.net>
34678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34680 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34683 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34684 of pi/2 rounded to nearest to 64 bits.
34685 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34686 nearest to 64 bits.
34687 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34690 2012-11-28 Jeff Law <law@redhat.com>
34691 Martin Osvald <mosvald@redhat.com>
34694 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34695 * sunrpc/svc.c: Include time.h.
34696 (__svc_accept_failed): New function.
34697 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34698 any reason other than EINTR, call __svc_accept_failed.
34699 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34700 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34702 2012-11-28 Andreas Schwab <schwab@suse.de>
34704 * scripts/abilist.awk: Also handle indirect functions in .opd
34707 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34710 * sysdeps/x86/fpu/powl_helper.c: New file.
34711 * sysdeps/x86/fpu/Makefile: Likewise.
34712 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34714 (__ieee754_powl): Use __powl_helper for finite arguments except
34715 integer exponents below 8.
34716 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34718 (__ieee754_powl): Use __powl_helper for finite arguments except
34719 integer exponents below 8.
34720 * math/libm-test.inc (pow_test): Add more tests and enable some
34721 previously disabled tests.
34722 * sysdeps/i386/fpu/libm-test-ulps: Update.
34723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34725 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34726 Carlos O'Donell <carlos_odonell@mentor.com>
34728 * nss/makedb.c (is_prime): Assert that input is odd and greater
34729 than 4. Note that fact in a comment too.
34730 (next_prime): Add 4 to input.
34732 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34735 * libio/Makefile (tests): Add test case tst-fwrite-error.
34736 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34737 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34738 * libio/tst-fwrite-error.c: New test case.
34740 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34742 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34743 before casting to void *.
34744 * include/libc-internal.h (__pointer_type): New macro.
34745 (__integer_if_pointer_type_sub): Likewise.
34746 (__integer_if_pointer_type): Likewise.
34747 (cast_to_integer): Likewise.
34748 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34749 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34750 before casting to atomic64_t.
34751 (atomic_exchange_acq): Likewise.
34752 (__arch_exchange_and_add_body): Likewise.
34753 (__arch_add_body): Likewise.
34754 (atomic_add_negative): Likewise.
34755 (atomic_add_zero): Likewise.
34757 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34759 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34760 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34761 (add_fdes): Likewise.
34762 (linear_search_fdes): Likewise.
34763 (binary_search_unencoded_fdes): Likewise.
34765 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34767 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34769 2012-11-24 Adam Conrad <adconrad@0c3.net>
34771 * configure.in: Autodetect C++ header directories.
34772 * configure: Regenerated.
34774 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34776 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34778 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34782 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34784 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34785 LDBL_MANT_DIG == 106]: Disable some tests.
34786 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34788 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34792 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34793 input for small inputs. Return +/- pi/2 for large inputs.
34794 * math/libm-test.inc (atan_test): Add more tests.
34796 * sysdeps/generic/unwind-dw2-fde-glibc.c
34797 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34798 __attribute__ ((unused)).
34801 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34802 x * y if x and y are nonzero and z is zero.
34805 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34806 nonzero exponents with absolute value below 0x1p-117 to +/-
34810 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34811 up arguments below 2**-450, not just those below 2**-500.
34812 * math/libm-test.inc (hypot_test): Add another test.
34815 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34816 Return a+b for ratio over 2**120, not 2**60.
34817 * math/libm-test.inc (hypot_test): Add another test.
34819 * math/libm-test.inc (clog_test): Use
34820 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34821 (clog10_test): Likewise.
34824 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34826 2012-11-22 Andreas Schwab <schwab@suse.de>
34828 * sysdeps/i386/fpu/libm-test-ulps: Update.
34830 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34832 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34833 printf output with newline.
34835 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34838 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34839 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34840 -z nodlopen, -z initfirst and -z execstack support.
34841 * configure: Regenerated.
34843 * elf/elf.h (DF_1_NODIRECT): New macro.
34844 (DF_1_IGNMULDEF): Likewise.
34845 (DF_1_NOKSYMS): Likewise.
34846 (DF_1_NOHDR): Likewise.
34847 (DF_1_EDITED): Likewise.
34848 (DF_1_NORELOC): Likewise.
34849 (DF_1_SYMINTPOSE): Likewise.
34850 (DF_1_GLOBAUDIT): Likewise.
34851 (DF_1_SINGLETON): Likewise.
34852 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34853 DT_1_SUPPORTED_MASK bits.
34854 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34856 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34858 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34860 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34862 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34865 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34866 (sendmmsg): Move declarations...
34867 * socket/sys/socket.h: ... here.
34868 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34869 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34871 * socket/recvmmsg.c: ... this new file.
34872 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34873 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34874 definition of __sendmmsg hidden.
34875 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34876 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34877 Move ENOSYS stub into and include it from...
34878 * socket/sendmmsg.c: ... this new file.
34879 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34880 (sysdep_routines): Move recvmmsg and sendmmsg...
34881 * socket/Makefile (routines): ... here.
34882 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34883 (GLIBC_PRIVATE): Add __sendmmsg.
34884 * include/sys/socket.h (__sendmmsg): Add declarations.
34885 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34888 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34890 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34891 variable I1 with __attribute__ ((unused)).
34892 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34894 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34896 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34897 DUMMY variables with __attribute__ ((unused)).
34899 * bits/byteswap.h: Include <bits/types.h>.
34900 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34902 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34904 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34905 string_t. Do not manually set errno.
34906 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34907 length with __strnlen. Make sure to both set errno and return it on
34910 2012-11-19 David S. Miller <davem@davemloft.net>
34912 With help from Joseph Myers.
34913 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34914 very large arguments properly.
34915 * math/libm-test.inc (atan_test): New tests.
34916 (atan2_test): New tests.
34917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34920 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34923 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34926 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34927 [POSIX] (EADDRNOTAVAIL): Likewise.
34928 [POSIX] (EAFNOSUPPORT): Likewise.
34929 [POSIX] (EALREADY): Likewise.
34930 [POSIX] (ECONNABORTED): Likewise.
34931 [POSIX] (ECONNREFUSED): Likewise.
34932 [POSIX] (ECONNRESET): Likewise.
34933 [POSIX] (EDESTADDRREQ): Likewise.
34934 [POSIX] (EDQUOT): Likewise.
34935 [POSIX] (EHOSTUNREACH): Likewise.
34936 [POSIX] (EIDRM): Likewise.
34937 [POSIX] (EISCONN): Likewise.
34938 [POSIX] (ELOOP): Likewise.
34939 [POSIX] (EMULTIHOP): Likewise.
34940 [POSIX] (ENETDOWN): Likewise.
34941 [POSIX] (ENETUNREACH): Likewise.
34942 [POSIX] (ENOBUFS): Likewise.
34943 [POSIX] (ENODATA): Likewise.
34944 [POSIX] (ENOLINK): Likewise.
34945 [POSIX] (ENOMSG): Likewise.
34946 [POSIX] (ENOPROTOOPT): Likewise.
34947 [POSIX] (ENOSR): Likewise.
34948 [POSIX] (ENOSTR): Likewise.
34949 [POSIX] (ENOTCONN): Likewise.
34950 [POSIX] (ENOTSOCK): Likewise.
34951 [POSIX] (EOPNOTSUPP): Likewise.
34952 [POSIX] (EOVERFLOW): Likewise.
34953 [POSIX] (EPROTO): Likewise.
34954 [POSIX] (EPROTONOSUPPORT): Likewise.
34955 [POSIX] (EPROTOTYPE): Likewise.
34956 [POSIX] (ESTALE): Likewise.
34957 [POSIX] (ETIME): Likewise.
34958 [POSIX] (ETXTBSY): Likewise.
34959 [POSIX] (EWOULDBLOCK): Likewise.
34960 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34961 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34962 [POSIX] (SEEK_CUR): Likewise.
34963 [POSIX] (SEEK_END): Likewise.
34964 [POSIX || UNIX98] (mode_t): Do not require.
34965 [POSIX] (off_t): Likewise.
34966 [POSIX] (pid_t): Likewise.
34967 [POSIX] (sys/stat.h): Do not allow header.
34968 [POSIX] (unistd.h): Likewise.
34969 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34970 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34971 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34972 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34974 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34975 sigevent): Specify elements.
34976 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34978 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34979 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34981 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34982 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34983 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34984 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34985 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34986 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34987 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34988 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34989 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34990 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34991 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34992 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34993 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34994 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34996 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34998 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35000 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35002 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35003 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35004 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35005 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35006 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35007 Specify lower bound on value.
35008 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35009 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35010 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35011 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35012 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35013 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35014 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35015 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35017 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35019 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35020 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35021 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35022 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35023 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35024 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35025 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35026 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35027 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35028 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35029 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35030 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35031 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35032 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35033 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35034 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35036 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35038 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35039 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35040 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35041 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35042 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35043 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35045 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35046 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35047 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35048 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35049 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35050 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35051 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35053 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35054 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35055 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35056 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35057 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35058 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35059 specify as optional.
35060 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35061 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35062 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35063 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35064 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35065 [XPG3] (NL_LANGMAX): Likewise.
35066 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35067 [POSIX || XPG3] (NL_NMAX): Likewise.
35068 [POSIX || XPG3] (NL_SETMAX): Likewise.
35069 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35070 [XPG3] (NZERO): Likewise.
35071 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35072 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35073 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35074 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35075 (REG_ERANGE): Expect.
35076 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35078 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35079 Use (void) in prototype.
35080 [POSIX] (*_t): Allow.
35081 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35082 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35083 (WRDE_BADVAL): Expect.
35085 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35087 [XPG3 || XPG4] (O_RSYNC): Likewise.
35088 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35090 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35091 [XPG3 || XPG4] (sigqueue): Likewise.
35092 [XPG3 || XPG4] (sigtimedwait): Likewise.
35093 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35094 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35095 [XPG3 || XPG4] (vsnprintf): Likewise.
35096 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35098 [XPG3 || XPG4] (blksize_t): Likewise.
35099 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35101 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35102 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35103 [XPG3 || XPG4] (struct itimerspec): Likewise.
35104 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35105 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35106 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35107 [XPG3 || XPG4] (clockid_t): Likewise.
35108 [XPG3 || XPG4] (timer_t): Likewise.
35109 [XPG3 || XPG4] (clock_getres): Likewise.
35110 [XPG3 || XPG4] (clock_gettime): Likewise.
35111 [XPG3 || XPG4] (clock_settime): Likewise.
35112 [XPG3 || XPG4] (nanosleep): Likewise.
35113 [XPG3 || XPG4] (timer_create): Likewise.
35114 [XPG3 || XPG4] (timer_delete): Likewise.
35115 [XPG3 || XPG4] (timer_gettime): Likewise.
35116 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35117 [XPG3 || XPG4] (timer_settime): Likewise.
35118 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35119 [XPG3 || XPG4] (getlogin_r): Likewise.
35120 [XPG3 || XPG4] (pread): Likewise.
35121 [XPG3 || XPG4] (pthread_atfork): Likewise.
35122 [XPG3 || XPG4] (pwrite): Likewise.
35125 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35128 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35130 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35131 finalizing MALLSTREAM.
35133 * sysdeps/mach/hurd/syncfs.c: New file.
35135 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35138 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35139 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35140 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35141 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35142 (_nss_dns_gethostbyname4_r): Likewise.
35143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35144 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35146 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35149 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35151 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35153 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35154 * elf/cache.c (print_entry): Print ",AArch64" for
35157 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35158 * elf/cache.c (print_entry): Print ",hard-float" for
35161 2012-11-18 David S. Miller <davem@davemloft.net>
35163 With help from Joseph Myers.
35164 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35166 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35168 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35169 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35171 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35172 * math/libm-test.inc (y0_test): New tests.
35173 (y1_test): New tests.
35174 * sysdeps/i386/fpu/libm-test-ulps: Update.
35175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35178 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35180 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35182 * configure: Regenerated.
35184 2012-11-17 David S. Miller <davem@davemloft.net>
35187 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35188 nonzero exponents with absolute value below 0x1p-128 to +/-
35191 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35193 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35195 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35197 * posix/getconf-speclist.c: New file.
35198 * posix/posix-envs.def: Likewise.
35199 * posix/confstr.c (START_ENV_GROUP): New macro.
35200 (END_ENV_GROUP): Likewise.
35201 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35202 (KNOWN_PRESENT_ENV_STRING): Likewise.
35203 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35204 (UNKNOWN_ENVIRONMENT): Likewise.
35205 (confstr): Include posix-envs.def instead of handling
35206 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35207 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35208 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35209 (END_ENV_GROUP): Likewise.
35210 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35211 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35212 (UNKNOWN_ENVIRONMENT): Likewise.
35213 (__sysconf): Include posix-envs.def instead of handling associated
35214 cases directly here.
35215 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35216 preprocessing getconf-speclist.c rather than running getconf or
35217 generating empty file.
35219 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35221 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35223 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35226 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35228 2012-11-16 David S. Miller <davem@davemloft.net>
35230 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35231 smaller than LDBL_EPSILON/2.0L, just return xm1.
35233 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35235 * elf/tst-array1.c (init): Set constructor priority to 1000.
35236 (fini): Set destructor priority to 1000.
35237 * elf/tst-array2dep.c: Likewise.
35239 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35242 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35243 (_IO_new_file_xsputn): Also return EOF if none of the input
35244 data was written when overflow failed.
35245 * libio/iopadn.c (_IO_padn): Likewise.
35246 * libio/iowpadn.c (_IO_wpadn): Likewise.
35247 * stdio-common/tst-put-error.c: Add copyright notice.
35248 (do_test): Add case for printing padded string.
35249 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35250 _IO_padn returned error.
35251 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35252 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35255 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35257 * libio/libioP.h: Add comment note that the references to C++
35258 bits are now obsolete.
35260 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35262 * math/libm-test.inc (check_complex): Use asprintf.
35264 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35266 * debug/pcprofiledump.c (print_version): Update copyright year.
35267 * malloc/memusagestat.c (print_version): Likewise.
35269 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35272 * elf/Makefile (tests): Add tst-audit8.
35273 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35274 ($(objpfx)tst-audit8.out): New target.
35275 (tst-audit8-ENV): New variable.
35276 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35277 audit if l_reloc_result is NULL.
35278 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35279 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35280 * elf/tst-audit8.c: New file.
35282 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35284 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35285 * misc/Makefile (CFLAGS-select.c): Define.
35286 * posix/Makefile (CFLAGS-pause.c): Define.
35288 2012-11-13 David S. Miller <davem@davemloft.net>
35290 * crypt/Makefile: Move test targets after toplevel Rules
35291 inclusion. Grab any necessary sysdep routines when linking.
35292 * crypt/md5.c (md5_process_block): Remove define, we will always
35293 name it __md5_process_block.
35294 (md5_finish_ctx): Update md5_process_block call.
35295 (md5_stream): Likewise.
35296 (md5_process_bytes): Likewise.
35297 (md5_process_block): Rename to __md5_process_block and move to ...
35298 * crypt/md5-block.c: ... here.
35299 * crypt/sha256.c (sha256_process_block): Move to ...
35300 * crypt/sha256-block.c: ... here.
35301 * crypt/sha512.c (sha512_process_block): Move to ...
35302 * crypt/sha512-block.c: ... here.
35303 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35305 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35306 * sysdeps/sparc/sparc64/multiarch/Makefile
35307 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35309 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35310 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35312 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35313 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35314 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35315 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35316 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35317 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35318 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35319 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35320 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35322 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35323 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35325 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35327 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35329 * timezone/tzselect.ksh: Update from tzcode git revision
35330 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35331 * timezone/zdump.c: Likewise.
35332 * timezone/zic.c: Likewise.
35333 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35334 in TZVERSION setting, not $(PKGVERSION).
35335 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35336 REPORT_BUGS_TO settings.
35339 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35342 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35344 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35345 detection to immediately after _FP_ROUND().
35346 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35349 2012-11-11 David S. Miller <davem@davemloft.net>
35351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35353 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35354 __close rather than their public counterparts.
35356 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35358 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35360 [UNIX98] (sem_timedwait): Do not expect.
35361 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35362 [XPG4 || UNIX98] (sockatmark): Do not expect.
35363 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35364 (clock_getcpuclockid): Do not expect.
35365 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35366 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35368 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35369 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35370 [UNIX98] (vwscanf): Likewise.
35371 [UNIX98] (vswscanf): Likewise.
35373 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35375 * timezone/version.h: Remove file.
35376 * timezone/README: Do not refer to version.h.
35377 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35378 $(objpfx)version.h.
35379 ($(objpfx)zdump.o): Likewise.
35380 ($(objpfx)version.h): New target.
35382 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35384 * timezone/README: Don't mention modification to tzselect.ksh.
35385 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35386 work on unmodified tzselect.ksh. Substitute version numbers in
35389 * Makefile (format-me): Remove.
35390 (INSTALL): Adjust indentation. Use commands directly instead of
35391 using $(format-me).
35393 * aclocal.m4 (ACX_PKGVERSION): New macro.
35394 (ACX_BUGURL): Likewise.
35395 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35396 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35397 (REPORT_BUGS_TO): Likewise.
35398 * configure: Regenerated.
35399 * config.h.in (PKGVERSION): New macro.
35400 (REPORT_BUGS_TO): Likewise.
35401 * config.make.in (PKGVERSION): New variable.
35402 (PKGVERSION_TEXI): Likewise.
35403 (REPORT_BUGS_TO): Likewise.
35404 (REPORT_BUGS_TEXI): Likewise.
35405 * Makefile (format-me): Use -I$(common-objpfx)manual.
35406 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35407 ($(common-objpfx)manual/%): New target.
35408 (manual/%): Remove target.
35409 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35410 (print_version): Use PKGVERSION.
35411 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35412 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35413 and REPORT_BUGS_TO.
35414 ($(objpfx)xtrace): Likewise.
35415 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35416 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35417 (print_version): Use PKGVERSION.
35418 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35419 (do_version): Use PKGVERSION.
35420 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35422 (common-ldd-rewrite): Likewise.
35423 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35424 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35425 (print_version): Use PKGVERSION.
35426 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35427 * elf/pldd.c (argp_program_bug_address): Remove variable.
35428 (more_help): New function.
35429 (argp): Use more_help.
35430 (print_version): Use PKGVERSION.
35431 * elf/sln.c (main): Use PKGVERSION.
35432 (usage): Use REPORT_BUGS_TO.
35433 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35434 (top level): Use PKGVERSION.
35435 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35436 (print_version): Use PKGVERSION.
35437 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35438 (print_version): Use PKGVERSION.
35439 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35440 (print_version): Use PKGVERSION.
35441 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35442 (print_version): Use PKGVERSION.
35443 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35444 (print_version): Use PKGVERSION.
35445 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35446 (print_version): Use PKGVERSION.
35447 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35449 ($(objpfx)memusage): Likewise.
35450 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35451 (do_version): Use PKGVERSION.
35452 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35453 (print_version): Use PKGVERSION.
35454 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35455 ($PKGVERSION): New variable.
35456 ($REPORT_BUGS_TO): Likewise.
35457 (usage): Use $REPORT_BUGS_TO.
35458 (top level): Use $PKGVERSION.
35459 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35460 ($(objpfx)pkgvers.texi): New rule.
35461 ($(objpfx)stamp-pkgvers): Likewise.
35462 * manual/install.texi: Include pkgvers.texi.
35463 (--with-pkgversion): Document new configure option.
35464 (--with-bugurl): Likewise.
35465 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35466 than necessarily for this particular distribution. Use
35467 REPORT_BUGS_TO for where to report bugs.
35468 * INSTALL: Regenerated.
35469 * manual/libc.texinfo: Include pkgvers.texi.
35470 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35471 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35472 (print_version): Use PKGVERSION.
35473 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35474 (print_version): Use PKGVERSION.
35475 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35476 (print_version): Use PKGVERSION.
35477 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35478 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35480 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35481 (print_version): Use PKGVERSION.
35482 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35483 (print_version): Use PKGVERSION.
35484 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35487 * timezone/checktab.awk: Update from tzcode 2012i.
35488 * timezone/ialloc.c: Likewise.
35489 * timezone/private.h: Likewise.
35490 * timezone/scheck.c: Likewise.
35491 * timezone/tzfile.h: Likewise.
35492 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35493 (TZVERSION): Hardcode tzcode version number.
35494 * timezone/zdump.c: Update from tzcode 2012i.
35495 * timezone/zic.c: Likewise.
35496 * timezone/version.h: New file.
35497 * timezone/README: Describe version.h. Update upstream location.
35500 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35501 (mktemp): Enable declaration.
35502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35503 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35505 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35507 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35519 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35520 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35521 for copies of such integer values.
35522 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35523 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35525 2012-11-09 Andreas Jaeger <aj@suse.de>
35527 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35528 definitions and declarations that are provided by
35529 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35531 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35533 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35534 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35535 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35538 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35540 * elf/elf.h: Update comment before AArch64 relocations.
35542 2012-11-07 David S. Miller <davem@davemloft.net>
35544 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35545 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35546 (__start_context): Declare.
35547 (__makecontext_ret): Delete.
35548 (__makecontext): Hook up __start_context instead of
35550 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35551 (sysdep_routines): Add __start_context when in stdlib.
35553 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35555 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35556 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35557 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35559 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35560 (READELF): New variable. Use it instead of hardcoded "readelf".
35562 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35564 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35565 * sysdeps/x86/Makefile: Here.
35566 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35567 * sysdeps/x86/tst-xmmymm.sh: This.
35569 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35571 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35573 [UNIX98] (pthread_barrier_t): Do not expect.
35574 [UNIX98] (pthread_barrierattr_t): Likewise.
35575 [UNIX98] (pthread_spinlock_t): Likewise.
35576 [UNIX98] (pthread_barrier_destroy): Likewise.
35577 [UNIX98] (pthread_barrier_init): Likewise.
35578 [UNIX98] (pthread_barrier_wait): Likewise.
35579 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35580 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35581 [UNIX98] (pthread_barrierattr_init): Likewise.
35582 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35583 [UNIX98] (pthread_getcpuclockid): Likewise.
35584 [UNIX98] (pthread_mutex_timedlock): Likewise.
35585 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35586 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35587 [UNIX98] (pthread_sigmask): Likewise.
35588 [UNIX98] (pthread_spin_destroy): Likewise.
35589 [UNIX98] (pthread_spin_init): Likewise.
35590 [UNIX98] (pthread_spin_lock): Likewise.
35591 [UNIX98] (pthread_spin_trylock): Likewise.
35592 [UNIX98] (pthread_spin_unlock): Likewise.
35593 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35595 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35596 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35597 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35598 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35599 [XPG3 || XPG4] (pthread_key_t): Likewise.
35600 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35601 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35602 [XPG3 || XPG4] (pthread_once_t): Likewise.
35603 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35604 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35605 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35606 [XPG3 || XPG4] (pthread_t): Likewise.
35608 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35610 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35612 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35613 Change function return type to int.
35615 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35616 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35617 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35618 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35619 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35620 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35621 [!POSIX] (posix_madvise): Likewise.
35622 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35624 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35625 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35626 (mode_t): Likewise.
35627 (posix_mem_offset): Likewise.
35628 (posix_typed_mem_get_info): Likewise.
35629 (posix_typed_mem_open): Likewise.
35631 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35632 Change condition to [XOPEN2K8].
35634 * conform/conformtest.pl: Preprocess allow-header data with -x c
35635 instead of from stdin.
35636 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35637 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35638 [C99-based standards] (cerfc): Likewise.
35639 [C99-based standards] (cexp2): Likewise.
35640 [C99-based standards] (cexpm1): Likewise.
35641 [C99-based standards] (clog10): Likewise.
35642 [C99-based standards] (clog1p): Likewise.
35643 [C99-based standards] (clog2): Likewise.
35644 [C99-based standards] (clgamma): Likewise.
35645 [C99-based standards] (ctgamma): Likewise.
35646 [C99-based standards] (cerff): Likewise.
35647 [C99-based standards] (cerfcf): Likewise.
35648 [C99-based standards] (cexp2f): Likewise.
35649 [C99-based standards] (cexpm1f): Likewise.
35650 [C99-based standards] (clog10f): Likewise.
35651 [C99-based standards] (clog1pf): Likewise.
35652 [C99-based standards] (clog2f): Likewise.
35653 [C99-based standards] (clgammaf): Likewise.
35654 [C99-based standards] (ctgammaf): Likewise.
35655 [C99-based standards] (cerfl): Likewise.
35656 [C99-based standards] (cerfcl): Likewise.
35657 [C99-based standards] (cexp2l): Likewise.
35658 [C99-based standards] (cexpm1l): Likewise.
35659 [C99-based standards] (clog10l): Likewise.
35660 [C99-based standards] (clog1pl): Likewise.
35661 [C99-based standards] (clog2l): Likewise.
35662 [C99-based standards] (clgammal): Likewise.
35663 [C99-based standards] (ctgammal): Likewise.
35664 * conform/data/inttypes.h-data [C99-based standards]: Include
35665 stdint.h-data. Remove all expectations for stdint.h contents.
35666 [C99-based standards] (PRI*): Do not allow.
35667 [C99-based standards] (SCN*): Likewise.
35668 [C99-based standards] (*_t): Likewise.
35669 [C99-based-standards] (PRId8): Expect macro.
35670 [C99-based-standards] (PRIi8): Likewise.
35671 [C99-based-standards] (PRIo8): Likewise.
35672 [C99-based-standards] (PRIu8): Likewise.
35673 [C99-based-standards] (PRIx8): Likewise.
35674 [C99-based-standards] (PRIX8): Likewise.
35675 [C99-based-standards] (SCNd8): Likewise.
35676 [C99-based-standards] (SCNi8): Likewise.
35677 [C99-based-standards] (SCNo8): Likewise.
35678 [C99-based-standards] (SCNu8): Likewise.
35679 [C99-based-standards] (SCNx8): Likewise.
35680 [C99-based-standards] (PRIdLEAST8): Likewise.
35681 [C99-based-standards] (PRIiLEAST8): Likewise.
35682 [C99-based-standards] (PRIoLEAST8): Likewise.
35683 [C99-based-standards] (PRIuLEAST8): Likewise.
35684 [C99-based-standards] (PRIxLEAST8): Likewise.
35685 [C99-based-standards] (PRIXLEAST8): Likewise.
35686 [C99-based-standards] (SCNdLEAST8): Likewise.
35687 [C99-based-standards] (SCNiLEAST8): Likewise.
35688 [C99-based-standards] (SCNoLEAST8): Likewise.
35689 [C99-based-standards] (SCNuLEAST8): Likewise.
35690 [C99-based-standards] (SCNxLEAST8): Likewise.
35691 [C99-based-standards] (PRIdFAST8): Likewise.
35692 [C99-based-standards] (PRIiFAST8): Likewise.
35693 [C99-based-standards] (PRIoFAST8): Likewise.
35694 [C99-based-standards] (PRIuFAST8): Likewise.
35695 [C99-based-standards] (PRIxFAST8): Likewise.
35696 [C99-based-standards] (PRIXFAST8): Likewise.
35697 [C99-based-standards] (SCNdFAST8): Likewise.
35698 [C99-based-standards] (SCNiFAST8): Likewise.
35699 [C99-based-standards] (SCNoFAST8): Likewise.
35700 [C99-based-standards] (SCNuFAST8): Likewise.
35701 [C99-based-standards] (SCNxFAST8): Likewise.
35702 [C99-based-standards] (PRId16): Likewise.
35703 [C99-based-standards] (PRIi16): Likewise.
35704 [C99-based-standards] (PRIo16): Likewise.
35705 [C99-based-standards] (PRIu16): Likewise.
35706 [C99-based-standards] (PRIx16): Likewise.
35707 [C99-based-standards] (PRIX16): Likewise.
35708 [C99-based-standards] (SCNd16): Likewise.
35709 [C99-based-standards] (SCNi16): Likewise.
35710 [C99-based-standards] (SCNo16): Likewise.
35711 [C99-based-standards] (SCNu16): Likewise.
35712 [C99-based-standards] (SCNx16): Likewise.
35713 [C99-based-standards] (PRIdLEAST16): Likewise.
35714 [C99-based-standards] (PRIiLEAST16): Likewise.
35715 [C99-based-standards] (PRIoLEAST16): Likewise.
35716 [C99-based-standards] (PRIuLEAST16): Likewise.
35717 [C99-based-standards] (PRIxLEAST16): Likewise.
35718 [C99-based-standards] (PRIXLEAST16): Likewise.
35719 [C99-based-standards] (SCNdLEAST16): Likewise.
35720 [C99-based-standards] (SCNiLEAST16): Likewise.
35721 [C99-based-standards] (SCNoLEAST16): Likewise.
35722 [C99-based-standards] (SCNuLEAST16): Likewise.
35723 [C99-based-standards] (SCNxLEAST16): Likewise.
35724 [C99-based-standards] (PRIdFAST16): Likewise.
35725 [C99-based-standards] (PRIiFAST16): Likewise.
35726 [C99-based-standards] (PRIoFAST16): Likewise.
35727 [C99-based-standards] (PRIuFAST16): Likewise.
35728 [C99-based-standards] (PRIxFAST16): Likewise.
35729 [C99-based-standards] (PRIXFAST16): Likewise.
35730 [C99-based-standards] (SCNdFAST16): Likewise.
35731 [C99-based-standards] (SCNiFAST16): Likewise.
35732 [C99-based-standards] (SCNoFAST16): Likewise.
35733 [C99-based-standards] (SCNuFAST16): Likewise.
35734 [C99-based-standards] (SCNxFAST16): Likewise.
35735 [C99-based-standards] (PRId32): Likewise.
35736 [C99-based-standards] (PRIi32): Likewise.
35737 [C99-based-standards] (PRIo32): Likewise.
35738 [C99-based-standards] (PRIu32): Likewise.
35739 [C99-based-standards] (PRIx32): Likewise.
35740 [C99-based-standards] (PRIX32): Likewise.
35741 [C99-based-standards] (SCNd32): Likewise.
35742 [C99-based-standards] (SCNi32): Likewise.
35743 [C99-based-standards] (SCNo32): Likewise.
35744 [C99-based-standards] (SCNu32): Likewise.
35745 [C99-based-standards] (SCNx32): Likewise.
35746 [C99-based-standards] (PRIdLEAST32): Likewise.
35747 [C99-based-standards] (PRIiLEAST32): Likewise.
35748 [C99-based-standards] (PRIoLEAST32): Likewise.
35749 [C99-based-standards] (PRIuLEAST32): Likewise.
35750 [C99-based-standards] (PRIxLEAST32): Likewise.
35751 [C99-based-standards] (PRIXLEAST32): Likewise.
35752 [C99-based-standards] (SCNdLEAST32): Likewise.
35753 [C99-based-standards] (SCNiLEAST32): Likewise.
35754 [C99-based-standards] (SCNoLEAST32): Likewise.
35755 [C99-based-standards] (SCNuLEAST32): Likewise.
35756 [C99-based-standards] (SCNxLEAST32): Likewise.
35757 [C99-based-standards] (PRIdFAST32): Likewise.
35758 [C99-based-standards] (PRIiFAST32): Likewise.
35759 [C99-based-standards] (PRIoFAST32): Likewise.
35760 [C99-based-standards] (PRIuFAST32): Likewise.
35761 [C99-based-standards] (PRIxFAST32): Likewise.
35762 [C99-based-standards] (PRIXFAST32): Likewise.
35763 [C99-based-standards] (SCNdFAST32): Likewise.
35764 [C99-based-standards] (SCNiFAST32): Likewise.
35765 [C99-based-standards] (SCNoFAST32): Likewise.
35766 [C99-based-standards] (SCNuFAST32): Likewise.
35767 [C99-based-standards] (SCNxFAST32): Likewise.
35768 [C99-based-standards] (PRId64): Likewise.
35769 [C99-based-standards] (PRIi64): Likewise.
35770 [C99-based-standards] (PRIo64): Likewise.
35771 [C99-based-standards] (PRIu64): Likewise.
35772 [C99-based-standards] (PRIx64): Likewise.
35773 [C99-based-standards] (PRIX64): Likewise.
35774 [C99-based-standards] (SCNd64): Likewise.
35775 [C99-based-standards] (SCNi64): Likewise.
35776 [C99-based-standards] (SCNo64): Likewise.
35777 [C99-based-standards] (SCNu64): Likewise.
35778 [C99-based-standards] (SCNx64): Likewise.
35779 [C99-based-standards] (PRIdLEAST64): Likewise.
35780 [C99-based-standards] (PRIiLEAST64): Likewise.
35781 [C99-based-standards] (PRIoLEAST64): Likewise.
35782 [C99-based-standards] (PRIuLEAST64): Likewise.
35783 [C99-based-standards] (PRIxLEAST64): Likewise.
35784 [C99-based-standards] (PRIXLEAST64): Likewise.
35785 [C99-based-standards] (SCNdLEAST64): Likewise.
35786 [C99-based-standards] (SCNiLEAST64): Likewise.
35787 [C99-based-standards] (SCNoLEAST64): Likewise.
35788 [C99-based-standards] (SCNuLEAST64): Likewise.
35789 [C99-based-standards] (SCNxLEAST64): Likewise.
35790 [C99-based-standards] (PRIdFAST64): Likewise.
35791 [C99-based-standards] (PRIiFAST64): Likewise.
35792 [C99-based-standards] (PRIoFAST64): Likewise.
35793 [C99-based-standards] (PRIuFAST64): Likewise.
35794 [C99-based-standards] (PRIxFAST64): Likewise.
35795 [C99-based-standards] (PRIXFAST64): Likewise.
35796 [C99-based-standards] (SCNdFAST64): Likewise.
35797 [C99-based-standards] (SCNiFAST64): Likewise.
35798 [C99-based-standards] (SCNoFAST64): Likewise.
35799 [C99-based-standards] (SCNuFAST64): Likewise.
35800 [C99-based-standards] (SCNxFAST64): Likewise.
35801 [C99-based-standards] (PRIdMAX): Likewise.
35802 [C99-based-standards] (PRIiMAX): Likewise.
35803 [C99-based-standards] (PRIoMAX): Likewise.
35804 [C99-based-standards] (PRIuMAX): Likewise.
35805 [C99-based-standards] (PRIxMAX): Likewise.
35806 [C99-based-standards] (PRIXMAX): Likewise.
35807 [C99-based-standards] (SCNdMAX): Likewise.
35808 [C99-based-standards] (SCNiMAX): Likewise.
35809 [C99-based-standards] (SCNoMAX): Likewise.
35810 [C99-based-standards] (SCNuMAX): Likewise.
35811 [C99-based-standards] (SCNxMAX): Likewise.
35812 [C99-based-standards] (PRIdPTR): Likewise.
35813 [C99-based-standards] (PRIiPTR): Likewise.
35814 [C99-based-standards] (PRIoPTR): Likewise.
35815 [C99-based-standards] (PRIuPTR): Likewise.
35816 [C99-based-standards] (PRIxPTR): Likewise.
35817 [C99-based-standards] (PRIXPTR): Likewise.
35818 [C99-based-standards] (SCNdPTR): Likewise.
35819 [C99-based-standards] (SCNiPTR): Likewise.
35820 [C99-based-standards] (SCNoPTR): Likewise.
35821 [C99-based-standards] (SCNuPTR): Likewise.
35822 [C99-based-standards] (SCNxPTR): Likewise.
35823 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35825 * conform/data/stdint.h-data: Update comments to clarify
35827 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35829 [C99-based standards] (INT8_MAX): Likewise.
35830 [C99-based standards] (INT16_MIN): Likewise.
35831 [C99-based standards] (INT16_MAX): Likewise.
35832 [C99-based standards] (INT32_MIN): Likewise.
35833 [C99-based standards] (INT32_MAX): Likewise.
35834 [C99-based standards] (INT64_MIN): Likewise.
35835 [C99-based standards] (INT64_MAX): Likewise.
35836 [C99-based standards] (UINT8_MAX): Likewise.
35837 [C99-based standards] (UINT16_MAX): Likewise.
35838 [C99-based standards] (UINT32_MAX): Likewise.
35839 [C99-based standards] (UINT64_MAX): Likewise.
35840 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35841 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35842 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35843 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35844 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35845 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35846 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35847 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35848 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35849 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35850 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35851 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35852 [C99-based standards] (INT_FAST8_MIN): Likewise.
35853 [C99-based standards] (INT_FAST8_MAX): Likewise.
35854 [C99-based standards] (INT_FAST16_MIN): Likewise.
35855 [C99-based standards] (INT_FAST16_MAX): Likewise.
35856 [C99-based standards] (INT_FAST32_MIN): Likewise.
35857 [C99-based standards] (INT_FAST32_MAX): Likewise.
35858 [C99-based standards] (INT_FAST64_MIN): Likewise.
35859 [C99-based standards] (INT_FAST64_MAX): Likewise.
35860 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35861 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35862 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35863 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35864 [C99-based standards] (INTPTR_MIN): Likewise.
35865 [C99-based standards] (INTPTR_MAX): Likewise.
35866 [C99-based standards] (UINTPTR_MAX): Likewise.
35867 [C99-based standards] (INTMAX_MIN): Likewise.
35868 [C99-based standards] (INTMAX_MAX): Likewise.
35869 [C99-based standards] (UINTMAX_MAX): Likewise.
35870 [C99-based standards] (PTRDIFF_MIN): Likewise.
35871 [C99-based standards] (PTRDIFF_MAX): Likewise.
35872 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35873 [C99-based standards] (SIZE_MAX): Likewise.
35874 [C99-based standards] (WCHAR_MAX): Likewise.
35875 [C99-based standards] (WINT_MAX): Likewise.
35876 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35877 constraint on value.
35878 [C99-based standards] (WCHAR_MIN): Likewise.
35879 [C99-based standards] (WINT_MIN): Likewise.
35880 [C99-based standards] (*_t): Allow.
35881 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35882 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35883 Include math.h-data and complex.h-data. Remove all expectations
35884 of math.h and complex.h contents.
35885 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35887 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35888 (struct tm): Expect tag.
35889 [C99-based-standards] (wcstof): Expect function.
35890 [C99-based-standards] (wcstold): Likewise.
35891 [C99-based-standards] (wcstoll): Likewise.
35892 [C99-based-standards] (wcstoull): Likewise.
35893 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35894 macro-int-constant. Specify type.
35895 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35896 constraint on value.
35897 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35899 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35901 [ISO C standards]: Do not allow headers.
35902 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35903 wcs[abcdefghijklmnopqrstuvwxyz]*.
35904 [ISO C standards] (*_t): Do not allow.
35905 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35907 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35908 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35910 [ISO C standards]: Do not allow headers.
35911 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35912 is[abcdefghijklmnopqrstuvwxyz]*.
35913 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35914 to[abcdefghijklmnopqrstuvwxyz]*.
35915 [ISO C standards] (*_t): Do not allow.
35916 * conform/data/stdalign.h-data: New file.
35917 * conform/data/stdbool.h-data: Likewise.
35918 * conform/data/stdnoreturn.h-data: Likewise.
35920 2012-11-07 Roland McGrath <roland@hack.frob.com>
35923 * manual/filesys.texi (Directory Entries): Typo fix.
35924 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35926 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35928 * elf/elf.h (EM_AARCH64): New macro.
35929 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35930 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35931 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35932 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35933 (R_AARCH64_TLSDESC): Likewise.
35934 (NT_ARM_TLS): Likewise.
35935 (NT_ARM_HW_BREAK): Likewise.
35936 (NT_ARM_HW_WATCH): Likewise.
35938 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35941 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35942 (__ieee754_powl): Saturate nonzero exponents with absolute value
35943 below 0x1p-79 to +/- 0x1p-79.
35944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35945 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35946 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35947 nonzero exponents with absolute value below 0x1p-32 to +/-
35949 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35950 (__ieee754_powl): Saturate nonzero exponents with absolute value
35951 below 0x1p-79 to +/- 0x1p-79.
35952 * math/libm-test.inc (pow_test): Add more tests.
35954 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35956 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35957 _dl_s390_cap_flags with kernel. Increase string length.
35958 (_dl_s390_platforms): Add z196 and zEC12.
35960 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35962 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35963 Change XOPEN21K to XOPEN2K.
35965 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35967 * string/memmove.c: Use memcpy when possible.
35969 2012-11-06 Andreas Jaeger <aj@suse.de>
35971 * po/eo.po: Update from translation team.
35973 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35977 exponent and small x and y exponents, scale x or y up. Increase
35978 by 2 the exponent used in scaling up.
35979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35980 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35981 * math/libm-test.inc (fma_test): Add more tests.
35982 (fma_test_towardzero): Likewise.
35983 (fma_test_downward): Likewise.
35984 (fma_test_upward): Likewise.
35986 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35989 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35993 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35994 namespace for names of struct fields.
35995 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35997 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35998 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36000 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36003 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36005 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36007 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36011 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36014 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36018 definitely overflow as x * y not x * y + z.
36019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36021 * math/libm-test.inc (fma_test): Add more tests.
36022 (fma_test_towardzero): Likewise.
36023 (fma_test_downward): Likewise.
36024 (fma_test_upward): Likewise.
36026 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36030 * include/stub-tag.h: Remove file.
36031 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36033 * manual/maint.texi (Porting): Don't reference it.
36034 * Makerules ($(objpfx)stubs): Likewise.
36035 * dirent/closedir.c: Don't include <stub-tag.h>.
36036 * dirent/dirfd.c: Likewise.
36037 * dirent/fdopendir.c: Likewise.
36038 * dirent/getdents.c: Likewise.
36039 * dirent/getdents64.c: Likewise.
36040 * dirent/opendir.c: Likewise.
36041 * dirent/readdir.c: Likewise.
36042 * dirent/readdir64.c: Likewise.
36043 * dirent/readdir64_r.c: Likewise.
36044 * dirent/readdir_r.c: Likewise.
36045 * dirent/rewinddir.c: Likewise.
36046 * dirent/seekdir.c: Likewise.
36047 * dirent/telldir.c: Likewise.
36048 * gmon/profil.c: Likewise.
36049 * grp/setgroups.c: Likewise.
36050 * inet/if_index.c: Likewise.
36051 * io/access.c: Likewise.
36052 * io/chdir.c: Likewise.
36053 * io/chmod.c: Likewise.
36054 * io/chown.c: Likewise.
36055 * io/close.c: Likewise.
36056 * io/dup.c: Likewise.
36057 * io/dup2.c: Likewise.
36058 * io/dup3.c: Likewise.
36059 * io/euidaccess.c: Likewise.
36060 * io/faccessat.c: Likewise.
36061 * io/fchdir.c: Likewise.
36062 * io/fchmod.c: Likewise.
36063 * io/fchmodat.c: Likewise.
36064 * io/fchown.c: Likewise.
36065 * io/fchownat.c: Likewise.
36066 * io/fcntl.c: Likewise.
36067 * io/flock.c: Likewise.
36068 * io/fstatfs.c: Likewise.
36069 * io/fstatfs64.c: Likewise.
36070 * io/fstatvfs.c: Likewise.
36071 * io/fstatvfs64.c: Likewise.
36072 * io/futimens.c: Likewise.
36073 * io/fxstat.c: Likewise.
36074 * io/fxstat64.c: Likewise.
36075 * io/fxstatat.c: Likewise.
36076 * io/fxstatat64.c: Likewise.
36077 * io/getcwd.c: Likewise.
36078 * io/isatty.c: Likewise.
36079 * io/lchmod.c: Likewise.
36080 * io/lchown.c: Likewise.
36081 * io/link.c: Likewise.
36082 * io/linkat.c: Likewise.
36083 * io/lseek.c: Likewise.
36084 * io/lseek64.c: Likewise.
36085 * io/lxstat64.c: Likewise.
36086 * io/mkdir.c: Likewise.
36087 * io/mkdirat.c: Likewise.
36088 * io/mkfifo.c: Likewise.
36089 * io/mkfifoat.c: Likewise.
36090 * io/open.c: Likewise.
36091 * io/open64.c: Likewise.
36092 * io/openat.c: Likewise.
36093 * io/openat64.c: Likewise.
36094 * io/pipe.c: Likewise.
36095 * io/pipe2.c: Likewise.
36096 * io/poll.c: Likewise.
36097 * io/posix_fadvise.c: Likewise.
36098 * io/posix_fadvise64.c: Likewise.
36099 * io/posix_fallocate.c: Likewise.
36100 * io/posix_fallocate64.c: Likewise.
36101 * io/read.c: Likewise.
36102 * io/readlink.c: Likewise.
36103 * io/readlinkat.c: Likewise.
36104 * io/rmdir.c: Likewise.
36105 * io/sendfile.c: Likewise.
36106 * io/sendfile64.c: Likewise.
36107 * io/statfs.c: Likewise.
36108 * io/statfs64.c: Likewise.
36109 * io/statvfs.c: Likewise.
36110 * io/statvfs64.c: Likewise.
36111 * io/symlink.c: Likewise.
36112 * io/symlinkat.c: Likewise.
36113 * io/ttyname.c: Likewise.
36114 * io/ttyname_r.c: Likewise.
36115 * io/umask.c: Likewise.
36116 * io/unlink.c: Likewise.
36117 * io/unlinkat.c: Likewise.
36118 * io/utime.c: Likewise.
36119 * io/utimensat.c: Likewise.
36120 * io/write.c: Likewise.
36121 * io/xmknod.c: Likewise.
36122 * io/xmknodat.c: Likewise.
36123 * io/xstat.c: Likewise.
36124 * io/xstat64.c: Likewise.
36125 * login/getpt.c: Likewise.
36126 * login/grantpt.c: Likewise.
36127 * login/unlockpt.c: Likewise.
36128 * math/e_acoshl.c: Likewise.
36129 * math/e_acosl.c: Likewise.
36130 * math/e_asinl.c: Likewise.
36131 * math/e_atan2l.c: Likewise.
36132 * math/e_atanhl.c: Likewise.
36133 * math/e_coshl.c: Likewise.
36134 * math/e_expl.c: Likewise.
36135 * math/e_fmodl.c: Likewise.
36136 * math/e_gammal_r.c: Likewise.
36137 * math/e_hypotl.c: Likewise.
36138 * math/e_j0l.c: Likewise.
36139 * math/e_j1l.c: Likewise.
36140 * math/e_jnl.c: Likewise.
36141 * math/e_lgammal_r.c: Likewise.
36142 * math/e_log10l.c: Likewise.
36143 * math/e_log2l.c: Likewise.
36144 * math/e_logl.c: Likewise.
36145 * math/e_powl.c: Likewise.
36146 * math/e_rem_pio2l.c: Likewise.
36147 * math/e_sinhl.c: Likewise.
36148 * math/e_sqrtl.c: Likewise.
36149 * math/fclrexcpt.c: Likewise.
36150 * math/fedisblxcpt.c: Likewise.
36151 * math/feenablxcpt.c: Likewise.
36152 * math/fegetenv.c: Likewise.
36153 * math/fegetexcept.c: Likewise.
36154 * math/fegetround.c: Likewise.
36155 * math/feholdexcpt.c: Likewise.
36156 * math/fesetenv.c: Likewise.
36157 * math/fesetround.c: Likewise.
36158 * math/feupdateenv.c: Likewise.
36159 * math/fgetexcptflg.c: Likewise.
36160 * math/fraiseexcpt.c: Likewise.
36161 * math/fsetexcptflg.c: Likewise.
36162 * math/ftestexcept.c: Likewise.
36163 * math/k_cosl.c: Likewise.
36164 * math/k_rem_pio2l.c: Likewise.
36165 * math/k_sinl.c: Likewise.
36166 * math/k_tanl.c: Likewise.
36167 * math/s_asinhl.c: Likewise.
36168 * math/s_atanl.c: Likewise.
36169 * math/s_cbrtl.c: Likewise.
36170 * math/s_erfl.c: Likewise.
36171 * math/s_expm1l.c: Likewise.
36172 * math/s_log1pl.c: Likewise.
36173 * math/s_tanhl.c: Likewise.
36174 * misc/acct.c: Likewise.
36175 * misc/brk.c: Likewise.
36176 * misc/chflags.c: Likewise.
36177 * misc/chroot.c: Likewise.
36178 * misc/fchflags.c: Likewise.
36179 * misc/fgetxattr.c: Likewise.
36180 * misc/flistxattr.c: Likewise.
36181 * misc/fremovexattr.c: Likewise.
36182 * misc/fsetxattr.c: Likewise.
36183 * misc/fsync.c: Likewise.
36184 * misc/ftruncate.c: Likewise.
36185 * misc/futimes.c: Likewise.
36186 * misc/futimesat.c: Likewise.
36187 * misc/getdomain.c: Likewise.
36188 * misc/getdtsz.c: Likewise.
36189 * misc/gethostid.c: Likewise.
36190 * misc/gethostname.c: Likewise.
36191 * misc/getloadavg.c: Likewise.
36192 * misc/getpagesize.c: Likewise.
36193 * misc/getsysstats.c: Likewise.
36194 * misc/getxattr.c: Likewise.
36195 * misc/gtty.c: Likewise.
36196 * misc/ioctl.c: Likewise.
36197 * misc/lgetxattr.c: Likewise.
36198 * misc/listxattr.c: Likewise.
36199 * misc/llistxattr.c: Likewise.
36200 * misc/lremovexattr.c: Likewise.
36201 * misc/lsetxattr.c: Likewise.
36202 * misc/lutimes.c: Likewise.
36203 * misc/madvise.c: Likewise.
36204 * misc/mincore.c: Likewise.
36205 * misc/mlock.c: Likewise.
36206 * misc/mlockall.c: Likewise.
36207 * misc/mmap.c: Likewise.
36208 * misc/mprotect.c: Likewise.
36209 * misc/msync.c: Likewise.
36210 * misc/munlock.c: Likewise.
36211 * misc/munlockall.c: Likewise.
36212 * misc/munmap.c: Likewise.
36213 * misc/preadv.c: Likewise.
36214 * misc/preadv64.c: Likewise.
36215 * misc/ptrace.c: Likewise.
36216 * misc/pwritev.c: Likewise.
36217 * misc/pwritev64.c: Likewise.
36218 * misc/readv.c: Likewise.
36219 * misc/reboot.c: Likewise.
36220 * misc/remap_file_pages.c: Likewise.
36221 * misc/removexattr.c: Likewise.
36222 * misc/revoke.c: Likewise.
36223 * misc/select.c: Likewise.
36224 * misc/setdomain.c: Likewise.
36225 * misc/setegid.c: Likewise.
36226 * misc/seteuid.c: Likewise.
36227 * misc/sethostid.c: Likewise.
36228 * misc/sethostname.c: Likewise.
36229 * misc/setregid.c: Likewise.
36230 * misc/setreuid.c: Likewise.
36231 * misc/setxattr.c: Likewise.
36232 * misc/sstk.c: Likewise.
36233 * misc/stty.c: Likewise.
36234 * misc/swapoff.c: Likewise.
36235 * misc/swapon.c: Likewise.
36236 * misc/sync.c: Likewise.
36237 * misc/syncfs.c: Likewise.
36238 * misc/syscall.c: Likewise.
36239 * misc/truncate.c: Likewise.
36240 * misc/ualarm.c: Likewise.
36241 * misc/usleep.c: Likewise.
36242 * misc/ustat.c: Likewise.
36243 * misc/utimes.c: Likewise.
36244 * misc/vhangup.c: Likewise.
36245 * misc/writev.c: Likewise.
36246 * posix/_exit.c: Likewise.
36247 * posix/alarm.c: Likewise.
36248 * posix/execve.c: Likewise.
36249 * posix/fexecve.c: Likewise.
36250 * posix/fork.c: Likewise.
36251 * posix/fpathconf.c: Likewise.
36252 * posix/getaddrinfo.c: Likewise.
36253 * posix/getegid.c: Likewise.
36254 * posix/geteuid.c: Likewise.
36255 * posix/getgid.c: Likewise.
36256 * posix/getgroups.c: Likewise.
36257 * posix/getlogin.c: Likewise.
36258 * posix/getlogin_r.c: Likewise.
36259 * posix/getpgid.c: Likewise.
36260 * posix/getpid.c: Likewise.
36261 * posix/getppid.c: Likewise.
36262 * posix/getresgid.c: Likewise.
36263 * posix/getresuid.c: Likewise.
36264 * posix/getsid.c: Likewise.
36265 * posix/getuid.c: Likewise.
36266 * posix/glob64.c: Likewise.
36267 * posix/nanosleep.c: Likewise.
36268 * posix/pathconf.c: Likewise.
36269 * posix/pause.c: Likewise.
36270 * posix/posix_madvise.c: Likewise.
36271 * posix/pread.c: Likewise.
36272 * posix/pread64.c: Likewise.
36273 * posix/pwrite.c: Likewise.
36274 * posix/pwrite64.c: Likewise.
36275 * posix/sched_getaffinity.c: Likewise.
36276 * posix/sched_getp.c: Likewise.
36277 * posix/sched_gets.c: Likewise.
36278 * posix/sched_primax.c: Likewise.
36279 * posix/sched_primin.c: Likewise.
36280 * posix/sched_rr_gi.c: Likewise.
36281 * posix/sched_setaffinity.c: Likewise.
36282 * posix/sched_setp.c: Likewise.
36283 * posix/sched_sets.c: Likewise.
36284 * posix/sched_yield.c: Likewise.
36285 * posix/setgid.c: Likewise.
36286 * posix/setlogin.c: Likewise.
36287 * posix/setpgid.c: Likewise.
36288 * posix/setresgid.c: Likewise.
36289 * posix/setresuid.c: Likewise.
36290 * posix/setsid.c: Likewise.
36291 * posix/setuid.c: Likewise.
36292 * posix/sleep.c: Likewise.
36293 * posix/spawni.c: Likewise.
36294 * posix/sysconf.c: Likewise.
36295 * posix/times.c: Likewise.
36296 * posix/wait.c: Likewise.
36297 * posix/wait3.c: Likewise.
36298 * posix/wait4.c: Likewise.
36299 * posix/waitpid.c: Likewise.
36300 * resolv/gai_sigqueue.c: Likewise.
36301 * resource/getpriority.c: Likewise.
36302 * resource/getrlimit.c: Likewise.
36303 * resource/getrusage.c: Likewise.
36304 * resource/nice.c: Likewise.
36305 * resource/setpriority.c: Likewise.
36306 * resource/setrlimit.c: Likewise.
36307 * resource/ulimit.c: Likewise.
36308 * rt/aio_cancel.c: Likewise.
36309 * rt/aio_fsync.c: Likewise.
36310 * rt/aio_read.c: Likewise.
36311 * rt/aio_sigqueue.c: Likewise.
36312 * rt/aio_suspend.c: Likewise.
36313 * rt/aio_write.c: Likewise.
36314 * rt/clock_getres.c: Likewise.
36315 * rt/clock_gettime.c: Likewise.
36316 * rt/clock_nanosleep.c: Likewise.
36317 * rt/clock_settime.c: Likewise.
36318 * rt/lio_listio.c: Likewise.
36319 * rt/mq_close.c: Likewise.
36320 * rt/mq_getattr.c: Likewise.
36321 * rt/mq_notify.c: Likewise.
36322 * rt/mq_open.c: Likewise.
36323 * rt/mq_receive.c: Likewise.
36324 * rt/mq_send.c: Likewise.
36325 * rt/mq_setattr.c: Likewise.
36326 * rt/mq_timedreceive.c: Likewise.
36327 * rt/mq_timedsend.c: Likewise.
36328 * rt/mq_unlink.c: Likewise.
36329 * rt/shm_open.c: Likewise.
36330 * rt/shm_unlink.c: Likewise.
36331 * rt/timer_create.c: Likewise.
36332 * rt/timer_delete.c: Likewise.
36333 * rt/timer_getoverr.c: Likewise.
36334 * rt/timer_gettime.c: Likewise.
36335 * rt/timer_settime.c: Likewise.
36336 * setjmp/__longjmp.c: Likewise.
36337 * setjmp/setjmp.c: Likewise.
36338 * signal/kill.c: Likewise.
36339 * signal/killpg.c: Likewise.
36340 * signal/raise.c: Likewise.
36341 * signal/sigaction.c: Likewise.
36342 * signal/sigaltstack.c: Likewise.
36343 * signal/sigblock.c: Likewise.
36344 * signal/sigignore.c: Likewise.
36345 * signal/sigintr.c: Likewise.
36346 * signal/signal.c: Likewise.
36347 * signal/sigpause.c: Likewise.
36348 * signal/sigpending.c: Likewise.
36349 * signal/sigqueue.c: Likewise.
36350 * signal/sigreturn.c: Likewise.
36351 * signal/sigset.c: Likewise.
36352 * signal/sigsetmask.c: Likewise.
36353 * signal/sigstack.c: Likewise.
36354 * signal/sigsuspend.c: Likewise.
36355 * signal/sigtimedwait.c: Likewise.
36356 * signal/sigvec.c: Likewise.
36357 * signal/sigwait.c: Likewise.
36358 * signal/sigwaitinfo.c: Likewise.
36359 * signal/sysv_signal.c: Likewise.
36360 * socket/accept.c: Likewise.
36361 * socket/accept4.c: Likewise.
36362 * socket/bind.c: Likewise.
36363 * socket/connect.c: Likewise.
36364 * socket/getpeername.c: Likewise.
36365 * socket/getsockname.c: Likewise.
36366 * socket/getsockopt.c: Likewise.
36367 * socket/isfdtype.c: Likewise.
36368 * socket/listen.c: Likewise.
36369 * socket/recv.c: Likewise.
36370 * socket/recvfrom.c: Likewise.
36371 * socket/recvmsg.c: Likewise.
36372 * socket/send.c: Likewise.
36373 * socket/sendmsg.c: Likewise.
36374 * socket/sendto.c: Likewise.
36375 * socket/setsockopt.c: Likewise.
36376 * socket/shutdown.c: Likewise.
36377 * socket/sockatmark.c: Likewise.
36378 * socket/socket.c: Likewise.
36379 * socket/socketpair.c: Likewise.
36380 * stdio-common/ctermid.c: Likewise.
36381 * stdio-common/cuserid.c: Likewise.
36382 * stdio-common/remove.c: Likewise.
36383 * stdio-common/rename.c: Likewise.
36384 * stdio-common/renameat.c: Likewise.
36385 * stdio-common/tempname.c: Likewise.
36386 * stdlib/getcontext.c: Likewise.
36387 * stdlib/makecontext.c: Likewise.
36388 * stdlib/setcontext.c: Likewise.
36389 * stdlib/swapcontext.c: Likewise.
36390 * stdlib/system.c: Likewise.
36391 * streams/fattach.c: Likewise.
36392 * streams/fdetach.c: Likewise.
36393 * streams/getmsg.c: Likewise.
36394 * streams/getpmsg.c: Likewise.
36395 * streams/putmsg.c: Likewise.
36396 * streams/putpmsg.c: Likewise.
36397 * sysdeps/unix/bsd/getpt.c: Likewise.
36398 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36399 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36400 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36403 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36404 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36405 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36406 * sysvipc/msgctl.c: Likewise.
36407 * sysvipc/msgget.c: Likewise.
36408 * sysvipc/msgrcv.c: Likewise.
36409 * sysvipc/msgsnd.c: Likewise.
36410 * sysvipc/semctl.c: Likewise.
36411 * sysvipc/semget.c: Likewise.
36412 * sysvipc/semop.c: Likewise.
36413 * sysvipc/semtimedop.c: Likewise.
36414 * sysvipc/shmat.c: Likewise.
36415 * sysvipc/shmctl.c: Likewise.
36416 * sysvipc/shmdt.c: Likewise.
36417 * sysvipc/shmget.c: Likewise.
36418 * termios/tcdrain.c: Likewise.
36419 * termios/tcflow.c: Likewise.
36420 * termios/tcflush.c: Likewise.
36421 * termios/tcgetattr.c: Likewise.
36422 * termios/tcgetpgrp.c: Likewise.
36423 * termios/tcsendbrk.c: Likewise.
36424 * termios/tcsetattr.c: Likewise.
36425 * termios/tcsetpgrp.c: Likewise.
36426 * time/adjtime.c: Likewise.
36427 * time/clock.c: Likewise.
36428 * time/getitimer.c: Likewise.
36429 * time/gettimeofday.c: Likewise.
36430 * time/setitimer.c: Likewise.
36431 * time/settimeofday.c: Likewise.
36432 * time/stime.c: Likewise.
36433 * time/time.c: Likewise.
36435 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36437 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36440 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36442 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36444 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36448 FE_TONEAREST before applying Dekker multiplication and Knuth
36449 addition. Clear inexact exceptions and check for exact zero
36450 results afterwards.
36451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36452 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36453 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36454 * math/libm-test.inc (fma_test): Add more tests.
36455 (fma_test_towardzero): Likewise.
36456 (fma_test_downward): Likewise.
36457 (fma_test_upward): Likewise.
36458 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36460 (libc_fesetround): New macro.
36461 (libc_fesetroundf): Likewise.
36462 (libc_fesetroundl): Likewise.
36463 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36465 (libc_fesetround_387): Likewise.
36466 (libc_fesetroundf): New macro.
36467 (libc_fesetround): Likewise.
36468 (libc_fesetroundl): Likewise.
36469 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36471 (libc_fesetroundf): New macro.
36472 (libc_fesetround): Likewise.
36473 (libc_fesetroundl): Likewise.
36474 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36475 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36476 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36478 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36479 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36481 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36482 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36484 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36488 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36489 integer constant usable in #if and use that to give value to enum
36491 (FE_DIVBYZERO): Likewise.
36492 (FE_UNDERFLOW): Likewise.
36493 (FE_OVERFLOW): Likewise.
36494 (FE_INVALID): Likewise.
36495 (FE_INVALID_SNAN): Likewise.
36496 (FE_INVALID_ISI): Likewise.
36497 (FE_INVALID_IDI): Likewise.
36498 (FE_INVALID_ZDZ): Likewise.
36499 (FE_INVALID_IMZ): Likewise.
36500 (FE_INVALID_COMPARE): Likewise.
36501 (FE_INVALID_SOFTWARE): Likewise.
36502 (FE_INVALID_SQRT): Likewise.
36503 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36504 (FE_TONEAREST): Likewise.
36505 (FE_TOWARDZERO): Likewise.
36506 (FE_UPWARD): Likewise.
36507 (FE_DOWNWARD): Likewise.
36508 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36509 (FE_DIVBYZERO): Likewise.
36510 (FE_OVERFLOW): Likewise.
36511 (FE_UNDERFLOW): Likewise.
36512 (FE_INEXACT): Likewise.
36513 (FE_TONEAREST): Likewise.
36514 (FE_DOWNWARD): Likewise.
36515 (FE_UPWARD): Likewise.
36516 (FE_TOWARDZERO): Likewise.
36517 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36518 (FE_UNDERFLOW): Likewise.
36519 (FE_OVERFLOW): Likewise.
36520 (FE_DIVBYZERO): Likewise.
36521 (FE_INVALID): Likewise.
36522 (FE_TONEAREST): Likewise.
36523 (FE_TOWARDZERO): Likewise.
36524 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36525 (FE_OVERFLOW): Likewise.
36526 (FE_UNDERFLOW): Likewise.
36527 (FE_DIVBYZERO): Likewise.
36528 (FE_INEXACT): Likewise.
36529 (FE_TONEAREST): Likewise.
36530 (FE_TOWARDZERO): Likewise.
36531 (FE_UPWARD): Likewise.
36532 (FE_DOWNWARD): Likewise.
36533 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36534 (FE_DIVBYZERO): Likewise.
36535 (FE_OVERFLOW): Likewise.
36536 (FE_UNDERFLOW): Likewise.
36537 (FE_INEXACT): Likewise.
36538 (FE_TONEAREST): Likewise.
36539 (FE_DOWNWARD): Likewise.
36540 (FE_UPWARD): Likewise.
36541 (FE_TOWARDZERO): Likewise.
36543 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36545 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36547 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36549 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36550 commands. Quote $PWD.
36551 (blacklist_exports): Don't use remove_newlines. Replace "declare
36553 (remove_newlines): Remove.
36555 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36557 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36558 * stdlib/stdlib.h (atof): Moved to ...
36559 * include/bits/stdlib-float.h: Here. New file.
36560 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36561 * stdlib/bits/stdlib-float.h: New file.
36562 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36564 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36567 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36569 * conform/conformtest.pl (@headers): Add fenv.h.
36570 * conform/data/fenv.h-data: New file.
36571 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36572 include of <math/fenv.h>.
36574 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36575 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36576 && !UNIX98]. Enables tests for XOPEN2K8.
36577 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36578 POSIX2008]: Likewise.
36580 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36581 (struct rusage): Do not expect type or its members.
36584 * math/math.h (FP_NAN): Define macro to integer constant usable in
36585 #if and use that to give value to enum constant.
36586 (FP_INFINITE): Likewise.
36587 (FP_ZERO): Likewise.
36588 (FP_SUBNORMAL): Likewise.
36589 (FP_NORMAL): Likewise.
36591 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36593 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36594 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36597 2012-11-02 Roland McGrath <roland@hack.frob.com>
36599 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36600 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36601 autoconf-time if not.
36602 * configure.in: Remove AC_PREREQ.
36604 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36606 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36607 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36608 of the internal implementation.
36610 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36612 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36613 except include of <misc/sys/syslog.h>.
36615 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36618 function returns with a NULL context exit with zero.
36620 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36622 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36624 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36626 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36627 (run_program_cmd): This.
36628 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36629 (tst_langinfo): New variable. Use it.
36631 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36633 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36634 floating point opcodes.
36636 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36638 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36641 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36643 * sysdeps/mach/hurd/powerpc: Remove directory.
36644 * sysdeps/mach/powerpc: Likewise.
36646 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36648 * scripts/check-local-headers.sh: Ignore c++ headers.
36650 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36652 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36653 __libc_cleanup_region_start argument.
36655 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36660 x * y using scaling, not as x * y + z.
36661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36663 * math/libm-test.inc (fma_test): Add more tests.
36664 (fma_test_towardzero): Likewise.
36665 (fma_test_downward): Likewise.
36666 (fma_test_upward): Likewise.
36668 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36670 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36672 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36674 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36677 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36679 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36681 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36688 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36691 Fix the order of the list for glibc 2.17.
36692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36695 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36699 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36702 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36703 for low part of x being zero before using __atanl (y).
36704 * math/libm-test.inc (atan2_test): Add another test.
36706 * manual/install.texi (Configuring and compiling): Document
36707 general use of test-wrapper and test-wrapper-env.
36708 * INSTALL: Regenerated.
36710 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36711 (__fma): Do not extract and scale down low bits on after-rounding
36712 systems when result rounded to normal precision would have normal
36714 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36715 (__fmal): Do not extract and scale down low bits on after-rounding
36716 systems when result rounded to normal precision would have normal
36718 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36719 (__fmal): Do not extract and scale down low bits on after-rounding
36720 systems when result rounded to normal precision would have normal
36722 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36724 (fma_test): Add more tests.
36725 (fma_test_towardzero): Likewise.
36726 (fma_test_downward): Likewise.
36727 (fma_test_upward): Likewise.
36729 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36731 * sysdeps/i386/tininess.h: Renamed to ...
36732 * sysdeps/x86/tininess.h: This.
36733 * sysdeps/x86_64/tininess.h: Removed.
36735 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36737 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36738 input. Use $(build-program-cmd).
36739 ($(objpfx)tst-array1-static.out): Likewise.
36740 ($(objpfx)tst-array2.out): Likewise.
36741 ($(objpfx)tst-array3.out): Likewise.
36742 ($(objpfx)tst-array4.out): Likewise.
36743 ($(objpfx)tst-array5.out): Likewise.
36744 ($(objpfx)tst-array5-static.out): Likewise.
36746 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36748 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36751 * nss/nsswitch.h (nss_interface_function): Provide new
36752 macro for use with NSS functions.
36753 * grp/initgroups.c: Use new macro.
36754 * nss/getXXbyYY.c: Likewise.
36755 * nss/getXXbyYY_r.c: Likewise.
36756 * nss/getXXent.c: Likewise.
36757 * nss/getXXent_r.c: Likewise.
36758 * sysdeps/posix/getaddrinfo.c: Likewise.
36760 2012-10-30 Andreas Jaeger <aj@suse.de>
36762 * po/ru.po: Update Russion translation from translation project.
36764 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36769 result and shift together with sticky bit instead of replicating
36770 round-to-nearest rounding.
36771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36773 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36774 missing underflow exceptions.
36775 (fma_test_towardzero): Add more tests.
36776 (fma_test_downward): Likewise.
36777 (fma_test_upward): Likewise.
36780 * sysdeps/generic/tininess.h: New file.
36781 * sysdeps/i386/tininess.h: Likewise.
36782 * sysdeps/sh/tininess.h: Likewise.
36783 * sysdeps/x86_64/tininess.h: Likewise.
36784 * stdlib/tst-strtod-underflow.c: Likewise.
36785 * stdlib/tst-tininess.c: Likewise.
36786 * stdlib/strtod_l.c: Include <tininess.h>.
36787 (round_and_return): Do not set errno for exact underflow cases.
36788 Force an underflow exception when setting errno for underflow.
36789 Determine underflow based on rounding to normal precision if
36790 TININESS_AFTER_ROUNDING.
36791 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36792 ERANGE for exact underflow cases.
36793 * stdlib/Makefile (tests): Add tst-tininess and
36794 tst-strtod-underflow.
36795 ($(objpfx)tst-tininess): Use $(link-libm).
36796 ($(objpfx)tst-strtod-underflow): Likewise.
36798 2012-10-30 Andreas Jaeger <aj@suse.de>
36801 * elf/Makefile (tests): Remove conditional for have-initfini-array
36802 since this is now always required and the variable does not exist
36804 (tests-static): Likewise.
36805 (modules-names): Likewise.
36807 * po/eo.po: Add Esperanto translation from translation project.
36809 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36810 merged with constructor/destructor.
36811 (init_array): Likewise.
36812 * elf/tst-array2dep.c (fini_array): Likewise.
36813 (init_array): Likewise.
36815 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36817 * manual/message.texi: Delete @cartouche tags.
36819 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36821 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36823 * sysdeps/mach/hurd/fsync.c: Likewise.
36825 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36826 [_POSIX_REALTIME_SIGNALS]: Change condition to
36827 [_POSIX_REALTIME_SIGNALS > 0].
36829 2012-10-27 Andreas Jaeger <aj@suse.de>
36831 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36832 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36833 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36834 [__WORDSIZE != 64]: Likewise.
36836 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36838 * iconvdata/tst-table.sh: Remove ${SHELL}.
36839 * iconvdata/tst-tables.sh: Likewise.
36841 2012-10-25 David S. Miller <davem@davemloft.net>
36843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36844 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36849 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36850 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36851 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36854 2012-10-25 Roland McGrath <roland@hack.frob.com>
36856 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36857 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36860 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36861 Jim Blandy <jimb@codesourcery.com>
36863 * scripts/cross-test-ssh.sh: New file.
36864 * manual/install.texi (Configuring and compiling): Document use of
36866 * INSTALL: Regenerated.
36868 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36870 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36873 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36875 * Makeconfig (run-program-prefix): Fix comment.
36877 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36878 Jim Blandy <jimb@codesourcery.com>
36880 * Makeconfig (test-wrapper): New variable,
36881 (test-wrapper-env): Likewise.
36882 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36883 (run-built-tests): Define to yes.
36884 (run-program-prefix): Use $(test-wrapper).
36885 (built-program-cmd): Likewise.
36886 * Rules (make-test-out): Use $(test-wrapper-env) and
36887 $(host-built-program-cmd).
36888 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36889 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36891 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36892 $(test-wrapper-env) to tst-rtld-load-self.sh.
36893 ($(objpfx)order2.out): Use $(test-wrapper).
36894 ($(objpfx)tst-initorder.out): Likewise.
36895 ($(objpfx)tst-initorder2.out): Likewise.
36896 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36897 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36898 (test_wrapper_env): New variable. Use it to run ld.so.
36899 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36900 Use it to run ld.so.
36901 (test_wrapper_env): Likewise.
36902 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36903 $(test-wrapper) to run-iconv-test.sh.
36904 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36905 (ICONV): Use $test_wrapper.
36906 * posix/Makefile ($(objpfx)globtest.out): Pass
36907 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36908 globtest.sh, not $(run-program-prefix).
36909 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36910 (test_wrapper): Likewise.
36911 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36912 set together with run_via_rtld_prefix.
36913 (run_program_prefix): Define in terms of test_wrapper and
36914 run_via_rtld_prefix.
36916 2012-10-24 Roland McGrath <roland@hack.frob.com>
36918 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36919 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36923 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36924 Declare __clock_getres, __clock_gettime, __clock_settime,
36925 __clock_nanosleep, and __clock_getcpuclockid.
36926 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36927 Remove librt_hidden_def (clock_gettime).
36928 * sysdeps/unix/clock_gettime.c: Likewise.
36929 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36930 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36931 * rt/clock_getres.c: Define __clock_getres as an alias.
36932 * sysdeps/posix/clock_getres.c: Likewise.
36933 * rt/clock_settime.c: Define __clock_settime as an alias.
36934 * sysdeps/unix/clock_settime.c: Likewise.
36935 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36936 * sysdeps/unix/clock_nanosleep.c: Likewise.
36937 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36938 * rt/clock-compat.c: New file.
36939 * rt/Makefile (librt-routines): Add clock-compat and move
36940 $(clock-routines) to ...
36941 (routines): ... here, new variable.
36942 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36943 Don't add get_clockfreq here.
36944 * rt/Versions (libc: GLIBC_2.17): New version set.
36945 Add clock_* symbols here.
36946 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36947 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36948 (GLIBC_2.17): Add clock_* symbols.
36949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36960 * NEWS: Mention the move.
36962 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36963 Use __open, __read, __close rather than their public counterparts.
36964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36965 (__get_clockfreq_via_cpuinfo): Likewise.
36966 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36967 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36969 * config.h.in (HAVE_IFUNC): New #undef.
36970 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36972 * configure: Regenerated.
36974 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36976 * configure.in: Move READELF check to start of file.
36977 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36978 libc_cv_asm_gnu_indirect_function in the process.
36979 * configure: Regenerated.
36981 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36983 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36984 send the output to /dev/null.
36985 (libc_cv_cc_with_libunwind): Likewise.
36986 (libc_cv_as_noexecstack): Likewise.
36987 * configure: Regenerate.
36989 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36991 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36993 * posix/globtest.sh (TMPDIR): Do not set.
36994 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36995 (testout): Likewise.
36997 2012-10-24 Andreas Jaeger <aj@suse.de>
36999 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37000 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37001 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37002 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37003 posix_fadvise64, posix_fallocate64.
37005 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37006 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37007 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37009 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37011 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37014 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37015 <bits/fcntl-linux.h>.
37016 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37019 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37020 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37021 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37022 [__WORDSIZE != 64]: Likewise.
37024 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37026 * Makeconfig (run-built-tests): New variable.
37027 * Rules [$(cross-compiling) = yes]: Change condition to
37028 [$(run-built-tests) = no].
37029 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37030 to [$(run-built-tests) = yes].
37031 * elf/Makefile [$(cross-compiling) = no]: Likewise
37032 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37033 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37034 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37035 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37036 * io/Makefile [$(cross-compiling) = no]: Likewise.
37037 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37038 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37039 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37040 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37041 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37042 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37043 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37044 * string/Makefile [$(cross-compiling) = no]: Likewise.
37046 * posix/Makefile ($(objpfx)globtest.out): Pass
37047 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37048 $(rtld-installed-name).
37049 * posix/globtest.sh (elf_objpfx): Remove variable.
37050 (rtld_installed_name): Likewise.
37051 (library_path): Likewise.
37052 (run_program_prefix): New variable. Use for running globtest
37055 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37056 Joseph Myers <joseph@codesourcery.com>
37058 * Makeconfig (host-built-program-cmd): New variable.
37059 * elf/Makefile (tst-stackguard1-ARGS): Use
37060 $(host-built-program-cmd).
37061 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37062 (tst-spawn-ARGS): Likewise.
37063 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37065 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37066 Jim Blandy <jimb@codesourcery.com>
37068 * Makeconfig (run-via-rtld-prefix): New variable.
37069 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37070 (built-program-cmd): Likewise.
37072 2012-10-22 Andreas Jaeger <aj@suse.de>
37074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37075 __O_RSYNC if it exists, otherwise to O_SYNC.
37077 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37078 Joseph Myers <joseph@codesourcery.com>
37080 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37082 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37084 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37087 2012-10-22 Andreas Jaeger <aj@suse.de>
37089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37094 bits/fcntl-linux.h.
37096 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37097 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37099 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37104 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37105 Joseph Myers <joseph@codesourcery.com>
37107 * config.make.in (NM): New variable.
37109 2012-10-21 Andreas Jaeger <aj@suse.de>
37111 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37112 definitions and declarations that are provided by
37113 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37115 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37118 * elf/Makefile (tests-static): Add tst-leaks1-static.
37119 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37120 ($(objpfx)tst-leaks1-static): New rule.
37121 ($(objpfx)tst-leaks1-static-mem): Likewise.
37122 (tst-leaks1-static-ENV): New macro.
37123 * elf/dl-open.c (dl_open_worker): Check the main application
37124 only if SHARED is defined.
37125 * elf/tst-leaks1-static.c: New file.
37127 2012-10-20 Andreas Jaeger <aj@suse.de>
37129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37130 generic values for Linux.
37131 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37132 and declarations that are provided by <bits/fcntl-linux.h> and
37133 include <bits/fcntl-linux.h>.
37134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37137 2012-10-20 Roland McGrath <roland@hack.frob.com>
37139 * io/fcntl.h: Move include of <bits/types.h> to the top and
37140 include it unconditionally.
37142 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37144 * wcsmbs/Makefile (tests-ifunc): New variable.
37145 (tests): Add $(tests-ifunc).
37146 * wcsmbs/test-wcschr-ifunc.c: New file.
37147 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37148 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37149 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37150 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37151 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37153 * string/Makefile (tests-ifunc): New variable.
37154 (tests): Add $(tests-ifunc).
37155 * string/test-memccpy.c (TEST_NAME): New macro.
37156 * string/test-memchr.c (TEST_NAME): Likewise.
37157 * string/test-memcmp.c (TEST_NAME): Likewise.
37158 * string/test-memcpy.c (TEST_NAME): Likewise.
37159 * string/test-memmem.c (TEST_NAME): Likewise.
37160 * string/test-memmove.c (TEST_NAME): Likewise.
37161 * string/test-memset.c (TEST_NAME): Likewise.
37162 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37163 * string/test-stpcpy.c (TEST_NAME): Likewise.
37164 * string/test-stpncpy.c (TEST_NAME): Likewise.
37165 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37166 * string/test-strcasestr.c (TEST_NAME): Likewise.
37167 * string/test-strcat.c (TEST_NAME): Likewise.
37168 * string/test-strchr.c (TEST_NAME): Likewise.
37169 * string/test-strcmp.c(TEST_NAME): Likewise.
37170 * string/test-strcpy.c (TEST_NAME): Likewise.
37171 * string/test-strcspn.c (TEST_NAME): Likewise.
37172 * string/test-strlen.c (TEST_NAME): Likewise.
37173 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37174 * string/test-strncmp.c (TEST_NAME): Likewise.
37175 * string/test-strncpy.c (TEST_NAME): Likewise.
37176 * string/test-strnlen.c (TEST_NAME): Likewise.
37177 * string/test-strpbrk.c (TEST_NAME): Likewise.
37178 * string/test-strrchr.c (TEST_NAME): Likewise.
37179 * string/test-strspn.c (TEST_NAME): Likewise.
37180 * string/test-strstr.c (TEST_NAME): Likewise.
37181 * string/test-bcopy-ifunc.c: New file.
37182 * string/test-bzero-ifunc.c: Likewise.
37183 * string/test-memccpy-ifunc.c: Likewise.
37184 * string/test-memchr-ifunc.c: Likewise.
37185 * string/test-memcmp-ifunc.c: Likewise.
37186 * string/test-memcpy-ifunc.c: Likewise.
37187 * string/test-memmem-ifunc.c: Likewise.
37188 * string/test-memmove-ifunc.c: Likewise.
37189 * string/test-mempcpy-ifunc.c: Likewise.
37190 * string/test-memset-ifunc.c: Likewise.
37191 * string/test-rawmemchr-ifunc.c: Likewise.
37192 * string/test-stpcpy-ifunc.c: Likewise.
37193 * string/test-stpncpy-ifunc.c: Likewise.
37194 * string/test-strcasecmp-ifunc.c: Likewise.
37195 * string/test-strcasestr-ifunc.c: Likewise.
37196 * string/test-strcat-ifunc.c: Likewise.
37197 * string/test-strchr-ifunc.c: Likewise.
37198 * string/test-strchrnul-ifunc.c: Likewise.
37199 * string/test-strcmp-ifunc.c: Likewise.
37200 * string/test-strcpy-ifunc.c: Likewise.
37201 * string/test-strcspn-ifunc.c: Likewise.
37202 * string/test-strlen-ifunc.c: Likewise.
37203 * string/test-strncasecmp-ifunc.c: Likewise.
37204 * string/test-strncat-ifunc.c: Likewise.
37205 * string/test-strncmp-ifunc.c: Likewise.
37206 * string/test-strncpy-ifunc.c: Likewise.
37207 * string/test-strnlen-ifunc.c: Likewise.
37208 * string/test-strpbrk-ifunc.c: Likewise.
37209 * string/test-strrchr-ifunc.c: Likewise.
37210 * string/test-strspn-ifunc.c: Likewise.
37211 * string/test-strstr-ifunc.c: Likewise.
37213 * debug/Makefile (tests-ifunc): New variable.
37214 (tests): Add $(tests-ifunc).
37215 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37216 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37217 * debug/test-stpcpy_chk-ifunc.c: New file.
37218 * debug/test-strcpy_chk-ifunc.c: Likewise.
37220 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37223 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37224 header is not read in.
37226 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37228 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37229 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37230 directly. Pass built executable to script as
37231 $(built-program-cmd).
37232 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37233 $testprogram without using LD_LIBRARY_PATH and $ldso.
37235 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37236 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37237 $(rtld-installed-name).
37238 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37239 (rtld_installed_name): Likewise.
37240 (library_path): Likewise.
37241 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37242 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37243 $(run-program-prefix) to tst-tables.sh.
37244 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37245 it to run tst-table-from and tst-table-to.
37246 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37247 Pass it to tst-table.sh.
37248 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37249 $(run-program-prefix) to tst-gettext.sh.
37250 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37252 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37254 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37255 to run tst-gettext.
37256 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37257 to run tst-gettext2.
37258 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37259 to run tst-translit.
37260 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37261 $(run-program-prefix) to tst-mtrace.sh.
37262 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37264 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37265 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37266 $(rtld-installed-name).
37267 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37268 (rtld_installed_name): Likewise.
37269 (run_program_prefix): New variable. Use it to run wordexp-test.
37271 * Makeconfig (ARCH): Remove all definitions.
37272 (machine): Likewise.
37273 [ARCH]: Remove conditional code.
37274 [!objdir]: Give error.
37275 [!objdir] (objpfx): Remove.
37276 [!objdir] (common-objpfx): Likewise.
37277 [!objdir] (common-objdir): Likewise.
37278 * configure.in (config_makefile): Remove. Hardcode Makefile in
37279 AC_CONFIG_FILES call.
37280 * configure: Regenerated.
37283 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37285 (testout): Likewise.
37287 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37288 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37289 $(rtld-installed-name).
37290 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37291 (rtld_installed_name): Likwise.
37292 (runit): Remove function.
37293 (run_getconf): New variable, Use it for running getconf binary.
37295 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37298 * string/test-memmem.c (check_result): New function.
37299 (do_one_test): Use it.
37300 (check1): New function.
37301 (test_main): Use it.
37303 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37305 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37307 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37309 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37310 (_G_LSEEK64): Likewise.
37311 (_G_MMAP64): Likewise.
37312 (_G_FSTAT64): Likewise.
37313 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37314 (_G_LSEEK64): Likewise.
37315 (_G_MMAP64): Likewise.
37316 (_G_FSTAT64): Likewise.
37317 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37318 unconditional. Call __mmap64 directly.
37319 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37320 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37321 __lseek64 directly.
37322 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37323 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37325 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37326 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37327 __lseek64 directly.
37328 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37329 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37330 __lseek64 directly.
37331 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37332 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37333 __lseek64 directly.
37334 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37335 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37336 __fxstat64 directly.
37337 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37338 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37340 (freopen64) [!_G_OPEN64]: Remove conditional code.
37341 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37343 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37344 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37346 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37347 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37349 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37350 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37352 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37353 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37355 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37356 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37358 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37359 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37361 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37363 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37366 * manual/memory.texi (Malloc Tunable Parameters): Add note
37367 about free list pointers overwriting some perturb bytes.
37368 Wording suggested by Roland McGrath.
37370 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37372 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37373 (lgamma_test): Likewise.
37374 (tgamma_test): Likewise.
37376 2012-10-16 Florian Weimer <fweimer@redhat.com>
37379 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37380 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37382 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37384 * NEWS: Mention BZ #14716.
37385 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37386 when removing AVAILABLE1_USES_J macro.
37388 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37390 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37391 (__bswap_64): __uint64_t for unsigned 64-bit int.
37393 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37395 * include/string.h (memmem): Declare libc hidden alias.
37396 * string/memmem.c (memmem): Define libc hidden alias.
37397 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37398 __read, __close instead of open, read, close.
37400 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37403 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37405 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37406 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37407 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37409 (__rawmemchr_sse2): Likewise.
37410 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37411 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37412 (__strchr_sse2): Likewise.
37413 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37414 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37415 (__strcasecmp_sse2): Likewise.
37416 (__strncasecmp_sse2): Likewise.
37417 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37418 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37419 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37420 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37421 (__strrchr_sse2): Likewise.
37422 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37424 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37425 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37426 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37427 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37428 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37429 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37430 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37431 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37432 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37433 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37434 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37435 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37436 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37437 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37438 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37439 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37440 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37441 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37442 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37443 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37444 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37445 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37446 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37447 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37448 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37449 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37450 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37451 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37452 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37453 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37455 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37457 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37458 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37459 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37460 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37462 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37464 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37465 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37466 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37467 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37469 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37470 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37471 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37472 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37473 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37474 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37475 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37476 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37477 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37478 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37479 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37480 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37481 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37482 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37483 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37485 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37486 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37487 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37488 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37489 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37490 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37491 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37492 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37493 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37494 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37495 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37496 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37497 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37498 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37499 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37500 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37501 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37502 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37503 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37504 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37505 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37506 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37507 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37508 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37509 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37511 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37512 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37513 * include/ifunc-impl-list.h: New file.
37514 * misc/ifunc-impl-list.c: Likewise.
37515 * misc/Makefile (routines): Add ifunc-impl-list.
37516 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37517 * string/test-string.h: Include <ifunc-impl-list.h>.
37518 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37519 TEST_NAME]: New variables.
37520 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37522 (test_init): Call __libc_ifunc_impl_list to initialize
37523 func_list if TEST_IFUNC and TEST_NAME are defined.
37525 * string/Makefile (strop-tests): Add bcopy and bzero.
37526 * string/test-bcopy.c: New file.
37527 * string/test-bzero.c: Likewise.
37528 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37530 * string/test-memset.c: Support bzero test if TEST_BZERO is
37532 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37534 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37536 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37539 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37541 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37542 * configure: Regenerated.
37544 * Makeconfig (+link-static-before-libc): Don't include
37545 $(link-static-libc).
37547 * libio/libio.h (_IO_pos_t): Remove.
37549 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37551 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37554 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37556 * crypt/crypt-entry.c: Include fips-private.h.
37557 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37558 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37559 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37560 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37562 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37564 * crypt/crypt-private.h: Include stdbool.h.
37565 (_ufc_setup_salt_r): Return bool.
37566 * crypt/crypt-entry.c: Include errno.h.
37567 (__crypt_r): Return NULL with EINVAL for bad salt.
37568 * crypt/crypt_util.c (bad_for_salt): New.
37569 (_ufc_setup_salt_r): Check that salt is long enough and within
37570 the specified alphabet.
37571 * crypt/badsalttest.c: New file.
37572 * crypt/Makefile (tests): Add it.
37573 ($(objpfx)badsalttest): New.
37575 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37577 * NEWS: Add entry for BZ #14602.
37579 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37581 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37583 * math/libm-test.inc: Update comment listing what functions and
37585 (isgreater_test): New function.
37586 (isgreaterequal_test): Likewise.
37587 (isless_test): Likewise.
37588 (islessequal_test): Likewise.
37589 (islessgreater_test): Likewise.
37590 (isunordered_test): Likewise.
37591 (main): Call the new functions.
37593 2012-10-09 Roland McGrath <roland@hack.frob.com>
37595 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37596 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37597 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37598 * sysdeps/i386/configure: Regenerated.
37599 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37600 * sysdeps/mach/configure: Regenerated.
37601 * sysdeps/mach/hurd/configure: Regenerated.
37602 * sysdeps/powerpc/configure: Regenerated.
37603 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37604 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37605 * sysdeps/s390/s390-32/configure: Regenerated.
37606 * sysdeps/s390/s390-64/configure: Regenerated.
37607 * sysdeps/sh/configure: Regenerated.
37608 * sysdeps/sparc/configure: Regenerated.
37609 * sysdeps/unix/sysv/linux/configure: Regenerated.
37610 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37611 * sysdeps/x86_64/configure: Regenerated.
37613 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37614 defined. Don't check if MAP is NULL.
37616 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37618 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37619 (_G_stat64): Likewise.
37620 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37621 (_G_stat64): Likewise.
37622 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37623 instead of struct _G_stat64.
37624 * libio/fileops.c (mmap_remap_check): Likewise.
37625 (decide_maybe_mmap): Likewise.
37626 (_IO_new_file_seekoff): Likewise.
37627 (_IO_file_stat): Likewise.
37628 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37630 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37631 instead of struct _G_stat64.
37632 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37634 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37637 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37639 (CHECK_EOL): New macro.
37640 (two_way_short_needle): Check beginning of haystack for EOL. Use
37642 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37643 Replace with CHECK_EOL.
37644 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37645 Replace with CHECK_EOL.
37647 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37649 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37651 * math/libm-test.inc: Update comment listing what functions and
37653 (finite_test): New function.
37654 (isinf_test): Likewise.
37655 (isnan_test): Likewise.
37656 (fpclassify_test): Test subnormal input.
37657 (isfinite_test): Likewise.
37658 (isnormal_test): Likewise.
37659 (main): Call the new functions.
37661 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37664 * Makerules (%.dynsym): Force C locale when running
37665 $(OBJDUMP) --dynamic-syms.
37667 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37669 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37672 2012-10-06 David S. Miller <davem@davemloft.net>
37674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37675 upper 32-bits of the length value in %o2 since we use branch-on-register
37676 tests which consider the entire 64-bit register.
37678 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37680 * string/test-strstr.c (check2): Add a test for page boundary.
37682 2012-10-05 David S. Miller <davem@davemloft.net>
37684 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37685 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37687 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37689 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37690 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37691 and bzero when HWCAP_SPARC_CRYPTO is present.
37693 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37696 * string/test-strstr.c (check2): New function.
37697 (test_main): Call check2.
37699 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37701 * string/bug-strcasestr1.c (do_test): Moved to ...
37702 * string/test-strcasestr.c (check1): Here. New function.
37703 (do_one_test): Break out result checking code into ...
37704 (check_result): This. New function.
37705 (do_one_test): Call check_result.
37706 (test_main): Call check1.
37707 * string/bug-strchr1.c (do_test): Moved to ...
37708 * string/test-strchr.c (check1): Here. New function.
37709 (do_one_test): Break out result checking code into ...
37710 (check_result): This. New function.
37711 (do_one_test): Call check_result.
37712 (test_main): Call check1.
37713 * string/bug-strstr1.c (main): Moved to ...
37714 * string/test-strstr.c (check1): Here. New function.
37715 (do_one_test): Break out result checking code into ...
37716 (check_result): This. New function.
37717 (do_one_test): Call check_result.
37718 (test_main): Call check1.
37719 * string/bug-strcasestr1.c: Removed.
37720 * string/bug-strchr1.c: Likewise.
37721 * string/bug-strstr1.c: Likewise.
37723 * elf/Makefile (dl-routines): Add hwcaps.
37724 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37725 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37726 (_dl_important_hwcaps): Moved to ...
37727 * elf/dl-hwcaps.c: Here. New file.
37728 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37731 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37732 if IS_IN_rtld isn't defined.
37734 * elf/dl-support.c (_dl_sysinfo_map): New.
37735 Include "get-dynamic-info.h" and "setup-vdso.h".
37736 (_dl_non_dynamic_init): Call setup_vdso.
37737 * elf/dynamic-link.h: Don't include <assert.h>.
37738 (elf_get_dynamic_info): Moved to ...
37739 * elf/get-dynamic-info.h: Here. New file.
37740 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37741 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37742 * elf/setup-vdso.h: Here. New file.
37743 * elf/rtld.c: Include "setup-vdso.h".
37744 (dl_main): Call setup_vdso.
37746 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37748 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37749 creal in comment listing functions tested. List finite, isinf,
37750 isnan, isless, islessequal, isgreater, isgreaterequal,
37751 islessgreater, isunordered, lgamma_r and pow10 as functions and
37752 macros not tested. Mention which functions not tested are aliases
37753 for other functions. Fix typo. Note that signs of NaNs are not
37756 * scripts/config.guess: Update from config.git.
37757 * scripts/config.sub: Likewise.
37759 2012-10-04 Roland McGrath <roland@hack.frob.com>
37761 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37762 * misc/madvise.c (madvise): Renamed to __madvise.
37763 Make madvise a weak alias.
37764 * include/sys/mman.h: Declare __madvise.
37765 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37766 * sysdeps/unix/syscalls.list
37767 (madvise): Make __madvise the strong name, and madvise a weak alias.
37768 * sysdeps/unix/sysv/linux/syscalls.list
37769 (madvise, mmap): Remove redundant entries.
37770 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37771 * malloc/malloc.c (mtrim): Likewise.
37772 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37774 2012-10-03 Roland McGrath <roland@hack.frob.com>
37776 * sysdeps/mach/hurd/dl-cache.c: File removed.
37777 * config.h.in (USE_LDCONFIG): New #undef.
37778 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37779 * configure: Regenerated.
37780 * elf/Makefile (dl-routines): Add dl-cache only under
37781 [$(use-ldconfig) = yes].
37782 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37783 cache on [USE_LDCONFIG].
37784 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37786 * elf/rtld.c (dl_main): Likewise.
37788 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37790 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37791 _SC_LEVEL4_CACHE_LINESIZE.
37793 2012-10-03 Roland McGrath <roland@hack.frob.com>
37795 * sysdeps/unix/bsd/confstr.h: File removed.
37797 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37799 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37802 2012-10-02 Roland McGrath <roland@hack.frob.com>
37804 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37805 Make 'mapoff' field ElfW(Off) rather than off_t.
37807 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37809 * nscd/Makefile: Remove nscd-cflags and all its users.
37810 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37811 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37814 * malloc.c (malloc_printerr): Clarify error message.
37816 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37820 Set bit_FMA_Usable if FMA is supported.
37821 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37823 (bit_FMA4_Usable): Updated.
37824 (index_FMA_Usable): New macro.
37825 (CPUID_FMA): Likewise
37826 (HAS_FMA): Defined with bit_FMA_Usable.
37828 2012-10-01 Roland McGrath <roland@hack.frob.com>
37830 * bits/types.h (__swblk_t): Type removed.
37831 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37832 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37834 (__SWBLK_T_TYPE): Likewise.
37835 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37836 (__SWBLK_T_TYPE): Likewise.
37837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37838 (__SWBLK_T_TYPE): Likewise.
37839 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37840 (__SWBLK_T_TYPE): Likewise.
37842 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37843 Honza Horak <hhorak@redhat.com>
37845 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37846 (xdr_mapname): Use YPMAXMAP as maxsize.
37847 (xdr_peername): Use YPMAXPEER as maxsize.
37848 (xdr_keydat): Use YPAXRECORD as maxsize.
37849 (xdr_valdat): Use YPMAXRECORD as maxsize.
37851 2012-10-01 Roland McGrath <roland@hack.frob.com>
37853 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37855 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37856 * csu/init-first.c: ... here.
37857 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37858 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37859 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37860 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37861 * sysdeps/i386/init-first.c: File removed.
37862 * sysdeps/sh/init-first.c: File removed.
37864 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37868 if x * y might underflow to zero and z is zero.
37869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37870 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37871 * math/libm-test.inc (min_subnorm_value): New variable.
37872 (fma_test): Add more tests.
37873 (fma_test_towardzero): Likewise.
37874 (fma_test_downward): Likewise
37875 (fma_test_upward): Likewise.
37876 (initialize): Set min_subnorm_value.
37878 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37883 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37884 mode for addition resulting in exact zero.
37885 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37888 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37890 * math/libm-test.inc (fma_test): Add more tests.
37891 (fma_test_towardzero): New function.
37892 (fma_test_downward): Likewise.
37893 (fma_test_upward): Likewise.
37894 (main): Call the new functions.
37896 2012-09-28 David S. Miller <davem@davemloft.net>
37898 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37900 2012-09-28 Roland McGrath <roland@hack.frob.com>
37902 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37903 instead of SIGALRM.
37905 * sysdeps/gnu/_G_config.h: Moved to ...
37906 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37907 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37908 * sysdeps/generic/_G_config.h: ... here.
37910 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37912 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37914 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37915 Conditionalize target on [libnss_test1.so-version].
37917 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37919 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37920 (elfobjdir): Move out of conditionals.
37922 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37923 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37924 (__nss_lookup_function): Conditionalize label remove_from_tree on
37925 [!DO_STATIC_NSS || SHARED], matching its only use.
37927 2012-09-28 David S. Miller <davem@davemloft.net>
37929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37930 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37932 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37934 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37936 when HWCAP_SPARC_CRYPTO is present.
37938 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37940 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37942 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37945 * stdio-common/vfprintf.c (process_string_arg): Revert
37948 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37950 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37952 * stdio-common/tst-sprintf.c: Include <locale.h>
37953 (main): Test sprintf's handling of incomplete multibyte
37956 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37958 * elf/dl-runtime.c (VERSYMIDX): Removed.
37959 * elf/dl-version.c (VERSYMIDX): Likewise.
37960 * elf/do-rel.h (VERSYMIDX): Likewise.
37961 (VALIDX): Likewise.
37962 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37963 * elf/rtld.c (VALIDX): Likewise.
37964 (ADDRIDX): Likewise.
37965 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37966 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37967 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37968 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37969 (VALIDX): Likewise.
37970 (ADDRIDX): Likewise.
37972 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37974 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37976 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37979 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37981 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37982 addresses are in the same scope as 192.0.2/24.
37983 * posix/gai.conf: Document new scope table defaults.
37985 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37988 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37989 for ftell. Compute offsets from write pointers instead.
37990 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37992 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37995 * libio/Makefile (tests): New test case tst-fseek.
37996 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37997 combination works in wide mode.
37998 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37999 state when the external buffer state changes.
38001 2012-09-27 David S. Miller <davem@davemloft.net>
38004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38005 pass reloc->r_addend in as the 'high' argument to
38006 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38010 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38012 * rt/tst-aio2.c: Include <pthread.h>.
38013 * rt/tst-aio3.c: Likewise.
38015 2012-09-27 Steve Ellcey <sellcey@mips.com>
38017 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38019 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38021 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38022 contents on [SHARED].
38024 2012-09-26 Marek Polacek <polacek@redhat.com>
38028 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38029 for C++ and GCC <4.3 as well as for non GCC compilers.
38031 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38035 2012-09-25 Roland McGrath <roland@hack.frob.com>
38037 * Makefile.in (all, install): Declare with .PHONY.
38038 Reported by Michael Hope <michael.hope@linaro.org>.
38040 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38042 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38043 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38045 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38047 (sydep_routines): Add the new and the internal functions.
38048 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38049 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38051 (GLIBC_2.17): Add the new function.
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38053 (GLIBC_2.17): Likewise.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38055 (GLIBC_2.17): Likewise.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38057 (GLIBC_2.17): Likewise.
38058 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38060 2012-09-25 Alan Modra <amodra@gmail.com>
38062 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38063 Add release barrier before setting once_control to say
38064 initialisation is done. Add hints on lwarx. Use macro in
38066 (clear_once_control): Add release barrier.
38068 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38071 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38073 * math/s_clog10.c (__clog10): Likewise.
38074 * math/s_clog10f.c (__clog10f): Likewise.
38075 * math/s_clog10l.c (__clog10l): Likewise.
38076 * math/s_clogf.c (__clogf): Likewise.
38077 * math/s_clogl.c (__clogl): Likewise.
38078 * math/Makefile (libm-calls): Add x2y2m1.
38079 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38080 (__x2y2m1): Likewise.
38081 (__x2y2m1l): Likewise.
38082 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38083 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38086 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38087 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38088 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38089 * sysdeps/i386/fpu/libm-test-ulps: Update.
38090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38093 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38094 int as type of variable DEPTH.
38095 (glob): Use size_t instead of int as type of variables NEWCOUNT
38098 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38100 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38101 Add s_sincosf-sse2.
38102 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38103 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38104 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38105 macros for using routine as __sincosf_ia32.
38106 Use macro for function declaration and weak_alias.
38107 * sysdeps/i386/fpu/libm-test-ulps: Update.
38109 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38112 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38113 subnormal argument.
38114 * math/s_cexpf.c (__cexpf): Likewise.
38115 * math/s_csinf.c (__csinf): Likewise.
38116 * math/s_csinhf.c (__csinhf): Likewise.
38117 * math/s_ctanf.c (__ctanf): Likewise.
38118 * math/s_ctanhf.c (__ctanhf): Likewise.
38119 * math/s_ccosh.c (__ccoshf): Likewise.
38120 * math/s_cexp.c (__cexpl): Likewise.
38121 * math/s_csin.c (__csin): Likewise.
38122 * math/s_csinh.c (__csinh): Likewise.
38123 * math/s_ctan.c (__ctan): Likewise.
38124 * math/s_ctanh.c (ctanh): Likewise.
38125 * math/s_ccoshl.c (__ccoshl): Likewise.
38126 * math/s_cexpl.c (__cexpl): Likewise.
38127 * math/s_csinl.c (__csinl): Likewise.
38128 * math/s_csinhl.c (__csinhl): Likewise.
38129 * math/s_ctanl.c (__ctanl): Likewise.
38130 * math/s_ctanhl.c (__ctanhl): Likewise.
38132 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38134 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38135 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38136 (_IO_off_t): Define to __off_t, not _G_off_t.
38137 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38138 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38139 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38140 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38141 type of __dummy and __dummy2 fields.
38142 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38143 (_G_ssize_t): Likewise.
38144 (_G_off_t): Likewise.
38145 (_G_pid_t): Likewise.
38146 (_G_uid_t): Likewise.
38147 (_G_wchar_t): Likewise.
38148 (_G_wint_t): Likewise.
38149 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38150 (_G_ssize_t): Likewise.
38151 (_G_off_t): Likewise.
38152 (_G_pid_t): Likewise.
38153 (_G_uid_t): Likewise.
38154 (_G_wchar_t): Likewise.
38155 (_G_wint_t): Likewise.
38156 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38157 (_G_ssize_t): Likewise.
38158 (_G_off_t): Likewise.
38159 (_G_pid_t): Likewise.
38160 (_G_uid_t): Likewise.
38161 (_G_wchar_t): Likewise.
38162 (_G_wint_t): Likewise.
38164 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38166 * malloc/arena.c: Include malloc-sysdep.h.
38167 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38168 is sufficient to shrink the heap or an unmap is needed.
38169 * sysdeps/generic/malloc-sysdep.h: New file. Define
38170 new function check_may_shrink_heap.
38171 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38172 new function check_may_shrink_heap.
38174 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38176 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38179 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38181 * catgets/test-gencat.sh: Add "set -e".
38182 * elf/tst-pathopt.sh: Likewise.
38183 * grp/tst_fgetgrent.sh: Likewise.
38184 * iconvdata/run-iconv-test.sh: Likewise.
38185 * intl/tst-gettext.sh: Likewise.
38186 * intl/tst-gettext2.sh: Likewise.
38187 * intl/tst-gettext4.sh: Likewise.
38188 * intl/tst-gettext6.sh: Likewise.
38189 * intl/tst-translit.sh: Likewise.
38190 * io/ftwtest-sh: Likewise.
38191 * libio/test-freopen.sh: Likewise.
38192 * malloc/tst-mtrace.sh: Likewise.
38193 * posix/globtest.sh: Likewise.
38194 * posix/tst-getconf.sh: Likewise.
38195 * posix/wordexp-tst.sh: Likewise.
38196 * stdio-common/tst-printf.sh: Likewise.
38197 * stdio-common/tst-unbputc.sh: Likewise.
38198 * stdlib/tst-fmtmsg.sh: Likewise.
38199 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38200 * catgets/Makefile: Do not specify -e option when running
38201 testsuite shell scripts.
38202 * elf/Makefile: Likewise.
38203 * grp/Makefile: Likewise.
38204 * iconvdata/Makefile: Likewise.
38205 * intl/Makefile: Likewise.
38206 * io/Makefile: Likewise.
38207 * libio/Makefile: Likewise.
38208 * malloc/Makefile: Likewise.
38209 * posix/Makefile: Likewise.
38210 * stdio-common/Makefile: Likewise.
38211 * stdlib/Makefile: Likewise.
38212 * sysdeps/x86_64/Makefile: Likewise.
38214 * io/ftwtest-sh: Add copyright header.
38215 * posix/globtest.sh: Likewise.
38216 * posix/tst-getconf.sh: Likewise.
38217 * posix/wordexp-tst.sh: Likewise.
38218 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38220 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38223 * Makeconfig (+link): Defined as $(+link-static) if
38224 $(build-shared) isn't yes.
38225 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38227 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38229 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38232 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38233 new chunk size with MALLOC_ALIGN_MASK.
38235 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38238 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38240 (__printf_fphex): Determine rounding using get_rounding_mode and
38242 * stdio-common/tst-printf-round.c (struct hex_test): New
38244 (hex_tests): New variable.
38245 (test_hex_in_one_mode): New function.
38246 (do_test): Also run tests for hex float output.
38248 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38250 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38251 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38252 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38253 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38254 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38255 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38256 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38257 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38259 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38261 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38262 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38263 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38264 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38266 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38269 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38271 * elf/tst-rtld-load-self.sh: New test.
38272 * elf/Makefile: Run it.
38274 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38276 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38277 (tst-writev-ENV): Remove.
38278 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38280 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38282 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38284 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38286 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38288 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38290 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38291 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38292 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38295 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38298 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38299 * config.make.in (have-cpp-asm-debuginfo): Removed.
38300 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38301 * configure: Regenerated.
38303 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38306 * stdio-common/printf_fp.c: Include <stdbool.h> and
38308 (___printf_fp): Determine rounding using get_rounding_mode and
38310 * stdio-common/tst-printf-round.c: New file.
38311 * stdio-common/Makefile (tests): Add tst-printf-round.
38312 (link-libm): New variable.
38313 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38315 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38318 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38319 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38321 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38324 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38326 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38327 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38328 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38329 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38331 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38334 * include/rounding-mode.h: New file.
38335 * sysdeps/generic/get-rounding-mode.h: Likewise.
38336 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38337 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38338 (MAX_VALUE): New macro.
38339 (MIN_VALUE): Likewise.
38340 (overflow_value): New function.
38341 (underflow_value): Likewise.
38342 (round_and_return): Use overflow_value and underflow_value to
38343 determine return values in overflow and underflow cases. Use
38344 round_away to determine rounding depending on rounding mode.
38345 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38346 determine return values in overflow and underflow cases.
38347 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38348 (struct test_results): New structure.
38349 (struct test): Use struct test_results to store expected results
38350 for all rounding modes.
38351 (TEST): Include expected results for all rounding modes.
38352 (test_in_one_mode): New function.
38353 (do_test): Use test_in_one_mode to compute and check results.
38354 Check results for all rounding modes.
38355 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38358 2012-12-09 Allan McRae <allan@archlinux.org>
38360 * sysdeps/i386/fpu/libm-test-ulps: Update
38362 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38364 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38365 (_G_int32_t): Likewise.
38366 (_G_uint16_t): Likewise.
38367 (_G_uint32_t): Likewise.
38368 (_G_HAVE_BOOL): Likewise.
38369 (_G_HAVE_ATEXIT): Likewise.
38370 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38371 (_G_HAVE_IO_FILE_OPEN): Likewise.
38372 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38373 (_G_int32_t): Likewise.
38374 (_G_uint16_t): Likewise.
38375 (_G_uint32_t): Likewise.
38376 (_G_HAVE_BOOL): Likewise.
38377 (_G_HAVE_ATEXIT): Likewise.
38378 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38379 (_G_HAVE_IO_FILE_OPEN): Likewise.
38380 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38381 (_G_int32_t): Likewise.
38382 (_G_uint16_t): Likewise.
38383 (_G_uint32_t): Likewise.
38384 (_G_HAVE_BOOL): Likewise.
38385 (_G_HAVE_ATEXIT): Likewise.
38386 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38387 (_G_HAVE_IO_FILE_OPEN): Likewise.
38389 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38391 * csu/libc-tls.c: Update copyright years.
38393 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38395 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38396 [!_G_USING_THUNKS]: Remove conditional code.
38397 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38398 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38400 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38401 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38402 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38403 (_G_VTABLE_LABEL_PREFIX): Likewise.
38404 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38405 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38406 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38407 (_G_VTABLE_LABEL_PREFIX): Likewise.
38408 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38409 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38410 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38411 (_G_VTABLE_LABEL_PREFIX): Likewise.
38412 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38414 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38416 * libio/Makefile: Include ../Makeconfig before tests.
38417 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38418 only if $(build-shared) is yes.
38420 * iconv/gconv_db.c: Update copyright years.
38422 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38424 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38425 unwind info if defined PIC. Fix special cases description.
38426 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38428 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38430 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38432 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38434 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38436 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38439 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38440 (LDLIBS-tst-chk4): This.
38441 (LDFLAGS-tst-chk5): Renamed to ...
38442 (LDLIBS-tst-chk5): This.
38443 (LDFLAGS-tst-chk6): Renamed to ...
38444 (LDLIBS-tst-chk6): This.
38445 (LDFLAGS-tst-lfschk4): Renamed to ...
38446 (LDLIBS-tst-lfschk4): This.
38447 (LDFLAGS-tst-lfschk5): Renamed to ...
38448 (LDLIBS-tst-lfschk5): This.
38449 (LDFLAGS-tst-lfschk6): Renamed to ...
38450 (LDLIBS-tst-lfschk6): This.
38452 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38453 on $(common-objpfx)soversions.mk.
38455 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38458 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38461 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38463 * malloc/arena.c (arena_get_retry): New function that gets
38464 another arena for the caller to try its request on.
38465 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38466 current arena cannot fulfill the request.
38467 (__libc_memalign): Likewise.
38468 (__libc_memalign): Likewise.
38469 (__libc_pvalloc): Likewise.
38470 (__libc_calloc): Likewise.
38472 2012-09-05 John Tobey <john.tobey@gmail.com>
38475 * manual/arith.texi (Operations on Complex): Fix description
38476 of carg branch cut.
38478 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38481 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38485 * manual/memory.texi (Memory): Make order of menu items match
38488 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38490 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38491 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38492 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38494 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38496 * csu/libc-tls.c (static_dtv): Renamed to ...
38497 (_dl_static_dtv): This. Make it global.
38498 (_dl_initial_dtv): Removed.
38499 (__libc_setup_tls): Updated.
38500 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38501 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38504 2012-09-06 Petr Machata <pmachata@redhat.com>
38506 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38507 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38508 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38509 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38511 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38514 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38515 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38518 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38521 * Makeconfig (link-static-before-libc): Replace $(+prector)
38523 (link-static-after-libc): Replace $(+postctor) with
38525 (link-bounded): Replace $(+prector)/$(+postctor) with
38526 $(+prectorT)/$(+postctorT).
38527 (+prectorT): New macro.
38528 (+postctorT): Likewise.
38530 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38532 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38533 (round_str): Handle values above the maximum for IBM long double
38535 * stdlib/tst-strtod-round.c (tests): Regenerated.
38537 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38539 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38541 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38542 zarch_nohighgprs around the zarch optimized routines.
38543 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38544 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38548 2012-09-05 David S. Miller <davem@davemloft.net>
38550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38552 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38553 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38554 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38555 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38558 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38560 * malloc/arena.c: Fold copyright years.
38561 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38563 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38565 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38567 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38569 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38571 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38573 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38574 change internal state upon failure.
38576 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38578 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38579 * malloc/memusage.c (mmap): Likewise.
38580 (mmap64, mremap): Likewise. Adjust name in comment.
38582 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38584 * libio/fileops.c: Fix typos in comments.
38585 * libio/oldfileops.c: Likewise.
38586 * libio/wfileops.c: Likewise.
38588 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38591 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38592 (tst-malloc-usable-ENV): Set environment for test case.
38593 * malloc/hooks.c (malloc_check_get_size): New function to get
38595 * malloc/malloc.c (musable): Use malloc_check_get_size.
38596 * malloc/tst-malloc-usable.c: New test case.
38598 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38600 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38602 2012-09-05 Allan McRae <allan@archlinux.org>
38605 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38606 determine header location.
38607 * configure: Regenerated.
38609 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38611 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38613 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38614 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38616 (test): Regenerate.
38618 2012-09-04 David S. Miller <davem@davemloft.net>
38620 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38621 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38622 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38624 2012-09-04 Florian Weimer <fweimer@redhat.com>
38626 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38629 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38631 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38634 * libio/iogetdelim.c: Include <limits.h>.
38635 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38636 + len + 1 would overflow.
38638 2012-09-03 Andreas Jaeger <aj@suse.de>
38640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38641 * sysdeps/i386/fpu/libm-test-ulps: Update.
38643 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38645 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38646 Add s_sinf-sse2, s_conf-sse2.
38648 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38649 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38650 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38651 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38653 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38654 for using routine as __sinf_ia32.
38655 Use macro for function declaration and weak_alias.
38656 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38657 for using routine as __cosf_ia32.
38658 Use macro for function declaration and weak_alias.
38660 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38661 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38663 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38664 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38667 * math/libm-test.inc (cos_test): Add more test cases.
38668 (sin_test): Likewise.
38669 (sincos_test): Likewise.
38671 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38673 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38674 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38676 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38678 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38681 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38682 first element of the GOT.
38683 (elf_machine_load_address): Return the difference between
38684 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38686 2012-09-01 Allan McRae <allan@archlinux.org>
38689 * configure.in (AWK): Require gawk version 3.0 or later.
38690 * configure: Regenerated.
38692 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38694 * sysdeps/unix/sysv/linux/kernel-features.h
38695 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38696 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38697 [__NR_clock_getres]: Make code unconditional.
38698 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38699 (clock_getcpuclockid): Remove code left unreachable by removal of
38701 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38702 code unconditional.
38703 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38704 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38705 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38706 Make code unconditional.
38707 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38708 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38709 * sysdeps/unix/sysv/linux/clock_settime.c
38710 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38712 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38713 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38715 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38718 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38719 scripts/test-installation.pl.
38721 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38722 and $ld_so_version if it is set.
38724 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38727 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38728 failure if reading from procfs failed.
38729 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38731 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38733 * sysdeps/unix/sysv/linux/kernel-features.h
38734 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38735 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38736 Remove conditional code.
38737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38738 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38739 Remove conditional code.
38740 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38741 * sysdeps/unix/sysv/linux/i386/fxstat.c
38742 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38743 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38744 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38745 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38747 * sysdeps/unix/sysv/linux/i386/lxstat.c
38748 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38750 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38751 Remove conditional code.
38752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38753 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38754 Remove conditional code.
38755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38756 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38757 <kernel-features.h>.
38758 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38760 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38761 Remove conditional code.
38762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38763 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38764 Remove conditional.
38766 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38769 * NEWS: Add fixed bug number.
38771 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38774 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38775 underflowing exponent in case of negative sign.
38776 * stdlib/tst-strtod-round-data: Add more tests.
38777 * stdlib/tst-strtod-round.c (tests): Regenerated.
38780 * stdlib/strtod_l.c (NDIG): Remove.
38781 (HEXNDIG): Likewise.
38782 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38783 smallest representable value.
38784 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38785 lie within an exact representation of 1/2 ulp of the result.
38786 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38788 (TENS_P9_IDX): Define unconditionally.
38789 (TENS_P9_SIZE): Likewise.
38790 (TENS_P10_IDX): Likewise.
38791 (TENS_P10_SIZE): Likewise.
38792 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38793 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38794 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38795 entries for 10^2^13 and 10^2^14.
38796 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38797 (TENS_P13_IDX): Define.
38798 (TENS_P13_SIZE): Likewise.
38799 (TENS_P14_IDX): Likewise.
38800 (TENS_P14_SIZE): Likewise.
38801 (_fpioconst_pow10): Change array size to
38802 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38804 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38805 1024]: Add entries for 10^2^13 and 10^2^14.
38806 [LAST_POW10 > _LAST_POW10]: Remove #error.
38807 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38808 (_fpioconst_pow10): Change array size to
38809 FPIOCONST_POW10_ARRAY_SIZE.
38810 * stdlib/gen-fpioconst.c: New file.
38811 * stdlib/gen-tst-strtod-round.c: Likewise.
38812 * stdlib/tst-strtod-round-data: Likewise.
38813 * stdlib/tst-strtod-round.c: Likewise.
38814 * stdlib/Makefile (tests): Add tst-strtod-round.
38817 * stdlib/strtod_l.c: Include <stdint.h>.
38818 (NDEBUG): Do not define.
38819 (round_and_return): Change EXPONENT parameter to type intmax_t.
38820 Rearrange calculations to avoid internal overflow possibilities.
38821 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38822 Rearrange calculations to avoid internal overflow possibilities.
38823 Assert that number fits inside MPNSIZE limbs.
38824 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38825 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38826 calculations and add assertions to avoid internal overflow
38827 possibilities. Add casts to avoid signed/unsigned operations.
38828 * stdlib/tst-strtod-overflow.c: New file.
38829 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38831 2012-08-25 Marek Polacek <polacek@redhat.com>
38833 * time/time.h: Fix some typos in comments.
38835 2012-08-23 Roland McGrath <roland@hack.frob.com>
38837 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38838 * posix/tst-rfc3484-2.c: Likewise.
38839 * posix/tst-rfc3484-3.c: Likewise.
38841 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38843 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38844 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38846 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38848 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38849 #include of fxstatat64.c.
38851 2012-08-22 Roland McGrath <roland@hack.frob.com>
38853 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38854 * shadow/getspent_r.c: Likewise.
38855 * shadow/getspnam.c: Likewise.
38856 * shadow/getspnam_r.c: Likewise.
38857 * gshadow/getsgent.c: Likewise.
38858 * gshadow/getsgent_r.c: Likewise.
38859 * gshadow/getsgnam.c: Likewise.
38860 * gshadow/getsgnam_r.c: Likewise.
38861 * inet/getnetbyad.c: Likewise.
38862 * inet/getnetbyad_r.c: Likewise.
38863 * inet/getnetbynm.c: Likewise.
38864 * inet/getnetbynm_r.c: Likewise.
38865 * inet/getnetent.c: Likewise.
38866 * inet/getnetent_r.c: Likewise.
38867 * inet/getproto.c: Likewise.
38868 * inet/getproto_r.c: Likewise.
38869 * inet/getprtent.c: Likewise.
38870 * inet/getprtent_r.c: Likewise.
38871 * inet/getprtname.c: Likewise.
38872 * inet/getprtname_r.c: Likewise.
38873 * inet/getrpcbyname.c: Likewise.
38874 * inet/getrpcbyname_r.c: Likewise.
38875 * inet/getrpcbynumber.c: Likewise.
38876 * inet/getrpcbynumber_r.c: Likewise.
38877 * inet/getrpcent.c: Likewise.
38878 * inet/getrpcent_r.c: Likewise.
38879 * inet/getaliasent.c: Likewise.
38880 * inet/getaliasent_r.c: Likewise.
38881 * inet/getaliasname.c: Likewise.
38882 * inet/getaliasname_r.c: Likewise.
38883 * nscd/getgrgid_r.c: Likewise.
38884 * nscd/getgrnam_r.c: Likewise.
38885 * nscd/gethstbyad_r.c: Likewise.
38886 * nscd/gethstbynm3_r.c: Likewise.
38887 * nscd/getpwnam_r.c: Likewise.
38888 * nscd/getpwuid_r.c: Likewise.
38889 * nscd/getsrvbynm_r.c: Likewise.
38890 * nscd/getsrvbypt_r.c: Likewise.
38891 * nscd/gai.c: Likewise.
38893 * configure.in (build_nscd): New substituted variable, set
38894 by --disable-build-nscd and defaults to $use_nscd.
38895 * configure: Regenerated.
38896 * config.make.in (build-nscd): New substituted variable.
38897 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38898 Change conditional to require [$(build-nscd) = yes] as well.
38899 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38902 * configure.in (use_nscd): New substituted variable, set by
38903 --disable-nscd. If enabled, define USE_NSCD.
38904 * configure: Regenerated.
38905 * config.h.in: Add USE_NSCD.
38906 * config.make.in (use-nscd): New substituted variable.
38907 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38908 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38909 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38910 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38911 (CFLAGS-getgrnam_r.c): Likewise.
38912 (CFLAGS-initgroups.c): Likewise.
38913 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38914 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38916 * inet/getnetgrent_r.c
38917 (nscd_setnetgrent): New function, broken out of ...
38918 (setnetgrent): ... here. Call it.
38919 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38920 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38921 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38922 * nscd/Makefile (routines, aux): Move definitions after include of
38923 Makeconfig. Conditionalize on [$(use-nscd) != no].
38924 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38925 Conditionalize on [USE_NSCD].
38926 (is_nscd, nscd_init_cb): Likewise.
38927 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38928 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38929 * nss/nss_db/db-init.c: Likewise.
38930 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38932 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38933 (make_request): Use it.
38934 (cache_valid_p): New function.
38935 (__check_pf): Use it.
38936 * NEWS: Add item for --disable-nscd.
38938 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38940 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38941 to support sed >= 4.2.1-20-ga9bf076.
38942 * configure: Regenerated.
38944 2012-08-22 Roland McGrath <roland@hack.frob.com>
38946 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38947 Conditionalize whole body on [IREL].
38949 2012-08-22 Jeff Law <law@redhat.com>
38952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38953 if the family is PF_UNSPEC.
38955 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38957 * Makerules (lib-version): Rename from V.
38958 (install-lib-nosubdir): Change V to lib-version.
38960 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38963 * powerpc32/power6/wcschr.c: New file.
38964 * powerpc32/power6/wcscpy.c: New file.
38965 * powerpc32/power6/wcsrchr.c: New file.
38966 * powerpc64/power6/wcschr.c: New file.
38967 * powerpc64/power6/wcscpy.c: New file.
38968 * powerpc64/power6/wcsrchr.c: New file.
38970 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38972 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38973 (two_way_short_needle): Use it.
38974 * string/strstr.c (AVAILABLE1_USES_J): Define.
38975 * string/strcasestr.c: Likewise.
38977 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38979 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38982 * NEWS: Add an entry.
38983 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38984 define their defaults.
38985 (two_way_short_needle): Detect end-of-string on-the-fly.
38986 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38987 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38988 * string/bug-strcasestr1.c: New test.
38989 * string/Makefile: Run it.
38991 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38994 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38995 the first character.
38997 2012-08-21 Roland McGrath <roland@hack.frob.com>
38999 * csu/elf-init.c (__libc_csu_irel): Function removed.
39000 * csu/libc-start.c (apply_irel): New function.
39001 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39003 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39005 * sysdeps/unix/sysv/linux/kernel-features.h
39006 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39007 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39008 <kernel-features.h>.
39009 [__NR_fadvise64_64]: Make code unconditional.
39010 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39011 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39012 !__NR_fadvise64_64)]: Likewise.
39013 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39014 !__NR_fadvise64_64))]: Likewise.
39015 [__NR_fadvise64]: Make code unconditional.
39016 [!__NR_fadvise64]: Remove conditional code.
39017 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39018 <kernel-features.h>.
39019 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39021 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39024 not include <kernel-features.h>.
39025 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39027 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39029 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39030 include <kernel-features.h>.
39031 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39033 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39036 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39038 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39039 slight instruction rearrangements per scrollpipe analysis.
39040 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39042 2012-08-20 Roland McGrath <roland@hack.frob.com>
39044 * manual/syslog.texi (syslog; vsyslog, closelog):
39045 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39046 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39048 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39049 DSOCAPS to match condition on defining it.
39051 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39053 * sysdeps/unix/sysv/linux/kernel-features.h
39054 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39056 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39057 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39059 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39060 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39062 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39063 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39065 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39066 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39068 * sysdeps/unix/sysv/linux/kernel-features.h
39069 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39070 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39072 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39073 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39074 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39075 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39076 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39077 Make code unconditional.
39078 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39079 (__mmap64) [!__NR_mmap2]: Likewise.
39080 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39081 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39082 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39083 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39084 [__NR_mmap2]: Make code unconditional.
39085 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39086 (__mmap64) [!__NR_mmap2]: Likewise.
39088 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39090 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39092 2012-08-18 Andreas Jaeger <aj@suse.de>
39094 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39096 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39098 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39099 * include/unistd.h (__have_sock_cloexec): Likewise.
39100 (__have_pipe2): Likewise.
39101 (__have_dup3): Likewise.
39103 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39106 * include/unistd.h (__have_pipe2): Change define into an extern int.
39107 (__have_dup3): Likewise.
39108 * socket/have_sock_cloexec.c: Include fcntl.h.
39109 (__have_pipe2): New variable.
39110 (__have_dup3): Likewise.
39112 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39114 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39116 2012-08-17 Marek Polacek <polacek@redhat.com>
39118 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39119 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39121 2012-08-17 Roland McGrath <roland@hack.frob.com>
39123 * configure.in: Add AC_SUBST for sysheaders.
39124 * configure: Regenerated.
39125 * config.make.in (sysheaders): New substituted variable.
39127 * sysdeps/unix/mkfifo.c: Moved ...
39128 * sysdeps/posix/mkfifo.c: ... here.
39129 * sysdeps/unix/mkfifoat.c: Moved ...
39130 * sysdeps/posix/mkfifoat.c: ... here.
39132 * sysdeps/unix/utime.c: Moved ...
39133 * sysdeps/posix/utime.c: ... here.
39135 * sysdeps/unix/time.c: Moved ...
39136 * sysdeps/posix/time.c: ... here.
39137 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39138 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39140 * sysdeps/unix/nice.c: Moved ...
39141 * sysdeps/posix/nice.c: ... here.
39143 * sysdeps/unix/alarm.c: Moved ...
39144 * sysdeps/posix/alarm.c: ... here.
39146 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39148 2012-08-17 Jeff Law <law@redhat.com>
39150 * intl/Makefile (codeset_mo): New variable.
39151 ($(codeset_mo)): New target.
39152 (tst-codeset.out): Depend on that. Remove explicit rule.
39153 (tst-gettext3.out, tst-gettext5.out): Likewise.
39154 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39155 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39156 * intl/tst-codeset.sh: Remove.
39157 * intl/tst-gettext3.sh: Likewise.
39158 * intl/tst-gettext5.sh: Likewise.
39160 2012-08-17 Roland McGrath <roland@hack.frob.com>
39162 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39163 * sysdeps/unix/syscalls.list: ... here.
39165 * sysdeps/posix/getaddrinfo.c
39166 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39167 (gaiconf_init, gaiconf_reload): Use them.
39168 [!_STATBUF_ST_NSEC]
39169 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39170 Define using time_t rather than struct timespec.
39172 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39173 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39175 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39177 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39178 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39181 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39182 __libc_cleanup_push argument.
39184 * bits/param.h: New file.
39185 * misc/sys/param.h: New file.
39186 * include/sys/param.h: New file.
39187 * misc/Makefile (headers): Add bits/param.h.
39188 * sysdeps/generic/sys/param.h: File removed.
39189 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39190 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39191 * sysdeps/mach/hurd/bits/param.h: New file.
39192 * sysdeps/mach/hurd/sys/param.h: File removed.
39194 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39197 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39199 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39200 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39203 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39204 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39205 rather than -D_IO_MTSAFE_IO conditionally.
39206 * stdio-common/Makefile (CPPFLAGS): Likewise.
39207 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39208 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39209 Use $(libio-mtsafe).
39210 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39211 of -D_IO_MTSAFE_IO.
39212 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39213 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39214 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39215 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39216 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39217 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39218 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39219 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39220 (CFLAGS-fread_u_chk.c): Likewise.
39221 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39222 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39223 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39224 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39225 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39226 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39227 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39228 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39229 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39231 * libio/Makefile: Test [$(libc-reentrant) = yes]
39232 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39235 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39236 * sysdeps/pthread/configure: File removed.
39237 * sysdeps/pthread/Makeconfig: New file.
39238 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39239 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39241 2012-08-16 Gary Benson <gbenson@redhat.com>
39243 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39244 unmapping the first object in a namespace.
39246 2012-08-16 Roland McGrath <roland@hack.frob.com>
39248 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39249 (__internal_setnetgrent): ... this. Add internal_function to
39250 definition. Add libc_hidden_def.
39251 (setnetgrent): Update caller.
39252 (internal_endnetgrent): Renamed to ...
39253 (__internal_endnetgrent): ... this. Add internal_function to
39254 definition. Add libc_hidden_def.
39255 (endnetgrent): Update caller.
39256 (internal_getnetgrent_r): Renamed to ...
39257 (__internal_getnetgrent_r): ... this. Add internal_function to
39258 definition. Add libc_hidden_def.
39259 (__getnetgrent_r): Update caller.
39260 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39262 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39264 * stdlib/longlong.h: Update from GCC.
39266 2012-08-16 Roland McGrath <roland@hack.frob.com>
39268 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39269 on _QL, which is set by umul_ppmm but never used.
39270 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39271 variables, which are set by GMP macros but never used.
39272 * stdio-common/_itowa.c (_itowa): Likewise.
39273 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39274 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39276 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39278 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39279 struct La_sh_regs is not constant.
39280 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39281 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39282 and struct La_sparc64_regs are not constant.
39284 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39286 * sysdeps/unix/sysv/linux/kernel-features.h
39287 (__ASSUME_POSIX_TIMERS): Remove.
39288 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39289 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39290 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39291 Make code unconditional.
39292 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39293 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39294 Make code unconditional.
39295 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39296 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39297 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39299 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39300 Make code unconditional.
39301 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39302 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39303 (__libc_missing_posix_timers): Remove.
39305 2012-08-15 Roland McGrath <roland@hack.frob.com>
39307 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39308 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39310 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39312 * elf/dl-sym.c: Include <stdlib.h>.
39314 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39315 constants, which avoids warnings in 32-bit builds.
39317 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39318 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39320 * misc/lseek.c: File moved to ...
39321 * io/lseek.c: ... here.
39323 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39325 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39326 shifting LEN more than 31 bits at once.
39328 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39331 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39332 segmentation fault for a case of two empty input strings.
39333 * string/test-strncasecmp.c (check1): Renamed to...
39334 (bz12205): ...this.
39335 (bz14195): Add new testcase for two empty input strings and N > 0.
39336 (test_main): Call new testcase, adapt for renamed function.
39338 2012-08-15 Andreas Jaeger <aj@suse.de>
39341 * crypt/md5test2.c: New test, based on test supplied by Serge
39342 Belyshev <belyshev@depni.sinp.msu.ru>.
39343 * crypt/Makefile (xtests): Add md5test-giant..
39344 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39346 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39349 * crypt/md5.c (md5_process_block): Don't assume the buffer
39350 length is less than 2**32.
39351 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39352 length is less than 2**64.
39354 2012-08-15 Roland McGrath <roland@hack.frob.com>
39356 * string/str-two-way.h: Include <sys/param.h>.
39357 (MAX): Macro removed.
39359 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39360 Move #define and #undef of memmove to just before and after
39361 including <string.h>.
39363 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39364 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39365 and after including <string.h>. Move declarations of
39366 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39367 to before #include "string/memmove.c".
39369 * include/dirent.h: Declare __getdirentries.
39371 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39372 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39374 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39376 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39377 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39378 * sysdeps/i386/configure: Regenerated.
39379 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39380 STABS_CURRENT_FILE, and STABS_FUN.
39381 (END): Remove call to STABS_FUN_END.
39382 (STABS_CURRENT_FILE1): Delete.
39383 (STABS_CURRENT_FILE): Likewise.
39384 (STABS_FUN): Likewise.
39385 (STABS_FUN_END): Likewise.
39386 (STABS_FUN2): Likewise.
39387 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39388 * sysdeps/x86_64/configure: Regenerated.
39390 2012-08-14 Roland McGrath <roland@hack.frob.com>
39392 * elf/dl-open.c: Include <atomic.h>.
39393 * elf/dl-lookup.c: Likewise.
39395 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39397 * sysdeps/unix/sysv/linux/kernel-features.h
39398 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39399 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39401 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39403 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39404 condition on __ASSUME_CLONE_THREAD_FLAGS.
39406 2012-08-14 Andreas Jaeger <aj@suse.de>
39408 * sysdeps/i386/fpu/libm-test-ulps: Update.
39410 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39412 * include/atomic.h (atomic_exchange_and_add): Split into ...
39413 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39416 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39420 2012-08-13 Jeff Law <law@redhat.com>
39422 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39423 null byte in the output string.
39425 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39427 * sysdeps/unix/sysv/linux/kernel-features.h
39428 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39429 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39430 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39431 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39432 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39433 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39434 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39436 2012-08-09 Jeff Law <law@redhat.com>
39439 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39440 When avoid_arena is set, don't retry in the that arena. Pick the
39441 next one, whatever it might be.
39442 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39443 (arena_lock): Pass in new parameter to arena_get2.
39444 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39446 (__libc_malloc): Unify retrying after main arena failure with
39447 __libc_memalign version.
39448 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39450 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39453 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39454 to __redirect_strstr.
39455 (__strstr_sse42): Use typeof __redirect_strstr.
39456 (__strstr_ia32): Likewise.
39457 (__libc_strstr): New prototype.
39458 (strstr): Renamed to ...
39459 (__libc_strstr): This.
39460 (strstr): New strong alias of __libc_strstr.
39461 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39462 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39465 (__libc_time): New prototype.
39466 (time_ifunc): Replace time with __libc_time.
39467 (time): New strong alias and hidden definition of __libc_time.
39468 (__GI_time): Remove strong alias.
39469 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39470 Include <stddef.h>.
39471 (memmove): Redefined to __redirect_memmove.
39472 (__memmove_sse2): Use typeof __redirect_memmove.
39473 (__memmove_ssse3): Likewise.
39474 (__memmove_ssse3_back): Likewise.
39475 (__libc_memmove): New prototype.
39476 (memmove): Renamed to ...
39477 (__libc_memmove): This.
39478 (memmove): New strong alias of __libc_memmove.
39480 2012-08-08 Mark Salter <msalter@redhat.com>
39483 (R_MN10300_TLS_GD): Define.
39484 (R_MN10300_TLS_LD): Likewise.
39485 (R_MN10300_TLS_LDO): Likewise.
39486 (R_MN10300_TLS_GOTIE): Likewise.
39487 (R_MN10300_TLS_IE): Likewise.
39488 (R_MN10300_TLS_LE): Likewise.
39489 (R_MN10300_TLS_DTPMOD): Likewise.
39490 (R_MN10300_TLS_DTPOFF): Likewise.
39491 (R_MN10300_TLS_TPOFF): Likewise.
39492 (R_MN10300_SYM_DIFF): Likewise.
39493 (R_MN10300_ALIGN): Likewise.
39494 (R_MN10300_NUM): Update.
39496 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39498 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39501 2012-08-08 Roland McGrath <roland@hack.frob.com>
39503 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39505 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39506 sysdeps/unix -> sysdeps/posix move.
39507 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39509 2012-08-07 Allan McRae <allan@archlinux.org>
39512 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39513 (SUNOS_CPP): Likewise.
39514 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39516 (open_input): Call CPP using execvp.
39518 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39520 * sysdeps/unix/sysv/linux/kernel-features.h
39521 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39522 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39523 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39524 (__ASSUME_WAITID_SYSCALL): Likewise.
39525 * sysdeps/unix/sysv/linux/dl-execstack.c
39526 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39527 code unconditional.
39528 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39530 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39531 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39532 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39534 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39536 [__ASSUME_WAITID_SYSCALL]: Likewise.
39537 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39539 2012-08-07 Roland McGrath <roland@hack.frob.com>
39541 * sysdeps/unix/closedir.c: Renamed to ...
39542 * sysdeps/posix/closedir.c: ... here.
39543 * sysdeps/unix/dirfd.c: Renamed to ...
39544 * sysdeps/posix/dirfd.c: ... here.
39545 * sysdeps/unix/dirstream.h: Renamed to ...
39546 * sysdeps/posix/dirstream.h: ... here.
39547 * sysdeps/unix/fdopendir.c: Renamed to ...
39548 * sysdeps/posix/fdopendir.c: ... here.
39549 * sysdeps/unix/opendir.c: Renamed to ...
39550 * sysdeps/posix/opendir.c: ... here.
39551 * sysdeps/unix/readdir.c: Renamed to ...
39552 * sysdeps/posix/readdir.c: ... here.
39553 * sysdeps/unix/readdir_r.c: Renamed to ...
39554 * sysdeps/posix/readdir_r.c: ... here.
39555 * sysdeps/unix/rewinddir.c: Renamed to ...
39556 * sysdeps/posix/rewinddir.c: ... here.
39557 * sysdeps/unix/seekdir.c: Renamed to ...
39558 * sysdeps/posix/seekdir.c: ... here.
39559 * sysdeps/unix/telldir.c: Renamed to ...
39560 * sysdeps/posix/telldir.c: ... here.
39561 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39562 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39563 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39564 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39566 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39567 * bits/fcntl.h: ... here.
39569 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39571 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39572 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39573 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39574 (struct flock): Move l_start, l_len to the beginning.
39575 Use __pid_t for l_pid.
39576 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39577 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39578 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39579 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39580 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39581 [__USE_LARGEFILE64] (struct flock64): New type.
39582 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39584 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39585 * bits/dirent.h: ... here.
39587 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39588 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39590 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39592 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39593 Change from 2.6.0 to 2.6.16.
39594 * sysdeps/unix/sysv/linux/configure: Regenerated.
39595 * sysdeps/unix/sysv/linux/kernel-features.h
39596 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39597 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39599 (__ASSUME_UTIMES): Likewise.
39600 (__ASSUME_CLONE_STOPPED): Remove.
39601 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39602 architectures, not kernel version.
39603 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39604 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39605 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39606 (__ASSUME_WAITID_SYSCALL): Likewise.
39607 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39608 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39609 * README: State 2.6.16 as minimum Linux kernel version. Do not
39610 refer to older versions.
39612 2012-08-06 Roland McGrath <roland@hack.frob.com>
39614 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39615 Define alphasort64 as an alias.
39616 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39617 Define versionsort64 as an alias.
39618 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39619 Define scandir64 as an alias.
39620 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39621 Define scandirat64 as an alias.
39622 * dirent/alphasort64.c (alphasort64):
39623 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39624 * dirent/versionsort64.c: Likewise.
39625 * dirent/scandir64.c: Likewise.
39626 * dirent/scandirat64.c: Likewise.
39627 * sysdeps/wordsize-64/alphasort.c: File removed.
39628 * sysdeps/wordsize-64/alphasort64.c: File removed.
39629 * sysdeps/wordsize-64/scandir.c: File removed.
39630 * sysdeps/wordsize-64/scandir64.c: File removed.
39631 * sysdeps/wordsize-64/scandirat.c: File removed.
39632 * sysdeps/wordsize-64/scandirat64.c: File removed.
39633 * sysdeps/wordsize-64/versionsort.c: File removed.
39634 * sysdeps/wordsize-64/versionsort64.c: File removed.
39635 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39636 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39637 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39638 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39639 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39640 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39641 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39642 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39644 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39646 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39648 [defined __arch64__ || defined __sparcv9]
39649 (__INO_T_MATCHES_INO64_T): New macro.
39650 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39651 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39652 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39653 * sysdeps/unix/sysv/linux/bits/dirent.h
39654 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39655 (_DIRENT_MATCHES_DIRENT64): New macro.
39657 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39658 Define lockf64 as an alias.
39659 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39660 Define fseeko64 as an alias.
39661 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39662 Define ftello64 as an alias.
39663 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39664 Define _IO_fgetpos64 and fgetpos64 as aliases.
39665 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39666 Define _IO_fsetpos64 and fsetpos64 as aliases.
39667 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39668 Conditionalize body on this.
39669 * libio/fseeko64.c: Likewise.
39670 * libio/ftello64.c: Likewise.
39671 * libio/iofgetpos64.c: Likewise.
39672 * libio/iofsetpos64.c: Likewise.
39673 * sysdeps/wordsize-64/lockf.c: File removed.
39674 * sysdeps/wordsize-64/lockf64.c: File removed.
39675 * sysdeps/wordsize-64/fseeko.c: File removed.
39676 * sysdeps/wordsize-64/fseeko64.c: File removed.
39677 * sysdeps/wordsize-64/ftello.c: File removed.
39678 * sysdeps/wordsize-64/ftello64.c: File removed.
39679 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39680 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39681 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39682 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39683 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39684 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39685 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39686 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39687 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39688 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39689 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39691 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39692 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39694 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39696 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39698 [defined __arch64__ || defined __sparcv9]
39699 (__OFF_T_MATCHES_OFF64_T): New macro.
39700 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39701 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39702 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39703 (__OFF_T_MATCHES_OFF64_T): New macro.
39705 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39707 * stdlib/secure-getenv.c (__secure_getenv): Replace
39708 GLIBC_2_16 with GLIBC_2_17.
39710 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39712 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39713 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39715 2012-08-03 David S. Miller <davem@davemloft.net>
39717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39719 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39721 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39723 (__ASSUME_CORRECT_SI_PID): Likewise.
39724 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39725 (__ASSUME_TMPFS_NAME): Likewise.
39726 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39727 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39728 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39729 (HAVE_AUX_SECURE): Make definition unconditional.
39730 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39731 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39733 2012-08-03 Roland McGrath <roland@hack.frob.com>
39735 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39736 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39737 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39738 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39739 __eloop_threshold instead of SYMLOOP_MAX.
39741 * sysdeps/generic/eloop-threshold.h: New file.
39742 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39744 * elf/chroot_canon.c (chroot_canon): Likewise.
39746 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39749 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39750 Change to 2.6.0 everywhere.
39751 * sysdeps/unix/sysv/linux/configure: Regenerated.
39752 * sysdeps/unix/sysv/linux/kernel-features.h
39753 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39754 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39756 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39757 (__ASSUME_FUTEX_REQUEUE): Remove.
39758 (__ASSUME_STATFS64): Define unconditionally.
39759 (__ASSUME_AT_SECURE): Likewise.
39760 (__ASSUME_CORRECT_SI_PID): Likewise.
39761 (__ASSUME_TGKILL): Define without depending on kernel version for
39763 (__ASSUME_UTIMES): Likewise.
39764 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39766 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39767 (__ASSUME_TMPFS_NAME): Likewise.
39768 * README: Update reference to Linux kernel versions.
39770 2012-08-02 Marek Polacek <polacek@redhat.com>
39773 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39774 libc_cv_asm_type_prefix with %.
39775 * configure: Regenerated.
39776 * include/libc-symbols.h: Remove comment about
39777 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39778 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39779 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39780 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39781 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39782 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39783 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39784 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39785 * elf/tst-unique2mod1.c: Likewise.
39786 * elf/tst-unique1mod2.c: Likewise.
39787 * elf/tst-unique1mod1.c: Likewise.
39788 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39789 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39790 Replace ASM_TYPE_DIRECTIVE with .type.
39791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39792 * sysdeps/i386/sysdep.h: Likewise.
39793 * sysdeps/x86_64/sysdep.h: Likewise.
39794 * sysdeps/sh/sysdep.h: Likewise.
39795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39796 Do not define ASM_TYPE_DIRECTIVE.
39797 * sysdeps/powerpc/sysdep.h: Likewise.
39798 * sysdeps/powerpc/powerpc32/sysdep.h:
39799 Replace ASM_TYPE_DIRECTIVE with .type.
39800 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39801 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39802 * sysdeps/i386/fpu/e_powf.S: Likewise.
39803 * sysdeps/i386/fpu/e_expl.S: Likewise.
39804 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39805 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39806 * sysdeps/i386/fpu/e_pow.S: Likewise.
39807 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39808 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39809 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39810 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39811 * sysdeps/i386/fpu/e_log2.S: Likewise.
39812 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39813 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39814 * sysdeps/i386/fpu/e_powl.S: Likewise.
39815 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39816 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39817 * sysdeps/i386/fpu/e_logl.S: Likewise.
39818 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39819 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39820 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39821 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39822 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39823 * sysdeps/i386/fpu/e_log.S: Likewise.
39824 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39825 * sysdeps/i386/fpu/e_logf.S: Likewise.
39826 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39827 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39828 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39829 * sysdeps/i386/fpu/e_log10.S: Likewise.
39830 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39831 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39832 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39833 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39834 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39835 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39836 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39837 * sysdeps/i386/i686/strtok.S: Likewise.
39838 * sysdeps/i386/i386-mcount.S: Likewise.
39839 * sysdeps/i386/strtok.S: Likewise.
39840 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39841 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39842 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39843 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39844 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39845 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39846 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39847 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39848 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39849 * sysdeps/x86_64/_mcount.S: Likewise.
39850 * sysdeps/x86_64/strtok.S: Likewise.
39851 * sysdeps/sh/_mcount.S: Likewise.
39853 2012-08-01 Roland McGrath <roland@hack.frob.com>
39855 * libio/iofopen.c: Include <fcntl.h>.
39856 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39857 (_IO_fopen64, fopen64): Define as aliases.
39858 * libio/iofopen64.c: Include <fcntl.h>.
39859 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39860 Conditionalize body on this.
39861 * sysdeps/wordsize-64/iofopen.c: File removed.
39862 * sysdeps/wordsize-64/iofopen64.c: File removed.
39864 2012-08-01 Marek Polacek <polacek@redhat.com>
39866 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39867 Use dlfcn directly instead of a variable.
39868 (binfmt-subdir): Do not define.
39871 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39873 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39874 Remove all definitions.
39875 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39876 <kernel-features.h>.
39877 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39878 (miss_F_GETOWN_EX): Remove all definitions.
39879 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39881 [!__ASSUME_FCNTL64]: Remove conditional code.
39882 [__ASSUME_FCNTL64]: Make code unconditional.
39883 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39884 <kernel-features.h>.
39885 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39886 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39887 (lockf64) [__NR_fcntl64]: Make code unconditional.
39888 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39890 * sysdeps/unix/sysv/linux/kernel-features.h
39891 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39892 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39893 Make code unconditional.
39894 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39895 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39897 [__NR_vfork]: Make code unconditional.
39898 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39899 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39901 [__NR_vfork]: Make code unconditional.
39902 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39903 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39905 2012-08-01 Roland McGrath <roland@hack.frob.com>
39907 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39908 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39910 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39911 Define mkstemp64 as an alias.
39912 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39913 Define mkstemps64 as an alias.
39914 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39915 Define mkostemp64 as an alias.
39916 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39917 Define mkostemps64 as an alias.
39918 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39919 Conditionalize body on this.
39920 * misc/mkostemp64.c: Likewise.
39921 * misc/mkostemps64.c: Likewise.
39922 * misc/mkstemps64.c: Likewise.
39923 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39924 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39925 * sysdeps/wordsize-64/mkostemp.c: File removed.
39926 * sysdeps/wordsize-64/mkstemp.c: File removed.
39927 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39928 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39929 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39930 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39933 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39934 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39935 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39936 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39938 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39939 compat_symbol macros from <shlib-compat.h> rather than the underlying
39940 default_symbol_version and symbol_version macros, so that DEFAULT
39941 lines in shlib-versions are respected.
39942 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39944 2012-08-01 Florian Weimer <fweimer@redhat.com>
39946 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39947 Declare with warn_unused_result.
39948 (setgid, setregid, setegid, setresgid): Likewise.
39949 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39951 * WUR-REPORT: Remove set*id functions.
39953 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39955 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39957 2012-07-31 Roland McGrath <roland@hack.frob.com>
39960 * include/sys/socket.h (__libc_accept, __libc_accept4):
39961 Add attribute_hidden.
39962 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39964 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39966 * inet/getnetgrent_r.c (setup): Likewise.
39968 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39970 2012-07-31 David S. Miller <davem@davemloft.net>
39972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39974 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39977 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39978 value between 1.0 and 2.0 and smaller part has absolute value less
39980 * math/s_clog10.c (__clog10): Likewise.
39981 * math/s_clog10f.c (__clog10f): Likewise.
39982 * math/s_clog10l.c (__clog10l): Likewise.
39983 * math/s_clogf.c (__clogf): Likewise.
39984 * math/s_clogl.c (__clogl): Likewise.
39985 * math/libm-test.inc (clog_test): Add more tests.
39986 (clog10_test): Likewise.
39987 * sysdeps/i386/fpu/libm-test-ulps: Update.
39988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39990 2012-07-31 Florian Weimer <fweimer@redhat.com>
39992 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39993 Exit with zero in case no suitable GID is found, and write a
39994 message to standard error.
39996 2012-07-30 Roland McGrath <roland@hack.frob.com>
39998 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40000 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40001 (MAXPATHLEN): Removed.
40002 (NOGROUP, NODEV): New macros.
40003 (setbit, clrbit, isset, isclr): New macros.
40004 (howmany, roundup, powerof2): New macros.
40005 (DEV_BSIZE): New macro.
40007 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40008 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40010 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40011 definition on [!__NO_LONG_DOUBLE_MATH].
40013 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40014 PTR_MANGLE and PTR_DEMANGLE.
40016 * socket/accept4.c (accept4): Rename to __libc_accept4.
40017 Define accept4 as a weak alias.
40019 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40020 on [_DIRENT_HAVE_D_TYPE].
40021 * io/ftw.c (ftw_dir): Likewise.
40023 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40025 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40027 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40028 Use the BSD numbers rather than the arbitrary ones we had.
40029 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40030 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40031 (SIGXCPU, SIGXFSZ): New macros.
40034 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40035 initializer on [_LIBC_REENTRANT].
40037 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40038 definitions inside [_POSIX_MAPPED_FILES].
40040 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40042 * dirent/opendir.c: Include <fcntl.h>.
40044 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40045 (__libc_getspecific): Likewise.
40046 (__libc_key_create): Likewise.
40048 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40049 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40050 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40051 (tmpfile64): Define as alias.
40052 * sysdeps/wordsize-64/tmpfile.c: File removed.
40053 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40054 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40055 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40057 * stdio-common/vfscanf.c: Include <stdbool.h>.
40058 * nss/makedb.c: Likewise.
40059 * stdio-common/_i18n_number.h: Likewise.
40060 * argp/argp-help.c: Likewise.
40061 * posix/wordexp.c: Likewise.
40062 * sysdeps/posix/spawni.c: Likewise.
40063 * nss/nss_files/files-initgroups.c: Likewise.
40064 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40065 * nss/nss_files/files-initgroups.c: Likewise.
40066 * nss/nss_db/db-netgrp.c: Likewise.
40067 * nss/nss_db/db-initgroups.c: Likewise.
40068 * io/fchmodat.c: Include <sys/stat.h>.
40070 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40071 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40073 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40076 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40077 Add multiple inclusion protection.
40079 2012-07-27 David S. Miller <davem@davemloft.net>
40081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40083 2012-07-27 Gary Benson <gbenson@redhat.com>
40086 * elf/rtld.c: Include <stap-probe.h>.
40087 (dl_main): Added static probes "init_start" and "init_complete".
40088 * elf/dl-load.c: Include <stap-probe.h>.
40089 (lose): Take new parameter "nsid".
40090 Added static probe "map_failed".
40091 (_dl_map_object_from_fd): Pass namespace id to lose.
40092 Added static probe "map_start".
40093 (open_verify): Pass namespace id to lose.
40094 * elf/dl-open.c: Include <stap-probe.h>.
40095 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40096 and "reloc_complete".
40097 * elf/dl-close.c: Include <stap-probe.h>.
40098 (_dl_close_worker): Added static probes "unmap_start" and
40100 * elf/rtld-debugger-interface.txt: New file documenting the above.
40102 2012-07-26 Roland McGrath <roland@hack.frob.com>
40104 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40105 rather than a string variable.
40106 * sunrpc/rpc_main.c (h_output): Likewise.
40107 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40109 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40111 * inet/check_native.c: New file.
40113 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40116 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40117 if larger part has absolute value 1.0.
40118 * math/s_clog10.c (__clog10): Likewise.
40119 * math/s_clog10f.c (__clog10f): Likewise.
40120 * math/s_clog10l.c (__clog10l): Likewise.
40121 * math/s_clogf.c (__clogf): Likewise.
40122 * math/s_clogl.c (__clogl): Likewise.
40123 * math/libm-test.inc (clog_test): Add more tests.
40124 (clog10_test): Likewise.
40125 * sysdeps/i386/fpu/libm-test-ulps: Update.
40126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40128 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40129 (pltexit): Likewise.
40130 (La_regs): Likewise.
40131 (La_retval): Likewise.
40132 (int_retval): Likewise.
40133 Update #error for removed macros to refer only to definitions in
40135 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40137 (pltexit): Likewise.
40138 (La_regs): Likewise.
40139 (La_retval): Likewise.
40140 (int_retval): Likewise.
40141 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40143 (pltexit): Likewise.
40144 (La_regs): Likewise.
40145 (La_retval): Likewise.
40146 (int_retval): Likewise.
40147 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40149 (pltexit): Likewise.
40150 (La_regs): Likewise.
40151 (La_retval): Likewise.
40152 (int_retval): Likewise.
40153 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40155 (pltexit): Likewise.
40156 (La_regs): Likewise.
40157 (La_retval): Likewise.
40158 (int_retval): Likewise.
40159 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40161 (pltexit): Likewise.
40162 (La_regs): Likewise.
40163 (La_retval): Likewise.
40164 (int_retval): Likewise.
40165 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40167 (pltexit): Likewise.
40168 (La_regs): Likewise.
40169 (La_retval): Likewise.
40170 (int_retval): Likewise.
40171 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40172 macro definitions in tst-audit.h.
40173 * sysdeps/i386/tst-audit.h: New file.
40174 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40175 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40176 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40177 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40178 * sysdeps/sh/tst-audit.h: Likewise.
40179 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40180 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40181 * sysdeps/x86_64/tst-audit.h: Likewise.
40183 2012-07-26 Andreas Jaeger <aj@suse.de>
40185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40188 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40189 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40190 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40192 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40193 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40194 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40196 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40199 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40201 (si_call_addr, si_syscall, si_arch): Define new macro.
40202 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40204 (si_call_addr, si_syscall, si_arch): Define new marcro.
40205 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40207 (si_call_addr, si_syscall, si_arch): Define new macro.
40208 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40210 (si_call_addr, si_syscall, si_arch): Define new macro.
40212 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40215 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40216 Change to 2.4.21 where previously 2.4.1.
40217 * sysdeps/unix/sysv/linux/configure: Regenerated.
40218 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40219 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40220 Linux kernel version.
40221 (__ASSUME_STD_AUXV): Remove.
40222 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40224 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40225 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40226 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40227 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40228 (__ASSUME_NETLINK_SUPPORT): Likewise.
40229 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40230 (__no_netlink_support): Remove conditional definition.
40231 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40233 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40234 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40235 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40236 (if_nameindex_ioctl): Remove.
40237 (if_nameindex_netlink): Do not handle __no_netlink_support.
40238 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40240 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40241 Remove conditional code.
40242 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40244 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40246 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40247 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40248 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40250 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40251 [!__ASSUME_STD_AUXV]: Remove conditional code.
40252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40253 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40254 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40256 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40257 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40259 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40261 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40262 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40264 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40266 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40269 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40272 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40273 code unconditional.
40274 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40276 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40278 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40281 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40283 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40286 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40287 code unconditional.
40288 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40290 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40292 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40295 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40296 code unconditional.
40297 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40299 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40301 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40304 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40306 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40307 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40308 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40309 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40310 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40311 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40312 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40313 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40314 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40315 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40316 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40317 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40318 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40319 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40320 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40321 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40322 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40323 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40324 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40326 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40327 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40328 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40330 2012-07-25 Florian Weimer <fweimer@redhat.com>
40332 * Versions.def: Add GLIBC_2.17.
40333 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40334 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40335 Introduce __libc_secure_getenv.
40336 * stdlib/Versions (2.17): Add secure_getenv
40337 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40338 * stdlib/secure-getenv.c: Rename __secure_getenv to
40339 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40340 symbol __secure_getenv for GLIBC_2.0.
40341 * stdlib/tst-secure-getenv.c: New.
40342 * stdlib/Makefile (tests): Add testcase.
40343 * manual/startup.texi (Environment Access): Document
40345 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40346 __libc_secure_getenv.
40347 * inet/ruserpass.c (ruserpass): Likewise.
40348 * malloc/mtrace.c (mtrace): Likewise.
40349 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40350 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40351 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40352 * sysdeps/posix/tempname.c: Likewise. Evaluate
40353 HAVE_SECURE_GETENV.
40354 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40355 __secure_getenv to __libc_secure_getenv.
40356 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40363 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40369 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40371 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40372 (struct La_i86_retval): Likewise.
40373 (struct La_x86_64_regs): Likewise.
40374 (struct La_x86_64_retval): Likewise.
40375 (struct La_x32_regs): Likewise.
40376 (struct La_x32_retval): Likewise.
40377 (struct La_ppc32_regs): Likewise.
40378 (struct La_ppc32_retval): Likewise.
40379 (struct La_ppc64_regs): Likewise.
40380 (struct La_ppc64_retval): Likewise.
40381 (struct La_sh_regs): Likewise.
40382 (struct La_sh_retval): Likewise.
40383 (struct La_s390_32_regs): Likewise.
40384 (struct La_s390_32_retval): Likewise.
40385 (struct La_s390_64_regs): Likewise.
40386 (struct La_s390_64_retval): Likewise.
40387 (struct La_sparc32_regs): Likewise.
40388 (struct La_sparc32_retval): Likewise.
40389 (struct La_sparc64_regs): Likewise.
40390 (struct La_sparc64_retval): Likewise.
40391 (struct audit_ifaces): Remove architecture-specific pltenter and
40393 * sysdeps/i386/ldsodefs.h: New file.
40394 * sysdeps/powerpc/ldsodefs.h: Likewise.
40395 * sysdeps/s390/ldsodefs.h: Likewise.
40396 * sysdeps/sh/ldsodefs.h: Likewise.
40397 * sysdeps/sparc/ldsodefs.h: Likewise.
40398 * sysdeps/x86_64/ldsodefs.h: Likewise.
40400 2012-07-25 Marek Polacek <polacek@redhat.com>
40403 * math/libm-test.inc (yn_test): Add another test.
40404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40405 to ERANGE when the result is +-Inf.
40406 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40407 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40408 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40409 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40411 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40413 * conform/data/time.h-data (NULL): Use macro-constant. Require
40415 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40417 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40419 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40421 * configure.in <sysdeps resolving>: Correct printing
40423 * configure: Regenerate.
40425 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40427 * math/w_ilogb.c: Include <limits.h>.
40428 * math/w_ilogbl.c: Likewise.
40430 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40432 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40433 va_copy. Document allowing for unavailable va_copy only as
40434 pre-C99 compatibility.
40435 * manual/string.texi (Copying and Concatenation): Use va_copy
40436 instead of __va_copy in concat example.
40438 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40440 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40441 (__sendto): Use create_address_port. Initialize APORT and deallocate
40444 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40445 with O_NOLINK passed to __file_name_lookup.
40447 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40448 with O_NOLINK passed to __file_name_lookup.
40450 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40451 negative N or less than NGIDS.
40453 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40454 type to string_t. Set ERANGE as errno and return it if NAME is not big
40455 enough. Use memcpy instead of strncpy.
40457 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40459 * elf/Makefile (check-data): Remove.
40460 (localplt.data): New vpath directive.
40461 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40462 instead of $(check-data).
40463 * scripts/data/localplt-generic.data: Move to ...
40464 * sysdeps/generic/localplt.data: ... here.
40465 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40466 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40467 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40470 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40473 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40476 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40479 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40482 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40486 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40488 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40489 PPC32 and PPC64 files.
40490 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40491 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40493 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40495 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40496 __makecontext_ret to ...
40497 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40498 ... here and call exit if uc_link is NULL. New file.
40499 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40500 __makecontext_ret.S.
40501 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40502 __makecontext_ret to ...
40503 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40504 ... here and call exit if uc_link is NULL. New file.
40505 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40506 __makecontext_ret.S.
40508 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40510 * elf/elf.h (R_390_IRELATIVE): New definition.
40511 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40512 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40513 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40515 (elf_machine_lazy_rel): Likewise.
40516 * sysdeps/s390/dl-irel.h: New file.
40517 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40518 * sysdeps/s390/s390-64/memset.S: New asm code.
40519 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40520 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40521 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40522 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40523 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40524 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40525 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40526 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40527 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40528 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40529 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40530 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40531 * sysdeps/s390/s390-32/memset.S: New asm code.
40532 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40534 2012-07-17 Marek Polacek <polacek@redhat.com>
40537 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40538 * sysdeps/s390/s390-64/configure.in: Likewise.
40539 * sysdeps/sparc/configure.in: Likewise.
40540 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40541 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40542 * sysdeps/i386/configure.in: Likewise.
40543 * sysdeps/x86_64/configure.in: Likewise.
40544 * sysdeps/sh/configure.in: Likewise.
40545 * sysdeps/s390/s390-32/configure: Regenerated.
40546 * sysdeps/s390/s390-64/configure: Likewise.
40547 * sysdeps/x86_64/configure: Likewise.
40548 * sysdeps/sh/configure: Likewise.
40549 * sysdeps/powerpc/powerpc64/configure: Likewise.
40550 * sysdeps/powerpc/powerpc32/configure: Likewise.
40551 * sysdeps/sparc/configure: Likwise.
40552 * sysdeps/i386/configure: Likewise.
40554 * elf/dl-open.c: Comment fixes.
40556 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40558 * Makefile [CXX] (check-data): Remove.
40559 [CXX] (c++-types.data): New vpath directive.
40560 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40561 vpath. Do not allow for C++ type data being missing.
40562 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40563 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40564 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40565 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40566 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40567 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40568 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40571 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40574 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40577 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40580 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40583 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40586 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40589 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40592 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40593 definitions to architecture-specific files.
40594 (TLS_IE): Likewise.
40595 (TLS_LD): Likewise.
40596 (TLS_GD): Likewise.
40597 * sysdeps/i386/tls-macros.h: New file.
40598 * sysdeps/powerpc/tls-macros.h: Likewise.
40599 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40600 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40601 * sysdeps/sh/tls-macros.h: Likewise.
40602 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40603 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40604 * sysdeps/x86_64/tls-macros.h: Likewise.
40606 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40608 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40609 zero value for regular exit case.
40611 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40612 (__start_context): Preserve zero value for regular exit case.
40614 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40615 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40617 * manual/setjmp.texi (setcontext): Clarify normal process
40618 termination when uc_link is the null pointer.
40619 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40622 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40624 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40625 preprocessor. Test for each exception mask separately.
40627 2012-07-16 Andreas Jaeger <aj@suse.de>
40629 * po/ru.po: Update from translation team.
40631 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40633 * conform/data/string.h-data (NULL): Use macro-constant. Require
40635 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40636 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40637 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40638 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40641 2012-07-13 Andreas Jaeger <aj@suse.de>
40643 * po/fr.po: Update from translation team.
40645 2012-07-12 Marek Polacek <polacek@redhat.com>
40648 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40649 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40652 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40656 Change to 2.4.1 where previously 2.4.0.
40657 * sysdeps/unix/sysv/linux/configure: Regenerated.
40658 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40659 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40661 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40662 (__ASSUME_AT_CLKTCK): Remove.
40663 (__ASSUME_AT_PAGESIZE): Likewise.
40664 (__ASSUME_AT_XID): Likewise.
40665 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40666 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40667 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40669 (HAVE_AUX_PAGESIZE): Likewise.
40670 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40671 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40672 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40674 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40678 the temporary buffer used to invoke __gethostbyname2_r,
40679 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40680 host_data / struct gaih_addrtuple.
40681 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40682 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40683 header file nss/nsswitch.h.
40684 * nss/nsswitch.h (global scope): Add definition of implementation
40685 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40686 resolv/nss_dns/dns-host.c).
40688 2012-07-11 Andreas Jaeger <aj@suse.de>
40690 * po/fr.po: Update from translation team.
40692 * po/sv.po: Update from translation team
40693 * po/fr.po: Another update from translation team.
40695 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40697 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40698 for subnormals or multiply small sinh result by itself.
40699 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40702 2012-07-11 David S. Miller <davem@davemloft.net>
40704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40706 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40709 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40710 (INTERNAL_MARK): Shift it here.
40712 2012-07-10 Marek Polacek <polacek@redhat.com>
40715 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40716 libc_cv_asm_global_directive with .globl.
40717 * configure: Regenerated.
40718 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40720 * sysdeps/i386/configure: Regenerated.
40721 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40723 * sysdeps/x86_64/configure: Regenerated.
40724 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40725 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40726 * elf/tst-unique2mod2.c: Likewise.
40727 * elf/tst-unique2mod1.c: Likewise.
40728 * elf/tst-unique1mod2.c: Likewise.
40729 * elf/tst-unique1mod1.c: Likewise.
40730 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40731 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40732 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40733 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40734 * sysdeps/mach/sysdep.h: Likewise.
40735 * sysdeps/i386/sysdep.h: Likewise.
40736 * sysdeps/i386/i386-mcount.S: Likewise.
40737 * sysdeps/x86_64/_mcount.S: Likewise.
40738 * sysdeps/x86_64/sysdep.h: Likewise.
40739 * sysdeps/sh/_mcount.S: Likewise.
40740 * sysdeps/sh/sysdep.h: Likewise.
40741 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40742 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40743 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40744 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40745 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40746 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40747 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40748 * locale/localeinfo.h: Likewise.
40749 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40750 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40752 2012-07-09 Roland McGrath <roland@hack.frob.com>
40755 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40757 * manual/message.texi (The Uniforum approach): Likewise.
40758 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40759 (glibc iconv Implementation): Likewise.
40761 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40764 * math/s_clog.c (__clog): Avoid scaling a value down where that
40765 could result in underflow.
40766 * math/s_clog10.c (__clog10): Likewise.
40767 * math/s_clog10f.c (__clog10f): Likewise.
40768 * math/s_clog10l.c (__clog10l): Likewise.
40769 * math/s_clogf.c (__clogf): Likewise.
40770 * math/s_clogl.c (__clogl): Likewise.
40771 * math/libm-test.inc (clog_test): Add more tests.
40772 (clog10_test): Likewise.
40773 * sysdeps/i386/fpu/libm-test-ulps: Update.
40774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40776 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40779 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40780 by 7 not 8 to examine high bit of fractional part.
40783 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40784 for call to __mcount_internal.
40785 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40786 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40787 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40789 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40792 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40793 approximation for values within 0x1p-13f of an odd multiple of
40795 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40796 exception. Add more tests.
40797 * sysdeps/i386/fpu/libm-test-ulps: Update.
40800 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40801 inputs and return -1 for them. Do not check for +Inf in case not
40802 reachable for +Inf.
40803 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40804 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40805 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40806 and return -1 for them. Do not check for +Inf in case not
40807 reachable for +Inf.
40808 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40810 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40811 and return -1 for them. Do not check for +Inf in case not
40812 reachable for +Inf.
40813 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40814 spurious underflow.
40815 * sysdeps/i386/fpu/libm-test-ulps: Update.
40816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40818 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40820 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40822 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40826 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40827 could result in spurious underflow. Scale down values above
40828 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40829 * math/s_csqrtf.c (__csqrtf): Likewise.
40830 * math/s_csqrtl.c (__csqrtl): Likewise.
40831 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40832 spurious underflow.
40833 * sysdeps/i386/fpu/libm-test-ulps: Update.
40834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40836 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40838 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40840 * catgets/xopen-msg.awk: New file.
40841 * catgets/xopen-msg.sed: Removed.
40843 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40845 * intl/po2test.awk: New file.
40846 * intl/po2test.sed: Removed.
40848 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40851 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40852 or multiply small sinh result by itself.
40853 * math/s_ctanf.c (__ctanf): Likewise.
40854 * math/s_ctanh.c (__ctanh): Likewise.
40855 * math/s_ctanhf.c (__ctanhf): Likewise.
40856 * math/s_ctanhl.c (__ctanhl): Likewise.
40857 * math/s_ctanl.c (__ctanl): Likewise.
40858 * math/libm-test.inc (ctan_test_tonearest): New function.
40859 (ctan_test_towardzero): Likewise.
40860 (ctan_test_downward): Likewise.
40861 (ctan_test_upward): Likewise.
40862 (ctanh_test_tonearest): Likewise.
40863 (ctanh_test_towardzero): Likewise.
40864 (ctanh_test_downward): Likewise.
40865 (ctanh_test_upward): Likewise.
40866 (main): Call these new functions.
40867 * sysdeps/i386/fpu/libm-test-ulps: Update.
40868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40870 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40872 * .gitignore: Delete /ports entry.
40874 2012-07-03 Andreas Jaeger <aj@suse.de>
40876 * po/bg.po: Update from translation team.
40877 * po/cs.po: Likewise.
40878 * po/de.po: Likewise.
40879 * po/hr.po: Likewise.
40880 * po/nl.pl: Likewise.
40881 * po/pl.po: Likewise.
40882 * po/vi.po: Likewise.
40884 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40886 * Makeconfig [!+link] (+link-before-libc): New variable.
40887 [!+link] (+link-after-libc): Likewise.
40888 [!+link] (+link-tests): Likewise.
40889 [!+link] (+link): Define in terms of $(+link-before-libc) and
40890 $(+link-after-libc).
40891 [!+link-static] (+link-static-before-libc): New variable.
40892 [!+link-static] (+link-static-after-libc): Likewise.
40893 [!+link-static] (+link-static-tests): Likewise.
40894 [!+link-static] (+link-static): Define in terms of
40895 $(+link-static-before-libc) and $(+link-static-after-libc).
40896 [build-shared] (link-libc-before-gnulib): New variable.
40897 [build-shared] (link-libc-tests): Likewise.
40898 [build-shared] (link-libc): Define in terms of
40899 $(link-libc-before-gnulib).
40900 [!build-shared] (link-libc-tests): New variable.
40901 (link-libc-static-tests): New variable.
40902 [!gnulib] (gnulib-arch): New variable.
40903 [!gnulib] (gnulib-tests): Likewise.
40904 [!gnulib] (static-gnulib-arch): Likewise.
40905 [!gnulib] (static-gnulib-tests): Likewise.
40906 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40907 Define with "=" instead of ":=".
40908 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40909 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40910 * Rules (binaries-all-notests): New variable.
40911 (binaries-all-tests): Likewise.
40912 (binaries-static-notests): Likewise.
40913 (binaries-static-tests): Likewise.
40914 (binaries-all): Define using $(binaries-all-notests) and
40915 $(binaries-all-tests).
40916 (binaries-static): Define using $(binaries-static-notests) and
40917 $(binaries-static-tests).
40918 (binaries-shared-tests): New variable.
40919 (binaries-shared-notests): Likewise.
40920 (binaries-shared): Remove variable.
40921 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40922 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40923 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40924 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40925 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40926 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40927 * elf/Makefile (sln-modules): New variable.
40928 (extra-objs): Add $(sln-modules:=.o).
40929 (ldconfig-modules): Add static-stubs.
40930 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40931 * elf/static-stubs.c: New file.
40934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40935 by 7 not 8 to examine high bit of fractional part. Use volatile
40936 variables when splitting into final array of floats if
40937 __FLT_EVAL_METHOD__ != 0.
40938 * math/libm-test.inc (cos_test): Add another test.
40939 (sin_test): Likewise.
40940 * sysdeps/i386/fpu/libm-test-ulps: Update.
40943 * math/libm-test.inc (cosh_test): Add more tests.
40945 * version.h (RELEASE): Set to "development".
40946 (VERSION): Set to "2.16.90".
40948 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40950 * NEWS: Update copyright. Remove last-updated date.
40951 Mention math library bug fixes and timezone data changes.
40952 * README: Mention GNU/Hurd, x32, and HPPA support status.
40954 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40956 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40958 2012-06-27 Andreas Jaeger <aj@suse.de>
40960 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40962 2012-06-25 Andreas Jaeger <aj@suse.de>
40964 * sysdeps/s390/fpu/libm-test-ulps: Update.
40966 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40967 Thomas Schwinge <thomas@codesourcery.com>
40969 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40970 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40974 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40976 * sysdeps/mach/start.c: Remove file.
40977 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40978 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40979 * sysdeps/sh/init-first.c: Likewise.
40981 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40982 registers for frame unwinding purposes, add CFI directives.
40983 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40984 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40985 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40988 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40989 __fortify_fail returning.
40990 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40992 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40993 sysdeps/sh/____longjmp_chk.S.
40994 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40995 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40996 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40997 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40999 * sysdeps/sh/abort-instr.h: New file.
41000 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41001 process in case exit returns.
41003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41004 initialize the GOT register before use.
41006 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41007 calculation of ARGC > 4.
41009 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41010 meaningful names to some local labels.
41012 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41013 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41015 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41016 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41017 (__arch_compare_and_exchange_val_16_acq): Likewise.
41018 (__arch_compare_and_exchange_val_32_acq): Likewise.
41019 (atomic_exchange_and_add): Fix gUSA sequence.
41020 (atomic_add): Likewise.
41021 (atomic_add_negative): Likewise.
41022 (atomic_add_zero): Likewise.
41023 (atomic_bit_test_set): Likewise.
41025 2012-06-22 Andreas Schwab <schwab@redhat.com>
41028 * include/link.h (struct link_map): Add l_free_initfini.
41029 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41031 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41032 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41033 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41036 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41038 * configure.in: Use AC_LANG_SOURCE.
41039 * configure: Regenerate.
41041 2012-06-22 Roland McGrath <roland@hack.frob.com>
41043 * configure.in (libc_cv_localstatedir): New substituted variable.
41044 * configure: Regenerated.
41045 * config.make.in (localstatedir): New variable, substituted from
41046 libc_cv_localstatedir.
41047 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41048 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41049 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41050 * sysdeps/gnu/configure: Regenerated.
41052 2012-06-21 Jeff Law <law@redhat.com>
41055 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41056 free. Simplify list management for _LIBC case.
41058 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41061 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41062 Clear sign bit of 64-bit integer value before comparing against
41065 * sysdeps/mach/configure: Regenerated.
41067 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41070 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41072 2012-06-21 Jeff Law <law@redhat.com>
41075 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41076 uint16_t for elements in the "seen" array to avoid char overflows.
41077 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41078 * elf/dl-open.c (dl_open_worker): Likewise.
41080 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41082 * scripts/list-sources.sh: Scan PORTS for translations.
41083 * po/libc.pot: Regenerated.
41085 2012-06-21 Andreas Jaeger <aj@suse.de>
41088 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41090 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41091 * bits/byteswap-16.h (__bswap_16): Likewise.
41092 * bits/byteswap.h (__bswap_constant_16): Likewise.
41094 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41097 * sysdeps/i386/fpu_control.h: Removed.
41098 * sysdeps/x86_64/fpu_control.h: Moved to ...
41099 * sysdeps/x86/fpu_control.h: Here.
41101 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41102 (_FPU_SETCW): Likewise.
41104 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41107 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41108 * sysdeps/x86/fpu/bits/mathinline.h: This.
41109 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41113 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41114 functions if __x86_64__ is defined.
41116 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41118 * string/endian.h: Add !__ASSEMBLER__ condition for including
41119 conversion interfaces.
41121 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41124 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41125 of ABS(x) in calculating zero to negative powers other than odd
41127 * math/libm-test.inc (pow_test): Add more tests.
41129 2012-06-15 Andreas Jaeger <aj@suse.de>
41131 * manual/contrib.texi (Contributors): Update entry of Liubov
41132 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41135 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41137 * string/string.h: Add __wur to GNU version of strerror_r.
41139 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41142 * string/Makefile (tests): Add tst-strtok_r.
41143 * string/tst-strtok_r.c: New file.
41144 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41145 RAX_LP/RDX_LP on SAVE_PTR.
41147 2012-06-14 Roland McGrath <roland@hack.frob.com>
41149 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41151 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41153 * libm_test.inc (csqrt_test): Allow more spurious underflow
41155 (j0_test): Likewise.
41156 (j1_test): Likewise.
41157 (y0_test): Likewise.
41158 (y1_test): Likewise.
41160 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41162 * po/Makefile (libc.pot): Use UTF-8 charset.
41164 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41167 Suppress sign-conversion warning from FD_SET.
41168 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41169 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41170 not unsigned long int.
41171 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41173 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41177 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41178 __extern_always_inline instead of __extern_inline.
41179 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41180 (__signbit): Likewise.
41181 (__signbitl): Support C++ namespace.
41182 (lrintf): New inline function.
41184 (llrintf): Likewise.
41185 (llrint): Likewise.
41195 (floorf): Likewise.
41196 (nearbyint): Likewise.
41197 (nearbyintf): Likewise.
41199 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41201 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41202 non-default versions.
41204 2012-06-11 Roland McGrath <roland@hack.frob.com>
41207 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41209 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41211 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41212 (FE_UPWARD, FE_DOWNWARD): Don't define.
41213 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41214 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41216 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41218 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41219 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41221 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41223 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41224 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41225 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41226 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41228 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41231 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41232 * sysdeps/i386/fpu/Implies: New file.
41233 * sysdeps/x86_64/fpu/Implies: Likewise.
41234 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41235 * sysdeps/x86/fpu/bits/fenv.h: This.
41237 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41240 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41243 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41244 character 0xffff that matches the last element of the
41247 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41249 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41252 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41254 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41255 values higher than 25.6283.
41257 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41259 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41260 subnormal exponent extraction and add some __builtin_expect.
41261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41262 Fix for subnormal mantissa calculation.
41264 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41266 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41267 cpu2 is -1 and errno is not ENOSYS.
41269 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41272 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41273 * sysdeps/x86/bits/string.h: This.
41274 * sysdeps/x86_64/bits/string.h: Removed.
41276 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41277 if not compiling for x86-64, but compiling for >= i486.
41279 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41280 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41282 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41283 New macro from Linux kernel 3.4.0.
41284 (FP_XSTATE_MAGIC2): Likewise.
41285 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41286 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41287 (struct _fpx_sw_bytes): New struct.
41288 (struct _xsave_hdr): Likewise.
41289 (struct _ymmh_state): Likewise.
41290 (struct _xstate): Likewise.
41292 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41293 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41294 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41295 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41296 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41297 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41299 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41300 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41301 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41302 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41303 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41304 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41306 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41309 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41310 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41311 (sysdep_headers): Include sys/platform/ppc.h.
41312 * sysdeps/powerpc/test-gettimebase.c: Test for
41313 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41314 * manual/Makefile (appendices): Include platform.texi.
41315 * manual/contrib.texi (Contributors): Update @node pointers.
41316 * manual/maint.texi (Maintenance): Likewise.
41317 (Platform): New node.
41318 * manual/platform.texi: New file. Document the new features.
41320 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41321 Jakub Jelinek <jakub@redhat.com>
41324 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41325 where __builtin_expect is unavailable.
41327 2012-06-03 David S. Miller <davem@davemloft.net>
41329 * stdlib/longlong.h: Updated from GCC.
41331 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41334 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41335 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41338 (GLIBC_2.16): Likewise.
41340 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41342 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41344 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41347 (default-abi): New variable.
41348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41349 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41351 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41353 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41355 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41358 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41359 definition. Document in comment.
41361 2012-06-01 David S. Miller <davem@davemloft.net>
41363 * stdlib/longlong.h: Updated from GCC.
41365 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41368 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41369 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41370 sys/debugreg.h sys/io.h here.
41371 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41372 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41374 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41375 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41376 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41377 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41378 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41379 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41381 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41382 Define only if __x86_64__ is defined.
41384 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41387 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41388 Use int64_t for variable i.
41389 * math/libm-test.inc (fmod_test): Add more tests.
41391 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41392 z computation is not scheduled after fetestexcept.
41393 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41394 Use math_force_eval instead of asm to ensure calculation scheduled
41395 before exception test.
41396 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41397 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41399 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41402 computation is not scheduled after fetestexcept.
41404 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41407 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41408 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41410 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41412 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41413 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41415 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41418 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41420 (__WCHAR_MIN): Support __WORDSIZE == 64.
41421 (__WCHAR_MAX): Likewise.
41423 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41424 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41427 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41428 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41431 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41432 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41435 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41437 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41438 Defined to 1 if __x86_64__ isn't defined.
41439 (_STAT_VER_LINUX_OLD): New.
41440 (st_atime): Remove duplicate.
41441 (st_mtime): Likewise.
41442 (st_ctime): Likewise.
41444 2012-05-31 David S. Miller <davem@davemloft.net>
41446 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41449 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41451 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41455 * elf/dl-reloc.c: Include <_itoa.h>.
41456 (_dl_reloc_bad_type): Remove use of INTUSE.
41457 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41458 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41459 * stdio-common/psiginfo.c (psiginfo): Likewise.
41460 * stdio-common/psignal.c (psignal): Likewise.
41461 * string/strsignal.c (strsignal): Likewise.
41462 * include/signal.h (_sys_siglist): Declare hidden proto.
41463 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41464 INTVARDEF with libc_hidden_data_def.
41465 * stdio-common/itoa-udigits.c: Likewise.
41466 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41467 (_itoa_lower_digits_internal): Remove declaration.
41468 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41469 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41470 (_sys_sigabbrev_internal): Remove aliases.
41471 (_sys_siglist): Define hidden alias.
41473 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41478 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41481 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41482 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41484 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41485 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41486 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41487 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41489 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41491 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41492 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41493 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41495 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41503 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41504 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41505 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41507 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41508 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41509 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41510 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41511 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41512 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41514 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41515 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41517 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41518 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41520 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41521 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41522 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41524 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41525 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41527 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41529 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41530 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41531 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41533 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41535 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41537 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41539 * math/math.h (M_El): Use two more decimal places.
41540 (M_LOG2El): Likewise.
41541 (M_LOG10El): Likewise.
41542 (M_LN2l): Likewise.
41543 (M_LN10l): Likewise.
41545 (M_PI_2l): Likewise.
41546 (M_PI_4l): Likewise.
41547 (M_1_PIl): Likewise.
41548 (M_2_PIl): Likewise.
41549 (M_2_SQRTPIl): Likewise.
41550 (M_SQRT2l): Likewise.
41551 (M_SQRT1_2l): Likewise.
41553 2012-05-31 David S. Miller <davem@davemloft.net>
41555 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41556 values between float registers.
41557 * sysdeps/sparc/sparc64/memset.S: Likewise.
41558 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41560 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41562 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41563 -D_FORTIFY_SOURCE=1.
41564 (CPPFLAGS-tst-longjmp_chk.c): Define.
41565 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41566 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41567 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41568 CFLAGS-tst-wchar-h.c.
41570 2012-05-31 Marek Polacek <polacek@redhat.com>
41573 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41574 __endmntent_internal): Remove declaration.
41575 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41576 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41577 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41579 2012-05-30 David S. Miller <davem@davemloft.net>
41581 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41582 (___Q_simulate_exceptions): Use real FP ops rather than writing
41584 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41587 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41590 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41591 * sysdeps/x86/bits/xtitypes.h: This.
41593 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41594 * sysdeps/x86/bits/wordsize.h: This.
41596 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41597 * sysdeps/x86/bits/huge_vall.h: This.
41599 * sysdeps/i386/bits/select.h: Removed.
41600 * sysdeps/x86_64/bits/select.h: Renamed to ...
41601 * sysdeps/x86/bits/select.h: This.
41603 * sysdeps/i386/bits/setjmp.h: Removed.
41604 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41605 * sysdeps/x86/bits/setjmp.h: This.
41607 * sysdeps/i386/bits/mathdef.h: Removed.
41608 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41609 * sysdeps/x86/bits/mathdef.h: This.
41611 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41614 * include/sys/socket.h (__connect_internal)
41615 (__libc_sa_len_internal): Remove declaration.
41616 (__connect, __libc_sa_len): Declare hidden_proto.
41617 (SA_LEN): Remove use of INTUSE.
41618 * socket/connect.c: Add libc_hidden_def.
41619 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41620 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41621 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41623 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41624 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41625 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41626 of adding _internal alias.
41628 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41631 * sysdeps/i386/bits/link.h: Removed.
41632 * sysdeps/i386/bits/linkmap.h: Likewise.
41633 * sysdeps/x86_64/bits/link.h: Renamed to ...
41634 * sysdeps/x86/bits/link.h: This.
41635 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41636 * sysdeps/x86/bits/linkmap.h: This.
41638 * sysdeps/i386/bits/endian.h: Removed.
41639 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41640 * sysdeps/x86/bits/endian.h: This.
41642 * sysdeps/i386/bits/byteswap.h: Removed.
41643 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41644 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41645 * sysdeps/x86/bits/byteswap.h: This.
41646 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41647 * sysdeps/x86/bits/byteswap-16.h: This.
41648 * sysdeps/i386/Implies: Add x86.
41649 * sysdeps/x86_64/Implies: Likewise.
41651 2012-05-30 David S. Miller <davem@davemloft.net>
41653 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41654 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41655 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41656 (FP_TRAPPING_EXCEPTIONS): Define.
41657 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41658 (FP_TRAPPING_EXCEPTIONS): Define.
41659 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41660 subnormals only when inexact has been signalled or underflow
41661 exceptions are enabled.
41662 (_FP_PACK_CANONICAL): Likewise.
41664 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41667 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41668 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41670 2012-05-30 Richard Henderson <rth@twiddle.net>
41672 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41673 with #ifndef NOT_IN_libc.
41675 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41676 marked to avoid plt entry.
41678 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41681 * Makeconfig (default-abi): New macro.
41682 (abi-includes): Likewise.
41683 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41684 $(abi-$(default-abi)-lib-soname) for soname if defined.
41685 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41687 * Makefile (installed-stubs): Likewise.
41688 * include/stubs-biarch.h: Removed.
41689 * scripts/lib-names.awk: Only handle one library at a time.
41690 * scripts/soversions.awk: Remove WORDSIZE support.
41691 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41693 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41695 (syscall-list-default-condition): Likewise.
41696 (syscall-list-default-condition): Likewise.
41697 (syscall-list-includes): Likewise.
41698 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41699 syscall-list-* with abi-*. Handle undefined abi-variants.
41700 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41701 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41702 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41703 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41704 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41705 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41707 (syscall-list-32-options): Likewise.
41708 (syscall-list-32-condition): Likewise.
41709 (syscall-list-64-options): Likewise.
41710 (syscall-list-64-condition): Likewise.
41711 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41713 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41716 (abi-64-ld-soname): New macro.
41717 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41718 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41721 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41722 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41724 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41726 * sysdeps/unix/sysv/linux/kernel-features.h
41727 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41728 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41729 include <kernel-features.h>.
41730 [!__NR_ftruncate64]: Remove conditional code.
41731 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41732 [__NR_ftruncate64]: Make code unconditional.
41733 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41734 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41735 include <kernel-features.h>.
41736 [!__NR_ftruncate64]: Remove conditional code.
41737 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41738 [__NR_ftruncate64]: Make code unconditional.
41739 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41741 include <kernel-features.h>.
41742 [!__NR_ftruncate64]: Remove conditional code.
41743 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41744 [__NR_ftruncate64]: Make code unconditional.
41745 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41747 include <kernel-features.h>.
41748 [!__NR_ftruncate64]: Remove conditional code.
41749 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41750 [__NR_ftruncate64]: Make code unconditional.
41751 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41753 * configure.in (libc_cv_fpie): Weaken to a compile test using
41754 LIBC_TRY_CC_OPTION.
41755 * configure: Regenerated.
41757 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41772 2012-05-27 David S. Miller <davem@davemloft.net>
41774 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41776 (__Q_simulate_exceptions): Return void. Change to simulate
41777 exceptions by writing into the %fsr.
41778 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41779 (__Qp_handle_exceptions): Likewise.
41781 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41782 __Qp_handle_exceptions.
41783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41784 __Qp_handle_exceptions.
41785 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41786 as unused and give dummy FP_RND_NEAREST initializer.
41787 (FP_INHIBIT_RESULTS): Define.
41788 (___Q_simulate_exceptions): Update declaration.
41789 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41791 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41792 as unused and give dummy FP_RND_NEAREST initializer.
41793 (__Qp_handle_exceptions): Update declaration.
41794 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41797 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41799 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41800 the temporary FPU control word.
41801 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41802 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41803 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41804 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41805 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41806 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41807 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41808 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41809 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41810 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41811 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41813 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41815 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41818 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41820 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41821 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41822 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41823 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41825 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41826 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41829 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41831 * po/h.po: Update from translation team.
41833 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41835 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41837 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41838 handling of denormals.
41839 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41840 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41841 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41842 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41848 2012-05-26 Marek Polacek <polacek@redhat.com>
41851 * math/libm-test.inc (fma_test): Don't always expect underflow
41854 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41857 * elf/tst-execstack.c: Include stackinfo.h.
41858 (do_test): Adjust test case to ensure that pthread_getattr_np
41859 behaviour remains the same after marking stack executable.
41861 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41863 * sysdeps/unix/sysv/linux/kernel-features.h
41864 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41865 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41867 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41868 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41869 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41871 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41872 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41874 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41876 * configure.in: Define the default includes to being none.
41877 * configure: Regenerated.
41879 2012-05-25 Roland McGrath <roland@hack.frob.com>
41881 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41882 * sysdeps/x86_64/setjmp.S: Likewise.
41883 * sysdeps/i386/bsd-setjmp.S: Likewise.
41884 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41885 * sysdeps/i386/setjmp.S: Likewise.
41886 * sysdeps/i386/__longjmp.S: Likewise.
41887 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41888 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41890 * include/stap-probe.h: New file.
41891 * configure.in: Handle --enable-systemtap.
41892 * configure: Regenerated.
41893 * config.h.in (USE_STAP_PROBE): New #undef.
41894 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41895 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41896 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41898 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41901 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41902 to 2.4.0 where earlier.
41903 * sysdeps/unix/sysv/linux/configure: Regenerated.
41904 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41905 <kernel-features.h>.
41906 [__ASSUME_32BITUIDS]: Make code unconditional.
41907 [!__ASSUME_32BITUIDS]: Remove conditional code.
41908 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41909 <kernel-features.h>.
41910 [__ASSUME_32BITUIDS]: Make code unconditional.
41911 [!__ASSUME_32BITUIDS]: Remove conditional code.
41912 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41913 [__ASSUME_32BITUIDS]: Make code unconditional.
41914 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41915 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41916 <kernel-features.h>.
41917 [__ASSUME_32BITUIDS]: Make code unconditional.
41918 [!__ASSUME_32BITUIDS]: Remove conditional code.
41919 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41920 <kernel-features.h>.
41921 [__ASSUME_32BITUIDS]: Make code unconditional.
41922 [!__ASSUME_32BITUIDS]: Remove conditional code.
41923 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41924 <kernel-features.h>.
41925 [__ASSUME_32BITUIDS]: Make code unconditional.
41926 [!__ASSUME_32BITUIDS]: Remove conditional code.
41927 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41928 <kernel-features.h>.
41929 [__ASSUME_32BITUIDS]: Make code unconditional.
41930 [!__ASSUME_32BITUIDS]: Remove conditional code.
41931 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41932 <kernel-features.h>.
41933 [__ASSUME_32BITUIDS]: Make code unconditional.
41934 [!__ASSUME_32BITUIDS]: Remove conditional code.
41935 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41936 <kernel-features.h>.
41937 [__ASSUME_32BITUIDS]: Make code unconditional.
41938 [!__ASSUME_32BITUIDS]: Remove conditional code.
41939 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41940 <kernel-features.h>.
41941 [__ASSUME_32BITUIDS]: Make code unconditional.
41942 [!__ASSUME_32BITUIDS]: Remove conditional code.
41943 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41944 <kernel-features.h>.
41945 [__ASSUME_32BITUIDS]: Make code unconditional.
41946 [!__ASSUME_32BITUIDS]: Remove conditional code.
41947 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41948 <kernel-features.h>.
41949 [__ASSUME_32BITUIDS]: Make code unconditional.
41950 [!__ASSUME_32BITUIDS]: Remove conditional code.
41951 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41952 <kernel-features.h>.
41953 [__ASSUME_32BITUIDS]: Make code unconditional.
41954 [!__ASSUME_32BITUIDS]: Remove conditional code.
41955 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41956 <kernel-features.h>.
41957 [__NR_setresgid] (__setresgid): Do not declare.
41958 [__ASSUME_32BITUIDS]: Make code unconditional.
41959 [!__ASSUME_32BITUIDS]: Remove conditional code.
41960 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41961 <kernel-features.h>.
41962 [__NR_setresuid] (__setresuid): Do not declare.
41963 [__ASSUME_32BITUIDS]: Make code unconditional.
41964 [!__ASSUME_32BITUIDS]: Remove conditional code.
41965 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41966 <kernel-features.h>.
41967 [__ASSUME_32BITUIDS]: Make code unconditional.
41968 [!__ASSUME_32BITUIDS]: Remove conditional code.
41969 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41970 <kernel-features.h>.
41971 [__ASSUME_32BITUIDS]: Make code unconditional.
41972 [!__ASSUME_32BITUIDS]: Remove conditional code.
41973 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41974 <kernel-features.h>.
41975 [__ASSUME_32BITUIDS]: Make code unconditional.
41976 [!__ASSUME_32BITUIDS]: Remove conditional code.
41977 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41978 <kernel-features.h>.
41979 [__ASSUME_32BITUIDS]: Make code unconditional.
41980 [!__ASSUME_32BITUIDS]: Remove conditional code.
41981 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41982 <kernel-features.h>.
41983 [__ASSUME_32BITUIDS]: Make code unconditional.
41984 [!__ASSUME_32BITUIDS]: Remove conditional code.
41985 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41986 <kernel-features.h>.
41987 [__ASSUME_32BITUIDS]: Make code unconditional.
41988 [!__ASSUME_32BITUIDS]: Remove conditional code.
41989 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41990 <kernel-features.h>.
41991 [__ASSUME_32BITUIDS]: Make code unconditional.
41992 [!__ASSUME_32BITUIDS]: Remove conditional code.
41993 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41994 <kernel-features.h>.
41995 [__ASSUME_32BITUIDS]: Make code unconditional.
41996 [!__ASSUME_32BITUIDS]: Remove conditional code.
41997 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41998 <kernel-features.h>.
41999 [__ASSUME_32BITUIDS]: Make code unconditional.
42000 [!__ASSUME_32BITUIDS]: Remove conditional code.
42001 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42002 <kernel-features.h>.
42003 [__ASSUME_32BITUIDS]: Make code unconditional.
42004 [!__ASSUME_32BITUIDS]: Remove conditional code.
42005 * sysdeps/unix/sysv/linux/kernel-features.h
42006 (__ASSUME_SETRESUID_SYSCALL): Remove.
42007 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42008 (__ASSUME_32BITUIDS): Likewise.
42009 (__ASSUME_LDT_WORKS): Likewise.
42010 (__ASSUME_O_DIRECTORY): Likewise.
42011 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42012 architecture but not kernel version.
42013 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42014 (__ASSUME_MMAP2_SYSCALL): Likewise.
42015 (__ASSUME_STAT64_SYSCALL): Likewise.
42016 (__ASSUME_IPC64): Likewise.
42017 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42018 <kernel-features.h>.
42019 [__ASSUME_32BITUIDS]: Make code unconditional.
42020 [!__ASSUME_32BITUIDS]: Remove conditional code.
42021 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42022 <kernel-features.h>.
42023 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42024 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42025 132096]: Remove conditional code.
42026 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42027 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42028 <kernel-features.h>.
42029 [__ASSUME_32BITUIDS]: Make code unconditional.
42030 [!__ASSUME_32BITUIDS]: Remove conditional code.
42031 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42032 <kernel-features.h>.
42033 [__ASSUME_32BITUIDS]: Make code unconditional.
42034 [!__ASSUME_32BITUIDS]: Remove conditional code.
42035 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42036 <kernel-features.h>.
42037 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42039 (__setresgid): Do not declare.
42040 [__ASSUME_32BITUIDS]: Make code unconditional.
42041 [!__ASSUME_32BITUIDS]: Remove conditional code.
42042 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42043 <kernel-features.h>.
42044 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42046 (__setresuid): Do not declare.
42047 [__ASSUME_32BITUIDS]: Make code unconditional.
42048 [!__ASSUME_32BITUIDS]: Remove conditional code.
42049 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42050 <kernel-features.h>.
42051 [__ASSUME_32BITUIDS]: Make code unconditional.
42052 [!__ASSUME_32BITUIDS]: Remove conditional code.
42053 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42054 <kernel-features.h>.
42055 [__ASSUME_32BITUIDS]: Make code unconditional.
42056 [!__ASSUME_32BITUIDS]: Remove conditional code.
42058 2012-05-25 Richard Henderson <rth@twiddle.net>
42060 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42061 dl_hwcap to ifunc resolver.
42062 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42064 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42065 dl_hwcap to ifunc resolver.
42066 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42068 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42071 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42072 for |x| <= 2**-26, not 2**-57.
42073 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42076 2012-05-24 Jeff Law <law@redhat.com>
42078 * stdio-common/Makefile (tests): Add bug25.
42079 * stdio-common/bug25.c: New test.
42081 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42084 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42085 multiple of MALLOC_ALIGNMENT in size.
42086 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42088 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42090 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42092 (FILENAME_MAX): Use macro-int-constant.
42093 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42094 (_IOFBF): Use macro-int-constant.
42095 (_IOLBF): Likewise.
42096 (_IONBF): Likewise.
42097 (SEEK_CUR): Likewise.
42098 (SEEK_END): Likewise.
42099 (SEEK_SET): Likewise.
42100 (TMP_MAX): Likewise.
42101 (EOF): Use macro-int-constant. Require < 0.
42102 (NULL): Use macro-constant. Require == 0.
42103 (stdin): Require type to be FILE *.
42104 (stdout): Likewise.
42105 (stderr): Likewise.
42106 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42107 macro-int-constant.
42108 (EXIT_SUCCESS): Likewise.
42109 (NULL): Use macro-constant. Require == 0.
42110 (RAND_MAX): Use macro-int-constant.
42111 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42112 [C99-based standards] (strtof): Require function.
42113 [C99-based standards] (strtold): Likewise.
42114 [C99-based standards] (strtoll): Likewise.
42115 [C99-based standards] (strtoull): Likewise.
42116 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42117 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42118 [ISO || ISO99 || ISO11] (math.h): Likewise.
42119 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42120 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42121 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42123 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42126 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42127 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42128 * intl/dgettext.c (DCGETTEXT): Likewise.
42129 * intl/gettext.c (DCGETTEXT): Likewise.
42130 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42131 * posix/regex_internal.h (gettext): Likewise.
42132 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42133 Remove declaration.
42134 * include/argz.h (__argz_count_internal)
42135 (__argz_stringify_internal): Remove declaration.
42136 (__argz_count, __argz_stringify): Declare hidden proto.
42137 * intl/dcgettext.c: Remove use of INTDEF.
42138 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42139 * string/argz-stringify.c: Likewise.
42140 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42141 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42142 Declare hidden proto.
42143 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42144 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42145 Declare hidden proto.
42146 * include/stdio.h (__asprintf_internal): Don't declare.
42147 (__asprintf): Don't define as macro. Declare hidden proto.
42148 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42149 (__fsetlocking): Declare hidden proto.
42150 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42151 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42153 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42154 (_IO_setlinebuf): Remove use of INTUSE.
42155 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42156 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42157 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42158 Remove declaration.
42159 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42160 (_IO_do_flush): Remove use of INTUSE.
42161 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42162 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42163 (_IO_adjust_column, _IO_least_wmarker)
42164 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42165 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42166 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42167 (_IO_default_doallocate, _IO_wdefault_doallocate)
42168 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42169 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42170 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42171 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42172 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42173 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42174 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42175 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42176 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42177 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42178 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42179 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42180 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42182 (_IO_flush_all_internal, _IO_adjust_column_internal)
42183 (_IO_default_uflow_internal, _IO_default_finish_internal)
42184 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42185 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42186 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42187 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42188 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42189 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42190 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42191 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42192 (_IO_file_close_internal, _IO_file_close_it_internal)
42193 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42194 (_IO_file_init_internal, _IO_file_attach_internal)
42195 (_IO_file_fopen_internal, _IO_file_read_internal)
42196 (_IO_file_sync_internal, _IO_file_seek_internal)
42197 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42198 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42199 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42200 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42201 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42202 (_IO_list_all_internal, _IO_link_in_internal)
42203 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42204 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42205 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42206 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42207 (_IO_do_write_internal, _IO_padn_internal)
42208 (_IO_getline_info_internal, _IO_getline_internal)
42209 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42210 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42211 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42212 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42213 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42214 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42215 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42216 with libc_hidden_ver, remove use of INTUSE.
42217 * libio/genops.c: Likewise.
42218 * libio/freopen.c: Likewise.
42219 * libio/freopen64.c: Likewise.
42220 * libio/iofclose.c: Likewise.
42221 * libio/iofdopen.c: Likewise.
42222 * libio/iofflush.c: Likewise.
42223 * libio/iofflush_u.c: Likewise.
42224 * libio/iofgets.c: Likewise.
42225 * libio/iofgets_u.c: Likewise.
42226 * libio/iofopen.c: Likewise.
42227 * libio/iofopncook.c: Likewise.
42228 * libio/iofread.c: Likewise.
42229 * libio/iofread_u.c: Likewise.
42230 * libio/ioftell.c: Likewise.
42231 * libio/iofwrite.c: Likewise.
42232 * libio/iogetline.c: Likewise.
42233 * libio/iogets.c: Likewise.
42234 * libio/iogetwline.c: Likewise.
42235 * libio/iopadn.c: Likewise.
42236 * libio/iopopen.c: Likewise.
42237 * libio/ioseekoff.c: Likewise.
42238 * libio/ioseekpos.c: Likewise.
42239 * libio/iosetbuffer.c: Likewise.
42240 * libio/iosetvbuf.c: Likewise.
42241 * libio/ioungetc.c: Likewise.
42242 * libio/ioungetwc.c: Likewise.
42243 * libio/iovdprintf.c: Likewise.
42244 * libio/iovsprintf.c: Likewise.
42245 * libio/iovsscanf.c: Likewise.
42246 * libio/memstream.c: Likewise.
42247 * libio/obprintf.c: Likewise.
42248 * libio/oldfileops.c: Likewise.
42249 * libio/oldiofclose.c: Likewise.
42250 * libio/oldiofdopen.c: Likewise.
42251 * libio/oldiofopen.c: Likewise.
42252 * libio/oldiopopen.c: Likewise.
42253 * libio/oldstdfiles.c: Likewise.
42254 * libio/putc.c: Likewise.
42255 * libio/setbuf.c: Likewise.
42256 * libio/setlinebuf.c: Likewise.
42257 * libio/stdfiles.c: Likewise.
42258 * libio/strops.c: Likewise.
42259 * libio/vasprintf.c: Likewise.
42260 * libio/vscanf.c: Likewise.
42261 * libio/vsnprintf.c: Likewise.
42262 * libio/vswprintf.c: Likewise.
42263 * libio/wfiledoalloc.c: Likewise.
42264 * libio/wfileops.c: Likewise.
42265 * libio/wgenops.c: Likewise.
42266 * libio/wmemstream.c: Likewise.
42267 * libio/wstrops.c: Likewise.
42268 * libio/__fpurge.c: Likewise.
42269 * libio/__fsetlocking.c: Likewise.
42270 * assert/assert.c: Likewise.
42271 * debug/fgets_chk.c: Likewise.
42272 * debug/fgets_u_chk.c: Likewise.
42273 * debug/fread_chk.c: Likewise.
42274 * debug/fread_u_chk.c: Likewise.
42275 * debug/gets_chk.c: Likewise.
42276 * debug/obprintf_chk.c: Likewise.
42277 * debug/vasprintf_chk.c: Likewise.
42278 * debug/vdprintf_chk.c: Likewise.
42279 * debug/vsnprintf_chk.c: Likewise.
42280 * debug/vsprintf_chk.c: Likewise.
42281 * malloc/mtrace.c: Likewise.
42282 * misc/error.c: Likewise.
42283 * misc/syslog.c: Likewise.
42284 * stdio-common/asprintf.c: Likewise.
42285 * stdio-common/fxprintf.c: Likewise.
42286 * stdio-common/getw.c: Likewise.
42287 * stdio-common/isoc99_fscanf.c: Likewise.
42288 * stdio-common/isoc99_scanf.c: Likewise.
42289 * stdio-common/isoc99_vfscanf.c: Likewise.
42290 * stdio-common/isoc99_vscanf.c: Likewise.
42291 * stdio-common/isoc99_vsscanf.c: Likewise.
42292 * stdio-common/printf-prs.c: Likewise.
42293 * stdio-common/printf_fp.c: Likewise.
42294 * stdio-common/printf_fphex.c: Likewise.
42295 * stdio-common/printf_size.c: Likewise.
42296 * stdio-common/putw.c: Likewise.
42297 * stdio-common/scanf.c: Likewise.
42298 * stdio-common/sprintf.c: Likewise.
42299 * stdio-common/tmpfile.c: Likewise.
42300 * stdio-common/vfprintf.c: Likewise.
42301 * stdio-common/vfscanf.c: Likewise.
42302 * stdlib/strfmon_l.c: Likewise.
42303 * sunrpc/openchild.c: Likewise.
42304 * sunrpc/xdr_stdio.c: Likewise.
42305 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42306 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42308 2012-05-24 Roland McGrath <roland@hack.frob.com>
42310 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42312 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42313 in the third column, to generate for the shared library an IFUNC
42314 that uses _dl_vdso_vsym.
42315 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42316 * Makeconfig (object-suffixes-noshared): New variable.
42318 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42319 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42320 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42321 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42324 * include/sys/time.h (__gettimeofday): Remove macro.
42325 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42326 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42328 (__gettimeofday): Add libc_hidden_def.
42329 (gettimeofday): Add libc_hidden_weak.
42330 * sysdeps/mach/gettimeofday.c: Likewise.
42331 * sysdeps/posix/gettimeofday.c: Likewise.
42332 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42333 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42335 (__gettimeofday_internal): Remove strong_alias.
42336 (__gettimeofday): Add libc_hidden_def.
42337 (gettimeofday): Add libc_hidden_weak.
42338 * sysdeps/unix/syscalls.list (gettimeofday):
42339 Remove __gettimeofday_internal alias.
42341 2012-05-24 Daniel Jacobowitz <drow@false.org>
42342 H.J. Lu <hongjiu.lu@intel.com>
42345 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42346 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42347 (largebin_index_32_big): New.
42348 (largebin_index): Use it for 16-byte alignment.
42349 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42350 correction with front_misalign.
42352 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42380 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42381 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42383 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42387 * math/libm-test.inc (exp_test): Add test from bug 14036.
42388 (pow_test): Add test from bug 10846.
42390 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42392 (special_function): Do not include flags in test name.
42393 (parse_args): Likewise.
42394 * sysdeps/i386/fpu/libm-test-ulps: Update.
42395 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42396 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42397 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42400 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42402 * math/libm-test.inc ("Philosophy"): Update comment about
42404 (UNDERFLOW_EXCEPTION): New macro.
42405 (UNDERFLOW_EXCEPTION_OK): Likewise.
42406 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42407 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42408 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42409 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42410 (INVALID_EXCEPTION_OK): Update value.
42411 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42412 (OVERFLOW_EXCEPTION_OK): Likewise.
42413 (IGNORE_ZERO_INF_SIGN): Likewise.
42414 (test_exceptions): Handle underflow exceptions.
42415 (acos_test): Update for underflow exception expectations.
42416 (cexp_test): Likewise.
42417 (clog_test): Likewise.
42418 (clog10_test): Likewise.
42419 (csqrt_test): Likewise.
42420 (ctan_test): Likewise.
42421 (ctanh_test): Likewise.
42422 (exp_test): Likewise.
42423 (exp10_test): Likewise.
42424 (exp2_test): Likewise.
42425 (expm1_test): Likewise.
42426 (fma_test): Likewise.
42427 (j0_test): Likewise.
42428 (jn_test): Likewise.
42429 (nexttoward_test): Likewise.
42430 (pow_test): Likewise.
42431 (scalbn_test): Likewise.
42432 (scalbln_test): Likewise.
42433 (tan_test): Likewise.
42434 (y1_test): Likewise.
42435 * sysdeps/i386/fpu/libm-test-ulps: Update.
42436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42438 2012-05-23 David S. Miller <davem@davemloft.net>
42440 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42441 (__libc_sigaction): Remove unused local variables.
42443 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42445 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42447 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42449 mktime: avoid signed integer overflow
42450 * time/mktime.c (__mktime_internal): Do not mishandle the case
42451 where diff == INT_MIN.
42453 mktime: simplify computation of average
42454 * time/mktime.c (ranged_convert): Use new time_t_avg function
42455 instead of rolling our own (probably-slower) code.
42457 mktime: do not assume signed right shift propagates sign bit
42458 * time/mktime.c (isdst_differ): New static function.
42459 (__mktime_internal): No need to normalize tm_isdst now.
42460 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42463 mktime: merge another wrapv change from gnulib
42464 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42465 from some compilers.
42467 mktime: remove incorrect attempt at unusual arithmetics
42468 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42469 The code didn't really work on such machines anyway.
42470 (TYPE_MINIMUM): Assume two's complement.
42471 (twos_complement_arithmetic): Verify that long_int and time_t
42472 are two's complement (or unsigned, in the latter case).
42474 mktime: check signed shifts on long_int and time_t, too
42475 * time/mktime.c (SHR): Check that shifts work as desired
42476 on the types long_int and time_t too, as SHR is used on
42479 mktime: do not assume 'long' is wide enough
42480 * time/mktime.c (verify): Move decl up.
42481 (long_int): New type.
42482 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42483 to remove assumption in the code that 'long' is wide enough to
42484 store year values. This assumption is not true on x32 and on
42485 some non-glibc platforms.
42487 mktime: merge wrapv change from gnulib
42488 * time/mktime.c (WRAPV): New macro.
42489 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42490 (guess_time_tm, __mktime_internal): Do not assume that signed
42491 integer overflow wraps around; modern compilers generate code
42492 where this assumption is no longer valid.
42494 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42496 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42497 Replace "jmp L(pseudo_end)" with "ret".
42498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42501 2012-05-23 Andreas Jaeger <aj@suse.de>
42503 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42504 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42506 2012-05-23 Andreas Jaeger <aj@suse.de>
42507 Maximilian Attems <max@stro.at>
42509 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42512 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42514 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42515 code so that pseudo_end is just ret and the stack pointer is
42516 correct also for static library in error case.
42518 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42520 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42521 move to syscalls.list.
42522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42527 * manual/install.texi (Running make install): Do not mention Linux
42528 kernel version for which pt_chown is not needed.
42529 (Linux): Do not mention problems with nscd with 2.0 kernels.
42530 * INSTALL: Regenerated.
42532 2012-05-23 Andreas Jaeger <aj@suse.de>
42534 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42535 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42537 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42538 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42539 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42540 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42541 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42542 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42543 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42544 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42545 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42546 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42547 * sysdeps/unix/sysv/linux/bits/in.h
42548 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42550 2012-05-22 Roland McGrath <roland@hack.frob.com>
42552 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42553 (PREPARE_VERSION): Just use assert instead, it will be elided
42554 under [NDEBUG] anyway.
42556 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42558 * sysdeps/unix/sysv/linux/Makefile: Include
42559 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42560 (sysdep_routines): Remove sysctl.
42561 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42562 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42563 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42564 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42565 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42567 2012-05-22 Andreas Jaeger <aj@suse.de>
42569 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42570 that pseudo_end is just ret and the stack pointer is correct also
42571 for static library in error case.
42573 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42576 * nss/nsswitch.c (defconfig_entries): New variable.
42577 (__nss_database_lookup): Don't leak defconfig entries.
42578 (nss_parse_service_list): Don't leak on error paths.
42579 (free_database_entries): New function.
42580 (free_defconfig): New function.
42581 (free_mem): Move common code to free_database_entries.
42583 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42585 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42587 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42589 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42590 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42593 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42594 (INTERNAL_SYSCALL_TYPES): Likewise.
42595 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42596 (LOAD_REGS_TYPES_[1-6]): Likewise.
42597 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42598 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42600 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42603 copysignl for GLIBC_2_0.
42604 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42605 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42607 logbl for GLIBC_2_0.
42608 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42609 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42611 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42613 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42614 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42616 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42619 * time/mktime.c: Update copyright years.
42621 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42623 mktime: merge comment-quoting-style change from gnulib
42624 * time/mktime.c: Quote 'like this' in comments.
42625 The GNU coding standards suggest that we no longer quote `like this',
42626 as "`" and "'" are typically rendered asymmetrically nowadays.
42627 The typical gnulib style is to quote 'like this' when quoting
42628 code, and "like this" when quoting English.
42630 * time/mktime.c (compile-command): Add "-I.".
42632 mktime: merge mktime-internal.h change from gnulib
42633 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42635 mktime: merge time_r change from gnulib
42636 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42638 mktime: merge DEBUG change from gnulib
42639 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42640 case system <time.h> has a #define.
42642 mktime: merge <sys/types.h> change from gnulib
42643 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42644 since <time.t> is now guaranteed to define time_t.
42646 mktime: merge HAVE_CONFIG_H change from gnulib
42647 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42649 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42654 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42656 (struct rusage): Use anonymous union to pad each field to
42659 2012-05-21 David S. Miller <davem@davemloft.net>
42661 * Makefules (o-iterator): Remove .s cases.
42662 (compile-command.s): Delete.
42663 (COMPILE.s): Delete.
42664 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42666 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42668 * configure.in (libc_cv_predef_stack_protector): Only consider
42669 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42670 * configure: Regenerated.
42672 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42675 New macro. Use R*LP on int and pointer.
42676 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42677 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42678 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42679 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42681 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42682 [__WORDSIZE_TIME64_COMPAT32] instead of
42683 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42684 (struct utmp): Likewise.
42685 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42686 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42688 (__WORDSIZE_TIME64_COMPAT32): This.
42689 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42690 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42691 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42692 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42693 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42694 (__WORDSIZE_TIME64_COMPAT32): New macro.
42696 2012-05-21 Andreas Jaeger <aj@suse.de>
42698 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42699 only if [SHARED]. Add prototype for __wcschr_ia32.
42701 2012-05-21 Roland McGrath <roland@hack.frob.com>
42703 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42704 of %rbp unmolested in the jmp_buf while mangling the low bits.
42705 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42706 unmolested high bits of %rbp while demangling the low bits.
42707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42709 2012-05-21 Andreas Jaeger <aj@suse.de>
42711 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42712 * sunrpc/svc_simple.c: Use it for registerrpc.
42713 * sunrpc/xcrypt.c: Use it for passwd2des.
42715 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42717 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42719 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42720 Don't define if [__SYSCALL_WORDSIZE != 32].
42721 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42724 2012-05-21 Bruno Haible <bruno@clisp.org>
42725 Andreas Jaeger <aj@suse.de>
42727 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42728 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42729 inptr and inend for must_buffer_ch.
42730 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42731 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42732 * stdio-common/Makefile (tests): Remove bug15.
42733 (bug15-ENV): Remove macro.
42734 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42737 2012-05-19 Andreas Jaeger <aj@suse.de>
42738 Roland McGrath <roland@hack.frob.com>
42740 * manual/contrib.texi: Completely rewritten. It contains now an
42741 alphabetical list of contributors and their contributions.
42743 2012-05-21 Richard Henderson <rth@twiddle.net>
42745 * misc/getauxval.c (__getauxval): Use unsigned long int.
42746 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42747 (getauxval): Use unsigned long int.
42749 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42751 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42753 2012-05-21 Roland McGrath <roland@hack.frob.com>
42755 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42756 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42757 __alignof__ (long double).
42759 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42763 2012-05-20 Richard Henderson <rth@twiddle.net>
42765 * misc/getauxval.c: New file.
42766 * misc/sys/auxv.h: New file.
42767 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42768 (routines): Add getauxval.
42769 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42770 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42771 * elf/dl-sysdep.c (_dl_auxv): Remove.
42772 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42773 * elf/dl-support.c (_dl_auxv): New variable.
42774 (_dl_aux_init): Initialize it.
42775 * manual/startup.texi (Auxiliary Vector): New node.
42776 * sysdeps/generic/bits/hwcap.h: New file.
42777 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42778 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42779 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42780 * sysdeps/sparc/sysdep.h: ... here. Include it.
42781 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42782 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42794 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42798 2012-05-19 David S. Miller <davem@davemloft.net>
42800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42802 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42805 * math/s_ccosh.c: Include <float.h>
42806 (__ccosh): Avoid internal overflow calculating sinh and cosh
42807 values before multiplying by sin and cos values.
42808 * math/s_ccoshf.c: Likewise.
42809 * math/s_ccoshl.c: Likewise.
42810 * math/s_csin.c: Likewise.
42811 * math/s_csinf.c: Likewise.
42812 * math/s_csinl.c: Likewise.
42813 * math/s_csinh.c: Likewise.
42814 * math/s_csinhf.c: Likewise.
42815 * math/s_csinhl.c: Likewise.
42816 * math/libm-test.inc (ccos_test): Add more tests.
42817 (ccosh_test): Likewise.
42818 (csin_test): Likewise.
42819 (csinh_test): Likewise.
42820 * sysdeps/i386/fpu/libm-test-ulps: Update.
42821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42823 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42825 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42826 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42828 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42830 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42832 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42833 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42834 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42835 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42836 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42837 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42838 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42839 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42840 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42841 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42842 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42843 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42844 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42845 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42846 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42847 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42848 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42849 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42850 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42851 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42852 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42853 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42854 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42855 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42856 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42857 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42858 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42859 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42860 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42861 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42862 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42864 2012-05-18 Andreas Jaeger <aj@suse.de>
42866 * csu/.gitignore: Delete.
42868 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42870 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42871 (timex): Use __syscall_slong_t.
42873 2012-05-18 Andreas Jaeger <aj@suse.de>
42874 Carlos O'Donell <carlos_odonell@mentor.com>
42876 * manual/install.texi (Configuring and compiling): Update
42877 description about files modified in the source directory.
42878 * INSTALL: Regenerated.
42880 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42882 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42883 value. Use "or" to set return value to -1.
42884 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42885 negate return value.
42887 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42889 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42890 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42891 failure if the compiler has Graphite support disabled.
42892 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42894 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42895 (CFLAGS-memmove.c): Likewise.
42896 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42899 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42901 * sysdeps/x86_64/x32/_itoa.h: New file.
42903 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42904 getdents system call only if kernel and user dirents have the
42905 same d_ino and d_off.
42907 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42908 LLONG_MAX != LONG_MAX.
42909 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42910 (_fitoa_word): Likewise.
42912 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42914 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42915 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42916 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42918 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42919 include <bits/wordsize.h>. Check __x86_64__ instead of
42921 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42922 if __x86_64__ is defined. Use anonymous union on fpstate.
42924 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42927 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42929 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42930 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42931 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42932 Refer to _rtld_local_ro instead of _rtld_global_ro.
42933 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42935 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42937 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42939 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42940 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42941 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42943 * sysdeps/powerpc/powerpc32/dl-machine.c
42944 (__elf_machine_runtime_setup) [PROF]: Don't reference
42947 2012-05-18 Andreas Jaeger <aj@suse.de>
42949 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42950 function only available for GCCs before 3.4 since GCC 3.4
42951 introduced a builtin.
42953 (llrintf): Likewise.
42954 (llrint): Likewise.
42961 (nearbyint): Likewise.
42962 (nearbyintf): Likewise.
42966 (floorf): Likewise.
42968 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42970 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42971 on both fields and cast pointer to __syscall_ulong_t.
42973 * bits/types.h (__fsword_t): New type.
42974 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42975 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42977 (__FSWORD_T_TYPE): Likewise.
42978 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42979 (__FSWORD_T_TYPE): Likewise.
42980 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42981 (__FSWORD_T_TYPE): Likewise.
42982 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42983 (__FSWORD_T_TYPE): Likewise.
42984 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42985 __SWORD_TYPE with __fsword_t.
42986 (statfs64): Likewise.
42988 2012-05-17 David S. Miller <davem@davemloft.net>
42990 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42992 2012-05-17 Andreas Jaeger <aj@suse.de>
42994 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42997 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42999 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43001 2012-05-17 Andreas Jaeger <aj@suse.de>
43003 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43006 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43008 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43010 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43012 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43013 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43015 2012-05-17 Andreas Jaeger <aj@suse.de>
43016 Carlos O'Donell <carlos_odonell@mentor.com>
43019 * sysdeps/x86_64/multiarch/init-arch.h
43020 (bit_YMM_Usable): Rename to...
43021 (bit_AVX_Usable): ... this.
43022 (bit_FMA4_Usable): New macro.
43023 (bit_XMM_state): New macro.
43024 (bit_YMM_state): New macro.
43025 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43026 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43027 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43028 (CPUID_OSXSAVE): New macro.
43029 (CPUID_AVX): New macro.
43030 (CPUID_FMA4): New macro.
43031 (index_YMM_Usable): Rename to...
43032 (index_AVX_Usable): ... this.
43033 (HAS_AVX): Use HAS_ARCH_FEATURE.
43034 (HAS_FMA4): Likewise.
43035 (HAS_YMM_USABLE): Remove.
43036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43037 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43039 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43040 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43041 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43042 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43043 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43045 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43047 * math/libm-test.c: Support platforms without multiple rounding modes.
43048 * math/bug-nextafter.c: Support platforms without FP exceptions.
43049 * math/bug-nexttoward.c: Likewise.
43050 * math/test-fenv.c: Likewise.
43051 * math/test-misc.c: Likewise.
43052 * stdlib/bug-getcontext.c: Likewise.
43054 2012-05-17 Andreas Jaeger <aj@suse.de>
43056 * manual/examples/search.c (critter_cmp): Change signature to
43058 * manual/string.texi (Collation Functions): Likewise.
43060 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43062 * bits/types.h: Fold copyright years.
43063 * bits/typesizes.h: Likewise.
43064 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43067 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43068 * time/time.h: Likewise.
43070 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43073 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43074 in instead of returning them. Return void.
43075 (__libc_mallinfo): Accumulate over all arenas.
43076 (__malloc_stats): Adjust for change in int_mallinfo interface.
43078 2012-05-16 Roland McGrath <roland@hack.frob.com>
43081 * configure.in (NM): Add AC_CHECK_TOOL for it.
43082 (libc_extra_cflags): New substituted variable.
43083 Check for -fstack-protector being used implicitly.
43084 * configure: Regenerated.
43085 * config.make.in (config-extra-cflags): New variable,
43086 gets @libc_extra_cflags@.
43087 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43090 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43091 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43092 * configure: Regenerated.
43093 * config.make.in (CPPUNDEFS): New substituted variable.
43094 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43095 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43096 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43098 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43100 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43101 (mq_attr): Use __syscall_slong_t.
43103 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43105 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43106 Check __x86_64__ instead of __WORDSIZE.
43107 (_STAT_VER_LINUX): Likewise.
43108 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43109 __syscall_ulong_t and __syscall_slong_t.
43110 (stat64): Likewise.
43112 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43114 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43116 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43118 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43122 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43125 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43126 include <bits/wordsize.h>. Check __x86_64__ instead of
43128 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43130 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43132 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43133 include <bits/wordsize.h>. Check __x86_64__ instead of
43135 (user_regs_struct): Use "__extension__ unsigned long long"
43136 instead of "unsigned long" if __x86_64__ is defined.
43137 (user): Likewise. Pad after pointer field if __ILP32__ is
43140 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43142 * configure.in (makeinfo): Require version 4.5 or later. Allow
43144 * configure: Regenerated.
43145 * manual/install.texi (texinfo): Increase version requirement to
43147 * INSTALL: Regenerated.
43149 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43151 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43153 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43155 * sysdeps/x86_64/x32/ffs.c: New file.
43157 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43159 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43160 defined. Use __syscall_ulong_t.
43161 (shminfo): Use __syscall_ulong_t.
43162 (shm_info): Likewise.
43164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43167 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43169 (msgqnum_t): Use __syscall_ulong_t.
43170 (msglen_t): Likewise.
43171 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43174 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43175 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43177 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43179 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43180 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43182 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43185 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43186 include <bits/wordsize.h>. Check __x86_64__ instead of
43189 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43190 "unsigned long long int" if __x86_64__ is defined.
43191 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43193 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43194 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43195 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43197 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43199 (GET_PC): Cast to uintptr_t first.
43200 (GET_FRAME): Likewise.
43201 (GET_STACK): Likewise.
43203 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43204 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43205 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43206 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43207 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43208 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43209 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43210 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43211 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43212 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43213 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43214 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43215 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43216 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43217 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43218 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43219 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43220 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43221 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43222 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43223 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43228 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43229 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43230 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43231 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43233 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43235 * Makerules (+depfiles): Also collect depfiles from .oS in
43237 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43238 .oS, $(libnldbl-routines)).
43240 * Makerules (native-compile-mkdep-flags): Define.
43241 * sunrpc/Makefile (extra-objs): Add $(addprefix
43242 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43243 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43244 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43245 calling $(make-target-directory).
43247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43249 * bits/types.h (__snseconds_t): Removed.
43250 * time/time.h (struct timespec): Replace __snseconds_t with
43252 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43253 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43256 (__SNSECONDS_T_TYPE): Likewise.
43257 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43258 (__SNSECONDS_T_TYPE): Likewise.
43259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43260 (__SNSECONDS_T_TYPE): Likewise.
43262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43264 * sysdeps/mach/hurd/bits/typesizes.h
43265 (__SYSCALL_SLONG_TYPE): New macro.
43266 (__SYSCALL_ULONG_TYPE): Likewise.
43268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43270 * bits/types.h (__syscall_slong_t): New type.
43271 (__syscall_ulong_t): Likewise.
43273 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43274 (__SYSCALL_ULONG_TYPE): Likewise.
43275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43276 (__SYSCALL_SLONG_TYPE): Likewise.
43277 (__SYSCALL_ULONG_TYPE): Likewise.
43278 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43279 (__SYSCALL_SLONG_TYPE): Likewise.
43280 (__SYSCALL_ULONG_TYPE): Likewise.
43281 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43282 (__SYSCALL_SLONG_TYPE): Likewise.
43283 (__SYSCALL_ULONG_TYPE): Likewise.
43285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43287 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43288 Add sigaltstack-offsets.sym.
43289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43290 <sigaltstack-offsets.h>.
43291 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43292 longjmp_msg pointer.
43293 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43294 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43296 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43298 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43300 * elf/stackguard-macros.h: Remove file.
43301 * sysdeps/generic/stackguard-macros.h: New file.
43302 * sysdeps/i386/stackguard-macros.h: Likewise.
43303 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43304 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43305 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43306 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43307 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43308 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43309 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43310 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43311 <elf/stackguard-macros.h>.
43314 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43315 __aligned__ in attribute.
43316 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43317 (gregset_t): Likewise.
43319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43321 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43322 * sysdeps/x86_64/64/Implies-after: Here. New file.
43323 * sysdeps/x86_64/x32/Implies-after: New file.
43325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43327 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43328 and access return value for _dl_profile_fixup. Use R10_LP to
43331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43333 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43337 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43338 * sysdeps/x86_64/x32/sysdep.h: New file.
43340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43342 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43343 * sysdeps/x86_64/setjmp.S: Likewise.
43345 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43348 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43349 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43350 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43351 remove unused global constant.
43353 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43355 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43356 include of <not-cancel.h>.
43358 2012-05-15 Roland McGrath <roland@hack.frob.com>
43360 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43362 2012-05-15 Jeff Law <law@redhat.com>
43363 Andreas Jaeger <aj@suse.de>
43366 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43368 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43369 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43370 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43371 code changing __hst_map_handle.map.
43373 2012-05-15 Roland McGrath <roland@hack.frob.com>
43375 * configure.in (sysnames): Look for Implies-before and Implies-after
43377 * configure: Regenerated.
43379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43381 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43382 8-byte data alignment with LP_SIZE alignment.
43384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43386 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43391 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43395 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43396 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43397 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43399 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43403 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43404 (stackinfo_sub_sp): Likewise.
43406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43408 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43413 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43423 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43427 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43428 into R11_LP and load __x86_64_shared_cache_size_half into
43431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43433 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43436 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43445 powerpc32/power7/fpu/s_logb.c via #include.
43446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43447 powerpc32/power7/fpu/s_logbf.c via #include.
43448 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43449 powerpc32/power7/fpu/s_logbl.c via #include.
43451 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43453 * README.libm: Remove file.
43455 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43457 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43458 count for x32. Use R*_LP and omit operand-size suffix.
43460 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43462 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43463 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43464 * sysdeps/x86_64/x32/shlib-versions: New file.
43466 2012-05-14 Roland McGrath <roland@hack.frob.com>
43468 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43469 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43470 Use _dl_fatal_printf instead.
43472 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43474 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43475 set if not set by the user. Do not allow for being unset.
43476 * sysdeps/unix/sysv/linux/configure: Regenerated.
43478 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43480 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43481 the `q' suffix from lea and replace .quad with ASM_ADDR.
43483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43486 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43488 (PTR_DEMANGLE): Likewise.
43490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43492 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43494 (ASM_ADDR): Likewise.
43495 (RAX_LP): Likewise.
43496 (RBP_LP): Likewise.
43497 (RBX_LP): Likewise.
43498 (RCX_LP): Likewise.
43499 (RDI_LP): Likewise.
43500 (RSI_LP): Likewise.
43501 (RSP_LP): Likewise.
43504 (R10_LP): Likewise.
43505 (R10_LP): Likewise.
43506 (R11_LP): Likewise.
43507 (R12_LP): Likewise.
43508 (R13_LP): Likewise.
43509 (R14_LP): Likewise.
43510 (R15_LP): Likewise.
43512 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43514 * sysdeps/x86_64/x32/dl-machine.h: New file.
43516 2012-05-14 Andreas Jaeger <aj@suse.de>
43518 * manual/Makefile (subdir): Remove export of subdir.
43519 (all): Remove target.
43520 (.PHONY): Remove all from list.
43521 (mkinstalldirs): Remove.
43522 (.PHONY): Remove installdirs from list.
43523 ($(inst_infodir)/libc.info): Use make-target-directory.
43524 (installdirs): Remove.
43525 (subdir_%): Remove.
43526 (glibc-targets): Remove.
43529 ($(objpfx)stubs ../po/manual.pot): Remove.
43530 ($(objpfx)stamp%): Remove.
43531 (make-target-directory): Remove.
43532 (subdir_install): Remove.
43533 (routines): Remove.
43540 * manual/.gitignore: Remove, it's not needed anymore.
43541 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43543 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43545 (texis): Renamed to $(objpfx)texis.
43546 (texis-path): New, contains path to generated files.
43547 (chapters.%): Use texis-path for complete path, add extra argument
43549 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43550 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43551 (summary,texi, stamp-summary): Use complete path of
43552 files. Generate files in build dir.
43553 (dir-add.texi): Build in build dir.
43554 (libm-err.texi,stamp-libm-err): Likewise.
43555 (version.texi, stamp-version): Likewise.
43556 (.%c.texi): Likewise.
43557 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43558 (mostlyclean): Remove target.
43559 (realclean): Remove target.
43560 (generated): Add new variable with contents from mostlyclean and
43561 realclean, remove entries duplicated in common-mostlyclean, add
43562 stamp-libm-err and stamp-version.
43563 (generated-dirs): Add libc directory.
43564 ($(inst_infodir)/libc.info): Install files from build dir.
43566 * manual/install.texi (Configuring and compiling): Adjust since
43567 the info files are not part of the tar ball anymore.
43569 2012-05-14 Andreas Jaeger <aj@suse.de>
43571 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43574 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43577 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43578 to 2.2.0 where earlier.
43579 * sysdeps/unix/sysv/linux/configure: Regenerated.
43580 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43581 Remove conditional code.
43582 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43583 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43584 Remove conditional code.
43585 [!__NR_lchown]: Likewise.
43586 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43587 [__NR_lchown]: Likewise.
43588 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43589 comment referencing __ASSUME_LCHOWN_SYSCALL.
43590 * sysdeps/unix/sysv/linux/i386/sigaction.c
43591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43593 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43594 Remove conditional code.
43595 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43596 (__protocol_available): Remove #if 0 code.
43597 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43599 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43600 * sysdeps/unix/sysv/linux/kernel-features.h
43601 (__ASSUME_GETCWD_SYSCALL): Don't define.
43602 (__ASSUME_REALTIME_SIGNALS): Likewise.
43603 (__ASSUME_PREAD_SYSCALL): Likewise.
43604 (__ASSUME_PWRITE_SYSCALL): Likewise.
43605 (__ASSUME_POLL_SYSCALL): Likewise.
43606 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43607 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43609 (__ASSUME_SIOCGIFNAME): Don't define.
43610 (__ASSUME_MSG_NOSIGNAL): Likewise.
43611 (__ASSUME_SENDFILE): Define unconditionally.
43612 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43613 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43615 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43616 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43617 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43618 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43619 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43620 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43621 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43623 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43626 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43627 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43629 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43632 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43638 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43646 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43647 Remove conditional code.
43648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43649 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43650 Remove conditional code.
43651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43652 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43653 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43654 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43655 Remove conditional code.
43656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43657 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43658 Remove conditional code.
43659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43660 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43661 Remove conditional code.
43662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43663 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43664 Remove conditional code.
43665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43666 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43667 Remove conditional code.
43668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43669 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43670 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43672 * sysdeps/unix/sysv/linux/sigaction.c
43673 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43674 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43675 * sysdeps/unix/sysv/linux/sigpending.c
43676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43678 * sysdeps/unix/sysv/linux/sigprocmask.c
43679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43681 * sysdeps/unix/sysv/linux/sigsuspend.c
43682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43684 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43685 (__libc_missing_rt_sigs): Remove.
43686 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43687 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43688 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43689 Remove conditional code.
43690 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43691 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43693 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43694 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43695 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43696 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43698 2012-05-14 Andreas Jaeger <aj@suse.de>
43700 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43701 it's not used in glibc.
43702 (__coshm1): Likewise.
43703 (__acosh1p): Likewise.
43706 * manual/string.texi (Copying and Concatenation): Add missing
43707 variable in concat example.
43708 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43710 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43714 __builtin_clzl with __builtin_clzll.
43716 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43719 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43722 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43724 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43725 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43726 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43727 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43729 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43731 * NEWS: Update ia64 info.
43733 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43735 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43738 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43740 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43741 * sysdeps/unix/syscalls.list (dup3): Likewise.
43742 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43743 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43745 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43747 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43748 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43750 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43752 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43754 (TLS_IE): Use mov/add instead of movq/addq to load thread
43756 (TLS_GD_PREFIX): New.
43759 2012-05-11 David S. Miller <davem@davemloft.net>
43761 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43762 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43763 (_FPU_SETCW): Likewise.
43765 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43767 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43768 is 32-byte aligned.
43770 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43773 * iconvdata/gb18030.c: Update tables.
43774 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43775 characters specially.
43776 (BODY for TO_LOOP): Add encoding of missing ranges.
43778 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43781 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43782 * sysdeps/mach/hurd/dup3.c: Likewise.
43783 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43784 * sysdeps/powerpc/memmove.c:: Likewise.
43786 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43789 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43791 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43793 * elf/elf.h (R_X86_64_RELATIVE64): New.
43794 (R_X86_64_NUM): Updated.
43795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43796 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43797 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43798 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43799 tst-quad1pie tst-quad2pie
43800 (modules-names): Add tst-quadmod1 tst-quadmod2.
43801 ($(objpfx)tst-quad1): New dependency.
43802 ($(objpfx)tst-quad2): Likewise.
43803 ($(objpfx)tst-quad1pie): Likewise.
43804 ($(objpfx)tst-quad2pie): Likewise.
43805 * sysdeps/x86_64/tst-quad1.c: New file.
43806 * sysdeps/x86_64/tst-quad1pie.c: New file.
43807 * sysdeps/x86_64/tst-quad2.c: Likewise.
43808 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43809 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43810 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43811 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43812 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43814 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43816 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43817 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43818 * streams/stropts.h (t_scalar_t): Define type.
43820 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43821 (_PATH_PRESERVE): Set to "/var/lib".
43822 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43824 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43827 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43828 if __dir_mkfile succeeded.
43830 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43831 checking for _hurd_dtablesize. Unlock it right after having
43832 finished _hurd_dtable allocation.
43834 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43836 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43837 * sysdeps/mach/hurd/configure: Regenerated.
43838 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43839 special-casing to...
43840 * sysdeps/gnu/configure.in: ... this new file.
43841 * sysdeps/unix/sysv/linux/configure: Regenerated.
43842 * sysdeps/gnu/configure: New generated file.
43844 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43845 for Linux: use nsec instead of usec, as well as:
43846 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43847 members of type struct timespec.
43848 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43850 (struct stat64): Likewise.
43851 (_STATBUF_ST_NSEC): New macro.
43852 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43854 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43855 __strtoul_internal rather than strtoul.
43857 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43859 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43862 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43864 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43865 which preserves existing values.
43866 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43868 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43870 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43871 TIMEOUT values. Return EINVAL for NFDS values either negative or
43872 greater than FD_SETSIZE.
43874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43876 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43877 allocated, call __vm_protect to finish enabling the existing space, and
43878 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43879 allocate the remainder.
43881 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43883 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43884 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43886 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43888 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43889 sysdeps/mach/hurd/readlink.c.
43891 * posix/tst-sysconf.c (posix_options): Only use
43892 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43893 _POSIX_SYNCHRONIZED_IO when they are defined
43894 * sysdeps/mach/hurd/bits/posix_opt.h:
43895 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43896 (_XOPEN_REALTIME): Undefine macro.
43897 (_XOPEN_REALTIME_THREADS): Undefine macro.
43898 (_XOPEN_SHM): Undefine macro.
43899 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43901 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43903 (_POSIX_ASYNC_IO): Undefine macro.
43904 (_POSIX_PRIORITIZED_IO): Undefine macro.
43905 (_POSIX_SPIN_LOCKS): Define macro to -1.
43907 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43908 SA_NODEFER, SA_RESETHAND.
43909 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43910 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43915 * elf/Makefile (pldd-modules): Define unconditionally.
43917 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43919 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43923 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43924 Return ENOENT when name is empty.
43925 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43927 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43929 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43931 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43935 Fix mlock in all cases except non-readable pages.
43936 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43937 instead of VM_PROT_ALL as parameter to __vm_wire function.
43939 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43940 (__mkdir): When path is `/', just fail with EEXIST.
43941 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43945 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43946 <sys/uio.h> (for writev).
43947 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43948 and <sys/param.h> (for MIN).
43950 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43952 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43953 REQUESTED_TIME. Properly set the remaining time and return EINTR
43956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43958 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43959 Depend on against $(link-rpcuserlibs).
43961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43963 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43964 (__libc_stack_end): Do not use attribute_relro.
43965 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43966 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43967 to libthread-provided value.
43968 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43974 * bits/libc-lock.h (__libc_once_get): New macro.
43975 * sysdeps/mach/bits/libc-lock.h: Likewise.
43976 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43977 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43978 instead of using implementation details.
43980 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43981 * libio/freopen.c: Likewise.
43982 * libio/freopen64.c: Likewise.
43983 * misc/syslog.c: Likewise.
43984 * nscd/connections.c: Likewise.
43985 * nscd/netgroupcache.c: Likewise.
43986 * sysdeps/posix/getcwd.c: Likewise.
43988 2012-05-10 Roland McGrath <roland@hack.frob.com>
43990 * math/w_ilogbf.c: Add #include <limits.h>.
43992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43994 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43995 path instead of returning without unlocking.
43997 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43998 immediate-write ioctls.
43999 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44001 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44003 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44004 __builtin_frame_address instead of making assumptions about the
44005 location of the return address relative to DATA. Force early load of
44006 the return address.
44007 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44008 __builtin_frame_address.
44011 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44012 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44013 implement dup3 and do some further code clean-ups.
44014 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44015 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44017 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44019 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44021 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44022 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44023 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44024 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44025 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44028 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44029 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44030 when handler == SIG_ERR, not when handler != SIG_ERR.
44032 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44034 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44035 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44038 accept4 for GNU Hurd.
44039 * include/sys/socket.h (__libc_accept4): New prototype.
44040 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44041 to implement __libc_accept4.
44042 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44044 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44046 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44047 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44048 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44049 signal-defines.sym.
44051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44053 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44057 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44058 assertion on O_CLOEXEC flag.
44059 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44060 * hurd/intern-fd.c: Likewise.
44061 * hurd/port2fd.c: Likewise.
44063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44066 * bits/in.h (IPV6_PKTINFO): Define new macro.
44067 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44069 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44074 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44075 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44076 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44077 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44079 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44080 * math/libm-test.inc (logb_test) : Additional logb tests.
44082 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44083 Andreas Jaeger <aj@suse.de>
44085 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44086 * configure: Regenerated.
44087 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44088 * config.make.in (link-obsolete-rpc): New substituted variable.
44089 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44090 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44091 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44092 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44093 so that libc.a contains the symbols.
44094 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44095 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44096 * sunrpc/auth_none.c: Likewise.
44097 * sunrpc/auth_unix.c: Likewise.
44098 * sunrpc/authdes_prot.c: Likewise.
44099 * sunrpc/authuxprot.c: Likewise.
44100 * sunrpc/clnt_gen.c: Likewise.
44101 * sunrpc/clnt_perr.c: Likewise.
44102 * sunrpc/clnt_raw.c: Likewise.
44103 * sunrpc/clnt_simp.c: Likewise.
44104 * sunrpc/clnt_tcp.c: Likewise.
44105 * sunrpc/clnt_udp.c: Likewise.
44106 * sunrpc/clnt_unix.c: Likewise.
44107 * sunrpc/des_crypt.c: Likewise.
44108 * sunrpc/des_soft.c: Likewise.
44109 * sunrpc/get_myaddr.c: Likewise.
44110 * sunrpc/key_call.c: Likewise.
44111 * sunrpc/key_prot.c: Likewise.
44112 * sunrpc/netname.c: Likewise.
44113 * sunrpc/pm_getmaps.c: Likewise.
44114 * sunrpc/pm_getport.c: Likewise.
44115 * sunrpc/pmap_clnt.c: Likewise.
44116 * sunrpc/pmap_prot.c: Likewise.
44117 * sunrpc/pmap_prot2.c: Likewise.
44118 * sunrpc/pmap_rmt.c: Likewise.
44119 * sunrpc/publickey.c: Likewise.
44120 * sunrpc/rpc_cmsg.c: Likewise.
44121 * sunrpc/rpc_common.c: Likewise.
44122 * sunrpc/rpc_dtable.c: Likewise.
44123 * sunrpc/rpc_prot.c: Likewise.
44124 * sunrpc/rpc_thread.c: Likewise.
44125 * sunrpc/rtime.c: Likewise.
44126 * sunrpc/svc.c: Likewise.
44127 * sunrpc/svc_auth.c: Likewise.
44128 * sunrpc/svc_raw.c: Likewise.
44129 * sunrpc/svc_run.c: Likewise.
44130 * sunrpc/svc_tcp.c: Likewise.
44131 * sunrpc/svc_udp.c: Likewise.
44132 * sunrpc/svc_unix.c: Likewise.
44133 * sunrpc/svcauth_des.c: Likewise.
44134 * sunrpc/xcrypt.c: Likewise.
44135 * sunrpc/xdr.c: Likewise.
44136 * sunrpc/xdr_array.c: Likewise.
44137 * sunrpc/xdr_float.c: Likewise.
44138 * sunrpc/xdr_intXX_t.c: Likewise.
44139 * sunrpc/xdr_mem.c: Likewise.
44140 * sunrpc/xdr_rec.c: Likewise.
44141 * sunrpc/xdr_ref.c: Likewise.
44142 * sunrpc/xdr_sizeof.c: Likewise.
44143 * sunrpc/xdr_stdio.c: Likewise.
44145 2012-05-10 Roland McGrath <roland@hack.frob.com>
44147 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44148 change. Update copyright years.
44150 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44152 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44154 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44155 Joseph Myers <joseph@codesourcery.com>
44156 Paul Pluzhnikov <ppluzhnikov@google.com>
44159 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44161 [cross-compiling] (extra-libs): Likewise.
44162 [cross-compiling] (extra-libs-others): Likewise.
44163 [cross-compiling] (librpcsvc-routines): Likewise.
44164 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44165 [cross-compiling] (omit-deps): Likewise.
44166 (sunrpc-CPPFLAGS): New variable.
44167 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44168 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44169 (cross-rpcgen-objs): New variable.
44170 (extra-objs): Append $(cross-rpcgen-objs).
44171 ($(cross-rpcgen-objs)): New rule.
44172 ($(objpfx)cross-rpcgen): Likewise.
44173 (rpcgen-cmd): Define to use $(built-program-file). Expand
44175 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44176 ($(objpfx)x%.stmp): Likewise.
44177 * sunrpc/proto.h [IS_IN_build] (_): Define.
44178 [IS_IN_build] (_libc_intl_domainname): Likewise.
44180 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44183 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44184 and R_X86_64_TPOFF64.
44186 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44188 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44189 sysdeps/unix/sysv/syscalls.list.
44192 * sysdeps/unix/sysv/syscalls.list: Remove file.
44194 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44197 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44198 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44199 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44200 (__LC_IDENTIFICATION): Make these macros useful in #if
44201 expressions, as required by C99.
44203 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44205 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44206 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44209 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44211 * stdlib/longlong.h: Updated from GCC.
44213 2012-05-09 Andreas Jaeger <aj@suse.de>
44215 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44216 default is first entry.
44217 (run_mode): Set type.
44218 (main): Remove informal message about syslog.
44219 (options): Fix typo.
44222 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44225 (llrintf): Likewise.
44226 (llrint): Likewise.
44229 (nearbyint): Likewise.
44230 (nearbyintf): Likewise.
44232 2012-05-09 Andreas Jaeger <aj@suse.de>
44233 Pedro Alves <palves@redhat.com>
44235 * nscd/nscd.c (run_mode): Use enum.
44236 (main): Cleanup coding style issue.
44238 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44239 Andreas Jaeger <aj@suse.de>
44241 * nscd/nscd.c (go_background): Replaced with...
44242 (run_mode): ... this.
44243 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44244 (options): Add -F --foreground.
44245 (main): Implement it.
44246 (parse_opt): Parse it.
44248 2012-05-09 Andreas Jaeger <aj@suse.de>
44251 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44252 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44253 -Wconversion warning.
44254 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44257 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44259 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44261 (LC_ALL): Use macro-int-constant.
44262 (LC_COLLATE): Likewise.
44263 (LC_CTYPE): Likewise.
44264 (LC_MESSAGES): Likewise.
44265 (LC_MONETARY): Likewise.
44266 (LC_NUMERIC): Likewise.
44267 (LC_TIME): Likewise.
44268 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44269 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44271 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44273 [C99-based standards] (float_t): Expect type.
44274 [C99-based standards] (double_t): Expect type.
44275 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44277 [C99-based standards] (HUGE_VALL): Likewise.
44278 [C99-based standards] (INFINITY): Likewise.
44279 [C99-based standards] (NAN): Likewise.
44280 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44281 [C99-based standards] (FP_NAN): Likewise.
44282 [C99-based standards] (FP_NORMAL): Likewise.
44283 [C99-based standards] (FP_SUBNORMAL): Likewise.
44284 [C99-based standards] (FP_ZERO): Likewise.
44285 [C99-based standards] (FP_FAST_FMA): Use
44286 optional-macro-int-constant. Specify type. Require == 1.
44287 [C99-based standards] (FP_FAST_FMAF): Likewise.
44288 [C99-based standards] (FP_FAST_FMAL): Likewise.
44289 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44290 [C99-based standards] (FP_ILOGBNAN): Likewise.
44291 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44293 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44294 [C99-based standards] (math_errhandling): Specify type.
44295 [ISO99 || ISO11] (signgam): Do not allow.
44296 [non-C99-based standards] (copysignf): Do not allow.
44297 [non-C99-based standards] (exp2f): Likewise.
44298 [non-C99-based standards] (log2f): Likewise.
44299 [non-C99-based standards] (modff): Allow.
44300 [non-C99-based standards] (erff): Do not allow.
44301 [non-C99-based standards] (erfcf): Likewise.
44302 [non-C99-based standards] (gammaf): Likewise.
44303 [non-C99-based standards] (hypotf): Likewise.
44304 [non-C99-based standards] (j0f): Likewise.
44305 [non-C99-based standards] (j1f): Likewise.
44306 [non-C99-based standards] (jnf): Likewise.
44307 [non-C99-based standards] (lgammaf): Likewise.
44308 [non-C99-based standards] (tgammaf): Likewise.
44309 [non-C99-based standards] (y0f): Likewise.
44310 [non-C99-based standards] (y1f): Likewise.
44311 [non-C99-based standards] (ynf): Likewise.
44312 [non-C99-based standards] (isnanf): Likewise.
44313 [non-C99-based standards] (acoshf): Likewise.
44314 [non-C99-based standards] (asinhf): Likewise.
44315 [non-C99-based standards] (atanhf): Likewise.
44316 [non-C99-based standards] (cbrtf): Likewise.
44317 [non-C99-based standards] (expm1f): Likewise.
44318 [non-C99-based standards] (ilogbf): Likewise.
44319 [non-C99-based standards] (log1pf): Likewise.
44320 [non-C99-based standards] (logbf): Likewise.
44321 [non-C99-based standards] (nextafterf): Likewise.
44322 [non-C99-based standards] (remainderf): Likewise.
44323 [non-C99-based standards] (rintf): Likewise.
44324 [non-C99-based standards] (scalbf): Likewise.
44325 [non-C99-based standards] (copysignl): Likewise.
44326 [non-C99-based standards] (exp2l): Likewise.
44327 [non-C99-based standards] (log2l): Likewise.
44328 [non-C99-based standards] (modfl): Allow.
44329 [non-C99-based standards] (erfl): Do not allow.
44330 [non-C99-based standards] (erfcl): Likewise.
44331 [non-C99-based standards] (gammal): Likewise.
44332 [non-C99-based standards] (hypotl): Likewise.
44333 [non-C99-based standards] (j0l): Likewise.
44334 [non-C99-based standards] (j1l): Likewise.
44335 [non-C99-based standards] (jnl): Likewise.
44336 [non-C99-based standards] (lgammal): Likewise.
44337 [non-C99-based standards] (tgammal): Likewise.
44338 [non-C99-based standards] (y0l): Likewise.
44339 [non-C99-based standards] (y1l): Likewise.
44340 [non-C99-based standards] (ynl): Likewise.
44341 [non-C99-based standards] (isnanl): Likewise.
44342 [non-C99-based standards] (acoshl): Likewise.
44343 [non-C99-based standards] (asinhl): Likewise.
44344 [non-C99-based standards] (atanhl): Likewise.
44345 [non-C99-based standards] (cbrtl): Likewise.
44346 [non-C99-based standards] (expm1l): Likewise.
44347 [non-C99-based standards] (ilogbl): Likewise.
44348 [non-C99-based standards] (log1pl): Likewise.
44349 [non-C99-based standards] (logbl): Likewise.
44350 [non-C99-based standards] (nextafterl): Likewise.
44351 [non-C99-based standards] (remainderl): Likewise.
44352 [non-C99-based standards] (rintl): Likewise.
44353 [non-C99-based standards] (scalbl): Likewise.
44354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44355 [non-C99-based standards] (FP_*): Do not allow.
44356 [C99-based standards] (FP_*): Change to
44357 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44358 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44360 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44361 (SIG_ERR): Likewise.
44362 [X/Open-based standards] (SIG_HOLD): Likewise.
44363 (SIG_IGN): Likewise.
44364 (SIGABRT): Use macro-int-constant. Specify type. Require
44366 (SIGFPE): Likewise.
44367 (SIGILL): Likewise.
44368 (SIGINT): Likewise.
44369 (SIGSEGV): Likewise.
44370 (SIGTER): Likewise.
44371 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44372 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44373 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44374 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44375 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44376 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44377 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44378 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44379 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44380 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44381 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44382 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44383 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44384 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44385 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44386 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44387 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44388 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44389 [X/Open-based standards] (SIGTRAP): Likewise.
44390 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44391 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44392 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44393 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44394 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44397 2012-05-08 Ian Wienand <ianw@vmware.com>
44400 * time/tzset.c (__tzset_parse_tz): Update default rules for
44401 daylight time changes in the Energy Policy Act of 2005.
44403 2012-05-09 Andreas Jaeger <aj@suse.de>
44406 * elf/ldconfig.c (parse_conf): Change string to make clear that
44407 ldconfig only issued a warning if ld.so.conf does not exist.
44409 2012-05-08 David S. Miller <davem@davemloft.net>
44411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44412 movxtod instead of popping the value on the stack.
44414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44416 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44418 * config.h.in: Add HAVE_ARM_PCS_VFP.
44420 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44423 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44424 checking but the checks are disabled for any reason.
44426 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44428 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44429 and ELF64_R_TYPE with ELFW(R_TYPE).
44431 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44433 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44434 (ulimit): Likewise.
44436 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44437 (settimeofday): Likewise.
44439 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44441 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44442 a struct th_u2 inside the union, and move tu_block/tu_code into
44443 a new th_u3 union of tu_block/tu_code inside of that. Move
44444 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44445 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44446 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44447 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44448 (th_stuff): Change to th_u1.tu_stuff.
44450 (th_msg): Change to th_u1.th_u2.tu_data.
44452 2012-05-07 David S. Miller <davem@davemloft.net>
44454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44457 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44458 (SETUP_PIC_REG): Use it.
44459 (SETUP_PIC_REG_LEAF): Use it.
44461 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44465 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44467 (EXPL_FINITE): Likewise.
44468 (FLDLOG): Likewise.
44469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44470 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44472 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44474 (EXPL_FINITE): Likewise.
44475 (FLDLOG): Likewise.
44476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44477 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44479 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44480 test of -max_value argument for long double.
44481 * sysdeps/i386/fpu/libm-test-ulps: Update.
44482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44484 2012-05-06 David S. Miller <davem@davemloft.net>
44486 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44487 quad soft-float symbols whose references which are compiler
44489 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44491 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44495 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44497 (EXPL_FINITE): Likewise.
44498 (FLDLOG): Likewise.
44501 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44502 Adjust comments for base varying.
44503 (__expl_finite): Change alias to EXPL_FINITE.
44504 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44506 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44507 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44508 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44509 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44510 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44512 (EXPL_FINITE): Likewise.
44513 (FLDLOG): Likewise.
44516 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44517 Adjust comments for base varying.
44518 (__expl_finite): Change alias to EXPL_FINITE.
44519 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44524 * math/libm-test.inc (check_float_internal): Correct ulp
44525 calculation for subnormal expected results.
44527 2012-05-06 Andreas Jaeger <aj@suse.de>
44529 * Makeconfig (+math-flags): New, set to -frounding-math.
44530 (+cflags): Add +math-flags so that all of glibc gets compiled with
44533 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44535 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44537 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44543 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44544 (__ieee754_expl): Allow for and saturate large arguments.
44545 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44546 (u_threshold): Likewise.
44547 (__exp): Call __ieee754_exp before checking for overflow and
44549 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44550 (u_threshold): Likewise.
44551 (__expf): Call __ieee754_expf before checking for overflow and
44553 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44554 (u_threshold): Likewise.
44555 (__expl): Call __ieee754_expl before checking for overflow and
44557 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44558 (__ieee754_expl): Allow for and saturate large arguments.
44559 * math/libm-test.inc (exp_test): Add another test. Do not allow
44560 missing overflow exception on overflow.
44561 (expm1_test): Do not allow missing overflow exception on overflow.
44563 * sysdeps/i386/fpu/e_expl.c: Move to ...
44564 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44565 rather than using inline asm.
44566 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44567 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44568 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44570 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44573 (signal): Likewise.
44577 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44579 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44580 sysdeps/unix/common/syscalls.list.
44581 (fchmod): Likewise.
44582 (fchown): Likewise.
44583 (ftruncate): Likewise.
44584 (getrusage): Likewise.
44585 (gettimeofday): Likewise.
44586 (setpgid): Likewise.
44587 (setregid): Likewise.
44588 (setreuid): Likewise.
44589 (sigaction): Likewise.
44590 (truncate): Likewise.
44591 (vhangup): Likewise.
44592 * sysdeps/unix/common/syscalls.list: Remove file.
44593 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44594 * sysdeps/unix/sysv/linux/Implies: Likewise.
44596 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44598 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44600 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44604 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44607 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44610 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44613 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44616 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44619 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44622 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44626 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44630 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44633 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44637 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44641 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44643 * sysdeps/unix/common/bits/dirent.h: Remove file.
44644 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44646 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44647 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44648 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44649 * sysdeps/unix/bsd/isatty.c: Likewise.
44650 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44651 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44652 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44654 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44658 long double comparison inaccuracies.
44659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44662 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44664 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44667 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44671 nonzero digits before rounding a hex value.
44672 * stdlib/tst-strtod.c (tests): Add another test.
44674 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44676 * sysdeps/s390/fpu/libm-test-ulps: Update.
44678 2012-05-03 Andreas Jaeger <aj@suse.de>
44680 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44681 does not get optimized out.
44682 (malloc_opt_barrier): New.
44684 2012-05-03 Andreas Jaeger <aj@suse.de>
44685 Roland McGrath <roland@hack.frob.com>
44687 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44688 intermediate file deletion.
44689 (generated): Add .symlist files.
44691 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44694 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44695 Redirect under this condition.
44696 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44697 [__USE_GNU] (__dprintf_chk): Not under this condition.
44698 [__USE_GNU] (__vdprintf_chk): Likewise.
44699 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44700 under this condition.
44701 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44702 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44703 [__USE_XOPEN2K8] (vdprintf): Likewise.
44704 [__USE_GNU] (__dprintf_chk): Not under this condition.
44705 [__USE_GNU] (__vdprintf_chk): Likewise.
44706 [__USE_GNU] (dprintf): Likewise.
44707 [__USE_GNU] (vdprintf): Likewise.
44709 2012-05-03 Roland McGrath <roland@hack.frob.com>
44711 * elf/Makefile (common-generated): Set this instead of generated for
44712 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44713 $(all-built-dso)-derived lists.
44715 2012-05-03 Andreas Jaeger <aj@suse.de>
44717 * sysdeps/i386/fpu/libm-test-ulps: Update.
44720 * FAQ.in: Likewise.
44721 * scripts/gen-FAQ.pl: Likewise.
44722 * manual/install.texi (Installation): Point to online location of
44724 * Makefile (files-for-dist): Remove FAQ.
44727 2012-05-02 Allan McRae <allan@archlinux.org>
44729 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44730 (LDFLAGS-reldepmod5.so): Likewise.
44731 (LDFLAGS-reldep6mod1.so): Likewise.
44732 (LDFLAGS-reldep6mod4.so): Likewise.
44733 (LDFLAGS-reldep8mod3.so): Likewise.
44734 (LDFLAGS-unload4mod1.so): Likewise.
44735 (LDFLAGS-unload4mod2.so): Likewise.
44736 (LDFLAGS-tst-initorder): Likewise.
44737 (LDFLAGS-tst-initordera2.so): Likewise.
44738 (LDFLAGS-tst-initordera3.so): Likewise.
44739 (LDFLAGS-tst-initordera4.so): Likewise.
44740 (LDFLAGS-tst-initorderb2.so): Likewise.
44741 (LDFLAGS-noload): Likewise.
44742 (LDFLAGS-next): Likewise.
44743 (LDFLAGS-order2mod1.so): Likewise.
44744 (LDFLAGS-order2mod2.so): Likewise.
44745 (LDFLAGS-tst-initorder2): Likewise.
44746 (LDFLAGS-tst-initorder2a.so): Likewise.
44747 (LDFLAGS-tst-initorder2b.so): Likewise.
44748 (LDFLAGS-tst-initorder2c.so): Likewise.
44749 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44751 2012-05-02 David S. Miller <davem@davemloft.net>
44753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44755 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44758 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44760 2012-05-02 Andreas Jaeger <aj@suse.de>
44762 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44763 since we manipulate rounding mode.
44764 (CPPFLAGS-test-idouble.c): Likewise.
44765 (CPPFLAGS-test-ifloat.c): Likewise.
44766 (CFLAGS-test-ldouble.c): Likewise.
44767 (CFLAGS-test-double.c): Likewise.
44768 (CFLAGS-test-float.c): Likewise.
44769 (CFLAGS-test-misc.c): Likewise.
44770 (CFLAGS-test-test-fenv.c): Likewise.
44772 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44777 comparisons to determine direction to adjust input.
44779 2012-05-01 Roland McGrath <roland@hack.frob.com>
44781 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44782 output to the target.
44784 * scripts/localplt.awk: New file.
44785 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44786 (check-localplt-CFLAGS): Variable removed.
44787 ($(all-built-dso:=.jmprel)): New static pattern rule.
44788 (generated): Add those targets.
44789 (localplt-built-dso): New variable.
44790 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44792 * elf/check-localplt.c: File removed.
44794 * scripts/check-execstack.awk: New file.
44795 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44796 (check-execstack-CFLAGS): Variable removed.
44797 ($(objpfx)check-execstack.h): Target removed.
44798 ($(objpfx)execstack-default): New target.
44799 (generated): Add that instead of check-execstack.h.
44800 ($(all-built-dso:=.phdr)): New static pattern rule.
44801 (generated): Add those targets.
44802 * elf/check-execstack.c: File removed.
44804 * scripts/check-textrel.awk: New file.
44805 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44806 (check-textrel-CFLAGS): Variable removed.
44807 (all-built-dso): Use := to define.o
44808 ($(all-built-dso:=.dyn)): New static pattern rule.
44809 (generated): Add those targets.
44810 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44811 * config.make.in (READELF): New substituted variable.
44812 * elf/check-textrel.c: File removed.
44814 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44816 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44818 * conform/data/ctype.h-data [C99-based standards] (isblank):
44820 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44821 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44823 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44824 Specify type. Require positive value.
44825 (EILSEQ): Likewise.
44826 (ERANGE): Likewise.
44827 [ISO || POSIX] (EILSEQ): Do not expect.
44828 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44829 Specify type. Require positive value.
44830 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44831 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44832 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44833 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44834 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44835 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44836 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44837 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44838 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44839 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44840 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44841 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44842 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44843 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44844 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44845 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44846 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44847 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44848 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44849 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44850 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44851 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44852 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44853 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44854 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44855 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44856 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44857 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44858 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44859 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44860 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44861 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44862 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44863 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44864 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44865 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44866 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44867 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44868 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44869 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44870 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44871 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44872 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44873 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44874 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44875 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44876 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44877 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44878 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44879 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44880 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44881 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44882 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44883 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44884 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44885 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44886 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44887 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44888 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44889 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44890 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44891 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44892 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44893 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44894 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44895 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44896 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44897 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44898 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44899 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44900 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44901 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44902 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44903 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44904 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44905 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44906 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44908 (FLT_ROUNDS): Expect as macro, not constant.
44909 (FLT_MANT_DIG): Use macro-int-constant.
44910 (DBL_MANT_DIG): Likewise.
44911 (LDBL_MANT_DIG): Likewise.
44912 (FLT_DIG): Likewise.
44913 (DBL_DIG): Likewise.
44914 (LDBL_DIG): Likewise.
44915 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44916 (DBL_MIN_EXP): Likewise.
44917 (LDBL_MIN_EXP): Likewise.
44918 (FLT_MAX_EXP): Use macro-int-constant.
44919 (DBL_MAX_EXP): Likewise.
44920 (LDBL_MAX_EXP): Likewise.
44921 (FLT_MAX_10_EXP): Likewise.
44922 (DBL_MAX_10_EXP): Likewise.
44923 (LDBL_MAX_10_EXP): Likewise.
44924 (FLT_MAX): Use macro-constant.
44925 (DBL_MAX): Likewise.
44926 (LDBL_MAX): Likewise.
44927 (FLT_EPSILON): Use macro-constant. Give upper bound.
44928 (DBL_EPSILON): Likewise.
44929 (LDBL_EPSILON): Likewise.
44930 (FLT_MIN): Likewise.
44931 (DBL_MIN): Likewise.
44932 (LDBL_MIN): Likewise.
44933 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44934 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44935 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44936 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44937 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44938 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44939 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44940 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44941 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44942 [ISO11] (FLT_TRUE_MIN): Likewise.
44943 [ISO11] (LDBL_TRUE_MIN): Likewise.
44944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44945 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44946 (SCHAR_MIN): Use macro-int-constant. Specify type.
44947 (SCHAR_MAX): Likewise.
44948 (UCHAR_MAX): Likewise.
44949 (CHAR_MIN): Likewise.
44950 (CHAR_MAX): Likewise.
44951 (MB_LEN_MAX): Use macro-int-constant.
44952 (SHRT_MIN): Use macro-int-constant. Specify type.
44953 (SHRT_MAX): Likewise.
44954 (USHRT_MAX): Likewise.
44955 (INT_MAX): Likewise.
44956 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44958 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44960 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44962 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44963 bound negative. Suffix upper bound with "L".
44964 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44966 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44968 [C99-based standards] (LLONG_MAX): Likewise.
44969 [C99-based standards] (ULLONG_MAX): Likewise.
44970 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44972 [ISO11] (max_align_t): Require type.
44973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44975 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44976 from $CFLAGS, without defining away __attribute__ calls.
44977 (checknamespace): Use $CFLAGS_namespace.
44979 * conform/conformtest.pl (@keywords): Only include C99 keywords
44980 for standards based on C99 or C11.
44982 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44984 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44987 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44988 usability of symbols in #if.
44990 * conform/conformtest.pl: If macro or constant types start
44991 "promoted:", expect the symbol to be of the following type
44992 promoted by the integer promotions.
44994 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44995 in one place. Also handle "macro-constant".
44997 * conform/conformtest.pl: Only accept expected macro values with
44998 "==". Parse all "macro" lines in one place.
44999 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45001 * conform/conformtest.pl: Handle braced types on "constant" lines
45002 instead of handling "typed-constant".
45003 * conform/data/signal.h-data: Use "constant" instead of
45006 * conform/conformtest.pl: Handle "optional-" at start of lines in
45007 one place rather than duplicating several cases. Handle each
45008 format of "macro" line with initial "optional-".
45010 * conform/conformtest.pl: Only accept expected constant or
45011 optional-constant values with "==". Parse all "constant" lines in
45012 one place. Parse all "optional-constant" lines in one place.
45013 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45014 * conform/data/fmtmsg.h-data: Likewise.
45015 * conform/data/netinet/in.h-data: Likewise.
45016 * conform/data/tar.h-data: Likewise.
45017 * conform/data/limits.h-data: Use "==" form on "constant" and
45018 "optional-constant" lines.
45020 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45021 Use -std=c99 for XOPEN2K.
45022 (@knownproblems): Remove.
45023 (newtoken): Don't check %isknown.
45025 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45026 Do not expect macro.
45027 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45028 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45029 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45030 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45031 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45032 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45033 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45034 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45035 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45036 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45037 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45038 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45039 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45040 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45041 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45042 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45043 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45044 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45045 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45046 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45047 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45048 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45049 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45050 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45051 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45052 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45053 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45054 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45055 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45056 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45057 [XPG3] (acosh): Likewise.
45058 [XPG3] (asinh): Likewise.
45059 [XPG3] (atanh): Likewise.
45060 [XPG3] (cbrt): Likewise.
45061 [XPG3] (expm1): Likewise.
45062 [XPG3] (ilogb): Likewise.
45063 [XPG3] (log1p): Likewise.
45064 [XPG3] (logb): Likewise.
45065 [XPG3] (nextafter): Likewise.
45066 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45067 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45068 [XPG3] (remainder): Likewise.
45069 [XPG3] (rint): Likewise.
45070 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45071 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45072 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45073 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45074 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45075 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45076 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45077 [UNIX98 || XOPEN2K] (scalb): Expect.
45078 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45079 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45080 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45081 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45082 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45083 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45084 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45085 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45086 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45087 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45088 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45089 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45090 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45091 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45092 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45093 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45094 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45095 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45096 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45097 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45098 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45099 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45100 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45101 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45102 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45103 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45104 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45105 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45106 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45107 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45108 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45109 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45110 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45111 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45112 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45113 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45114 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45115 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45116 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45117 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45118 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45119 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45120 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45121 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45122 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45123 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45124 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45125 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45126 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45127 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45128 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45129 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45130 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45131 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45132 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45133 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45134 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45135 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45136 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45137 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45138 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45139 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45140 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45141 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45142 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45143 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45144 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45145 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45146 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45147 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45148 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45149 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45150 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45151 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45152 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45153 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45154 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45155 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45156 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45157 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45158 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45159 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45160 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45161 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45162 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45163 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45164 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45165 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45166 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45167 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45168 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45169 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45170 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45171 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45172 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45173 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45174 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45175 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45176 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45177 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45178 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45179 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45180 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45181 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45182 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45183 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45184 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45185 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45186 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45187 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45188 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45189 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45190 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45191 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45192 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45193 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45194 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45195 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45196 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45197 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45198 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45199 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45200 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45201 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45202 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45203 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45204 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45205 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45206 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45207 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45208 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45209 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45210 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45211 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45212 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45213 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45214 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45216 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45217 _XOPEN_SOURCE_EXTENDED for XPG4.
45219 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45221 * Makeconfig (localtime): Remove variable.
45222 (inst_localtime-file): Likewise.
45224 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45245 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45249 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45250 comparisons to determine direction to adjust input.
45251 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45252 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45253 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45255 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45257 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45259 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45260 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45262 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45264 * math/libm-test.inc (nexttoward_test): Add more tests.
45266 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45269 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45270 in version GLIBC_2.1, not GLIBC_2.0.
45271 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45274 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45277 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45279 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45280 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45281 * math/libm-test.inc (acos_test): Add more tests.
45282 (asin_test): Likewise.
45283 * sysdeps/i386/fpu/libm-test-ulps: Update.
45284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45287 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45289 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45290 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45291 * math/libm-test.inc (acos_test_tonearest): New function.
45292 (acos_test_towardzero): Likewise.
45293 (acos_test_downward): Likewise.
45294 (acos_test_upward): Likewise.
45295 (asin_test_tonearest): Likewise.
45296 (asin_test_towardzero): Likewise.
45297 (asin_test_downward): Likewise.
45298 (asin_test_upward): Likewise.
45299 (main): Call the new functions.
45300 * sysdeps/i386/fpu/libm-test-ulps: Update.
45301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45305 * math/e_exp10.c: Include <float.h>.
45306 (__ieee754_exp10): Handle underflow here rather than multiplying
45307 large negative argument by M_LN10.
45308 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45310 * math/e_exp10l.c: Include <float.h>.
45311 (__ieee754_exp10l): Handle underflow here rather than multiplying
45312 large negative argument by M_LN10l.
45313 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45314 spurious overflow exception on underflow.
45316 2012-04-29 Marek Polacek <polacek@redhat.com>
45318 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45319 (__fortify_function): New macro.
45320 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45321 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45322 __extern_always_inline.
45323 * libio/bits/stdio2.h: Likewise.
45324 * libio/bits/stdio.h: Likewise.
45325 * string/string.h: Likewise.
45326 * string/bits/string3.h: Likewise.
45327 * include/stdio.h: Likewise.
45328 * stdlib/bits/stdlib.h: Likewise.
45329 * stdlib/stdlib.h: Likewise.
45330 * rt/bits/mqueue2.h: Likewise.
45331 * rt/mqueue.h: Likewise.
45332 * posix/bits/unistd.h: Likewise.
45333 * posix/unistd.h: Likewise.
45334 * io/bits/poll2.h: Likewise.
45335 * io/bits/fcntl2.h: Likewise.
45336 * io/fcntl.h: Likewise.
45337 * io/sys/poll.h: Likewise.
45338 * misc/bits/syslog.h: Likewise.
45339 * misc/bits/syslog-ldbl.h: Likewise.
45340 * misc/sys/syslog.h: Likewise.
45341 * socket/bits/socket2.h: Likewise.
45342 * socket/sys/socket.h: Likewise.
45343 * debug/tst-chk1.c: Likewise.
45344 * wcsmbs/bits/wchar2.h: Likewise.
45345 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45346 * wcsmbs/wchar.h: Likewise.
45348 2012-04-29 Andreas Jaeger <aj@suse.de>
45350 * Makerules (tests): Remove enable-check-abi protection.
45351 (check-abi-warn): Remove.
45352 (check-abi-%): Remove check-abi-warn usage.
45354 * configure.in: Remove check-abi configure option.
45355 * configure: Regenerated.
45356 * config.make.in (enable-check-abi): Remove.
45358 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45361 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45362 double functions to double *_finite functions.
45365 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45366 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45368 * stdio-common/Makefile (tests): Add tst-sprintf3.
45369 * stdio-common/tst-sprintf3.c: New file.
45371 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45372 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45374 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45376 * conform/conformtest.pl: Remove duplicate typed-constant
45379 2012-04-28 David S. Miller <davem@davemloft.net>
45381 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45382 (check-abi-%): Remove AWK script prerequisite and explicit
45384 (check-abi): Rewrite to just diff the symlist with the abilist.
45385 (config-tls, config-abi-config): Delete, no longer used.
45386 (update-abi-%): Remove AWK script and explicit abilist directory.
45387 (update-abi): Rewrite to simply compare and conditionally copy the
45388 symlist and the sysdep abilist file. Remove update-abi-config
45390 * abilist/ld.abilist: Remove.
45391 * abilist/libBrokenLocale.abilist: Remove.
45392 * abilist/libanl.abilist: Remove.
45393 * abilist/libcrypt.abilist: Remove.
45394 * abilist/libdl.abilist: Remove.
45395 * abilist/librt.abilist: Remove.
45396 * abilist/libthread_db.abilist: Remove.
45397 * abilist/libutil.abilist: Remove.
45398 * scripts/extract-abilist.awk: Remove.
45399 * scripts/merge-abilist.awk: Remove.
45400 * sysdeps/generic/libcidn.abilist: New file.
45401 * sysdeps/generic/libnss_compat.abilist: New file.
45402 * sysdeps/generic/libnss_db.abilist: New file.
45403 * sysdeps/generic/libnss_dns.abilist: New file.
45404 * sysdeps/generic/libnss_files.abilist: New file.
45405 * sysdeps/generic/libnss_hesiod.abilist: New file.
45406 * sysdeps/generic/libnss_nis.abilist: New file.
45407 * sysdeps/generic/libnss_nisplus.abilist: New file.
45408 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45409 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45410 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45412 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45413 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45414 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45415 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45416 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45417 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45418 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45419 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45420 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45422 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45423 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45424 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45425 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45427 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45428 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45429 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45430 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45431 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45432 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45434 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45435 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45436 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45438 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45541 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45542 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45543 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45546 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45547 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45548 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45549 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45550 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45551 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45552 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45553 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45554 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45606 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45608 * conform/conformtest.pl: Fix typo in handling typed-constant from
45611 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45613 * README: Cut down references to pre-2.6 Linux kernels and
45614 Linuxthreads. Update lists of configurations in libc and ports
45615 and sort alphabetically. Say "or newer" with Linux kernel version
45618 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45620 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45623 * math/libm-test.inc (logb_test_downward): New test to expose
45624 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45627 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45630 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45632 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45633 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45635 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45637 * sysdeps/unix/i386/brk.S: Remove file.
45638 * sysdeps/unix/i386/dl-brk.S: Likewise.
45639 * sysdeps/unix/i386/pipe.S: Likewise.
45640 * sysdeps/unix/i386/sigreturn.S: Likewise.
45641 * sysdeps/unix/i386/syscall.S: Likewise.
45642 * sysdeps/unix/i386/vfork.S: Likewise.
45643 * sysdeps/unix/i386/wait.S: Likewise.
45645 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45646 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45648 * configure.in (arm*-none*): Do not allow without
45649 --enable-hacker-mode.
45650 (netbsd*): Remove case setting base_os.
45651 (386bsd*): Likewise.
45652 (freebsd*): Likewise.
45655 (sunos*): Likewise.
45656 (ultrix*): Likewise.
45657 (newsos*): Likewise.
45658 (dynix*): Likewise.
45664 (minix*): Likewise.
45665 (irix4*): Likewise.
45666 (irix6*): Likewise.
45667 (solaris[2-9]*): Likewise.
45669 * configure: Regenerated.
45671 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45675 overflow or cancellation in calculating denominator.
45676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45677 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45678 down expression to avoid unexpected rounding in newer GCCs.
45679 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45681 2012-04-26 David S. Miller <davem@davemloft.net>
45683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45684 long-double compat symbols.
45685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45699 2012-04-25 David S. Miller <davem@davemloft.net>
45701 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45702 HWCAP_* values only after the memory barriers have been defined.
45703 (atomic_full_barrier): Define.
45704 (atomic_read_barrier): Define.
45705 (atomic_write_barrier): Define.
45707 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45709 * shlib-versions: Add libgcc_s version information.
45710 * sysdeps/generic/libgcc_s.h: Remove.
45711 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45713 * sysdeps/gnu/unwind-resume.c: Likewise.
45714 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45716 2012-04-25 David S. Miller <davem@davemloft.net>
45718 * sysdeps/unix/sparc/brk.S: Delete.
45719 * sysdeps/unix/sparc/dl-brk.S: Delete.
45720 * sysdeps/unix/sparc/pipe.S: Delete.
45721 * sysdeps/unix/sparc/sysdep.S: Delete.
45722 * sysdeps/unix/sparc/sysdep.h: Delete.
45723 * sysdeps/unix/sparc/vfork.S: Delete.
45724 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45725 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45727 (ret_ERRVAL, r0, r1, MOVE): Define.
45728 (JUMPTARGET): Remove.
45729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45730 sysdeps/unix/sparc/sysdep.h
45731 (ENTRY, END): Remove.
45732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45734 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45736 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45737 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45740 * timezone/README: Update upstream location and email address for
45742 * timezone/zdump.c: Update from tzcode 2012b.
45743 * timezone/zic.c: Likewise.
45745 * configure.in (libc_cv_as_needed): Remove test.
45746 * configure: Regenerated.
45747 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45748 conditional definition.
45749 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45750 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45751 * config.make.in (have-as-needed): Remove variable.
45753 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45754 Paul Pluzhnikov <ppluzhnikov@google.com>
45756 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45759 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45761 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45762 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45763 * sysdeps/sh/strlen.S: Likewise.
45765 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45767 * sysdeps/unix/fork.S: Remove file.
45768 * sysdeps/unix/i386/fork.S: Likewise.
45769 * sysdeps/unix/sparc/fork.S: Likewise.
45771 * sysdeps/unix/system.c: Remove file.
45772 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45774 * sysdeps/unix/getegid.S: Remove file.
45775 * sysdeps/unix/geteuid.S: Likewise.
45777 2012-04-24 Roland McGrath <roland@hack.frob.com>
45779 * scripts/check-localplt.awk: New file.
45780 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45782 * scripts/data/localplt-generic.data: Add a comment.
45784 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45785 NODE when __dir_mkfile failed.
45786 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45787 Reported by Ludovic Courtès <ludo@gnu.org>.
45789 2012-04-24 Andreas Jaeger <aj@suse.de>
45791 * Makerules (common-clean): Also remove gen-as-const-headers
45794 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45796 * Makerules (native-compile): Do not change working directory for
45797 build. Use $(OUTPUT_OPTION) in command.
45798 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45800 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45803 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45804 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45805 * math/libm-test.inc (floor_test): Add more tests.
45806 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45808 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45810 * sysdeps/unix/getdents.c: Remove file.
45811 * sysdeps/unix/sysv/getdents.c: Likewise.
45812 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45814 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45815 sysdeps/unix/mman/syscalls.list.
45817 (mprotect): Likewise.
45819 (munmap): Likewise.
45820 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45821 * sysdeps/unix/mman/syscalls.list: Remove.
45822 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45824 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45825 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45826 * configure: Regenerated.
45827 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45828 $(libgcc_s_suffix).
45829 * config.make.in (libgcc_s_suffix): Remove variable.
45831 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45833 * sysdeps/unix/sysv/gethostname.c: Move to ...
45834 * sysdeps/posix/gethostname.c: ... here.
45836 * sysdeps/unix/execve.S: Remove file.
45838 * sysdeps/unix/_exit.S: Remove file.
45840 2012-04-23 Andreas Jaeger <aj@suse.de>
45843 * manual/Makefile: Remove make dist support, there's no
45844 need for a stand-alone documentation tar ball.
45845 (TEXI2DVI): Define always, it's not in Makeconfig.
45848 (edition): Removed.
45849 (glibc-doc-$(edition).tar): Removed
45853 (ETAGS): Remove, it's in Makeconfig.
45854 (move-if-change): Remove, it's in Makeconfig.
45856 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45859 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45860 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45861 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45862 (strtod_l, strtof_l, strtold_l): Remove __wur.
45863 It is not necessarily an error to ignore strtol's return value.
45864 One can reliably look at the stored endptr to decide whether
45865 the number had valid syntax.
45867 2012-04-21 Andreas Jaeger <aj@suse.de>
45870 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45872 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45874 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45875 * sysdeps/unix/sysv/Versions: Remove file.
45877 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45882 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45885 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45886 version from __vm86.
45888 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45890 * sysdeps/unix/common/lxstat.c: Remove file.
45891 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45893 * sysdeps/unix/sysv/Makefile: Remove file.
45895 * sysdeps/unix/sysv/direct.h: Remove file.
45897 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45898 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45899 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45900 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45901 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45902 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45903 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45905 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45907 * sysdeps/unix/xmknod.c: Remove file.
45908 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45910 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45912 * sysdeps/unix/sysv/i386/time.S: Remove file.
45914 * sysdeps/unix/fxstat.c: Remove file.
45915 * sysdeps/unix/xstat.c: Likewise.
45916 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45918 * sysdeps/unix/sysv/sigaction.c: Remove file.
45920 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45921 (sysdep_headers): Remove variable.
45922 [termio.h not in sysdep_headers] (generated): Likewise.
45923 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45924 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45925 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45926 * sysdeps/unix/sysv/tcflow.c: Likewise.
45927 * sysdeps/unix/sysv/tcflush.c: Likewise.
45928 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45929 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45930 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45931 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45932 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45934 * sysdeps/unix/siglist.c: Remove file.
45936 * sysdeps/unix/getppid.S: Remove file.
45938 * sysdeps/unix/mkdir.c: Remove file.
45939 * sysdeps/unix/rmdir.c: Likewise.
45941 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45943 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45945 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45946 errlist-compat value.
45948 2012-04-18 David S. Miller <davem@davemloft.net>
45950 * sysdeps/generic/memcopy.h (reg_char): Delete.
45951 * debug/strcat_chk.c: Use char, not reg_char.
45952 * debug/strcpy_chk.c: Likewise.
45953 * debug/strncat_chk.c: Likewise.
45954 * debug/strncpy_chk.c: Likewise.
45955 * string/memchr.c: Likewise.
45956 * string/memrchr.c: Likewise.
45957 * string/rawmemchr.c: Likewise.
45958 * string/strcat.c: Likewise.
45959 * string/strchr.c: Likewise.
45960 * string/strchrnul.c: Likewise.
45961 * string/strcmp.c: Likewise.
45962 * string/strcpy.c: Likewise.
45963 * string/strncat.c: Likewise.
45964 * string/strncmp.c: Likewise.
45965 * string/strncpy.c: Likewise.
45967 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45969 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45970 __builtin_memcopy is called when src and dest ranges are known to not
45973 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45975 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45976 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45977 fwd_align_merge macro call.
45978 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45979 bwd_align_merge macro call.
45980 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45982 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45984 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45985 bwd_align_merge macros.
45986 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45987 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45988 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45990 2012-04-18 David S. Miller <davem@davemloft.net>
45992 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45994 2012-04-18 Andreas Jaeger <aj@suse.de>
45997 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45998 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45999 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46002 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46003 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46005 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46006 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46007 Adjust for changed ldbl-128 files.
46009 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46010 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46011 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46013 2012-04-17 David S. Miller <davem@davemloft.net>
46015 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46017 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46019 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46020 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46021 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46022 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46023 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46024 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46026 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46029 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46030 * math/libm-test.inc: Add ilogb errno and exception tests.
46031 * math/w_ilogb.c: New file: ilogb wrapper.
46032 * math/w_ilogbf.c: New file: ilogbf wrapper.
46033 * math/w_ilogbl.c: New file: ilogbl wrapper.
46034 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46035 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46036 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46037 exception being thrown with 0.0 as argument.
46038 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46039 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46040 exception being thrown with 0.0 as argument.
46041 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46042 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46043 exception being thrown with 0.0 as argument.
46044 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46045 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46046 exception being thrown with 0.0 as argument.
46047 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46048 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46049 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46050 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46052 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46053 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46054 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46055 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46057 2012-04-17 Petr Baudis <pasky@ucw.cz>
46059 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46062 2012-04-16 Marek Polacek <polacek@redhat.com>
46064 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46066 2012-04-16 Marek Polacek <polacek@redhat.com>
46068 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46069 operands of fdivp instruction.
46071 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46073 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46074 * elf/tst-auditmod3b.c: Likewise.
46075 * elf/tst-auditmod4b.c: Likewise.
46076 * elf/tst-auditmod5b.c: Likewise.
46077 * elf/tst-auditmod6b.c: Likewise.
46078 * elf/tst-auditmod6c.c: Likewise.
46079 * elf/tst-auditmod7b.c: Likewise.
46080 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46081 * sysdeps/x86_64/preconfigure.in: Likewise.
46082 * sysdeps/x86_64/preconfigure: Regenerated.
46084 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46086 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46089 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46092 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46094 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46097 * locale/iso-639.def: Fix gl language name. Spotted by
46100 2012-04-12 Roland McGrath <roland@hack.frob.com>
46103 * libio/libio.h (__io_write_fn): Update comment.
46105 2012-04-12 Petr Baudis <pasky@ucw.cz>
46108 * stdio.texi (Hook Functions): The user provided writer function
46109 is not allowed to return -1.
46111 2012-04-11 David S. Miller <davem@davemloft.net>
46113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46115 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46117 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46118 Add a leading slash to rtkaio.
46120 2012-04-11 Jim Meyering <meyering@redhat.com>
46123 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46124 It is not necessarily an error to ignore fwrite's return
46125 value. One can reliably use ferror to test for errors after
46128 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46130 * bits/types.h (__snseconds_t): New type.
46131 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46133 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46134 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46135 (__SNSECONDS_T_TYPE): Likewise.
46136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46137 (__SNSECONDS_T_TYPE): Likewise.
46138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46139 (__SNSECONDS_T_TYPE): Likewise.
46141 2012-04-10 Andreas Jaeger <aj@suse.de>
46144 * manual/time.texi (Processor Time): Return type of times is
46145 elapsed real time since an arbitrary point in the past.
46146 (CPU Time): Move CLK_TCK from here...
46147 (Processor Time): ...to here. Correct description.
46148 * manual/conf.texi (Constants for Sysconf): Correct description of
46151 2012-04-10 David S. Miller <davem@davemloft.net>
46154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46155 where the is a gap between DT_REL(A) and DT_JMPREL.
46157 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46159 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46160 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46161 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46163 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46165 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46166 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46167 (dl_main): Handle --inhibit-cache.
46168 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46170 * elf/dl-load.c (_dl_map_object): Use it.
46171 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46173 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46176 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46177 (__ieee754_powl): Saturate large exponents rather than testing for
46178 overflow of y*log2(x).
46179 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46180 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46184 * math/s_ctan.c: Include <float.h>.
46185 (__ctan): Avoid internal overflow or cancellation in calculating
46187 * math/s_ctanf.c: Likewise.
46188 * math/s_ctanl.c: Likewise.
46189 * math/s_ctanh.c: Likewise.
46190 * math/s_ctanhf.c: Likewise.
46191 * math/s_ctanhl.c: Likewise.
46192 * math/libm-test.inc (ctan_test): Add more tests.
46193 (ctanh_test): Likewise.
46194 * sysdeps/i386/fpu/libm-test-ulps: Update.
46195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46197 2012-04-09 Andreas Jaeger <aj@suse.de>
46200 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46201 is an optional BSD extension.
46204 * manual/stdio.texi (Opening Streams): Document additional fopen
46207 2012-04-09 Roland McGrath <roland@hack.frob.com>
46209 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46210 %eax without telling the compiler.
46212 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46215 * manual/install.texi: Use sourceware.org.
46217 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46220 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46221 (__ieee754_pow): Generate overflow and underflow using huge*huge
46222 and tiny*tiny rather than just returning constant infinity or zero
46223 for large exponents.
46224 * math/libm-test.inc (pow_test): Require overflow exceptions for
46225 applicable cases of large exponents.
46228 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46229 (__ieee754_pow): Use iterative multiplication algorithm only for
46230 integer exponents with absolute value below 1024. Check for odd
46231 integer exponents when using algorithm for real exponents.
46232 * math/libm-test.inc (pow_test): Add more tests.
46233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46235 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46238 * math/libm-test.inc (exp_test): Do not allow overflow exception
46241 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46244 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46245 instead of __kernel_standard_f.
46247 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46249 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46250 * sysdeps/x86_64/memset_chk.S: Likewise.
46252 2012-04-08 Andreas Jaeger <aj@suse.de>
46255 * manual/startup.texi (Environment Access): Describe return value
46256 for putenv and setenv.
46259 * manual/filesys.texi (Directory Entries): Add description for
46263 * manual/filesys.texi (Directory Entries): Clarify that it's file
46264 system not operating system in the description of DT_UNKNOWN.
46267 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46269 2012-04-08 Stephen Compall <s11@member.fsf.org>
46272 * manual/llio.texi (Opening and Closing Files): Add cross
46273 reference to explain mode argument.
46275 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46277 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46278 * sysdeps/x86_64/memset_chk.S: Likewise.
46280 2012-04-07 David S. Miller <davem@davemloft.net>
46282 * elf/elf.h (R_SPARC_WDISP10): Define.
46283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46286 R_SPARC_SIZE64 and R_SPARC_H34.
46288 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46291 conditions and remove no longer applicable assertion.
46293 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46295 * bits/byteswap.h: Include <features.h>.
46296 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46297 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46299 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46301 * bits/byteswap.h (__bswap_16): Removed.
46302 Include <bits/byteswap-16.h> to get __bswap_16.
46303 * sysdeps/i386/bits/byteswap.h: Likewise.
46304 * sysdeps/s390/bits/byteswap.h: Likewise.
46305 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46306 * bits/byteswap-16.h: New file.
46307 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46308 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46309 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46310 * string/Makefile (headers): Add bits/byteswap-16.h.
46312 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46315 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46317 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46318 * nss/tst-nss-static.c: New.
46320 2012-04-06 Robert Millan <rmh@gnu.org>
46323 * manual/llio.texi (File Position Primitive): lseek
46324 refers to WHENCE when it really means OFFSET.
46326 2012-04-06 Andreas Jaeger <aj@suse.de>
46328 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46329 strncmp declarations.
46331 * abilist/libc.abilist: Add __poll and __ppoll.
46333 2012-04-05 David S. Miller <davem@davemloft.net>
46335 * scripts/check-local-headers.sh: Accept a host triplet in the
46336 path matched by the exclude regexp.
46338 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46340 * sysdeps/powerpc/powerpc32/dl-machine.h
46341 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46342 * sysdeps/s390/s390-32/dl-machine.h
46343 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46344 * sysdeps/sparc/sparc32/dl-machine.h
46345 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46346 * sysdeps/sparc/sparc64/dl-machine.h
46347 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46349 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46351 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46352 undefined symbol errors.
46354 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46357 2012-04-05 Michael Matz <matz@suse.de>
46360 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46362 2012-04-05 Andreas Jaeger <aj@suse.de>
46365 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46368 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46371 which ROUND is no valid rounding mode.
46373 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46375 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46377 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46379 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46381 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46382 an exception using FPU order intentionally.
46384 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46386 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46387 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46388 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46389 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46391 2012-04-05 Simon Josefsson <simon@josefsson.org>
46394 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46395 EINVAL when BUFLEN is too smal.
46397 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46400 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46401 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46403 2012-04-03 Andreas Jaeger <aj@suse.de>
46406 * manual/setjmp.texi (System V contexts): Fix sentence.
46409 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46410 New macro for this case.
46411 [!__GNUC__] (__bswap_64): New inline function for this case.
46412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46413 * bits/byteswap.h: Likewise.
46414 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46415 ull, guard with __GLIBC_HAVE_LONG_LONG.
46417 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46418 __GLIBC_HAVE_LONG_LONG.
46420 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46421 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46423 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46426 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46427 inptr and inend, rather than using last_ch.
46429 2012-04-02 David S. Miller <davem@davemloft.net>
46431 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46432 * stdio-common/printf-parse.h (read_int): Change return type to
46433 'int', return -1 on INT_MAX overflow.
46434 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46435 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46436 overflows INT_MAX. Check for overflow of in-format-string precision
46437 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46438 SIZE_MAX not INT_MAX for integer overflow test.
46439 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46440 skip the construct in the format string but do not record anything.
46441 * stdio-common/bug22.c: Adjust to test both width/prevision
46442 INT_MAX overflow as well as total length INT_MAX overflow. Check
46443 explicitly for proper errno values.
46445 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46447 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46449 * string/test-strcmp.c [! WIDE]: Likewise.
46450 * time/tst-mktime2.c: Likewise for INT_MAX.
46451 * string/test-string.h: #include <sys/param.h> for MIN.
46453 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46454 * sysdeps/i386/init-first.c (init): Likewise.
46455 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46456 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46457 * sysdeps/sh/init-first.c (init): Likewise.
46459 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46461 * po/ru.po: Update from translation team.
46462 * po/vi.po: Likewise.
46464 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46466 * resolv/nss_dns/dns-host.c: Merge copyright years.
46468 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46470 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46471 Optimize memcpy with prefetch if
46472 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46473 src, dst pointers have unequal 16 byte alignments.
46475 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46478 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46479 from a CNAME entry and return the minimum ttl for the query.
46480 (gaih_getanswer_slice): Likewise.
46482 2012-03-30 Jeff Law <law@redhat.com>
46484 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46486 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46487 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46489 * resolv/nss_dns/dns-host.c: Update copyright year.
46491 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46493 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46494 requests to save a system call. Fix check that all bytes are sent.
46496 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46497 comments for sendmmsg.
46499 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46502 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46503 with only 1 character between 0x0041 and 0x01b0.
46504 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46505 * wcsmbs/tst-mbsnrtowcs.c: New file.
46507 2012-03-29 David S. Miller <davem@davemloft.net>
46509 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46510 small copies by hand.
46512 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46515 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46516 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46519 2012-03-28 David S. Miller <davem@davemloft.net>
46521 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46522 that branches into memcpy.
46523 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46524 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46525 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46526 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46529 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46530 implementation too.
46531 * sysdeps/sparc/mempcpy.S: New file.
46533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46534 the IFUNC routine in the libc case.
46535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46537 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46538 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46539 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46540 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46541 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46542 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46543 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46544 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46546 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46547 loop to 256 bytes instead of 64 bytes and fix test signedness.
46549 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46550 * sysdeps/sparc/sparc32/Makefile: rather than here...
46551 * sysdeps/sparc/sparc64/Makefile: and here.
46553 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46555 * malloc/mallocbug.c: Avoid warnings about unused variables.
46557 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46560 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46561 in the right place. Discard and retry query if response is
46562 larger than input buffer size.
46564 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46569 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46570 x for large integer exponent.
46571 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46572 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46573 sign of result as needed afterwards.
46574 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46575 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46576 result for underflowing pow the same as for overflow.
46577 (__kernel_standard_l): Handle powl overflow and underflow here
46578 rather than calling __kernel_standard.
46579 * math/libm-test.inc (pow_test): Add more tests.
46594 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46595 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46596 (__kernel_standard_l): New function.
46597 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46599 * math/w_acosl.c (__acosl): Likewise.
46600 * math/w_asinl.c (__asinl): Likewise.
46601 * math/w_atan2l.c (__atan2l): Likewise.
46602 * math/w_atanhl.c (__atanhl): Likewise.
46603 * math/w_coshl.c (__coshl): Likewise.
46604 * math/w_exp10l.c (__exp10l): Likewise.
46605 * math/w_exp2l.c (__exp2l): Likewise.
46606 * math/w_fmodl.c (__fmodl): Likewise.
46607 * math/w_hypotl.c (__hypotl): Likewise.
46608 * math/w_j0l.c (__j0l, __y0l): Likewise.
46609 * math/w_j1l.c (__j1l, __y1l): Likewise.
46610 * math/w_jnl.c (__jnl, __ynl): Likewise.
46611 * math/w_lgammal.c (__lgammal): Likewise.
46612 * math/w_log10l.c (__log10l): Likewise.
46613 * math/w_log2l.c (__log2l): Likewise.
46614 * math/w_logl.c (__logl): Likewise.
46615 * math/w_powl.c (__powl): Likewise.
46616 * math/w_remainderl.c (__remainderl): Likewise.
46617 * math/w_scalbl.c (sysv_scalbl): Likewise.
46618 * math/w_sinhl.c (__sinhl): Likewise.
46619 * math/w_sqrtl.c (__sqrtl): Likewise.
46620 * math/w_tgammal.c (__tgammal): Likewise.
46621 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46622 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46623 * math/libm-test.inc (acos_test): Add more tests.
46624 (acosh_test): Likewise.
46625 (asin_test): Likewise.
46626 (atanh_test): Likewise.
46627 (exp_test): Likewise.
46628 (exp10_test): Likewise.
46629 (exp2_test): Likewise.
46630 (expm1_test): Likewise.
46631 (lgamma_test): Likewise.
46632 (log_test): Likewise.
46633 (log10_test): Likewise.
46634 (log1p_test): Likewise.
46635 (log2_test): Likewise.
46636 (pow_test): Do not allow some spurious overflow exceptions.
46637 (sqrt_test): Add more tests.
46638 (tgamma_test): Likewise.
46639 (y0_test): Likewise.
46640 (y1_test): Likewise.
46641 (yn_test): Likewise.
46643 2012-03-27 Anton Blanchard <anton@samba.org>
46645 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46647 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46651 2012-03-27 David S. Miller <davem@davemloft.net>
46653 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46655 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46656 have-as-vis3 check.
46658 2012-03-27 Andreas Jaeger <aj@suse.de>
46660 * sysdeps/x86_64/elf/configure.in: Moved to ...
46661 * sysdeps/x86_64/configure.in: ... here.
46662 * sysdeps/x86_64/elf/start.S: Moved to ...
46663 * sysdeps/x86_64/start.S: ... here.
46664 * sysdeps/x86_64/elf/configure: Delete.
46666 * sysdeps/x86_64/configure.in: Merge contents from
46667 sysdeps/i386/configure.in (without i686 check).
46669 * sysdeps/i386/elf/Versions: Merge into ...
46670 * sysdeps/i386/Versions: ... this.
46671 * sysdeps/i386/elf/Versions: Delete file.
46672 * sysdeps/i386/elf/start.S: Moved to ...
46673 * sysdeps/i386/start.S: ...here.
46674 * sysdeps/i386/elf/configure.in: Merge into...
46675 * sysdeps/i386/configure.in: ...here.
46676 * sysdeps/i386/elf/configure.in: Delete file.
46677 * sysdeps/i386/elf/configure: Delete file.
46679 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46680 * debug/backtracesyms.c: ... here.
46681 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46682 * debug/backtracesymsfd.c: ... here.
46683 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46684 * sysdeps/generic/ifunc-sel.h: ... here.
46686 * sysdeps/unix/i386/start.c: Delete file.
46687 * sysdeps/unix/sparc/start.c: Delete file.
46688 * sysdeps/unix/start.c: Delete file.
46690 * sysdeps/sh/elf/configure.in: Moved to ...
46691 * sysdeps/sh/configure.in: ... here.
46692 * sysdeps/sh/elf/start.S: Moved to ...
46693 * sysdeps/sh/start.S: ... here.
46694 * sysdeps/sh/elf/configure: Delete file.
46696 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46697 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46698 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46699 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46700 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46701 * sysdeps/powerpc/powerpc64/start.S: here.
46702 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46703 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46704 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46705 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46706 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46708 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46709 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46710 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46711 * sysdeps/powerpc/powerpc32/start.S: ... here.
46712 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46713 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46714 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46716 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46717 * sysdeps/powerpc/ifunc-sel.h: ... here.
46718 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46719 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46721 * sysdeps/sparc/elf/configure.in: Moved to ...
46722 * sysdeps/sparc/configure.in: ... here.
46723 * sysdeps/sparc/elf/configure: Delete file.
46724 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46725 * sysdeps/sparc/sparc32/start.S: ... here.
46726 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46727 * sysdeps/sparc/sparc64/start.S: ... here.
46728 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46729 * sysdeps/sparc/sparc32/Makefile: ... this.
46730 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46731 * sysdeps/sparc/sparc64/Makefile: ... this.
46733 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46734 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46735 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46736 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46737 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46738 * sysdeps/s390/s390-32/setjmp.S: ... here.
46739 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46740 * sysdeps/s390/s390-32/configure.in: ... here.
46741 * sysdeps/s390/s390-32/elf/configure: Delete file.
46742 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46743 * sysdeps/s390/s390-32/start.S: ... here.
46745 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46746 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46747 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46748 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46749 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46750 * sysdeps/s390/s390-64/setjmp.S: ... here.
46751 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46752 * sysdeps/s390/s390-64/configure.in: ... here
46753 * sysdeps/s390/s390-64/elf/configure: Delete file.
46754 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46755 * sysdeps/s390/s390-64/start.S: ... here.
46756 * sysdeps/s390/s390-64/elf/configure: Delete.
46758 * configure.in: Remove support for elf directories in sysdeps.
46760 * configure: Regenerated.
46761 * sysdeps/i386/configure: Regenerated.
46762 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46763 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46764 * sysdeps/s390/s390-32/configure: Regenerated.
46765 * sysdeps/s390/s390-64/configure: Regenerated.
46766 * sysdeps/sh/configure: Regenerated.
46767 * sysdeps/sparc/configure: Regenerated.
46768 * sysdeps/x86_64/configure: Regenerated.
46770 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46774 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46775 denormal result into account.
46777 2012-03-25 Roland McGrath <roland@hack.frob.com>
46779 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46780 Reported by Allan McRae <allan@archlinux.org>.
46782 2012-03-23 Jeff Law <law@redhat.com>
46784 * nss/getnssent.c (__nss_getent): Fix typo.
46786 2012-03-23 David S. Miller <davem@davemloft.net>
46788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46790 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46792 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46793 to pad to uint64_t for each field.
46794 (dl_tls_index): Replace unsigned long with uint64_t.
46796 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46797 Paul Pluzhnikov <ppluzhnikov@google.com>
46800 * grp/Makefile (otherlibs): Don't set it.
46801 * inet/Makefile (otherlibs): Likewise.
46802 * login/Makefile (otherlibs): Likewise.
46803 * nscd/Makefile (otherlibs): Likewise.
46804 * posix/Makefile (otherlibs): Likewise.
46805 * pwd/Makefile (otherlibs): Likewise.
46806 * rt/Makefile (otherlibs): Likewise.
46807 * sunrpc/Makefile (otherlibs): Likewise.
46808 * nss/Makefile (otherlibs): Likewise.
46809 Add libnss_files to routines and static-only-routines.
46810 ($(objpfx)getent): Remove rule.
46811 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46812 static-only-routines.
46814 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46817 * math/s_cexp.c: Include <float.h>.
46818 (__cexp): Handle exp result overflowing not necessarily
46819 overflowing both real and imaginary parts of result.
46820 * math/s_cexpf.c: Likewise.
46821 * math/s_cexpl.c: Likewise.
46822 * math/libm-test.inc (cexp_test): Add more tests.
46823 * sysdeps/i386/fpu/libm-test-ulps: Update.
46824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46826 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46828 * include/link.h (ELFW): New macro.
46829 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46830 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46832 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46834 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46837 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46839 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46841 (struct La_x32_retval): Likewise.
46843 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46845 * sysdeps/x86_64/preconfigure.in: New file.
46846 * sysdeps/x86_64/preconfigure: New generated file.
46848 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46851 * math/e_exp2l.c: Include <float.h>.
46852 (__ieee754_exp2l): Handle overflow and underflow cases
46853 separately. Only pass fractional part of argument to
46855 * math/libm-test.inc (exp2_test): Add more tests.
46857 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46858 negating x to take absolute value.
46859 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46861 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46862 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46864 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46865 computing low part if x was negated.
46866 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46868 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46870 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46871 la_x32_gnu_pltexit.
46872 (pltexit): Cast int_retval to ptrdiff_t.
46873 * elf/tst-auditmod3b.c: Likewise.
46874 * elf/tst-auditmod4b.c: Likewise.
46875 * elf/tst-auditmod5b.c: Likewise.
46876 * elf/tst-auditmod6b.c: Likewise.
46877 * elf/tst-auditmod6c.c: Likewise.
46878 * elf/tst-auditmod7b.c: Likewise.
46880 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46881 and x32_gnu_pltexit.
46883 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46884 __ELF_NATIVE_CLASS.
46885 (La_x32_regs): New macro.
46886 (La_x32_retval): Likewise.
46887 (la_x32_gnu_pltenter): New function prototype.
46888 (la_x32_gnu_pltexit): Likewise.
46890 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46892 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46897 * configure.in (libc_cv_cc_nofma): Check for option to disable
46898 generation of FMA instructions.
46899 * configure: Regenerate.
46900 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46901 * sysdeps/ieee754/dbl-64/Makefile: New file.
46902 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46903 Remove brandred-fma4.
46904 (CFLAGS-brandred-fma4.c): Remove.
46905 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46906 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46911 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46913 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46914 LLONG_MAX != LONG_MAX.
46915 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46916 (_fitoa_word): Likewise.
46917 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46918 LLONG_MAX != LONG_MAX.
46919 * stdio-common/_itowa.h: Include <_itoa.h>.
46920 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46921 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46922 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46923 only if not defined.
46924 (_ITOA_WORD_TYPE): Likewise.
46925 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46926 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46928 2012-03-21 David S. Miller <davem@davemloft.net>
46930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46932 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46934 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46935 of x86_64 when setting libc_cv_slibdir, libdir and
46937 * sysdeps/unix/sysv/linux/configure: Regenerated.
46939 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46941 * manual/lang.texi (Old Varargs): Remove section.
46942 (How Variadic): Update menu.
46943 (va_start): Do not mention varargs.h.
46945 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46946 Joseph Myers <joseph@codesourcery.com>
46948 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46950 * configure: Regenerated.
46952 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46954 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46955 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46958 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46961 * Makefile (files-for-dist): Remove NOTES.
46962 (NOTES): Remove rule.
46963 * README: Don't refer to NOTES.
46964 * manual/creature.texi: Don't include macros.texi.
46965 * manual/intro.texi (creature.texi): Remove comment referring to
46968 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46969 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46970 * configure: Regenerated.
46971 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46972 LIBC_TRY_CC_OPTION.
46973 (libc_cv_as_i686): Likewise.
46974 (libc_cv_cc_avx): Likewise.
46975 (libc_cv_cc_sse2avx): Likewise.
46976 (libc_cv_cc_fma4): Likewise.
46977 (libc_cv_cc_novzeroupper): Likewise.
46978 * sysdeps/i386/configure: Regenerated.
46981 * sysdeps/i386/fpu/s_cexp.S: Remove.
46982 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46983 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46984 * math/libm-test.inc (cexp_test): Add more tests.
46985 * sysdeps/i386/fpu/libm-test-ulps: Update.
46986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46988 2012-03-21 Allan McRae <allan@archlinux.org>
46990 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46992 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46995 * math/w_exp2.c: Do not include <float.h>.
46996 (o_threshold, u_threshold): Remove.
46997 (__exp2): Calculate result before checking finiteness and calling
46999 * math/w_exp2f.c: Likewise.
47000 * math/w_exp2l.c: Likewise.
47001 * math/libm-test.inc (exp2_test): Require overflow exception for
47005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47006 range of signed 64-bit integers before using fistpll. Remove
47007 checks for whether integers fit in mantissa bits.
47008 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47009 the range of signed 32-bit integers before using fistpl. Remove
47010 checks for whether integers fit in mantissa bits.
47011 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47012 (__ieee754_powl): Test for y outside the range of signed 64-bit
47013 integers before using fistpll. Reduce 64-bit values to 63-bit
47015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47016 divide-by-zero is raised for zero to large negative powers.
47017 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47018 (__ieee754_powl): Test for y outside the range of signed 64-bit
47019 integers before using fistpll. Reduce 64-bit values to 63-bit
47021 * math/libm-test.inc (pow_test): Add more tests.
47023 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47025 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47026 <stdio-common/_itoa.h>.
47027 * debug/segfault.c: Likewise.
47028 * elf/dl-cache.c: Likewise.
47029 * elf/dl-minimal.c: Likewise.
47030 * elf/dl-misc.c: Likewise.
47031 * elf/dl-sysdep.c: Likewise.
47032 * elf/dl-version.c: Likewise.
47033 * elf/rtld.c: Likewise.
47034 * hurd/hurdsock.c: Likewise.
47035 * hurd/lookup-retry.c: Likewise.
47036 * malloc/malloc.c: Likewise.
47037 * malloc/mtrace.c: Likewise.
47038 * nscd/nscd_getgr_r.c: Likewise.
47039 * nscd/nscd_getpw_r.c: Likewise.
47040 * nscd/nscd_getserv_r.c: Likewise.
47041 * posix/getopt_init.c: Likewise.
47042 * posix/wordexp.c: Likewise.
47043 * stdio-common/_itoa.c: Likewise.
47044 * stdio-common/printf_fphex.c: Likewise.
47045 * stdio-common/vfprintf.c: Likewise.
47046 * string/_strerror.c: Likewise.
47047 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47048 * sysdeps/i386/i686/hp-timing.h: Likewise.
47049 * sysdeps/mach/_strerror.c: Likewise.
47050 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47051 * sysdeps/mach/hurd/sethostid.c: Likewise.
47052 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47053 * sysdeps/mach/xpg-strerror.c: Likewise.
47054 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47055 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47056 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47057 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47058 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47059 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47060 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47061 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47062 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47063 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47064 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47065 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47066 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47067 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47068 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47069 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47070 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47071 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47072 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47073 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47074 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47076 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47078 * stdio-common/_itoa.h: Moved to ...
47079 * sysdeps/generic/_itoa.h: Here.
47081 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47083 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47084 instead of "_itoa.h" and "_itowa.h".
47085 * stdio-common/vfprintf.: Likewise.
47087 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47089 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47091 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47092 (__signbit): Likwise.
47093 (llrintf): Likwise.
47096 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47098 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47101 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47103 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47104 OVERFLOW_EXCEPTION_OK.
47105 * math/libm-test.inc ("Philosophy"): Update comment about
47107 (OVERFLOW_EXCEPTION): Define.
47108 (OVERFLOW_EXCEPTION_OK): Likewise.
47109 (INVALID_EXCEPTION_OK): Renumber.
47110 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47111 (IGNORE_ZERO_INF_SIGN): Likewise.
47112 (test_exceptions): Handle FE_OVERFLOW.
47113 (exp10_test): Expect overflow exceptions.
47114 (exp2_test): Likewise.
47115 (expm1_test): Likewise.
47116 (nextafter_test): Likewise.
47117 (pow_test): Likewise.
47118 (scalbn_test): Likewise.
47119 (scalbln_test): Likewise.
47121 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47123 * sysdeps/x86_64/bits/atomic.h
47124 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47126 (atomic_exchange_acq): Likewise.
47127 (__arch_exchange_and_add_body): Likewise.
47128 (__arch_add_body): Likewise.
47129 (atomic_add_negative): Likewise.
47130 (atomic_add_zero): Likewise.
47132 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47134 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47135 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47137 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47139 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47140 Check __x86_64__ instead of __WORDSIZE.
47142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47144 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47146 2012-03-19 David S. Miller <davem@davemloft.net>
47148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47150 * sysdeps/sparc/fpu/fenv_private.h: New file.
47151 * sysdeps/sparc/fpu/math_private.h: Use it.
47152 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47154 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47155 (libc_feholdexcept_setroundl): Remove.
47156 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47158 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47159 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47161 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47163 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47164 int64_t instead of long int.
47165 (INSERT_WORDS64): Likwise.
47167 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47169 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47170 _Unwind_GetCFA return to _Unwind_Ptr first.
47172 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47175 * math/s_clog.c: Include <float.h>.
47176 (__clog): Scale large or subnormal inputs.
47177 * math/s_clogf.c: Likewise.
47178 * math/s_clogl.c: Likewise.
47179 * math/s_clog10.c: Include <float.h>.
47180 (M_LOG10_2): Define.
47181 (__clog10): Scale large or subnormal inputs.
47182 * math/s_clog10f.c: Likewise.
47183 * math/s_clog10l.c: Likewise.
47184 * math/libm-test.inc (clog_test): Add more tests.
47185 (clog10_test): Likewise.
47186 * sysdeps/i386/fpu/libm-test-ulps: Update.
47187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47190 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47192 * math/libm-test.inc (atan2_test): Add another test.
47194 * Makerules (common-objdir-compile): Remove.
47195 * sysdeps/unix/Makefile (config-generated): Do not add
47196 $(unix-generated) to variable.
47197 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47198 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47200 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47202 [generic bits/local_lim.h] (before-compile): Do not append to
47204 [generic bits/local_lim.h] (common-generated): Likewise.
47205 [generic sys/param.h] (before-compile): Do not append to variable.
47206 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47207 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47208 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47209 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47211 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47212 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47213 [generic sys/param.h] ($(addprefix
47214 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47215 [generic sys/param.h] (common-generated): Do not append to
47217 [generic sys/param.h] (sysdep_headers): Likewise.
47218 [generic bits/errno.h] (before-compile): Do not append to
47220 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47222 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47223 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47224 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47225 [generic bits/errno.h] (common-generated): Do not append to
47227 [generic bits/ioctls.h] (before-compile): Do not append to
47229 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47231 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47232 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47233 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47235 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47236 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47237 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47238 [generic bits/ioctls.h] (common-generated): Do not append to
47240 [generic sys/syscall.h] (syscall.h): Remove variable.
47241 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47243 [generic sys/syscall.h] (before-compile): Do not append to
47245 [generic sys/syscall.h] (common-generated): Likewise.
47246 * sysdeps/unix/errnos-tmpl.c: Remove file.
47247 * sysdeps/unix/errnos.awk: Likewise.
47248 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47249 * sysdeps/unix/ioctls.awk: Likewise.
47250 * sysdeps/unix/mk-local_lim.c: Likewise.
47251 * sysdeps/unix/snarf-ioctls: Likewise.
47253 2012-03-19 Richard Henderson <rth@twiddle.net>
47255 * sysdeps/i386/fpu/fenv_private.h: New file.
47256 * sysdeps/i386/fpu/math_private.h: Use it.
47257 (math_opt_barrier, math_force_eval): Remove.
47258 (libc_feholdexcept_setround_53bit): Remove.
47259 (libc_feupdateenv_53bit): Remove.
47260 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47261 (math_opt_barrier, math_force_eval): Remove.
47262 (libc_feholdexcept): Remove.
47263 (libc_feholdexcept_setround): Remove.
47264 (libc_fetestexcept, libc_fesetenv): Remove.
47265 (libc_feupdateenv_test): Remove.
47266 (libc_feupdateenv, libc_feholdsetround): Remove.
47267 (libc_feresetround): Remove.
47269 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47270 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47272 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47273 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47274 (libc_feupdateenv_testl): New.
47275 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47276 (libc_feupdateenv_testf): New.
47277 (libc_feupdateenv): Use libc_feupdateenv_test.
47278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47281 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47282 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47283 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47284 (libc_feresetround_noex): New.
47285 (libc_feresetround_noexf): New.
47286 (libc_feresetround_noexl): New.
47287 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47288 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47289 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47290 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47293 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47295 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47296 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47297 SET_RESTORE_ROUND_NOEX.
47298 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47299 SET_RESTORE_ROUND_NOEXF.
47300 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47301 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47302 (libc_feholdsetroundf): New.
47303 (libc_feresetround, libc_feresetroundf): New.
47305 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47306 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47307 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47309 * sysdeps/generic/math_private.h: Include <fenv.h>.
47310 (default_libc_feholdexcept): New.
47311 (default_libc_feholdexcept_setround): New.
47312 (default_libc_fesetenv, default_libc_feupdateenv): New.
47313 (libc_feholdexcept): Only define if undefined.
47314 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47315 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47316 (libc_feholdexcept_setroundl): Likewise.
47317 (libc_feholdexcept_setround_53bit): Likewise.
47318 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47319 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47320 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47321 (libc_feupdateenv_53bit): Likewise.
47322 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47323 (libc_feholdexcept): Convert from macro to inline function.
47324 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47325 (libc_fesetenv, libc_feupdateenv): Likewise.
47327 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47328 not previously defined.
47329 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47330 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47331 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47332 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47333 * sysdeps/ieee754/flt-32/math_private.h: New file.
47334 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47335 math_private.h below SET_FLOAT_WORD.
47336 (__isnan, __isinf_ns, __finite): Remove.
47337 (__isnanf, __isinf_nsf, __finitef): Remove.
47339 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47343 2012-03-17 David S. Miller <davem@davemloft.net>
47346 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47349 2012-03-16 David S. Miller <davem@davemloft.net>
47351 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47355 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47357 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47358 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47359 sysdep_routines when subdir is sysvipc.
47360 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47361 __getshmlba helper.
47363 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47365 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47367 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47370 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47372 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47373 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47374 (__lround): Renamed to ...
47375 (__llround): This. Replace long int with long long int.
47376 Define lround functions as aliases of llround functions.
47377 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47379 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47381 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47382 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47383 adresses to uintptr_t. Replace "long int" and "unsigned long
47384 int" with "greg_t" on va_arg.
47386 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47388 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47389 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47391 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47392 Move e_machine check before EI_CLASS check. Handle x32
47393 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47394 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47395 SKIP_EM_IA_64 and include
47396 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47398 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47399 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47400 (add_system_dir): New macro.
47402 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47403 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47405 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47416 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47418 * math/w_j0f.c (j0f): Likewise.
47420 * math/w_j0l.c (__j0l): Likewise.
47422 * math/w_j1.c (j1): Likewise.
47424 * math/w_j1f.c (j1f): Likewise.
47426 * math/w_j1l.c (__j1l): Likewise.
47428 * math/w_jn.c (jn): Likewise.
47430 * math/w_jnf.c (jnf): Likewise.
47432 * math/w_jnl.c (__jnl): Likewise.
47434 * math/libm-test.inc (j0_test): Add more tests.
47435 (j1_test): Likewise.
47436 (jn_test): Likewise. Add trailing semicolon to existing test.
47437 (y0_test): Likewise.
47438 (y1_test): Likewise.
47439 * sysdeps/i386/fpu/libm-test-ulps: Update.
47440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47444 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47445 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47446 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47447 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47448 (__tanl): Set errno for infinite argument.
47449 * sysdeps/i386/fpu/mptan.c: Remove.
47450 * sysdeps/i386/fpu/s_tan.S: Likewise.
47451 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47452 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47453 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47454 * math/libm-test.inc (tan_test): Add more tests and enable more
47455 tests for double and long double.
47456 * sysdeps/i386/fpu/libm-test-ulps: Update.
47457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47459 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47461 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47462 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47464 2012-03-16 Roland McGrath <roland@hack.frob.com>
47466 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47467 * configure.in: Use it for both main tree and add-ons.
47468 * configure: Regenerated.
47470 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47472 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47474 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47476 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47480 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47481 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47482 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47483 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47484 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47486 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47488 != 0 for prec == 2.
47489 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47490 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47491 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47492 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47493 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47494 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47495 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47496 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47497 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47498 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47499 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47500 * math/libm-test.inc (cos_test): Add more tests and enable more
47501 tests for long double.
47502 (sin_test): Likewise.
47503 (sincos_test): Likewise.
47504 * sysdeps/i386/fpu/libm-test-ulps: Update.
47505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47507 2012-03-16 David S. Miller <davem@davemloft.net>
47509 * sysdeps/sparc/fpu/math_private.h: New file.
47511 2012-03-15 David S. Miller <davem@davemloft.net>
47513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47527 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47528 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47530 * sysdeps/sparc/sparc-ifunc.h: New file.
47531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47571 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47576 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47578 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47582 2012-03-15 Andreas Jaeger <aj@suse.de>
47585 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47586 ieee754/flt-32 implementation for sin, cos and sincos.
47587 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47588 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47589 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47590 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47591 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47592 ieee754/flt-32 implementation for tan.
47594 * math/libm-test.inc (cos_test): Enable some large input tests for
47596 (sin_test): Likewise.
47597 (sincos_test): Likewise.
47598 (tan_test): Add tests for large input.
47600 * sysdeps/i386/fpu/libm-test-ulps: Update.
47602 2012-03-15 Andreas Jaeger <aj@suse.de>
47605 * math/libm-test.inc (cos_test): Add more test cases.
47606 (sin_test): Likewise.
47607 (sincos_test): Likewise.
47609 2012-03-15 Andreas Jaeger <aj@suse.de>
47612 * math/libm-test.inc (cos_test): Add a test case for large input
47614 (sin_test): Likewise.
47615 (sincos_test): Likewise.
47617 2012-03-15 Andreas Jaeger <aj@suse.de>
47618 Joseph Myers <joseph@codesourcery.com>
47621 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47622 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47623 * sysdeps/i386/fpu/branred.c: Likewise.
47624 * sysdeps/i386/fpu/dosincos.c: Likewise.
47625 * sysdeps/i386/fpu/mpa.c: Likewise.
47626 * sysdeps/i386/fpu/s_cos.S: Likewise.
47627 * sysdeps/i386/fpu/s_sin.S: Likewise.
47628 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47629 * sysdeps/i386/fpu/sincos32.c: Likewise.
47631 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47633 (libc_feupdateenv_53bit): Define.
47634 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47636 (libc_feupdateenv_53bit): Define.
47638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47639 53 bit (without extend i386 double precision).
47641 * math/libm-test.inc (sincos_test): Add tests for large input.
47645 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47647 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47651 2012-03-15 David S. Miller <davem@davemloft.net>
47653 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47654 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47655 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47656 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47681 fmin/fmax sysdep routines.
47682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47684 2012-03-14 David S. Miller <davem@davemloft.net>
47686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47708 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47758 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47763 * sysdeps/sparc/configure.in: New file.
47764 * sysdeps/sparc/configure: Generate.
47765 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47766 * configure: Regenerate.
47767 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47768 * config.make.in (have-as-vis3): New.
47769 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47770 available use -Av9d instead of -Av9a.
47771 * sysdeps/sparc/sparc64/Makefile: Likewise.
47772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47787 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47788 fzeros/fnegs to load 0x80000000 into a float register instead of
47790 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47792 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47796 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47797 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47798 ($(inst_includedir)/bits/syscall.h): Remove rule.
47799 ($(objpfx)bits/syscall.d): Include instead of
47800 $(objpfx)syscall-list.d.
47801 (generated): Change syscall-list.h and syscall-list.d to
47802 bits/syscall.h and bits/syscall.d.
47804 2012-03-14 Roland McGrath <roland@hack.frob.com>
47807 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47809 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47812 * math/s_csqrt.c: Include <float.h>.
47813 (__csqrt): Scale large or subnormal inputs.
47814 * math/s_csqrtf.c: Likewise.
47815 * math/s_csqrtl.c: Likewise.
47816 * math/libm-test.inc (csqrt_test): Add more tests.
47817 * sysdeps/i386/fpu/libm-test-ulps: Update.
47818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47821 * math/libm-test.inc (hypot_test): Add more tests.
47823 2012-03-13 David S. Miller <davem@davemloft.net>
47826 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47827 double-precision for the calculation instead of scaling.
47829 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47831 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47832 manipulate bits before adding and subtracting TWO52[sx].
47833 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47834 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47836 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47838 2012-03-13 David S. Miller <davem@davemloft.net>
47840 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47841 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47842 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47843 rtld-global-offsets.h
47844 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47846 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47849 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47851 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47852 'err' in the ifdef scope in which it is actually used.
47854 * nss/nss_db/db-init.c: Include string.h
47856 2012-03-12 David S. Miller <davem@davemloft.net>
47858 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47859 masking out of the most significant byte of random value used.
47860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47861 Fix coding style in previous change.
47863 * sysdeps/unix/sysv/linux/kernel-features.h
47864 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47865 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47867 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47870 2012-03-11 David S. Miller <davem@davemloft.net>
47872 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47873 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47874 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47875 for 'resultvar' otherwise things get truncated on 64-bit.
47877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47878 Fix masking out of the most significant byte of random value used.
47880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47882 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47886 2012-03-09 David S. Miller <davem@davemloft.net>
47888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47889 variables with appropriate CPP guards.
47890 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47891 from the frame pointer, not the stack pointer. Correct layout
47892 comments. Fix test on resulting framesize and the management of
47893 the outregs buffer for pltexit. Preserve floating point return
47894 values across _dl_call_pltexit call.
47895 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47896 framesize and the management of the outregs buffer for pltexit.
47897 Preserve floating point return values across _dl_call_pltexit
47899 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47900 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47901 (la_sparc64_gnu_pltexit): New functions.
47902 (print_exit): Fix format string for return register value.
47904 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47906 * sunrpc/Makefile (others): Add rpcgen.
47907 ($(objpfx)rpcgen): Remove special build rule and dependency on
47909 * sunrpc/rpcgen.c: New file.
47911 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47914 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47915 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47916 * sysdeps/i386/crti.S: Likewise.
47917 * sysdeps/i386/crtn.S: Likewise.
47918 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47919 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47920 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47921 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47922 * sysdeps/sh/crti.S: Likewise.
47923 * sysdeps/sh/crtn.S: Likewise.
47924 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47927 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47929 * locale/programs/locfile-kw.gperf: Likewise.
47930 * locale/programs/charmap-kw.h: Regenerated.
47931 * locale/programs/locfile-kw.h: Likewise.
47934 * intl/plural.y: Replace FSF snail mail address with URL.
47935 * intl/plural.c: Regenerated.
47937 2012-03-09 Richard Henderson <rth@twiddle.net>
47939 * include/math_private.h: Remove file.
47940 * math/math_private.h: Move file ...
47941 * sysdeps/generic/math_private.h: ... here.
47943 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47944 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47945 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47947 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47948 and <math_private.h>.
47949 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47950 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47951 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47952 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47953 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47954 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47955 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47957 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47958 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47960 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47961 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47963 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47964 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47965 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47967 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47968 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47970 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47971 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47973 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47975 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47976 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47977 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47978 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47979 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47981 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47982 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47983 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47984 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47985 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47986 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47987 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47988 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47989 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47990 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47991 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47992 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47993 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47994 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47995 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47996 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47997 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47998 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47999 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48000 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48001 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48002 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48003 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48004 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48005 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48006 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48007 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48008 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48009 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48010 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48012 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48013 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48014 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48015 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48016 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48017 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48018 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48019 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48021 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48022 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48023 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48026 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48028 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48029 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48030 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48031 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48032 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48033 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48036 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48037 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48038 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48039 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48040 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48042 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48043 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48044 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48045 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48046 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48047 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48048 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48049 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48050 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48051 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48052 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48053 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48054 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48055 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48056 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48057 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48058 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48059 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48060 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48061 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48062 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48063 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48064 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48065 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48066 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48067 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48068 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48069 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48070 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48071 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48072 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48073 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48074 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48075 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48076 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48077 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48078 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48079 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48080 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48081 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48082 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48083 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48084 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48085 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48086 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48087 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48088 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48089 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48090 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48091 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48092 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48093 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48094 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48095 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48096 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48097 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48098 * sysdeps/ieee754/k_standard.c: Likewise.
48099 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48100 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48101 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48102 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48103 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48104 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48105 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48106 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48107 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48108 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48109 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48110 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48111 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48112 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48113 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48114 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48115 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48116 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48117 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48118 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48119 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48120 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48121 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48122 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48123 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48124 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48125 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48126 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48127 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48128 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48129 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48130 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48131 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48132 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48133 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48134 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48135 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48136 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48137 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48138 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48139 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48140 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48141 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48143 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48144 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48145 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48146 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48147 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48148 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48149 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48150 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48151 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48152 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48155 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48156 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48157 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48158 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48159 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48160 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48161 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48162 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48163 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48165 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48166 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48167 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48169 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48173 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48175 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48176 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48177 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48178 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48179 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48180 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48181 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48182 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48183 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48184 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48185 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48186 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48187 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48189 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48190 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48191 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48192 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48193 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48194 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48195 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48196 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48197 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48198 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48199 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48200 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48203 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48204 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48205 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48206 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48207 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48208 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48209 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48210 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48211 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48212 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48213 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48214 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48215 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48216 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48218 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48220 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48221 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48224 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48225 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48226 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48227 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48229 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48230 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48231 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48233 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48234 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48235 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48236 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48237 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48238 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48240 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48241 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48242 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48243 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48245 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48248 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48249 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48250 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48251 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48253 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48254 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48255 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48257 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48258 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48259 * sysdeps/ieee754/s_lib_version.c: Likewise.
48260 * sysdeps/ieee754/s_matherr.c: Likewise.
48261 * sysdeps/ieee754/s_signgam.c: Likewise.
48262 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48263 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48264 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48265 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48266 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48267 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48268 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48269 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48270 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48271 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48272 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48273 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48274 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48275 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48276 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48277 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48278 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48279 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48280 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48284 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48286 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48287 * sunrpc/rpc_main.c: Likewise.
48288 * sunrpc/rpc_svcout.c: Likewise.
48290 2012-03-09 David S. Miller <davem@davemloft.net>
48292 * include/math_private.h: New file.
48294 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48296 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48297 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48298 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48299 from <bits/socket_type.h>.
48300 (enum __socket_type): Don't define here.
48301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48303 bits/socket_type.h.
48306 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48307 checking __USE_GNU.
48309 * Makerules ($(inst_includedir)/%.h): New rule.
48310 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48311 (install-others): Remove variable setting.
48312 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48314 2012-03-08 Richard Henderson <rth@twiddle.net>
48316 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48317 from macro to inline function; merge with the
48318 !__LIBC_INTERNAL_MATH_INLINES version.
48319 (__ieee754_sqrtf): Likewise.
48321 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48322 to inline function.
48323 (__rintf, __floor, __floorf): Likewise.
48325 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48326 macro to inline function.
48327 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48330 not <math/math_private.h>.
48332 2012-03-08 David S. Miller <davem@davemloft.net>
48334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48336 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48338 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48340 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48342 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48343 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48345 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48347 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48348 be defined individually, they must be defined as a block. Define
48349 S for printing a string instead of hidint the different by using a
48350 macro for adding the 'l'.
48351 * stdio-common/tst-fphex-wide.c: Adjust.
48353 2012-03-07 Marek Polacek <polacek@redhat.com>
48355 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48357 2012-03-08 Marek Polacek <polacek@redhat.com>
48360 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48361 * stdio-common/tst-fphex.c: Define a few macros to make the
48362 test reusable. Use them.
48363 * stdio-common/tst-fphex-wide.c: New file.
48365 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48368 * manual/macros.texi (gnusystems): New macro.
48369 (nongnusystems): Likewise.
48370 (gnulinuxhurdsystems): Likewise.
48371 (gnuhurdsystems): Likewise..
48372 (gnulinuxsystems): Likewise.
48373 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48374 variants of the GNU system, not "GNU system".
48375 * manual/conf.texi: Likewise.
48376 * manual/errno.texi: Likewise. Update example of errno macro
48378 * manual/filesys.texi: Likewise.
48379 (getumask): Document as specific to GNU/Hurd.
48380 * manual/install.texi: Likewise. Reword some references to
48382 * manual/intro.texi: Likewise.
48383 * manual/io.texi: Likewise.
48384 (File Name Portability): Detail which constraints are inapplicable
48385 to all GNU systems and which are only inapplicable to GNU/Hurd.
48386 * manual/job.texi: Likewise.
48387 * manual/llio.texi: Likewise.
48388 (O_NOCTTY): Document as present on GNU/Linux.
48389 * manual/maint.texi: Likewise.
48390 * manual/memory.texi: Likewise.
48391 * manual/pattern.texi: Likewise.
48392 * manual/pipe.texi: Likewise.
48393 * manual/process.texi: Likewise.
48394 * manual/resource.texi: Likewise.
48395 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48397 * manual/setjmp.texi: Likewise.
48398 * manual/signal.texi: Likewise.
48399 * manual/startup.texi: Likewise.
48400 * manual/stdio.texi: Likewise.
48401 * manual/terminal.texi: Likewise.
48402 (ONLCR): Document as POSIX.
48403 (OXTABS): Document availability on GNU/Linux as XTABS.
48404 (ONOEOT): Document availability separately from other bits.
48405 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48406 * manual/time.texi: Likewise.
48407 * manual/users.texi: Likewise.
48408 * INSTALL: Regenerated.
48409 * sysdeps/gnu/errlist.c: Regenerated.
48411 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48412 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48413 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48415 * configure: Regenerated.
48417 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48419 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48420 default includes instead of AC_HEADER_CHECK.
48421 * sysdeps/i386/configure: Regenerated.
48424 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48425 * math/s_cacoshf.c (__cacoshf): Likewise.
48426 * math/s_cacoshl.c (__cacoshl): Likewise.
48427 * math/s_casinh.c (__casinh): Set signs of result from argument.
48428 * math/s_casinhf.c (__casinhf): Likewise.
48429 * math/s_casinhl.c (__casinhl): Likewise.
48430 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48431 (casinh_test): Add more tests.
48432 * sysdeps/i386/fpu/libm-test-ulps: Update.
48433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48435 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48437 * po/zh_TW.po: Update from translation team.
48439 * login/Makefile (distribute): Remove variable.
48440 * catgets/Makefile: Likewise.
48441 * mach/Makefile: Likewise.
48442 * malloc/Makefile: Likewise.
48443 * misc/Makefile: Likewise.
48444 * iconv/Makefile: Likewise.
48445 * nscd/Makefile: Likewise.
48446 * hurd/Makefile: Likewise.
48447 * manual/Makefile: Likewise.
48448 * locale/Makefile: Likewise.
48449 * intl/Makefile: Likewise.
48450 * conform/Makefile: Likewise.
48451 * nss/Makefile: Likewise.
48452 * time/Makefile: Likewise.
48453 * soft-fp/Makefile: Likewise.
48454 * dirent/Makefile: Likewise.
48455 * gmon/Makefile: Likewise.
48456 * po/Makefile: Likewise.
48457 * rt/Makefile: Likewise.
48458 * socket/Makefile: Likewise.
48459 * math/Makefile: Likewise.
48460 * signal/Makefile: Likewise.
48461 * debug/Makefile: Likewise.
48462 * elf/Makefile: Likewise.
48463 * timezone/Makefile: Likewise.
48464 * stdlib/Makefile: Likewise.
48465 * iconvdata/Makefile: Likewise.
48466 * sunrpc/Makefile: Likewise.
48467 * io/Makefile: Likewise.
48468 * argp/Makefile: Likewise.
48469 * inet/Makefile: Likewise.
48470 * hesiod/Makefile: Likewise.
48471 * grp/Makefile: Likewise.
48472 * csu/Makefile: Likewise.
48473 * wctype/Makefile: Likewise.
48474 * crypt/Makefile: Likewise.
48475 * libio/Makefile: Likewise.
48476 * string/Makefile: Likewise.
48477 * nis/Makefile: Likewise.
48478 * resolv/Makefile: Likewise.
48479 * stdio-common/Makefile: Likewise.
48480 * wcsmbs/Makefile: Likewise.
48481 * dlfcn/Makefile: Likewise.
48482 * posix/Makefile: Likewise.
48485 * timezone/Makefile: Don't install timezone files, just the programs
48488 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48490 * nss/databases.def: Add missing gshadow entry.
48492 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48494 2012-03-06 Marek Polacek <polacek@redhat.com>
48497 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48498 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48499 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48500 * stdio-common/tst-long-dbl-fphex.c: New file.
48502 2012-03-06 David S. Miller <davem@davemloft.net>
48504 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48505 (set_obp_int): New function.
48506 (get_obp_int): New function.
48507 (__get_clockfreq_via_dev_openprom): Likewise.
48508 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48509 Avoid unused variable warnings on 'val' and use builtin_expect.
48510 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48512 (INLINE_CLONE_SYSCALL): Likewise.
48514 2012-03-05 David S. Miller <davem@davemloft.net>
48516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48518 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48522 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48523 only for |x| >= 40.
48524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48526 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48529 Replace gettimeofday with __vdso_gettimeofday.
48531 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48532 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48533 __vdso_clock_gettime and __vdso_getcpu.
48535 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48536 time with __vdso_time.
48538 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48540 * manual/lang.texi (size_t): Note types to which size_t may be
48541 equivalent with the GNU C Library, but do not describe when
48542 differences between them are significant.
48544 2012-03-05 Andreas Jaeger <aj@suse.de>
48546 * sysdeps/i386/fpu/libm-test-ulps: Update.
48548 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48551 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48552 (__ieee754_pow): Save and restore rounding mode and use
48553 round-to-nearest for main computations.
48554 * math/libm-test.inc (pow_test_tonearest): New function.
48555 (pow_test_towardzero): Likewise.
48556 (pow_test_downward): Likewise.
48557 (pow_test_upward): Likewise.
48558 (main): Call the new functions.
48559 * sysdeps/i386/fpu/libm-test-ulps: Update.
48560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48563 * math/libm-test.inc (cosh_test_tonearest): New function.
48564 (cosh_test_towardzero): Likewise.
48565 (cosh_test_downward): Likewise.
48566 (cosh_test_upward): Likewise.
48567 (sinh_test_tonearest): Likewise.
48568 (sinh_test_towardzero): Likewise.
48569 (sinh_test_downward): Likewise.
48570 (sinh_test_upward): Likewise.
48571 (main): Call the new functions.
48572 * sysdeps/i386/fpu/libm-test-ulps: Update.
48573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48575 2012-03-05 Tom de Vries <tom@codesourcery.com>
48577 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48578 default stack guard is set in last bytes.
48579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48581 2012-03-05 Kees Cook <keescook@chromium.org>
48583 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48586 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48587 possibly allocate from heap instead of stack.
48588 * stdio-common/bug-vfprintf-nargs.c: New file.
48589 * stdio-common/Makefile (tests): Add nargs overflow test.
48591 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48595 2012-03-03 Marek Polacek <polacek@redhat.com>
48597 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48598 * math/math_private.h: Likewise.
48599 * stdlib/tst-strtod.c: Likewise.
48600 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48601 * sysdeps/x86_64/bits/atomic.h: Likewise.
48603 2012-03-02 David S. Miller <davem@davemloft.net>
48605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48609 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48610 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48611 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48612 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48614 2012-03-02 Roland McGrath <roland@hack.frob.com>
48617 * manual/examples/README: New file, says the example source files
48618 can be used under GPL>=2.
48619 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48620 line containing just "*/".
48621 * manual/examples/add.c: Add copyright header (GPL>=2).
48622 * manual/examples/argp-ex1.c: Likewise.
48623 * manual/examples/argp-ex2.c: Likewise.
48624 * manual/examples/argp-ex3.c: Likewise.
48625 * manual/examples/argp-ex4.c: Likewise.
48626 * manual/examples/atexit.c: Likewise.
48627 * manual/examples/db.c: Likewise.
48628 * manual/examples/dir.c: Likewise.
48629 * manual/examples/dir2.c: Likewise.
48630 * manual/examples/execinfo.c: Likewise.
48631 * manual/examples/filecli.c: Likewise.
48632 * manual/examples/filesrv.c: Likewise.
48633 * manual/examples/fmtmsgexpl.c: Likewise.
48634 * manual/examples/genpass.c: Likewise.
48635 * manual/examples/inetcli.c: Likewise.
48636 * manual/examples/inetsrv.c: Likewise.
48637 * manual/examples/isockad.c: Likewise.
48638 * manual/examples/longopt.c: Likewise.
48639 * manual/examples/memopen.c: Likewise.
48640 * manual/examples/memstrm.c: Likewise.
48641 * manual/examples/mkfsock.c: Likewise.
48642 * manual/examples/mkisock.c: Likewise.
48643 * manual/examples/mygetpass.c: Likewise.
48644 * manual/examples/pipe.c: Likewise.
48645 * manual/examples/popen.c: Likewise.
48646 * manual/examples/rprintf.c: Likewise.
48647 * manual/examples/search.c: Likewise.
48648 * manual/examples/select.c: Likewise.
48649 * manual/examples/setjmp.c: Likewise.
48650 * manual/examples/sigh1.c: Likewise.
48651 * manual/examples/sigusr.c: Likewise.
48652 * manual/examples/stpcpy.c: Likewise.
48653 * manual/examples/strdupa.c: Likewise.
48654 * manual/examples/strftim.c: Likewise.
48655 * manual/examples/strncat.c: Likewise.
48656 * manual/examples/subopt.c: Likewise.
48657 * manual/examples/swapcontext.c: Likewise.
48658 * manual/examples/termios.c: Likewise.
48659 * manual/examples/testopt.c: Likewise.
48660 * manual/examples/testpass.c: Likewise.
48661 * manual/examples/timeval_subtract.c: Likewise.
48664 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48666 * manual/timeval_subtract.c.texi: ... here, new file.
48668 2012-03-02 David S. Miller <davem@davemloft.net>
48670 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48672 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48675 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48676 (__sin): Save and restore rounding mode and use round-to-nearest
48677 for all computations.
48678 (__cos): Save and restore rounding mode and use round-to-nearest
48679 for all computations.
48680 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48682 (tan): Save and restore rounding mode and use round-to-nearest for
48684 * math/libm-test.inc (cos_test_tonearest): New function.
48685 (cos_test_towardzero): Likewise.
48686 (cos_test_downward): Likewise.
48687 (cos_test_upward): Likewise.
48688 (sin_test_tonearest): Likewise.
48689 (sin_test_towardzero): Likewise.
48690 (sin_test_downward): Likewise.
48691 (sin_test_upward): Likewise.
48692 (tan_test_tonearest): Likewise.
48693 (tan_test_towardzero): Likewise.
48694 (tan_test_downward): Likewise.
48695 (tan_test_upward): Likewise.
48696 (main): Call the new functions.
48697 * sysdeps/i386/fpu/libm-test-ulps: Update.
48698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48701 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48702 small n, then large n, before computing and testing k+n.
48703 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48706 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48708 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48709 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48710 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48711 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48714 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48715 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48716 * math/libm-test.inc (scalbn_test): Add more tests.
48717 (scalbln_test): Likewise.
48719 * manual/filesys.texi (mode_t): Describe constraints on size and
48720 signedness, not exact equivalence to a particular type.
48722 (ino64_t): Likewise.
48724 (nlink_t): Likewise.
48725 (blkcnt_t): Likewise.
48726 (blkcnt64_t): Likewise.
48727 * manual/llio.texi (off_t): Likewise.
48730 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48731 (__ieee754_exp): Save and restore rounding mode and use
48732 round-to-nearest for all computations.
48733 * math/libm-test.inc (exp_test_tonearest): New function.
48734 (exp_test_towardzero): Likewise.
48735 (exp_test_downward): Likewise.
48736 (exp_test_upward): Likewise.
48737 (main): Call the new functions.
48738 * sysdeps/i386/fpu/libm-test-ulps: Update.
48739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48741 2012-03-01 Chris Demetriou <cgd@google.com>
48743 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48744 have predictable order.
48746 2012-03-01 David S. Miller <davem@davemloft.net>
48748 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48750 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48751 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48752 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48753 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48755 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48756 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48757 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48759 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48760 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48761 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48762 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48763 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48767 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48768 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48769 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48771 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48772 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48773 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48774 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48775 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48776 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48777 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48778 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48779 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48780 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48781 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48782 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48784 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48785 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48787 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48788 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48789 * sysdeps/sparc/elf/configure: Regenerated.
48791 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48793 * configure.in (AS, LD): Require binutils 2.20 or later.
48794 * configure: Regenerated.
48795 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48796 as required minimum version.
48797 * INSTALL: Regenerated.
48801 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48802 before squaring exponent.
48803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48804 bottom long double and 27 bits of top long double before squaring
48806 * math/libm-test.inc (erfc_test): Add more tests.
48807 * sysdeps/i386/fpu/libm-test-ulps: Update.
48808 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48811 2012-03-01 Kai Tietz <ktietz@redhat.com>
48813 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48814 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48815 containing bit-fields.
48816 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48817 * soft-fp/single.h (_FP_UNION_S): Likewise.
48818 * soft-fp/double.h (_FP_UNION_D): Likewise.
48820 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48823 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48824 not include ../strcmp.S.
48825 [USE_AS_STRNCASECMP_L]: Likewise.
48826 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48827 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48828 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48829 (__strncasecmp_l_ia32): Define as alias to
48830 __strncasecmp_l_nonascii.
48833 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48834 * sysdeps/i386/fpu/libm-test-ulps: Update.
48835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48837 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48840 2012-02-29 Jeff Law <law@redhat.com>
48842 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48843 out of bounds read.
48845 2012-02-29 Marek Polacek <polacek@redhat.com>
48848 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48849 * elf/Makefile: Add rules to run tst-unused-dep.out.
48851 2012-02-28 David S. Miller <davem@davemloft.net>
48853 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48854 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48855 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48856 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48857 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48858 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48860 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48862 * math/libm-test.inc (llround_test): Move one test from
48863 lround_test. Use TEST_f_L in moved test.
48864 (lround_test): Move misplaced test to llround_test. Add testcase
48867 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48869 * sysdeps/x86_64/fpu/e_expf.S: New file.
48870 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48872 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48875 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48876 of remain_len that may cause incomplete multi-byte character and
48878 * posix/bug-regex33.c: New file.
48879 * posix/Makefile (tests): Add bug-regex33.
48881 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48883 * manual/macros.texi: New file.
48884 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48885 * manual/libc.texinfo: Include macros.texi.
48886 * manual/creatute.texi: Likewise.
48887 * manual/install.texi: Likewise.
48888 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48889 @glibcadj{} in references to the GNU C Library.
48890 * manual/charset.texi: Likewise.
48891 * manual/conf.texi: Likewise.
48892 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48893 when not using those macros.
48894 * manual/creature.texi: Likewise.
48895 * manual/crypt.texi: Likewise.
48896 * manual/errno.texi: Likewise.
48897 * manual/filesys.texi: Likewise.
48898 * manual/header.texi: Likewise.
48899 * manual/install.texi: Likewise.
48900 * manual/intro.texi: Likewise.
48901 * manual/io.texi: Likewise.
48902 * manual/job.texi: Likewise.
48903 * manual/lang.texi: Likewise.
48904 * manual/libc.texiinfo: Likewise.
48905 * manual/llio.texi: Likewise.
48906 * manual/locale.texi: Likewise.
48907 * manual/maint.texi: Likewise.
48908 * manual/math.texi: Likewise.
48909 * manual/memory.texi: Likewise.
48910 * manual/message.texi: Likewise.
48911 * manual/nss.texi: Likewise.
48912 * manual/pattern.texi: Likewise.
48913 * manual/process.texi: Likewise.
48914 * manual/resource.texi: Likewise.
48915 * manual/search.texi: Likewise.
48916 * manual/setjmp.texi: Likewise.
48917 * manual/signal.texi: Likewise.
48918 * manual/socket.texi: Likewise.
48919 * manual/startup.texi: Likewise.
48920 * manual/stdio.texi: Likewise.
48921 * manual/string.texi: Likewise.
48922 * manual/sysinfo.texi: Likewise.
48923 * manual/syslog.texi: Likewise.
48924 * manual/terminal.texi: Likewise.
48925 * manual/time.texi: Likewise.
48926 * manual/users.texi: Likewise.
48927 * INSTALL: Regenerated.
48928 * NOTES: Regenerated.
48929 * sysdeps/gnu/errlist.c: Regenerated.
48931 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48933 * include/dirent.h: Include <dirstream.h> before
48936 2012-02-28 David S. Miller <davem@davemloft.net>
48938 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48939 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48940 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48941 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48943 2012-02-27 David S. Miller <davem@davemloft.net>
48945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48947 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48948 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48951 frame pointer instead of stack pointer relative arg slot.
48952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48953 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48954 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48956 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48959 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48961 2012-02-27 David S. Miller <davem@davemloft.net>
48963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48967 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48968 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48969 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48970 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48972 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48974 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48975 later. Allow versions 5-9.
48976 * configure: Regenerated.
48977 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48978 required minimum version and 4.6 as recommended version. Do not
48979 mention bugs in GCC 2.7 and 2.8.
48980 * INSTALL: Regenerated.
48982 2012-02-27 David S. Miller <davem@davemloft.net>
48984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48990 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48991 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48993 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48994 manipulate bits before adding and subtracting TWO112[sx].
48995 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48997 2012-02-27 Roland McGrath <roland@hack.frob.com>
49000 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49001 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49002 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49003 being in POSIX, because they are in 1003.1-2008.
49005 * rt/tst-aio.c: Include <fcntl.h>.
49006 * rt/tst-aio7.c: Likewise.
49007 * rt/tst-aio64.c: Likewise.
49009 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49011 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49013 * manual/install.texi (--with-headers): Describe headers as
49014 interface headers, not private headers.
49015 (Specific advice for GNU/Linux systems): Describe use of headers
49016 from "make headers_install", not private headers from older
49018 * INSTALL: Regenerated.
49019 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49021 * sysdeps/unix/sysv/linux/configure: Regenerated.
49023 * manual/llio.texi (fclean): Remove documentation.
49025 * manual/Makefile (libc-texi-generated): New variable. Include
49027 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49028 $(libc-texi-generated), not duplicated list of files.
49029 (version.texi, stamp-version): New rules.
49030 (realclean): Remove $(libc-texi-generated), not individual files
49031 from that list. Do not remove dir-add.texinfo.
49032 * manual/libc.texinfo: Comment out uses of edition numbers and
49033 references to printed manual. Remove last-updated dates.
49034 (EDITION): Comment out.
49036 (VERSION, UPDATED): Remove.
49037 (version.texi): Include.
49039 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49041 * sysdeps/posix/spawni.c: Include <signal.h>.
49042 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49043 * sysdeps/pthread/aio_fsync.c: Likewise.
49045 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49047 * conform/Makefile (tests): Run only when not cross-compiling and
49048 when fast-check is not defined.
49050 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49051 * conform/data/limits.h-data: Fixes for POSIX2008.
49052 * conform/run-conformtest.sh: Run all tests.
49053 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49055 * include/bits/dlfcn.h: Likewise.
49056 * include/langinfo.h: Likewise.
49057 * include/monetary.h: Likewise.
49058 * include/sys/poll.h: Likewise.
49060 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49062 * posix/spawn.h: Define __need_sigset_t.
49063 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49064 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49065 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49066 to get sigevent_t only.
49067 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49068 only for __USE_GNU.
49069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49070 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49071 process_vm_writev only for __USE_GNU.
49072 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49074 * conform/Makefile: For now ignore errors from run-conformtest.
49075 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49076 POSIX to avoid namespace pollution. Don't prepend headers.
49077 * conform/data/aio.h-data: Fixes for POSIX testing.
49078 * conform/data/fcntl.h-data: Likewise.
49079 * conform/data/glob.h-data: Likewise.
49080 * conform/data/grp.h-data: Likewise.
49081 * conform/data/pthread.h-data: Likewise.
49082 * conform/data/pwd.h-data: Likewise.
49083 * conform/data/signal.h-data: Likewise.
49084 * conform/data/spawn.h-data: Likewise.
49085 * conform/data/stdio.h-data: Likewise.
49086 * conform/data/stdlib.h-data: Likewise.
49087 * conform/data/stropts.h-data: Likewise.
49088 * conform/data/sys/mman.h-data: Likewise.
49089 * conform/data/sys/stat.h-data: Likewise.
49090 * conform/data/sys/types.h-data: Likewise.
49091 * conform/data/sys/wait.h-data: Likewise.
49092 * conform/data/time.h-data: Likewise.
49093 * conform/data/unistd.h-data: Likewise.
49094 * conform/data/utime.h-data: Likewise.
49096 * io/sys/stat.h: fchmod was always in POSIX.
49097 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49098 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49099 * rt/aio.h: Define __need_timespec before including <time.h>.
49100 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49101 struct. Add forward declaration of pthread_attr_t and use it in
49103 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49104 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49105 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49106 always remove CLK_TCK definition.
49108 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49110 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49112 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49114 * conform/run-conformtest.sh: New file.
49115 * conform/Makefile: Run run-conformtest for tests.
49116 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49119 * conform/data/uchar.h-data: New file.
49120 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49121 * conform/data/arpa/inet.h-data: Likewise.
49122 * conform/data/assert.h-data: Likewise.
49123 * conform/data/complex.h-data: Likewise.
49124 * conform/data/cpio.h-data: Likewise.
49125 * conform/data/ctype.h-data: Likewise.
49126 * conform/data/dirent.h-data: Likewise.
49127 * conform/data/dlfcn.h-data: Likewise.
49128 * conform/data/errno.h-data: Likewise.
49129 * conform/data/fcntl.h-data: Likewise.
49130 * conform/data/float.h-data: Likewise.
49131 * conform/data/fmtmsg.h-data: Likewise.
49132 * conform/data/fnmatch.h-data: Likewise.
49133 * conform/data/ftw.h-data: Likewise.
49134 * conform/data/glob.h-data: Likewise.
49135 * conform/data/grp.h-data: Likewise.
49136 * conform/data/iconv.h-data: Likewise.
49137 * conform/data/inttypes.h-data: Likewise.
49138 * conform/data/langinfo.h-data: Likewise.
49139 * conform/data/libgen.h-data: Likewise.
49140 * conform/data/limits.h-data: Likewise.
49141 * conform/data/locale.h-data: Likewise.
49142 * conform/data/math.h-data: Likewise.
49143 * conform/data/monetary.h-data: Likewise.
49144 * conform/data/mqueue.h-data: Likewise.
49145 * conform/data/ndbm.h-data: Likewise.
49146 * conform/data/net/if.h-data: Likewise.
49147 * conform/data/netdb.h-data: Likewise.
49148 * conform/data/netinet/in.h-data: Likewise.
49149 * conform/data/nl_types.h-data: Likewise.
49150 * conform/data/poll.h-data: Likewise.
49151 * conform/data/pthread.h-data: Likewise.
49152 * conform/data/pwd.h-data: Likewise.
49153 * conform/data/regex.h-data: Likewise.
49154 * conform/data/sched.h-data: Likewise.
49155 * conform/data/search.h-data: Likewise.
49156 * conform/data/semaphore.h-data: Likewise.
49157 * conform/data/setjmp.h-data: Likewise.
49158 * conform/data/signal.h-data: Likewise.
49159 * conform/data/spawn.h-data: Likewise.
49160 * conform/data/stdarg.h-data: Likewise.
49161 * conform/data/stdio.h-data: Likewise.
49162 * conform/data/stdlib.h-data: Likewise.
49163 * conform/data/string.h-data: Likewise.
49164 * conform/data/strings.h-data: Likewise.
49165 * conform/data/stropts.h-data: Likewise.
49166 * conform/data/sys/ipc.h-data: Likewise.
49167 * conform/data/sys/mman.h-data: Likewise.
49168 * conform/data/sys/msg.h-data: Likewise.
49169 * conform/data/sys/resource.h-data: Likewise.
49170 * conform/data/sys/select.h-data: Likewise.
49171 * conform/data/sys/sem.h-data: Likewise.
49172 * conform/data/sys/shm.h-data: Likewise.
49173 * conform/data/sys/socket.h-data: Likewise.
49174 * conform/data/sys/stat.h-data: Likewise.
49175 * conform/data/sys/statvfs.h-data: Likewise.
49176 * conform/data/sys/time.h-data: Likewise.
49177 * conform/data/sys/timeb.h-data: Likewise.
49178 * conform/data/sys/times.h-data: Likewise.
49179 * conform/data/sys/types.h-data: Likewise.
49180 * conform/data/sys/uio.h-data: Likewise.
49181 * conform/data/sys/un.h-data: Likewise.
49182 * conform/data/sys/utsname.h-data: Likewise.
49183 * conform/data/sys/wait.h-data: Likewise.
49184 * conform/data/syslog.h-data: Likewise.
49185 * conform/data/tar.h-data: Likewise.
49186 * conform/data/termios.h-data: Likewise.
49187 * conform/data/utime.h-data: Likewise.
49188 * conform/data/utmpx.h-data: Likewise.
49189 * conform/data/varargs.h-data: Likewise.
49190 * conform/data/wchar.h-data: Likewise.
49191 * conform/data/wctype.h-data: Likewise.
49192 * conform/data/wordexp.h-data: Likewise.
49194 * include/stropts.h: New file.
49195 * include/uchar.h: New file.
49196 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49197 * include/assert.h: Likewise.
49198 * include/ctype.h: Likewise.
49199 * include/dirent.h: Likewise.
49200 * include/dlfcn.h: Likewise.
49201 * include/fcntl.h: Likewise.
49202 * include/fnmatch.h: Likewise.
49203 * include/glob.h: Likewise.
49204 * include/grp.h: Likewise.
49205 * include/libio.h: Likewise.
49206 * include/locale.h: Likewise.
49207 * include/math.h: Likewise.
49208 * include/net/if.h: Likewise.
49209 * include/netdb.h: Likewise.
49210 * include/netinet/in.h: Likewise.
49211 * include/pthread.h: Likewise.
49212 * include/pwd.h: Likewise.
49213 * include/regex.h: Likewise.
49214 * include/sched.h: Likewise.
49215 * include/search.h: Likewise.
49216 * include/setjmp.h: Likewise.
49217 * include/signal.h: Likewise.
49218 * include/stdio.h: Likewise.
49219 * include/stdlib.h: Likewise.
49220 * include/string.h: Likewise.
49221 * include/sys/cdefs.h: Likewise.
49222 * include/sys/mman.h: Likewise.
49223 * include/sys/msg.h: Likewise.
49224 * include/sys/resource.h: Likewise.
49225 * include/sys/select.h: Likewise.
49226 * include/sys/socket.h: Likewise.
49227 * include/sys/stat.h: Likewise.
49228 * include/sys/statvfs.h: Likewise.
49229 * include/sys/time.h: Likewise.
49230 * include/sys/times.h: Likewise.
49231 * include/sys/uio.h: Likewise.
49232 * include/sys/utsname.h: Likewise.
49233 * include/sys/wait.h: Likewise.
49234 * include/termios.h: Likewise.
49235 * include/time.h: Likewise.
49236 * include/ulimit.h: Likewise.
49237 * include/unistd.h: Likewise.
49238 * include/utime.h: Likewise.
49239 * include/wchar.h: Likewise.
49240 * include/wctype.h: Likewise.
49241 * include/wordexp.h: Likewise.
49243 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49245 * time/time.h: TIME_UTC must be a macro.
49246 Make timespec_get available for ISO C11 only as well.
49248 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49250 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49251 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49253 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49255 * configure.in: Use -o not -a in test for unsupported multi-arch.
49257 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49259 * manual/texinfo.tex: Update to version 2012-01-19.16.
49261 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49263 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49265 2012-02-24 Roland McGrath <roland@hack.frob.com>
49268 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49269 * manual/fdl-1.3.texi: New file.
49270 * manual/fdl-1.1.texi: File removed.
49273 * manual/libc.texinfo (FDL_VERSION): New @set.
49274 Use it for mention of FDL in cover text.
49275 (Documentation License): Use it in @include file name.
49277 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49278 Roland McGrath <roland@hack.frob.com>
49281 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49282 (not LONG_LONG_MAX and LONG_LONG_MIN.
49283 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49284 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49286 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49288 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49292 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49293 manipulate bits before adding and subtracting TWO23[sx].
49294 * math/libm-test.inc (nearbyint_test): Add more tests.
49296 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49299 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49300 bits before adding and subtracting TWO23[sx].
49301 * math/libm-test.inc (rint_test): Add more tests.
49302 (rint_test_tonearest): Likewise.
49303 (rint_test_towardzero): Likewise.
49304 (rint_test_downward): Likewise.
49305 (rint_test_upward: Likewise.
49307 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49310 * include/stdc-predef.h: New file. Extracted from features.h.
49311 * include/features.h: Include stdc-predef.h.
49312 * Makefile (headers): Add stdc-predef.h.
49313 * CONFORMANCE (Compiler limitations): Update.
49315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49317 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49319 2012-02-21 David S. Miller <davem@davemloft.net>
49321 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49322 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49324 2012-02-20 David S. Miller <davem@davemloft.net>
49326 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49327 using a normal save/restore sequence, rather than allocating a
49328 dummy stack frame just to store a frame pointer and restore.
49329 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49331 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49333 * manual/install.texi: Fix stray word in line-wrapped comment.
49335 2012-02-20 David S. Miller <davem@davemloft.net>
49337 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49338 both binutils and gcc support GOTDATA.
49340 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49341 "rd %pc" in the PIC register setup sequences.
49343 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49344 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49345 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49346 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49347 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49349 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49352 (SYSCALL_ERROR_HANDLER): Likewise.
49353 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49354 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49356 (SYSCALL_ERROR_HANDLER): Likewise.
49358 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49359 (HAVE_GCC_GOTDATA): New.
49360 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49361 relocation support in both binutils and gcc.
49362 * sysdeps/sparc/elf/configure: Regenerate.
49364 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49365 * sysdeps/sparc/sparc32/elf/configure: Delete.
49366 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49367 * sysdeps/sparc/sparc64/elf/configure: Delete.
49368 * sysdeps/sparc/elf/configure.in: New file.
49369 * sysdeps/sparc/elf/configure: Generate.
49371 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49372 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49373 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49374 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49375 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49377 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49379 * manual/install.texi: Do not mention specific glibc version
49381 * manual/libc.texinfo (VERSION, UPDATED): Update.
49382 (@copying): Use @copyright{} and range of years.
49384 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49387 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49388 [crti.S not in sysdirs] (generated): Do not append.
49389 [crti.S not in sysdirs] (omit-deps): Likewise.
49390 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49391 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49392 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49393 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49394 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49396 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49397 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49398 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49399 * csu/defs.awk: Remove file.
49400 * sysdeps/generic/initfini.c: Likewise.
49401 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49403 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49406 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49408 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49409 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49410 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49411 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49413 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49415 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49416 (__EPOLL_PACKED): Define to empty if not defined by
49418 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49422 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49424 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49425 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49426 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49427 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49429 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49433 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49435 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49437 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49438 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49442 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49444 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49445 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49447 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49449 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49450 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49452 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49454 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49457 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49459 * math/w_acos.c: Use non-signaling floating-point comparisons.
49460 * math/w_acosf.c: Likewise.
49461 * math/w_acosh.c: Likewise.
49462 * math/w_acoshf.c: Likewise.
49463 * math/w_acoshl.c: Likewise.
49464 * math/w_acosl.c: Likewise.
49465 * math/w_asin.c: Likewise.
49466 * math/w_asinf.c: Likewise.
49467 * math/w_asinl.c: Likewise.
49468 * math/w_atanh.c: Likewise.
49469 * math/w_atanhf.c: Likewise.
49470 * math/w_atanhl.c: Likewise.
49471 * math/w_exp2.c: Likewise.
49472 * math/w_exp2f.c: Likewise.
49473 * math/w_exp2l.c: Likewise.
49474 * math/w_j0.c: Likewise.
49475 * math/w_j0f.c: Likewise.
49476 * math/w_j0l.c: Likewise.
49477 * math/w_j1.c: Likewise.
49478 * math/w_j1f.c: Likewise.
49479 * math/w_j1l.c: Likewise.
49480 * math/w_jn.c: Likewise.
49481 * math/w_jnf.c: Likewise.
49482 * math/w_log.c: Likewise.
49483 * math/w_log10.c: Likewise.
49484 * math/w_log10f.c: Likewise.
49485 * math/w_log10l.c: Likewise.
49486 * math/w_log2.c: Likewise.
49487 * math/w_log2f.c: Likewise.
49488 * math/w_log2l.c: Likewise.
49489 * math/w_logf.c: Likewise.
49490 * math/w_logl.c: Likewise.
49491 * math/w_sqrt.c: Likewise.
49492 * math/w_sqrtf.c: Likewise.
49493 * math/w_sqrtl.c: Likewise.
49494 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49495 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49497 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49498 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49500 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49503 * manual/string.texi (strnlen): Use correct parameter name in
49504 equivalent expression.
49506 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49509 * manual/users.texi (seteuid): Consistently use neweuid for
49512 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49515 * manual/nss.texi (Services in the NSS configuration): Correct
49516 list of services in example configuration file.
49518 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49521 * manual/arith.texi: Remove statements about negative zero
49522 behaving identically to zero.
49524 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49527 * manual/install.texi: Do not document upgrading from libc5.
49529 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49532 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49534 2012-02-18 David S. Miller <davem@davemloft.net>
49536 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49537 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49538 %o7 across the call.
49539 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49541 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49542 SETUP_PIC_REG_LEAF.
49543 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49544 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49545 * sysdeps/sparc/crtn.S: Likewise.
49547 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49549 * aout/Makefile: Remove.
49551 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49554 * manual/examples/argp-ex1.c (main): Format definition in GNU
49556 * manual/examples/argp-ex2.c (main): Likewise.
49557 * manual/examples/argp-ex3.c (main): Likewise.
49558 * manual/examples/argp-ex4.c (main): Likewise.
49559 * manual/examples/longopt.c (main): Use new-style prototype
49561 * manual/examples/strncat.c (main): Specify return type and use
49562 (void) for arguments.
49563 * manual/examples/subopt.c (main): Use char **argv argument.
49565 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49568 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49571 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49574 * manual/string.texi (strchr): Change when strchrnul is
49577 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49580 * manual/locale.texi (setlocale): Document LOCPATH.
49582 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49585 * manual/process.texi (execle): Move @dots{} before last argument.
49587 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49590 * manual/charset.texi (Generic Charset Conversion): Fix typo
49591 (LC_TYPE -> LC_CTYPE).
49593 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49596 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49597 (scalbnf): Likewise.
49598 (scalbnl): Likewise.
49599 (scalbln): Likewise.
49600 (scalblnf): Likewise.
49601 (scalblnl): Likewise.
49602 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49603 (vwarnx): Likewise.
49606 * manual/filesys.texi (telldir): Use braces around return type.
49607 * manual/llio.texi (mmap): Add space after comma.
49608 (mmap64): Likewise.
49609 * manual/math.texi (jn): Use @var{} on parameter names.
49615 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49617 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49619 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49620 (sched_get_priority_max): Likewise.
49621 * manual/signal.texi (sigvec): Add space after comma.
49622 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49624 (if_indextoname): Likewise.
49625 (if_freenameindex): Likewise.
49626 (sendto): Use ',' instead of '.' in prototype.
49627 * manual/startup.texi (syscall): Use @dots{} instead of literal
49629 * manual/stdio.texi (__fpending): Separate initial words of
49630 paragraph from @deftypefun line.
49631 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49633 (vsyslog): Use @var{} on parameter names.
49634 * manual/terminal.texi (stty): Use @var{} on parameter names.
49635 * manual/users.texi (getutmp): Use @var{} on parameter names.
49636 (getutmpx): Likewise.
49638 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49641 * manual/stdio.texi (fopen): Fix typos in description of
49644 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49647 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49648 get clock_id definition.
49650 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49653 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49654 (madvise): Cast every argument to void on its own.
49656 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49659 * manual/startup.texi (Exit Status): Fix typo.
49661 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49664 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49665 * manual/examples/argp-ex2.c: Likewise.
49666 * manual/examples/argp-ex3.c: Likewise.
49668 2012-02-16 Richard Henderson <rth@redhat.com>
49670 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49671 * sysdeps/s390/s390-32/initfini.c: Remove.
49672 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49673 * sysdeps/s390/s390-64/initfini.c: Remove.
49675 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49677 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49678 compiler output for sysdeps/generic/initfini.c.
49679 * sysdeps/sh/elf/initfini.c: Remove file.
49681 2012-02-16 David S. Miller <davem@davemloft.net>
49684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49686 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49687 * sysdeps/sparc/crti.S: New file.
49688 * sysdeps/sparc/crtn.S: New file.
49689 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49690 * sysdeps/sparc/sparc64/Makefile: Likewise.
49692 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49695 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49697 2012-02-15 Roland McGrath <roland@hack.frob.com>
49700 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49702 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49703 (write, read, close): Likewise.
49704 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49706 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49708 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49709 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49710 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49711 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49713 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49717 2012-02-14 Marek Polacek <polacek@redhat.com>
49719 * sysdeps/x86_64/crti.S: New file.
49720 * sysdeps/x86_64/crtn.S: New file.
49721 * sysdeps/x86_64/elf/initfini.c: Remove file.
49723 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49725 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49726 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49727 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49728 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49730 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49734 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49736 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49737 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49738 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49739 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49741 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49745 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49747 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49748 __feraiseexcept instead of feraiseexcept.
49750 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49751 nanosleep invocations.
49752 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49753 strings, and add error checking for a nanosleep invocations.
49755 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49757 Replace FSF snail mail address with URLs, as per GNU coding standards.
49758 Most of the snail mail addresses were wrong anyway, and omitting
49759 them makes the source code easier to maintain. Almost all of the
49760 changes are to license notices and to locale LC_IDENTIFICATION
49761 addresses, except for this one:
49762 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49763 not its snail mail address.
49765 2012-02-09 Richard Henderson <rth@twiddle.net>
49767 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49768 of kernel-features.h.
49770 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49772 2012-02-08 Marek Polacek <polacek@redhat.com>
49774 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49775 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49776 * sysdeps/gnu/_G_config.h: Likewise.
49777 * sysdeps/generic/_G_config.h: Likewise.
49779 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49781 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49785 * sysdeps/powerpc/powerpc32/crti.S: New file.
49786 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49787 * sysdeps/powerpc/powerpc64/crti.S: New file.
49788 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49790 * Makeconfig (have-initfini): Don't set.
49791 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49792 * configure.in (nopic_initfini): Don't substitute.
49793 * config.h.in (HAVE_INITFINI): Don't #undef.
49794 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49795 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49797 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49799 Support crti.S and crtn.S provided directly by architectures.
49800 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49801 [crti.S in sysdirs] (omit-deps): Likewise.
49802 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49803 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49804 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49805 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49806 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49807 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49808 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49809 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49810 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49811 compiler output for sysdeps/generic/initfini.c.
49812 * sysdeps/i386/elf/Makefile: Remove file.
49813 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49815 2012-02-07 Marek Polacek <polacek@redhat.com>
49817 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49818 * sysdeps/gnu/_G_config.h: Likewise.
49819 * sysdeps/mach/hurd/_G_config.h: Likewise.
49821 2012-02-07 Marek Polacek <polacek@redhat.com>
49823 * math/Makefile (tests): Add tst-CMPLX2.
49824 * math/tst-CMPLX2.c: New file.
49826 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49828 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49830 * math/libm-test.inc (jn_test): Add missing L suffix.
49832 2012-02-06 Marek Polacek <polacek@redhat.com>
49834 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49835 * sysdeps/i386/fpu/e_powf.S: Likewise.
49836 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49837 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49838 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49839 * sysdeps/i386/fpu/e_pow.S: Likewise.
49840 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49841 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49842 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49843 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49844 * sysdeps/i386/fpu/e_log2.S: Likewise.
49845 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49846 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49847 * sysdeps/i386/fpu/e_powl.S: Likewise.
49848 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49849 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49850 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49851 * sysdeps/i386/fpu/e_logl.S: Likewise.
49852 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49853 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49854 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49855 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49856 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49857 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49858 * sysdeps/i386/fpu/e_log.S: Likewise.
49859 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49860 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49861 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49862 * sysdeps/i386/fpu/e_logf.S: Likewise.
49863 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49864 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49865 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49866 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49867 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49868 * sysdeps/i386/fpu/e_log10.S: Likewise.
49869 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49870 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49871 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49872 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49873 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49874 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49875 * sysdeps/i386/asm-syntax.h: Likewise.
49876 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49877 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49878 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49879 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49880 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49881 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49882 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49883 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49884 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49885 * sysdeps/powerpc/sysdep.h: Likewise.
49886 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49887 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49889 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49892 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49894 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49896 * sysdeps/i386/sysdep.h: Include <features.h>.
49897 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49900 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49902 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49904 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49907 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49909 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49910 (SETUP_PIC_REG): Use GET_PC_THUNK.
49911 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49914 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49916 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49917 for non-PIC compilation.
49918 (SETUP_PIC_REG): Add .p2align directive.
49919 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49920 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49921 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49922 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49923 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49924 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49925 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49926 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49927 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49928 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49929 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49930 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49931 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49932 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49933 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49934 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49935 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49936 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49937 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49938 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49939 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49940 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49941 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49942 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49945 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49946 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49947 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49948 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49949 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49950 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49951 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49952 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49953 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49954 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49955 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49956 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49957 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49958 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49959 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49961 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49963 * math/tst-CMPLX.c: Include <stdio.h>.
49965 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49967 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49969 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49970 * sysdeps/sparc/bits/mathdef.h: Likewise.
49972 2012-01-31 Marek Polacek <polacek@redhat.com>
49974 * libio/libio.h: Don't define _PARAMS.
49975 * locale/programs/config.h: Don't define PARAMS.
49976 * stdlib/strtol_l.c: Likewise.
49977 (__strtol_l): Remove PARAMS from the prototype.
49979 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49981 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49982 names. Just use the correct names. Remove unnecessary wrapper
49984 * malloc/arena.c: Likewise.
49985 * malloc/hooks.c: Likewise.
49987 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49988 ARENA_TEST says not to. Simplify test for creation of a new arena.
49989 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49991 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49993 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49995 (update_get_addr): New function.
49996 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49997 GET_ADDR_MODULE parameter.
49999 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50001 * crypt/cert.c: Remove __STDC__ conditionals.
50002 * crypt/crypt-entry.c: Likewise.
50003 * crypt/crypt_util.c: Likewise.
50004 * libio/filedoalloc.c: Likewise.
50005 * libio/fileops.c: Likewise.
50006 * libio/genops.c: Likewise.
50007 * libio/iofclose.c: Likewise.
50008 * libio/iofdopen.c: Likewise.
50009 * libio/iofopen.c: Likewise.
50010 * libio/iofopen64.c: Likewise.
50011 * libio/iogetdelim.c: Likewise.
50012 * libio/iopopen.c: Likewise.
50013 * libio/obprintf.c: Likewise.
50014 * libio/oldfileops.c: Likewise.
50015 * libio/oldiofclose.c: Likewise.
50016 * libio/oldiofdopen.c: Likewise.
50017 * libio/oldiofopen.c: Likewise.
50018 * libio/oldiopopen.c: Likewise.
50019 * libio/wfiledoalloc.c: Likewise.
50020 * libio/wgenops.c: Likewise.
50021 * locale/programs/xmalloc.c: Likewise.
50022 * misc/syslog.c: Likewise.
50023 * stdio-common/xbug.c: Likewise.
50024 * string/memchr.c: Likewise.
50025 * string/memcmp.c: Likewise.
50026 * string/memrchr.c: Likewise.
50027 * string/rawmemchr.c: Likewise.
50028 * sysdeps/posix/getcwd.c: Likewise.
50029 * time/strftime_l.c: Likewise.
50031 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50033 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50034 * config.make.in (config-cflags-sse2avx): Define.
50035 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50038 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50040 * scripts/config.guess: Update from upstream config git repository.
50041 * scripts/config.sub: Likewise.
50043 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50045 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50047 (R_TILEPRO_*, R_TILEGX_*): New macros.
50049 * scripts/firstversions.awk: Fix bug in version range handling.
50051 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50053 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50055 * include/sys/epoll.h: New file.
50056 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50059 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50061 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50062 Avoid unnecessary __WORDSIZE == 64 test.
50063 (fmaxf): Use VEX format if possible.
50068 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50069 * math/math_private.h: Remove libc_fegetround* and
50071 * sysdeps/i386/configure.in: Check for -msse2avx.
50072 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50073 also if SSE2AVX is defined.
50074 Remove libc_fegetround* and libc_fesetround*.
50075 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50076 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50077 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50079 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50080 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50081 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50082 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50083 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50085 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50087 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50089 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50091 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50093 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50096 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50098 * Makeconfig (libm): Define.
50099 * elf/Makefile: Add rules to build and run tst-relsort1.
50100 * elf/tst-relsort1.c: New file.
50101 * elf/tst-relsort1mod1.c: New file.
50102 * elf/tst-relsort1mod2.c: New file.
50104 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50106 * math/s_ldexp.c: Remove __STDC__ conditionals.
50107 * math/s_ldexpf.c: Likewise.
50108 * math/s_ldexpl.c: Likewise.
50109 * math/s_nextafter.c: Likewise.
50110 * math/s_nexttowardf.c: Likewise.
50111 * math/s_significand.c: Likewise.
50112 * math/s_significandf.c: Likewise.
50113 * math/s_significandl.c: Likewise.
50114 * math/w_jnl.c: Likewise.
50115 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50116 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50117 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50118 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50119 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50121 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50122 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50123 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50124 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50125 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50126 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50127 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50128 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50129 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50130 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50131 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50132 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50133 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50134 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50135 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50136 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50137 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50138 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50139 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50140 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50141 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50142 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50143 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50144 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50145 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50146 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50147 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50148 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50149 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50150 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50151 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50152 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50153 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50154 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50155 * sysdeps/ieee754/k_standard.c: Likewise.
50156 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50157 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50158 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50159 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50160 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50161 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50162 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50163 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50164 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50165 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50166 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50167 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50168 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50169 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50170 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50172 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50173 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50175 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50176 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50177 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50178 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50179 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50180 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50181 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50185 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50186 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50187 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50188 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50189 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50191 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50192 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50193 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50194 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50195 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50196 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50198 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50199 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50200 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50201 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50202 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50203 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50204 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50205 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50206 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50209 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50210 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50211 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50212 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50215 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50216 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50217 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50218 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50220 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50221 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50222 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50223 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50224 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50225 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50226 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50227 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50228 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50229 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50230 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50231 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50232 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50233 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50234 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50235 * sysdeps/ieee754/s_matherr.c: Likewise.
50236 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50237 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50239 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50241 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50243 * crypt/md5.h: Remove __STDC__ conditionals.
50244 * libio/libioP.h: Likewise.
50245 * locale/programs/config.h: Likewise.
50246 * sysdeps/generic/sysdep.h: Likewise.
50247 * sysdeps/i386/asm-syntax.h: Likewise.
50248 * sysdeps/s390/asm-syntax.h: Likewise.
50249 * sysdeps/unix/sysdep.h: Likewise.
50250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50253 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50255 * libio/libio.h: Remove __STDC__ conditionals.
50256 * malloc/obstack.h: Likewise.
50257 * math/complex.h: Likewise.
50258 * math/math.h: Likewise.
50259 * sysdeps/generic/_G_config.h: Likewise.
50260 * sysdeps/gnu/_G_config.h: Likewise.
50261 * sysdeps/mach/hurd/_G_config.h: Likewise.
50262 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50263 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50264 * sysdeps/sparc/bits/mathdef.h: Likewise.
50266 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50269 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50270 Clean up HAS_* macros.
50271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50272 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50274 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50276 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50277 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50278 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50279 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50280 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50282 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50284 * elf/tst-unique3.cc (gets): Remove declaration.
50285 * elf/tst-unique3lib.cc (gets): Likewise.
50286 * elf/tst-unique3lib2.cc (gets): Likewise.
50287 * elf/tst-unique4.cc (gets): Likewise.
50289 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50291 * include/stdio.h: Add C++ protection. Add gets declarations and
50293 * debug/tst-chk1.c: Don't declare gets here.
50294 * stdio-common/tst-gets.c: Likewise.
50296 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50298 * posix/glob: Remove directory.
50300 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50302 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50304 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50306 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50307 of the non-standard EPFNOSUPPORT.
50309 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50311 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50312 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50313 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50315 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50317 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50319 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50321 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50323 * nscd/grpcache.c (cache_addgr): Likewise.
50324 * nscd/hstcache.c (cache_addhst): Likewise.
50325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50326 * nscd/pwdcache.c (cache_addpw): Likewise.
50327 * nscd/servicescache.c (cache_addserv): Likewise.
50329 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50331 * malloc/malloc.c: Various cleanups.
50332 * malloc/hooks.c: Likewise.
50334 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50335 * stdlib/bug-fmtmsg1.c: New file.
50337 * stdlib/fmtmsg.c (init): Add missing unlock.
50338 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50340 2012-01-12 Marek Polacek <polacek@redhat.com>
50342 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50345 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50347 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50348 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50349 macro to ensure uniqueness of label name.
50350 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50351 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50353 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50355 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50357 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50358 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50359 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50362 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50364 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50366 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50367 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50368 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50370 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50372 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50373 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50374 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50377 * math/bits/math-finite.h: Add ldexp support.
50379 2012-01-10 Marek Polacek <polacek@redhat.com>
50381 * locale/programs/localedef.h (show_archive_content): Add noreturn
50384 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50386 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50388 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50390 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50392 * io/Makefile (headers): Add bits/poll2.h.
50394 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50397 typo #include statement.
50399 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50401 * include/sys/cdefs.h: Define __attribute_alloc_size.
50402 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50403 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50404 * elf/pldd.c: Likewise.
50405 * iconv/iconv_charmap.c: Likewise.
50406 * iconv/iconvconfig.c: Likewise.
50407 * iconv/strtab.c: Likewise.
50408 * locale/programs/locale.c: Likewise.
50409 * locale/programs/localedef.h: Likewise.
50410 * locale/programs/simple-hash.c: Likewise.
50411 * nscd/nscd.h: Likewise.
50412 * nss/makedb.c: Likewise.
50413 * sysdeps/generic/ldconfig.h: Likewise.
50414 * locale/programs/localedef.c: Remove xmalloc prototype.
50415 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50417 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50422 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50424 * math/Makefile (tests): Add tst-CMPLX.
50425 * math/tst-CMPLX.c: New file.
50427 * math/complex.h (CMPLXL): Fix typo.
50429 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50430 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50432 * debug/tst-chk1.c: Add poll and ppoll tests.
50433 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50434 * include/sys/poll.h: Add hidden proto for ppoll.
50435 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50436 * sysdeps/mach/hurd/ppoll.c: Likewise.
50437 * io/ppoll.c: Likewise.
50438 * debug/poll_chk.c: New file.
50439 * debug/ppoll_chk.c: New file.
50440 * include/bits/poll2.h: New file.
50441 * io/bits/poll2.h: New file.
50444 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50446 * configure.in: static is always set to yes. Remove.
50447 * config.make.in: Don't set build-static.
50448 * Makeconfig: Remove use of build-static.
50449 * dlfcn/Makefile: Likewise.
50450 * elf/Makefile: Likewise.
50451 * math/Makefile: Likewise.
50452 * misc/Makefile: Likewise.
50453 * nptl/Makefile: Likewise.
50454 * sysdeps/mach/hurd/Makefile: Likewise.
50456 * configure.in: PWD_P is not used anymore.
50457 * config.make.in: Remove PWD_P entry.
50459 * configure.in: Remove last remnants of RANLIB.
50460 No need to check for signed size_t anymore.
50461 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50463 Remove __builtin_expect test because we require at least gcc 3.4.
50464 * aclocal.m4: Likewise.
50466 * wcsmbs/mbrtoc16.c: Implement using towc function.
50467 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50468 * wcsmbs/wcsmbsload.c: Likewise.
50469 * iconv/gconv_simple.c: Likewise.
50470 * iconv/gconv_int.h: Likewise.
50471 * iconv/gconv_builtin.h: Likewise.
50472 * iconv/iconv_prog.c: Remove CHAR16 handling.
50474 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50476 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50478 * configure.in: Remove --with-elf and --enable-bounded options.
50479 Dont set base_machine for ia64. More non-ELF conditions removed.
50480 Remove testing and setting of leading underscore information.
50481 * config.make.in (build-bounded): Set to no.
50482 * config.h.in: Remove NO_UNDERSCORES entry.
50483 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50485 * csu/start.c: Remove !NO_UNDERSCORE code.
50486 * locale/localeinfo.h: Likewise.
50487 * sysdeps/generic/machine-gmon.h: Likewise.
50488 * sysdeps/generic/sysdep.h: Likewise.
50489 * sysdeps/i386/sysdep.h: Likewise.
50490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50491 * sysdeps/mach/sysdep.h: Likewise.
50492 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50493 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50494 * sysdeps/sh/sysdep.h: Likewise.
50495 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50496 * sysdeps/unix/i386/sysdep.S: Likewise.
50497 * sysdeps/unix/sparc/start.c: Likewise.
50498 * sysdeps/unix/sparc/sysdep.S: Likewise.
50499 * sysdeps/unix/sparc/sysdep.h: Likewise.
50500 * sysdeps/unix/start.c: Likewise.
50501 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50502 * sysdeps/x86_64/sysdep.h: Likewise.
50504 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50507 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50509 * argp/argp-fmtstream.h: Use const instead __const.
50510 * argp/argp.h: Likewise.
50511 * assert/assert.h: Likewise.
50512 * bits/fenv.h: Likewise.
50513 * bits/sched.h: Likewise.
50514 * bits/sigset.h: Likewise.
50515 * bits/sigthread.h: Likewise.
50516 * catgets/nl_types.h: Likewise.
50517 * conform/data/pthread.h-data: Likewise.
50518 * crypt/crypt-private.h: Likewise.
50519 * crypt/crypt.h: Likewise.
50520 * crypt/crypt_util.c: Likewise.
50521 * ctype/ctype.h: Likewise.
50522 * debug/execinfo.h: Likewise.
50523 * debug/mbsnrtowcs_chk.c: Likewise.
50524 * debug/mbsrtowcs_chk.c: Likewise.
50525 * debug/wcsnrtombs_chk.c: Likewise.
50526 * debug/wcsrtombs_chk.c: Likewise.
50527 * debug/wcstombs_chk.c: Likewise.
50528 * dirent/dirent.h: Likewise.
50529 * dlfcn/dlfcn.h: Likewise.
50530 * elf/neededtest4.c: Likewise.
50531 * grp/grp.h: Likewise.
50532 * gshadow/gshadow.h: Likewise.
50533 * iconv/gconv.h: Likewise.
50534 * iconv/gconv_int.h: Likewise.
50535 * iconv/gconv_simple.c: Likewise.
50536 * iconv/iconv.h: Likewise.
50537 * iconv/loop.c: Likewise.
50538 * iconv/skeleton.c: Likewise.
50539 * include/aio.h: Likewise.
50540 * include/aliases.h: Likewise.
50541 * include/argz.h: Likewise.
50542 * include/arpa/inet.h: Likewise.
50543 * include/assert.h: Likewise.
50544 * include/dirent.h: Likewise.
50545 * include/dlfcn.h: Likewise.
50546 * include/execinfo.h: Likewise.
50547 * include/fcntl.h: Likewise.
50548 * include/fenv.h: Likewise.
50549 * include/glob.h: Likewise.
50550 * include/grp.h: Likewise.
50551 * include/libintl.h: Likewise.
50552 * include/mntent.h: Likewise.
50553 * include/netdb.h: Likewise.
50554 * include/pwd.h: Likewise.
50555 * include/rpc/netdb.h: Likewise.
50556 * include/sched.h: Likewise.
50557 * include/search.h: Likewise.
50558 * include/shadow.h: Likewise.
50559 * include/signal.h: Likewise.
50560 * include/stdio.h: Likewise.
50561 * include/stdlib.h: Likewise.
50562 * include/string.h: Likewise.
50563 * include/sys/socket.h: Likewise.
50564 * include/sys/stat.h: Likewise.
50565 * include/sys/statfs.h: Likewise.
50566 * include/sys/statvfs.h: Likewise.
50567 * include/sys/syslog.h: Likewise.
50568 * include/sys/time.h: Likewise.
50569 * include/sys/uio.h: Likewise.
50570 * include/time.h: Likewise.
50571 * include/unistd.h: Likewise.
50572 * include/utmp.h: Likewise.
50573 * include/wchar.h: Likewise.
50574 * include/wctype.h: Likewise.
50575 * inet/aliases.h: Likewise.
50576 * inet/arpa/inet.h: Likewise.
50577 * inet/netinet/ether.h: Likewise.
50578 * inet/netinet/in.h: Likewise.
50579 * intl/libintl.h: Likewise.
50580 * io/bits/fcntl2.h: Likewise.
50581 * io/fcntl.h: Likewise.
50582 * io/ftw.h: Likewise.
50583 * io/sys/poll.h: Likewise.
50584 * io/sys/stat.h: Likewise.
50585 * io/sys/statfs.h: Likewise.
50586 * io/sys/statvfs.h: Likewise.
50587 * io/utime.h: Likewise.
50588 * libio/bits/stdio.h: Likewise.
50589 * libio/bits/stdio2.h: Likewise.
50590 * libio/libio.h: Likewise.
50591 * libio/libioP.h: Likewise.
50592 * libio/stdio.h: Likewise.
50593 * locale/lc-ctype.c: Likewise.
50594 * locale/locale.h: Likewise.
50595 * login/utmp.h: Likewise.
50596 * malloc/arena.c: Likewise.
50597 * malloc/malloc.c: Likewise.
50598 * malloc/malloc.h: Likewise.
50599 * malloc/mcheck.c: Likewise.
50600 * malloc/mtrace.c: Likewise.
50601 * math/bits/mathcalls.h: Likewise.
50602 * math/fenv.h: Likewise.
50603 * math/math_private.h: Likewise.
50604 * misc/bits/error.h: Likewise.
50605 * misc/bits/syslog.h: Likewise.
50606 * misc/err.h: Likewise.
50607 * misc/error.h: Likewise.
50608 * misc/fstab.h: Likewise.
50609 * misc/mntent.h: Likewise.
50610 * misc/regexp.h: Likewise.
50611 * misc/search.h: Likewise.
50612 * misc/sgtty.h: Likewise.
50613 * misc/sys/mman.h: Likewise.
50614 * misc/sys/syslog.h: Likewise.
50615 * misc/sys/uio.h: Likewise.
50616 * misc/sys/xattr.h: Likewise.
50617 * misc/ttyent.h: Likewise.
50618 * nis/rpcsvc/ypclnt.h: Likewise.
50619 * nss/nss.h: Likewise.
50620 * posix/bits/unistd.h: Likewise.
50621 * posix/fnmatch.h: Likewise.
50622 * posix/glob.h: Likewise.
50623 * posix/sched.h: Likewise.
50624 * posix/spawn.h: Likewise.
50625 * posix/sys/wait.h: Likewise.
50626 * posix/unistd.h: Likewise.
50627 * posix/wordexp.h: Likewise.
50628 * pwd/pwd.h: Likewise.
50629 * resolv/netdb.h: Likewise.
50630 * resource/sys/resource.h: Likewise.
50631 * rt/aio.h: Likewise.
50632 * rt/bits/mqueue2.h: Likewise.
50633 * rt/mqueue.h: Likewise.
50634 * shadow/shadow.h: Likewise.
50635 * signal/signal.h: Likewise.
50636 * socket/send.c: Likewise.
50637 * socket/sendto.c: Likewise.
50638 * socket/sys/socket.h: Likewise.
50639 * stdio-common/printf.h: Likewise.
50640 * stdlib/bits/stdlib.h: Likewise.
50641 * stdlib/fmtmsg.h: Likewise.
50642 * stdlib/monetary.h: Likewise.
50643 * stdlib/stdlib.h: Likewise.
50644 * stdlib/ucontext.h: Likewise.
50645 * streams/stropts.h: Likewise.
50646 * string/argz.h: Likewise.
50647 * string/bits/string2.h: Likewise.
50648 * string/string.h: Likewise.
50649 * string/strings.h: Likewise.
50650 * sunrpc/rpc/auth.h: Likewise.
50651 * sunrpc/rpc/auth_des.h: Likewise.
50652 * sunrpc/rpc/clnt.h: Likewise.
50653 * sunrpc/rpc/netdb.h: Likewise.
50654 * sunrpc/rpc/pmap_clnt.h: Likewise.
50655 * sunrpc/rpc/xdr.h: Likewise.
50656 * sysdeps/generic/inttypes.h: Likewise.
50657 * sysdeps/generic/net/if.h: Likewise.
50658 * sysdeps/generic/sys/swap.h: Likewise.
50659 * sysdeps/gnu/net/if.h: Likewise.
50660 * sysdeps/gnu/utmpx.h: Likewise.
50661 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50662 * sysdeps/i386/i486/bits/string.h: Likewise.
50663 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50664 * sysdeps/s390/bits/string.h: Likewise.
50665 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50666 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50667 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50668 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50669 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50670 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50671 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50672 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50673 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50674 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50675 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50676 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50677 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50678 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50679 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50680 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50681 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50683 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50684 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50685 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50686 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50687 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50688 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50689 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50690 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50691 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50692 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50693 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50694 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50695 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50696 * sysvipc/sys/ipc.h: Likewise.
50697 * sysvipc/sys/msg.h: Likewise.
50698 * sysvipc/sys/sem.h: Likewise.
50699 * sysvipc/sys/shm.h: Likewise.
50700 * termios/termios.h: Likewise.
50701 * time/sys/time.h: Likewise.
50702 * time/time.h: Likewise.
50703 * wcsmbs/bits/wchar2.h: Likewise.
50704 * wcsmbs/uchar.h: Likewise.
50705 * wcsmbs/wchar.h: Likewise.
50706 * wctype/wctype.h: Likewise.
50709 * Makeconfig: Remove all but ELF support including AIX support.
50710 * Makerules: Likewise.
50711 * config.h.in: Likewise.
50712 * config.make.in: Likewise.
50713 * configure: Likewise.
50714 * configure.in: Likewise.
50715 * csu/Makefile: Likewise.
50716 * csu/version.c: Likewise.
50717 * debug/Makefile: Likewise.
50718 * dlfcn/Makefile: Likewise.
50719 * elf/Makefile: Likewise.
50720 * extra-lib.mk: Likewise.
50721 * iconv/Makefile: Likewise.
50722 * include/libc-symbols.h: Likewise.
50723 * include/shlib-compat.h: Likewise.
50724 * resolv/Makefile: Likewise.
50725 * resolv/res_libc.c: Likewise.
50726 * rt/Makefile: Likewise.
50727 * sysdeps/i386/asm-syntax.h: Likewise.
50728 * sysdeps/i386/sysdep.h: Likewise.
50729 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50730 * sysdeps/mach/sysdep.h: Likewise.
50731 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50732 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50733 * sysdeps/s390/asm-syntax.h: Likewise.
50734 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50735 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50736 * sysdeps/sh/sysdep.h: Likewise.
50737 * sysdeps/unix/sparc/sysdep.h: Likewise.
50738 * sysdeps/wordsize-32/divdi3.c: Likewise.
50739 * sysdeps/x86_64/sysdep.h: Likewise.
50741 * argp/Versions: Remove _argp_unlock_xxx.
50744 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50745 * abilist/libBrokenLocale.abilist: Likewise.
50746 * abilist/libanl.abilist: Likewise.
50747 * abilist/libc.abilist: Likewise.
50748 * abilist/libcrypt.abilist: Likewise.
50749 * abilist/libdl.abilist: Likewise.
50750 * abilist/libm.abilist: Likewise.
50751 * abilist/libnsl.abilist: Likewise.
50752 * abilist/libpthread.abilist: Likewise.
50753 * abilist/libresolv.abilist: Likewise.
50754 * abilist/librt.abilist: Likewise.
50755 * abilist/libthread_db.abilist: Likewise.
50756 * abilist/libutil.abilist: Likewise.
50757 * abilist/libnss_db.abilist: New file.
50759 * scripts/abilist.awk: Add support for indirect functions.
50761 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50763 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50765 * shlib-versions: Remove entries for ports architectures.
50767 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50769 * elf/stackguard-macros.h: Remove support for IA-64.
50770 * elf/tst-auditmod1.c: Likewise.
50771 * sysdeps/generic/ldsodefs.h: Likewise.
50773 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50774 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50778 * configure.in: Remove --enable-omitfp support.
50780 * config.make.in: Likewise.
50781 * Makeconfig: Likewise.
50782 * manual/install.texi: Likewise.
50784 In case anyone cares, the IA-64 architecture could move to ports.
50785 * sysdeps/ia64/*: Removed.
50786 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50787 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50790 * configure.in: Remove entries for unsupported architectures.
50793 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50794 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50796 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50797 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50798 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50799 fall back to using wcrtomb.
50800 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50801 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50803 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50804 * wcsmbs/tst-c16c32-1.c: New file.
50806 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50809 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50811 * elf/tst-unique3.cc: Add explicit declaration of gets.
50812 * elf/tst-unique3lib.cc: Likewise.
50813 * elf/tst-unique3lib2.cc: Likewise.
50814 * elf/tst-unique4.cc: Likewise.
50816 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50818 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50821 * assert/assert.h (static_assert): Don't define for C++.
50822 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50823 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50825 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50827 * iconv/loop.c (single loop): Fix assertion in storing of
50830 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50832 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50834 * posix/getconf.c: Update copyright year.
50835 * nss/getent.c: Likewise.
50836 * nss/makedb.c: Likewise.
50837 * iconv/iconvconfig.c: Likewise.
50838 * iconv/iconv_prog.c: Likewise.
50839 * elf/ldconfig.c: Likewise.
50840 * elf/pldd.c: Likewise.
50841 * elf/sotruss.ksh: Likewise.
50842 * catgets/gencat.c: Likewise.
50843 * csu/version.c: Likewise.
50844 * elf/ldd.bash.in: Likewise.
50845 * elf/sprof.c (print_version): Likewise.
50846 * locale/programs/locale.c: Likewise.
50847 * locale/programs/localedef.c: Likewise.
50848 * login/programs/pt_chown.c: Likewise.
50849 * nscd/nscd.c (print_version): Likewise.
50850 * debug/xtrace.sh: Likewise.
50851 * malloc/memusage.sh: Likewise.
50852 * malloc/mtrace.pl: Likewise.
50853 * debug/catchsegv.sh: Likewise.
50855 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50857 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50860 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50863 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50864 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50866 * iconv/gconv_int.h: Likewise.
50867 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50868 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50869 from libc for GLIBC_2.16.
50870 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50871 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50872 * wcsmbs/uchar.h: Really define mbstate_t.
50873 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50874 * wcsmbs/c16rtomb.c: New file.
50875 * wcsmbs/mbrtoc16.c: New file.
50876 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50877 for C/POSIX locale.
50878 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50879 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50881 * wcsmbs/wchar.h: Add missing __restrict.
50883 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50886 * time/Makefile (routines): Add timespec_get.
50887 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50888 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50889 timespec for ISO C11.
50890 * time/timespec_get.c: New file.
50891 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50892 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50895 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50896 * stdlib/stdlib.h: Declare aligned_alloc.
50897 * Versions.def: Add GLIBC_2.16 for libc.
50898 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50901 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50904 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50908 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50911 * assert/assert.h (static_assert): Define.
50913 * version.h: Update for 2.16 development version.
50916 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50919 * version.h (RELEASE): Bump for 2.15 release.
50920 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50922 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50923 Patch by Marek Polacek <mpolacek@redhat.com>.
50925 * bits/byteswap.h: Protect long long constants with __extension__.
50926 * sysdeps/i386/bits/byteswap.h: Likewise.
50927 * sysdeps/ia64/bits/byteswap.h: Likewise.
50928 * sysdeps/s390/bits/byteswap.h: Likewise.
50929 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50931 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50935 destination buffer.
50936 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50938 2011-12-23 Marek Polacek <polacek@redhat.com>
50940 * elf/dl-addr.c (determine_info): Add inline keyword.
50941 * elf/tst-auditmod4b.c (check_avx): Likewise.
50942 * elf/tst-auditmod6b.c (check_avx): Likewise.
50943 * elf/tst-auditmod6c.c (check_avx): Likewise.
50944 * elf/tst-auditmod7b.c (check_avx): Likewise.
50946 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50948 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50951 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50954 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50955 processing for last bytes.
50957 2011-08-06 Bruno Haible <bruno@clisp.org>
50960 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50961 U+0385, not to U+1FEE.
50964 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50965 entry for U+00A5 U+0301.
50967 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50970 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50971 buffer for the output is too small.
50973 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50977 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50978 SSE flags if possible.
50980 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50984 processing for last bytes.
50986 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50988 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50989 (syscall-list-default-options, syscall-list-default-condition)
50990 (syscall-list-includes): Define.
50991 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50992 list of ABIs and options and #if conditions for each ABI. Do not
50993 handle common syscalls between ABIs specially.
50994 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50996 (syscall-list-variants, syscall-list-32bit-options)
50997 (syscall-list-32bit-condition, syscall-list-64bit-options)
50998 (syscall-list-64bit-condition): Define.
50999 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51000 (syscall-list-variants, syscall-list-32bit-options)
51001 (syscall-list-32bit-condition, syscall-list-64bit-options)
51002 (syscall-list-64bit-condition): Define.
51003 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51005 (syscall-list-variants, syscall-list-32bit-options)
51006 (syscall-list-32bit-condition, syscall-list-64bit-options)
51007 (syscall-list-64bit-condition): Define.
51008 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51010 (syscall-list-variants, syscall-list-32bit-options)
51011 (syscall-list-32bit-condition, syscall-list-64bit-options)
51012 (syscall-list-64bit-condition): Define.
51014 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51016 * locale/iso-639.def: Add brx entry.
51019 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51020 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51022 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51023 __feraiseexcept_renamed.
51025 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51028 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51029 EPOLLET with unsigned values.
51030 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51031 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51033 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51034 to large cancellation.
51035 * math/s_cacoshf.c: Likewise.
51036 * math/s_cacoshl.c: Likewise.
51038 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51042 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51043 * math/s_cacoshf.c: Likewise.
51044 * math/s_cacoshl.c: Likewise.
51046 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51049 * iconv/gconv.h: Define __GCONV_SWAP.
51050 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51051 * iconvdata/utf-16.c: Likewise.
51052 * iconvdata/utf-32.c: Likewise.
51054 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51057 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51058 numerator after shifting it by one limb.
51060 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51062 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51063 under [__USE_EXTERN_INLINES].
51065 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51068 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51070 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51072 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51073 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51075 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51076 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51077 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51078 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51079 for strncasecmp/strncasecmp_l compilation.
51080 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51081 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51083 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51086 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51089 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51092 * time/tzfile.c (__tzfile_read): Check values from file header.
51094 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51096 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51097 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51098 * powerpc/powerpc32/dl-start.S: Likewise.
51099 * powerpc/powerpc32/elf/start.S: Likewise.
51100 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51101 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51102 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51103 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51104 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51105 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51106 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51107 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51108 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51109 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51110 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51111 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51112 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51113 * powerpc/powerpc32/memset.S: Likewise.
51114 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51115 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51116 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51117 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51118 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51119 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51120 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51121 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51122 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51123 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51124 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51125 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51126 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51128 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51130 * math/libm-test.inc: Added more nearbyint tests.
51131 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51132 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51133 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51134 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51136 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51138 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51141 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51143 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51144 Add wcscpy-ssse3 wcscpy-c.
51145 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51146 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51147 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51148 * sysdeps/x86_64/wcschr.S: New file.
51149 * sysdeps/x86_64/wcsrchr.S: New file.
51150 * string/test-strcmp.c: Remove checking of wcscmp function for
51152 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51153 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51154 wcsrchr-sse2 wcsrchr-c.
51155 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51156 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51157 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51158 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51159 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51160 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51161 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51162 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51163 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51164 * wcsmbc/wcschr.c (WCSCHR): New macro.
51166 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51168 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51169 * wcsmbs/test-wcsrchr.c: New file.
51170 * string/test-strrchr.c: Add wcsrchr support.
51172 * wcsmbs/test-wcscpy.c: New file.
51173 * string/test-strcpy.c: Add wcscpy support.
51176 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51178 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51181 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51184 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51186 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51188 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51189 Minor optimizations.
51191 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51192 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51193 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51195 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51197 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51198 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51199 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51200 for gcc to avoid warnings.
51201 * inet/Makefile (tests): Add tst-checks.
51202 * inet/tst-checks.c: New file.
51204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51207 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51210 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51211 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51213 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51215 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51217 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51220 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51222 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51225 conditional on GCC version.
51226 (__arch_compare_and_exchange_val_8_acq)
51227 (__arch_compare_and_exchange_val_16_acq)
51228 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51229 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51230 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51232 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51234 * sysdeps/sh/backtrace.c: New file.
51236 2011-12-02 Andreas Schwab <schwab@redhat.com>
51238 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51241 2011-12-01 Andreas Schwab <schwab@redhat.com>
51243 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51244 falling back to utime.
51246 2011-11-30 Andreas Schwab <schwab@redhat.com>
51248 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51249 expectations for float.
51251 2011-11-29 Andreas Schwab <schwab@redhat.com>
51253 * locale/weight.h (findidx): Add parameter len.
51254 * locale/weightwc.h (findidx): Likewise.
51255 * posix/fnmatch_loop.c (FCT): Adjust caller.
51256 * posix/regcomp.c (build_equiv_class): Likewise.
51257 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51258 * posix/regexec.c (check_node_accept_bytes): Likewise.
51259 * string/strcoll_l.c (STRCOLL): Likewise.
51260 * string/strxfrm_l.c (STRXFRM): Likewise.
51262 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51264 * Makefile.in: Remove CVSOPT handling.
51265 * configure.in: Remove use of AC_REVISION.
51266 * iconvdata/Makefile (distribute): No need to filter out CVS.
51267 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51270 2011-11-16 Andreas Schwab <schwab@redhat.com>
51272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51273 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51274 [USE_AS_STRNCASECMP_L]: Likewise.
51275 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51276 NO_TLS_DIRECT_SEG_REFS.
51277 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51278 Fix argument offsets for non-PIC.
51279 [USE_AS_STRNCASECMP_L]: Likewise.
51280 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51281 NO_TLS_DIRECT_SEG_REFS.
51283 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51285 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51287 * locale/loadlocale.c (_nl_load_locale): Likewise.
51289 2011-11-15 Andreas Schwab <schwab@redhat.com>
51291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51292 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51293 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51294 (SYSCALL_GETTIME): Set errno on error.
51296 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51297 count references to noai6ai_cached.
51299 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51301 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51303 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51304 FD_CLOEXEC for /proc/self/maps.
51306 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51307 FD_CLOEXEC for /proc/meminfo.
51309 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51312 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51313 FD_CLOEXEC for given file.
51315 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51317 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51318 FD_CLOEXEC for /etc/hosts.
51319 (_gethtent): Likewise.
51321 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51323 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51324 cancellation and set FD_CLOEXEC for /etc/netgroup.
51326 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51327 reading /etc/publickey.
51329 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51330 allow cancellation when reading /etc/group.
51332 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51334 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51336 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51337 when using data file.
51339 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51341 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51342 (write_nis_obj): Use "c" and "e" in fopen.
51344 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51346 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51348 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51350 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51352 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51355 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51357 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51359 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51361 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51362 file parsing and set FD_CLOEXEC.
51364 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51366 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51368 2011-11-14 Andreas Schwab <schwab@redhat.com>
51370 * malloc/arena.c (arena_get2): Don't call reused_arena when
51371 _int_new_arena failed.
51373 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51375 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51376 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51377 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51378 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51379 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51380 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51381 to compile strcasecmp and strncasecmp.
51382 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51383 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51387 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51389 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51390 locale-defines.sym to gen-as-const-headers.
51391 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51392 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51394 to compile strcasecmp and strncasecmp.
51395 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51396 strcasecmp_l and strncasecmp_l.
51397 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51398 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51399 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51400 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51401 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51402 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51403 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51404 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51405 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51406 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51407 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51409 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51411 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51412 result of SYSDEP_GETTIME_CPU to retval.
51413 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51414 parameter list to macro. Remove trailing semicolon. Adjust users.
51416 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51419 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51421 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51423 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51424 from unused variable.
51426 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51428 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51431 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51434 * sunrpc/rpc_prot.c (rejected): Fix case value.
51436 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51437 unsigned long long int to avoid warnings in shift.
51439 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51441 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51444 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51445 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51446 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51448 * nis/nis_table.c (nis_list): Use variable of correct type for
51449 result of __follow_path call.
51451 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51453 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51454 of math functions ceil, trunc, floor, round, and sqrt, when
51455 avaliable on the platform.
51456 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51458 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51459 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51460 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51462 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51464 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51465 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51467 2011-11-11 Roland McGrath <roland@hack.frob.com>
51469 * include/unistd.h: Fix __readlink return type.
51470 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51472 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51474 * stdlib/ucontext.h: Undo last change for makecontext.
51476 2011-11-11 Andreas Schwab <schwab@redhat.com>
51478 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51480 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51481 * setjmp/setjmp.h: Mark functions as non-leaf.
51482 * setjmp/bits/setjmp2.h: Likewise.
51483 * stdlib/ucontext.h: Likewise.
51485 2011-11-10 Andreas Schwab <schwab@redhat.com>
51487 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51488 (reused_arena): Don't check arena limit.
51489 (arena_get2): Atomically check arena limit.
51491 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51493 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51494 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51499 2011-11-07 Andreas Schwab <schwab@redhat.com>
51501 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51502 handler when locking.
51504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51505 Fix size of allocated buffer.
51507 2011-11-04 Andreas Schwab <schwab@redhat.com>
51510 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51511 declarations for long double functions.
51512 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51514 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51516 2011-11-03 Andreas Schwab <schwab@redhat.com>
51518 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51521 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51524 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51526 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51528 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51530 * include/alloca.h (stackinfo_alloca_round): Define.
51531 (extend_alloca): Use it.
51532 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51533 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51536 * scripts/check-local-headers.sh: Ignore libaudit.h.
51538 * nscd/Makefile (extra-objs): Make recursively expanded.
51540 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51542 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51545 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51546 * posix/tst-rfc3484-2.c: Likewise.
51547 * posix/tst-rfc3484-3.c: Likewise.
51549 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51551 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51553 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51554 process_vm_writev from libc using GLIBC_2.15 version.
51556 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51558 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51560 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51563 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51566 * nss/getent.c (initgroups_keys): Show error message in case no group
51569 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51570 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51571 __bump_nl_timestamp.
51572 * nscd/connections (nscd_init): When host database is served open
51573 netlink socket and request notification about configuration changes.
51574 (main_loop_poll): Track netlink file descriptor and bump timestamp
51575 in case data becomes available.
51576 (main_loop_epoll): Likewise.
51577 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51578 (database_pers_head): Add extra_data fileds.
51579 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51580 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51581 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51583 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51584 in6ai data, call __free_in6ai.
51585 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51586 Add -DHAVE_NETLINK.
51587 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51588 interface information. Reuse previous data if netlink timestamp
51590 (__bump_nl_timestamp): New function.
51591 (__free_in6ai): New function.
51593 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51595 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51596 close_not_cancel_no_status here.
51597 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51599 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51602 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51605 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51606 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51607 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51609 2011-07-03 Andreas Jaeger <aj@suse.de>
51612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51613 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51614 * math/libm-test.inc (sin_test): Add test case.
51616 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51619 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51620 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51622 * elf/chroot_canon.c (chroot_canon): Cleanups.
51624 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51627 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51628 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51630 * string/test-strchr.c: Make usable for strchrnul testing.
51631 * string/test-strchrnul.c: New file.
51632 * string/Makefile (strop-tests): Add strchrnul.
51634 * po/it.po: Update from translation team.
51635 * po/es.po: Likewise.
51637 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51639 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51640 the three constants needed as parameters. Drop the others.
51641 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51642 __m128i_strloadu_tolower.
51643 Create and initialize variable zero and use it in all the places
51644 where _mm_setzero_si128 was used.
51646 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51647 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51648 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51649 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51651 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51652 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51653 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51654 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51655 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51656 __mpranred, __mptan.
51657 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51658 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51659 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51660 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51661 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51662 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51663 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51664 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51665 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51667 2011-10-28 Andreas Schwab <schwab@redhat.com>
51669 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51670 redefine if SHARED.
51671 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51674 wide char related routines to wcsmbs subdir.
51676 2011-10-27 Andreas Schwab <schwab@redhat.com>
51679 * misc/sys/cdefs.h (__THROWNL): Define.
51680 * posix/unistd.h: Use __THREADNL instead of __THREAD
51681 for memory synchronization functions.
51683 2011-10-26 Roland McGrath <roland@hack.frob.com>
51686 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51688 * manual/stdio.texi (Obstack Streams): Node removed.
51690 2011-10-26 Andreas Schwab <schwab@redhat.com>
51692 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51693 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51694 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51696 * math/math_private.h (math_force_eval): Allow non-addressable
51698 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51700 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51702 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51703 file is not needed.
51705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51706 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51707 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51708 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51709 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51710 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51711 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51712 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51714 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51715 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51716 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51717 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51718 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51719 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51720 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51721 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51722 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51723 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51724 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51725 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51727 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51728 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51729 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51730 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51731 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51732 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51734 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51735 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51738 place. Use VEX encoding when compiling for AVX.
51740 2011-10-25 Andreas Schwab <schwab@redhat.com>
51742 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51743 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51745 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51747 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51749 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51750 useless if() expression.
51751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51752 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51753 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51754 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51755 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51757 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51758 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51759 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51760 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51761 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51763 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51764 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51765 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51766 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51767 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51768 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51769 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51771 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51773 2011-10-25 Andreas Schwab <schwab@redhat.com>
51775 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51777 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51779 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51781 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51782 .text section. Avoid duplicate constants.
51783 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51785 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51787 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51791 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51792 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51793 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51794 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51795 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51796 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51797 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51798 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51799 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51800 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51801 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51803 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51804 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51805 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51806 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51807 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51808 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51809 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51810 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51811 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51812 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51813 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51814 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51815 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51816 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51817 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51818 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51819 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51820 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51821 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51822 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51823 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51824 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51825 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51826 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51827 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51829 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51831 * sysdeps/x86_64/dla.h: Move to ...
51832 * sysdeps/x86_64/fpu/dla.h: ...here.
51833 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51834 situations. Use __builtin_fma only for gcc 4.6 and up.
51836 * config.make.in: Add have-mfma4 entry.
51837 * configure.in: Substitute libc_cv_cc_fma4.
51838 * math/Makefile (dbl-only-routines): Add sincostab.
51839 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51840 Use __sincostab not sincos.
51841 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51843 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51848 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51849 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51850 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51851 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51853 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51854 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51856 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51857 define aliases when function name is a macro.
51858 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51859 sysdeps/ieee754/dbl-64/sincos.tbl.
51860 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51861 fma4-enabled routines.
51862 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51863 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51864 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51865 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51866 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51867 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51869 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51871 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51872 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51873 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51874 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51875 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51876 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51877 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51878 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51879 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51880 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51881 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51882 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51883 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51884 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51885 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51886 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51887 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51888 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51889 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51890 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51891 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51893 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51904 2011-10-24 Andreas Schwab <schwab@redhat.com>
51906 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51908 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51910 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51912 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51914 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51916 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51917 Remove unused variable magic_bits.
51918 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51920 * string/strnlen.c: Define and use STRNLEN macro.
51921 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51922 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51923 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51924 * wcsmbs/wcslen.c: Define and use WCSLEN.
51925 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51926 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51927 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51928 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51929 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51930 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51931 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51933 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51936 strnlen-sse2-no-bsf.
51937 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51938 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51939 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51940 Add strnlen support.
51941 (USE_AS_STRNLEN): New macro.
51942 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51944 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51945 * sysdeps/x86_64/wcslen.S: New file.
51947 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51949 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51950 XMM-moves are used for copying on small sizes.
51952 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51954 * wcsmbs/Makefile (strop-tests): Add wcschr.
51955 * wcsmbs/test-wcschr.c: New file.
51956 * string/test-strchr.c: Update.
51957 Add wcschr support.
51960 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51962 * wcsmbs/Makefile (strop-tests): Add wcslen.
51963 * wcsmbs/test-wcslen.c: New file.
51964 * string/test-strlen.c: Update.
51965 Add wcslen support.
51968 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51970 * po/it.po: Update from translation team.
51972 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51974 * sysdeps/x86_64/wcscmp.S: Update.
51975 Fix wrong comparison semantics.
51976 wcscmp shall use signed comparison not unsigned.
51977 Don't use substraction to avoid overflow bug.
51978 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51979 * wcsmbc/wcscmp.c: Likewise.
51980 * string/test-strcmp.c: Likewise.
51981 Add new tests to check cases with negative values.
51983 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51985 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51986 * sysdeps/x86_64/dla.h: ...here. New file.
51987 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51988 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51994 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51997 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51999 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52000 __ynl_finite aliases.
52002 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52006 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52008 [DLA_FMA] (EMULV): Use DLA_FMA.
52009 [DLA_FMA] (MUL12): Use EMULV.
52010 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52011 that are not needed.
52012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52015 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52020 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52022 * math/s_nan.c: Undef __nan.
52023 * math/s_nanf.c: Undef __nanf.
52024 * math/s_nanl.c: Undef __nanl.
52025 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52028 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52030 * math/s_catan.c: Add branch predictions.
52031 * math/s_catanf.c: Likewise.
52032 * math/s_catanh.c: Likewise.
52033 * math/s_catanhf.c: Likewise.
52034 * math/s_catanhl.c: Likewise.
52035 * math/s_catanl.c: Likewise.
52036 * math/s_cexp.c: Likewise.
52037 * math/s_cexpf.c: Likewise.
52038 * math/s_cexpl.c: Likewise.
52039 * math/s_clog.c: Likewise.
52040 * math/s_clog10.c: Likewise.
52041 * math/s_clog10f.c: Likewise.
52042 * math/s_clog10l.c: Likewise.
52043 * math/s_clogf.c: Likewise.
52044 * math/s_clogl.c: Likewise.
52045 * math/s_csqrt.c: Likewise.
52046 * math/s_csqrtf.c: Likewise.
52047 * math/s_csqrtl.c: Likewise.
52048 * math/s_ctanf.c: Likewise.
52049 * math/s_ctanh.c: Likewise.
52050 * math/s_ctanhf.c: Likewise.
52051 * math/s_ctanhl.c: Likewise.
52052 * math/s_ctanl.c: Likewise.
52054 * math/math_private.h: Define __nan, __nanf, __nanl.
52055 * math/s_cacosh.c: Include <math_private.h>.
52056 * math/s_cacoshl.c: Likewise.
52057 * math/s_casinh.c: Likewise.
52058 * math/s_casinhf.c: Likewise.
52059 * math/s_casinhl.c: Likewise.
52060 * math/s_ccos.c: Rely entire on ccosh.
52061 * math/s_ccosf.c: Rely entire on ccoshf.
52062 * math/s_ccosl.c: Rely entirely on ccoshl.
52063 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52064 Remove tests for FE_INVALID.
52065 * math/s_ccoshf.c: Likewise.
52066 * math/s_ccoshl.c: Likewise.
52067 * math/s_csin.c: Likewise.
52068 * math/s_csinf.c: Likewise.
52069 * math/s_csinh.c Likewise.
52070 * math/s_csinhf.c: Likewise.
52071 * math/s_csinhl.c: Likewise.
52072 * math/s_csinl.c: Likewise.
52073 * math/s_ctan.c: Likewise.
52074 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52075 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52076 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52078 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52081 compilation problems.
52083 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52086 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52088 * sysdeps/i386/configure.in: Test for -mfma4 option.
52089 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52090 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52091 COMMON_CPUID_INDEX_80000001.
52092 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52093 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52094 use it if FMA3 is not supported.
52095 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52097 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52098 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52100 2011-10-20 Andreas Schwab <schwab@redhat.com>
52103 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52104 it would create a cycle with a link time dependency.
52106 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52108 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52110 * string/Makefile (strop-tests): Add rawmemchr.
52111 * string/test-rawmemchr.c: New file.
52113 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52114 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52115 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52116 when compiling str{,n}casecmp and when AVX is available. Hook up
52117 new optimized code in initializers.
52119 2011-10-19 Andreas Schwab <schwab@redhat.com>
52121 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52122 __feraiseexcept instead of feraiseexcept.
52124 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52126 * math/math_private.h: Define defaults for libc_fetestexcept and
52128 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52129 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52131 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52132 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52133 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52134 libc_fetestexcept and libc_feupdateenv.
52136 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52137 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52138 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52139 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52140 libc_feholdexcept_setround.
52142 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52143 Add s_nearbyint-c and s_nearbyintf-c.
52144 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52145 nearbyintf inlines.
52146 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52147 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52148 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52149 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52151 * math/math_private.h: Define defaults for libc_fegetround,
52152 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52153 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52154 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52155 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52156 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52157 standard functions.
52158 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52159 Remove comments and hacks for old compiler versions.
52160 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52161 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52162 libc_feholdexceptl.
52164 2011-10-18 Andreas Schwab <schwab@redhat.com>
52166 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52167 (__feraiseexcept_renamed): Add __NTH.
52168 (feraiseexcept): Add __NTH. Rename local variables to fix
52169 namespace violations.
52171 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52173 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52175 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52177 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52178 recently added interfaces.
52179 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52181 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52182 about macro parameter expansion.
52184 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52185 __NO_MATH_INLINES is defined. Cleanups.
52187 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52188 and __floorf is target has SSE4.1.
52189 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52190 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52191 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52192 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52194 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52196 (floorf): Likewise.
52198 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52200 2011-10-17 Andreas Schwab <schwab@redhat.com>
52202 * misc/sys/cdefs.h: Fix last change.
52204 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52207 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52209 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52211 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52214 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52215 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52216 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52217 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52219 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52220 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52221 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52222 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52223 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52224 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52225 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52226 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52227 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52228 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52229 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52230 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52231 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52232 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52234 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52235 ceil, ceilf, floor, floorf.
52237 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52238 Perform IRELATIVE relocations last.
52240 * elf/do-rel.h: Add another parameter nrelative, replacing the
52241 local variable with the same name. Change name of the function
52242 to end in Rel or Rela (uppercase).
52243 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52244 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52245 elf_dynamic_do_##reloc function.
52247 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52249 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52250 is sufficient, at least on modern CPUs.
52252 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52254 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52255 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52257 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52259 * math/bits/math-finite.h: Add entries for exp.
52260 * math/e_expl.c: Add __*_finite alias.
52261 * sysdeps/i386/fpu/e_exp.S: Likewise.
52262 * sysdeps/i386/fpu/e_expf.S: Likewise.
52263 * sysdeps/i386/fpu/e_expl.c: Likewise.
52264 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52265 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52266 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52268 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52269 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52270 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52272 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52273 is sufficient, at least on modern CPUs.
52275 * ctype/ctype-info.c (__ctype_init): Define.
52276 * include/ctype.h (__ctype_init): Declare.
52277 (__ctype_b_loc): The variable is always initialized.
52278 (__ctype_toupper_loc): Likewise.
52279 (__ctype_tolower_loc): Likewise.
52280 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52281 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52283 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52285 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52287 * configure.in: Also look in $cxxmachine/include for C++ system
52290 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52292 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52293 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52294 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52295 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52296 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52297 (USE_AS_WMEMCMP): New macro.
52299 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52300 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52301 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52302 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52304 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52305 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52306 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52307 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52308 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52309 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52310 (USE_AS_WMEMCMP): New macro.
52311 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52312 * sysdeps/string/test-memcmp.c: Update.
52313 Fix simple_wmemcmp.
52315 * wcsmbs/wmemcmp.c: Update.
52316 (WMEMCMP): New macro.
52319 2011-10-12 Andreas Jaeger <aj@suse.de>
52322 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52324 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52326 * libio/iofwide.c (do_length): Avoid warning.
52328 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52330 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52332 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52334 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52335 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52336 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52337 * sysdeps/i386/i686/fpu/e_log.S: New file.
52338 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52339 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52341 * ctype/ctype.h: Add support for inlined isXXX functions when
52342 compiling C++ code.
52344 2011-10-14 Andreas Schwab <schwab@redhat.com>
52346 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52348 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52350 2011-10-13 Roland McGrath <roland@hack.frob.com>
52353 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52355 2011-10-13 Andreas Schwab <schwab@redhat.com>
52357 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52358 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52361 * sysdeps/x86_64/memrchr.S: Check for zero size.
52363 * string/stratcliff.c: Add memrchr tests.
52365 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52368 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52369 rawmemchr-sse2 rawmemchr-sse2-bsf.
52370 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52371 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52372 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52373 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52374 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52375 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52376 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52377 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52378 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52379 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52380 * string/memrchr.c (MEMRCHR): New macro.
52382 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52384 Add integration with gcc's -ffinite-math-only and optimize wrapper
52386 * Versions.def: Define GLIBC_2.15 version for libm.
52387 * math/Makefile (headers): Add bits/math-finite.h.
52388 * math/bits/math-finite.h: New file.
52389 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52390 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52391 * math/e_acoshl.c: Add __*_finite alias.
52392 * math/e_acosl.c: Likewise.
52393 * math/e_asinl.c: Likewise.
52394 * math/e_atan2l.c: Likewise.
52395 * math/e_atanhl.c: Likewise.
52396 * math/e_coshl.c: Likewise.
52397 * math/e_exp10.c: Likewise.
52398 * math/e_exp10f.c: Likewise.
52399 * math/e_exp10l.c: Likewise.
52400 * math/e_exp2l.c: Likewise.
52401 * math/e_fmodl.c: Likewise.
52402 * math/e_gammal_r.c: Likewise.
52403 * math/e_hypotl.c: Likewise.
52404 * math/e_j0l.c: Likewise.
52405 * math/e_j1l.c: Likewise.
52406 * math/e_jnl.c: Likewise.
52407 * math/e_lgammal_r.c: Likewise.
52408 * math/e_log10l.c: Likewise.
52409 * math/e_log2l.c: Likewise.
52410 * math/e_logl.c: Likewise.
52411 * math/e_powl.c: Likewise.
52412 * math/e_sinhl.c: Likewise.
52413 * math/e_sqrtl.c: Likewise.
52414 * math/e_scalb.c: Completely rewritten and optimized.
52415 * math/e_scalbf.c: Likewise.
52416 * math/e_scalbl.c: Likewise.
52417 * math/w_acos.c: Likewise.
52418 * math/w_acosf.c: Likewise.
52419 * math/w_acosl.c: Likewise.
52420 * math/w_acosh.c: Likewise.
52421 * math/w_acoshf.c: Likewise.
52422 * math/w_acoshl.c: Likewise.
52423 * math/w_asin.c: Likewise.
52424 * math/w_asinf.c: Likewise.
52425 * math/w_asinl.c: Likewise.
52426 * math/w_atan2.c: Likewise.
52427 * math/w_atan2f.c: Likewise.
52428 * math/w_atan2l.c: Likewise.
52429 * math/w_atanh.c: Likewise.
52430 * math/w_atanhf.c: Likewise.
52431 * math/w_atanhl.c: Likewise.
52432 * math/w_exp10.c: Likewise.
52433 * math/w_exp10f.c: Likewise.
52434 * math/w_exp10l.c: Likewise.
52435 * math/w_fmod.c: Likewise.
52436 * math/w_fmodf.c: Likewise.
52437 * math/w_fmodl.c: Likewise.
52438 * math/w_j0.c: Likewise.
52439 * math/w_j0f.c: Likewise.
52440 * math/w_j0l.c: Likewise.
52441 * math/w_j1.c: Likewise.
52442 * math/w_j1f.c: Likewise.
52443 * math/w_j1l.c: Likewise.
52444 * math/w_jn.c: Likewise.
52445 * math/w_jnf.c: Likewise.
52446 * math/w_log.c: Likewise.
52447 * math/w_logf.c: Likewise.
52448 * math/w_logl.c: Likewise.
52449 * math/w_log10.c: Likewise.
52450 * math/w_log10f.c: Likewise.
52451 * math/w_log10l.c: Likewise.
52452 * math/w_log2.c: Likewise.
52453 * math/w_log2f.c: Likewise.
52454 * math/w_log2l.c: Likewise.
52455 * math/w_pow.c: Likewise.
52456 * math/w_powf.c: Likewise.
52457 * math/w_powl.c: Likewise.
52458 * math/w_remainder.c: Likewise.
52459 * math/w_remainderf.c: Likewise.
52460 * math/w_remainderl.c: Likewise.
52461 * math/w_scalb.c: Likewise.
52462 * math/w_scalbf.c: Likewise.
52463 * math/w_scalbl.c: Likewise.
52464 * math/w_sqrt.c: Likewise.
52465 * math/w_sqrtf.c: Likewise.
52466 * math/w_sqrtl.c: Likewise.
52467 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52468 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52470 * math/math_private.h: Declare __kernel_standard_f.
52471 * math/w_cosh.c: Remove cruft and optimize a bit.
52472 * math/w_coshf.c: Likewise.
52473 * math/w_coshl.c: Likewise.
52474 * math/w_exp2.c: Likewise.
52475 * math/w_exp2f.c: Likewise.
52476 * math/w_exp2l.c: Likewise.
52477 * math/w_hypot.c: Likewise.
52478 * math/w_hypotf.c: Likewise.
52479 * math/w_hypotl.c: Likewise.
52480 * math/w_lgamma.c: Likewise.
52481 * math/w_lgamma_r.c: Likewise.
52482 * math/w_lgammaf.c: Likewise.
52483 * math/w_lgammaf_r.c: Likewise.
52484 * math/w_lgammal.c: Likewise.
52485 * math/w_lgammal_r.c: Likewise.
52486 * math/w_sinh.c: Likewise.
52487 * math/w_sinhf.c: Likewise.
52488 * math/w_sinhl.c: Likewise.
52489 * math/w_tgamma.c: Likewise.
52490 * math/w_tgammaf.c: Likewise.
52491 * math/w_tgammal.c: Likewise.
52492 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52493 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52494 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52495 Minor optimizations. Pretty printing. Remove cruft.
52496 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52497 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52498 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52499 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52500 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52501 * sysdeps/i386/fpu/e_asin.S: Likewise.
52502 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52503 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52504 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52505 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52506 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52507 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52508 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52509 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52510 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52511 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52512 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52513 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52514 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52515 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52516 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52517 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52518 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52519 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52520 * sysdeps/i386/fpu/e_log.S: Likewise.
52521 * sysdeps/i386/fpu/e_log10.S: Likewise.
52522 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52523 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52524 * sysdeps/i386/fpu/e_log2.S: Likewise.
52525 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52526 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52527 * sysdeps/i386/fpu/e_logf.S: Likewise.
52528 * sysdeps/i386/fpu/e_logl.S: Likewise.
52529 * sysdeps/i386/fpu/e_pow.S: Likewise.
52530 * sysdeps/i386/fpu/e_powf.S: Likewise.
52531 * sysdeps/i386/fpu/e_powl.S: Likewise.
52532 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52533 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52534 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52535 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52536 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52537 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52538 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52539 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52540 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52541 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52544 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52546 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52547 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52548 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52549 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52550 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52551 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52552 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52555 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52557 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52558 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52561 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52562 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52563 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52564 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52565 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52566 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52567 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52568 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52569 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52570 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52571 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52572 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52573 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52575 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52576 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52577 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52578 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52579 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52580 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52581 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52582 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52583 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52584 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52585 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52586 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52587 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52588 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52589 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52590 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52591 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52592 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52593 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52594 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52595 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52596 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52597 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52598 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52599 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52600 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52601 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52603 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52605 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52608 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52609 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52610 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52611 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52612 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52613 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52615 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52616 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52617 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52618 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52619 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52620 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52621 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52622 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52623 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52624 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52625 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52626 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52628 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52629 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52630 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52631 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52632 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52633 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52634 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52635 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52636 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52637 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52638 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52639 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52640 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52641 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52642 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52643 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52644 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52645 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52646 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52647 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52648 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52649 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52650 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52651 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52652 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52653 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52654 (__isnanf): Likewise.
52655 (__isinf_ns): Likewise.
52656 (__isinf_nsf): Likewise.
52657 (__finite): Likewise.
52658 (__finitef): Likewise.
52659 (__ieee754_sqrt): Define as macro.
52660 (__ieee754_sqrtf): Define as macro.
52661 (__ieee754_sqrtl): Define as macro.
52662 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52664 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52665 __FINITE_MATH_ONLY__ consistent.
52666 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52668 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52670 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52673 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52675 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52677 * po/ja.po: Update from translation team.
52679 2011-10-08 Roland McGrath <roland@hack.frob.com>
52681 * locale/programs/locarchive.c (prepare_address_space): New function.
52682 (create_archive, enlarge_archive, open_archive): Use it.
52684 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52685 inside [SHARED], where it is used.
52687 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52689 * nss/getent.c (netgroup_keys): Remove unused variable.
52690 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52692 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52694 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52695 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52697 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52698 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52699 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52700 * math/Makefile (libm-calls): Add s_isinf_ns.
52701 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52702 * math/multc3.c: Likewise.
52703 * math/s_casin.c: Likewise.
52704 * math/s_casinf.c: Likewise.
52705 * math/s_casinl.c: Likewise.
52706 * math/s_ccos.c: Likewise.
52707 * math/s_ccosf.c: Likewise.
52708 * math/s_ccosl.c: Likewise.
52709 * math/s_ctan.c: Likewise.
52710 * math/s_ctanf.c: Likewise.
52711 * math/s_ctanh.c: Likewise.
52712 * math/s_ctanhf.c: Likewise.
52713 * math/s_ctanhl.c: Likewise.
52714 * math/s_ctanl.c: Likewise.
52715 * math/w_fmod.c: Likewise.
52716 * math/w_fmodf.c: Likewise.
52717 * math/w_fmodl.c: Likewise.
52718 * math/w_remainder.c: Likewise.
52719 * math/w_remainderf.c: Likewise.
52720 * math/w_remainderl.c: Likewise.
52721 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52722 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52724 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52725 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52726 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52727 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52728 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52730 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52732 * stdio-common/printf_fphex.c: Likewise.
52733 * stdio-common/printf_size.c: Likewise.
52735 * math/e_exp10.c: Include math_private.h using <...> not "...".
52736 * math/e_exp10f.c: Likewise.
52737 * math/e_exp10l.c: Likewise.
52738 * math/e_exp2l.c: Likewise.
52739 * math/e_j0l.c: Likewise.
52740 * math/e_j1l.c: Likewise.
52741 * math/e_jnl.c: Likewise.
52742 * math/e_lgammal_r.c: Likewise.
52743 * math/e_rem_pio2l.c: Likewise.
52744 * math/e_scalb.c: Likewise.
52745 * math/e_scalbf.c: Likewise.
52746 * math/e_scalbl.c: Likewise.
52747 * math/k_cosl.c: Likewise.
52748 * math/k_sinl.c: Likewise.
52749 * math/k_tanl.c: Likewise.
52750 * math/s_cacoshf.c: Likewise.
52751 * math/s_catan.c: Likewise.
52752 * math/s_catanf.c: Likewise.
52753 * math/s_catanh.c: Likewise.
52754 * math/s_catanhf.c: Likewise.
52755 * math/s_catanhl.c: Likewise.
52756 * math/s_catanl.c: Likewise.
52757 * math/s_ccosh.c: Likewise.
52758 * math/s_ccoshf.c: Likewise.
52759 * math/s_ccoshl.c: Likewise.
52760 * math/s_cexp.c: Likewise.
52761 * math/s_cexpf.c: Likewise.
52762 * math/s_cexpl.c: Likewise.
52763 * math/s_clog.c: Likewise.
52764 * math/s_clog10.c: Likewise.
52765 * math/s_clog10f.c: Likewise.
52766 * math/s_clog10l.c: Likewise.
52767 * math/s_clogf.c: Likewise.
52768 * math/s_clogl.c: Likewise.
52769 * math/s_csin.c: Likewise.
52770 * math/s_csinf.c: Likewise.
52771 * math/s_csinh.c: Likewise.
52772 * math/s_csinhf.c: Likewise.
52773 * math/s_csinhl.c: Likewise.
52774 * math/s_csinl.c: Likewise.
52775 * math/s_csqrt.c: Likewise.
52776 * math/s_csqrtf.c: Likewise.
52777 * math/s_csqrtl.c: Likewise.
52778 * math/s_ctan.c: Likewise.
52779 * math/s_ctanf.c: Likewise.
52780 * math/s_ctanh.c: Likewise.
52781 * math/s_ctanhf.c: Likewise.
52782 * math/s_ctanhl.c: Likewise.
52783 * math/s_ctanl.c: Likewise.
52784 * math/s_ldexp.c: Likewise.
52785 * math/s_ldexpf.c: Likewise.
52786 * math/s_ldexpl.c: Likewise.
52787 * math/s_significand.c: Likewise.
52788 * math/s_significandf.c: Likewise.
52789 * math/s_significandl.c: Likewise.
52790 * math/w_acos.c: Likewise.
52791 * math/w_acosf.c: Likewise.
52792 * math/w_acosh.c: Likewise.
52793 * math/w_acoshf.c: Likewise.
52794 * math/w_acoshl.c: Likewise.
52795 * math/w_acosl.c: Likewise.
52796 * math/w_asin.c: Likewise.
52797 * math/w_asinf.c: Likewise.
52798 * math/w_asinl.c: Likewise.
52799 * math/w_atan2.c: Likewise.
52800 * math/w_atan2f.c: Likewise.
52801 * math/w_atan2l.c: Likewise.
52802 * math/w_atanh.c: Likewise.
52803 * math/w_atanhf.c: Likewise.
52804 * math/w_atanhl.c: Likewise.
52805 * math/w_cosh.c: Likewise.
52806 * math/w_coshf.c: Likewise.
52807 * math/w_coshl.c: Likewise.
52808 * math/w_dremf.c: Likewise.
52809 * math/w_exp10.c: Likewise.
52810 * math/w_exp10f.c: Likewise.
52811 * math/w_exp10l.c: Likewise.
52812 * math/w_exp2.c: Likewise.
52813 * math/w_exp2f.c: Likewise.
52814 * math/w_fmod.c: Likewise.
52815 * math/w_fmodf.c: Likewise.
52816 * math/w_fmodl.c: Likewise.
52817 * math/w_hypot.c: Likewise.
52818 * math/w_hypotf.c: Likewise.
52819 * math/w_hypotl.c: Likewise.
52820 * math/w_j0.c: Likewise.
52821 * math/w_j0f.c: Likewise.
52822 * math/w_j0l.c: Likewise.
52823 * math/w_j1.c: Likewise.
52824 * math/w_j1f.c: Likewise.
52825 * math/w_j1l.c: Likewise.
52826 * math/w_jn.c: Likewise.
52827 * math/w_jnf.c: Likewise.
52828 * math/w_jnl.c: Likewise.
52829 * math/w_lgamma.c: Likewise.
52830 * math/w_lgamma_r.c: Likewise.
52831 * math/w_lgammaf.c: Likewise.
52832 * math/w_lgammaf_r.c: Likewise.
52833 * math/w_lgammal.c: Likewise.
52834 * math/w_lgammal_r.c: Likewise.
52835 * math/w_log.c: Likewise.
52836 * math/w_log10.c: Likewise.
52837 * math/w_log10f.c: Likewise.
52838 * math/w_log10l.c: Likewise.
52839 * math/w_log2.c: Likewise.
52840 * math/w_log2f.c: Likewise.
52841 * math/w_log2l.c: Likewise.
52842 * math/w_logf.c: Likewise.
52843 * math/w_logl.c: Likewise.
52844 * math/w_pow.c: Likewise.
52845 * math/w_powf.c: Likewise.
52846 * math/w_powl.c: Likewise.
52847 * math/w_remainder.c: Likewise.
52848 * math/w_remainderf.c: Likewise.
52849 * math/w_remainderl.c: Likewise.
52850 * math/w_scalb.c: Likewise.
52851 * math/w_scalbf.c: Likewise.
52852 * math/w_scalbl.c: Likewise.
52853 * math/w_sinh.c: Likewise.
52854 * math/w_sinhf.c: Likewise.
52855 * math/w_sinhl.c: Likewise.
52856 * math/w_sqrt.c: Likewise.
52857 * math/w_sqrtf.c: Likewise.
52858 * math/w_sqrtl.c: Likewise.
52859 * math/w_tgamma.c: Likewise.
52860 * math/w_tgammaf.c: Likewise.
52861 * math/w_tgammal.c: Likewise.
52863 * po/ja.po: Update from translation team.
52865 2011-09-29 Andreas Jaeger <aj@suse.de>
52868 * sunrpc/netname.c (netname2host): Fix logic.
52872 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52874 * math/w_remainder.c (__remainder): Likewise.
52875 * math/w_remainderf.c (__remainderf): Likewise.
52876 * math/libm-test.inc (remainder_test): Add test cases.
52878 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52880 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52883 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52885 * string/test-memcmp.c: Avoid unncessary #defines.
52886 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52888 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52890 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52891 Use new sse2 version for core i3 - i7 as it's faster
52892 than sse42 version.
52893 (bit_Prefer_PMINUB_for_stringop): New.
52894 * sysdeps/x86_64/rawmemchr.S: Update.
52895 Replace with faster SSE2 version.
52896 * sysdeps/x86_64/memrchr.S: New file.
52897 * sysdeps/x86_64/memchr.S: Update.
52898 Replace with faster SSE2 version.
52900 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52902 * elf/dl-load.c (lose): Add cast to avoid warning.
52904 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52906 * po/ca.po: Update from translation team.
52908 * inet/getnetgrent_r.c: Hook up nscd.
52909 * nscd/Makefile (routines): Add nscd_netgroup.
52910 (nscd-modules): Add netgroupcache.
52911 (CFLAGS-netgroupcache.c): Define.
52912 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52913 (cache_search): Add const to second parameter.
52914 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52916 (dbs): Add netgrdb entry.
52917 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52918 (verify_persistent_db): Handle netgrdb.
52919 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52920 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52922 (netgroup_response_header): Define.
52923 (innetgroup_response_header): Define.
52924 (datahead): Add netgroup_response_header and innetgroup_response_header
52926 * nscd/nscd.conf: Add entries for netgroup cache.
52927 * nscd/nscd.h (dbtype): Add netgrdb.
52928 (_PATH_NSCD_NETGROUP_DB): Define.
52929 (netgroup_iov_disabled): Declare.
52930 (xmalloc, xcalloc, xrealloc): Move declarations here.
52931 (cache_search): Adjust prototype.
52932 Add netgroup-related prototypes.
52933 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52934 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52935 (__nscd_innetgr): Declare.
52936 * nscd/selinux.c (perms): Use access_vector_t as element type and
52937 add netgroup-related initializers.
52938 * nscd/netgroupcache.c: New file.
52939 * nscd/nscd_netgroup.c: New file.
52940 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52941 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52942 For four parameters use innetgr.
52943 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52944 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52945 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52946 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52948 * nscd/connections.c (register_traced_file): Don't register file
52949 for disabled databases.
52951 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52953 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52955 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52956 from tree and freeing node.
52958 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52960 * nss/nsswitch.c (__nss_database_lookup): Handle
52961 nss_parse_service_list out of memory case.
52963 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52965 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52966 out of memory case.
52968 2011-10-04 Andreas Schwab <schwab@redhat.com>
52970 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52971 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52973 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52974 elf_machine_rela, elf_machine_lazy_rel.
52975 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52976 (ELF_DYNAMIC_DO_REL): Likewise.
52977 (ELF_DYNAMIC_DO_RELA): Likewise.
52978 (ELF_DYNAMIC_RELOCATE): Likewise.
52979 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52980 to ELF_DYNAMIC_DO_REL.
52981 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52982 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52983 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52985 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52986 skip_ifunc, don't call ifunc function if non-zero.
52987 (elf_machine_rela): Likewise.
52988 (elf_machine_lazy_rel): Likewise.
52989 (elf_machine_lazy_rela): Likewise.
52990 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52991 (elf_machine_lazy_rel): Likewise.
52992 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52994 (elf_machine_lazy_rel): Likewise.
52995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52997 (elf_machine_lazy_rel): Likewise.
52998 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52999 (elf_machine_lazy_rel): Likewise.
53000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53001 (elf_machine_lazy_rel): Likewise.
53002 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53003 (elf_machine_lazy_rel): Likewise.
53004 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53005 (elf_machine_lazy_rel): Likewise.
53006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53007 (elf_machine_lazy_rel): Likewise.
53008 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53009 (elf_machine_lazy_rel): Likewise.
53011 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53013 * nss/nss_files/files-init.c (_nss_files_init): Use static
53014 initialization for all the *_traced_file variables.
53016 2011-09-28 Andreas Schwab <schwab@redhat.com>
53018 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53020 2011-09-27 Roland McGrath <roland@hack.frob.com>
53023 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53025 2011-09-27 Andreas Schwab <schwab@redhat.com>
53027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53028 Reread the line before reparsing it.
53030 2011-09-26 Andreas Schwab <schwab@redhat.com>
53032 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53034 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53035 Maxim Kuvyrkov <maxim@codesourcery.com>
53036 Joseph Myers <joseph@codesourcery.com>
53038 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53039 if needed for __stack_chk_guard.
53041 2011-09-19 Roland McGrath <roland@hack.frob.com>
53043 * sysdeps/posix/spawni.c (script_execute): Always define it.
53044 It will be optimized away if unused.
53045 (maybe_script_execute): New function.
53046 (__spawni): Call it.
53048 * Makerules: Don't include tls.make.
53049 (config-tls): Always set to thread.
53050 * tls.make.c: File removed.
53052 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53054 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53055 * config.make.in (CPPFLAGS-config): New substituted variable.
53057 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53059 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53062 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53063 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53065 2011-09-15 Roland McGrath <roland@hack.frob.com>
53067 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53068 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53070 (CALL_FAIL): Likewise.
53071 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53072 (CALL_FAIL): Macro removed.
53073 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53075 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53077 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53078 for __FINITE_MATH_ONLY__ == 1.
53080 2011-09-15 Andreas Schwab <schwab@redhat.com>
53082 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53083 __ieee754_sqrt instead of sqrt.
53084 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53085 __ieee754_sqrtf instead of sqrtf.
53086 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53087 __floorf instead of floorf.
53088 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53089 __floorf, __truncf instead of floorf, truncf.
53091 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53093 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53095 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53096 __extern_always_inline.
53097 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53100 2011-09-14 Andreas Schwab <schwab@redhat.com>
53102 * elf/rtld.c (dl_main): Also relocate in dependency order when
53103 doing symbol dependency testing.
53105 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53108 Always define `refsym'.
53110 2011-09-13 Andreas Schwab <schwab@redhat.com>
53112 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53113 (__FD_ELT): Renamed from __FDELT.
53114 * misc/bits/select2.h (__FD_ELT): Likewise.
53115 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53116 __FD_MASK instead of __FDELT, __FDMASK.
53117 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53119 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53122 * elf/Makefile (gen-ldd): Fix pattern.
53124 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53125 (init_tls): Likewise.
53127 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53131 2011-09-12 Andreas Schwab <schwab@redhat.com>
53133 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53134 `struct cmsghdr *' instead of `void *'.
53135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53138 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53140 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53142 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53143 ldd_rewrite_script.
53145 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53147 * configure.in: Remove --with-tls option.
53148 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53149 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53150 out in case it is missing.
53151 * sysdeps/ia64/elf/configure.in: Likewise.
53152 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53153 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53154 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53155 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53156 * sysdeps/sh/elf/configure.in: Likewise.
53157 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53158 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53159 * sysdeps/x86_64/elf/configure.in: Likewise.
53160 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53161 * sysdeps/mach/hurd/tls.h: Likewise.
53164 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53167 * configure.in: Fix use of AC_INIT.
53169 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53171 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53173 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53175 * malloc/hooks.c: Likewise.
53178 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53179 variables statically.
53180 (narenas): Initialize.
53181 (list_lock): Initialize.
53182 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53183 initializtion of main_arena and list_lock. Small cleanups.
53184 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53185 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53186 Add initializers to main_arena and mp_.
53187 (malloc_state): Remove pagesize member. Change all users to use
53190 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53191 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53192 is always initialized.
53194 * malloc/malloc.c: Removed unused configurations and dead code.
53195 * malloc/arena.c: Likewise.
53196 * malloc/hooks.c: Likewise.
53197 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53199 * include/tls.h: Removed. USE___THREAD must always be defined.
53200 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53201 * elf/dl-libc.c: Likewise.
53202 * elf/dl-tsd.c: Likewise.
53203 * include/errno.h: Likewise.
53204 * include/netdb.h: Likewise.
53205 * include/resolv.h: Likewise.
53206 * inet/herrno-loc.c: Likewise.
53207 * inet/herrno.c: Likewise.
53208 * malloc/arena.c: Likewise.
53209 * malloc/hooks.c: Likewise.
53210 * malloc/malloc.c: Likewise.
53211 * resolv/res-state.c: Likewise.
53212 * resolv/res_libc.c: Likewise.
53213 * sysdeps/i386/dl-machine.h: Likewise.
53214 * sysdeps/ia64/dl-machine.h: Likewise.
53215 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53216 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53217 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53218 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53219 * sysdeps/sh/dl-machine.h: Likewise.
53220 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53221 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53222 * sysdeps/unix/i386/sysdep.S: Likewise.
53223 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53224 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53226 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53227 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53229 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53233 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53234 * sysdeps/x86_64/dl-machine.h: Likewise.
53235 * tls.make.c: Likewise.
53237 * configure.in: Remove --with-__thread option. Make tests for
53238 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53239 tls_model attribute fail if no support is available. Remove
53241 * Makeconfig: Adjust for dropped configure option. All features are
53243 * Makerules: Likewise.
53244 * Versions.def: Likewise.
53245 * argp/argp-fmtstream.c: Likewise.
53246 * argp/argp-fmtstream.h: Likewise.
53247 * argp/argp-help.c: Likewise.
53248 * assert/assert.c: Likewise.
53249 * config.h.in: Likewise.
53250 * config.make.in: Likewise.
53251 * configure: Likewise.
53252 * configure.in: Likewise.
53253 * csu/Versions: Likewise.
53254 * csu/init.c: Likewise.
53255 * elf/tst-audit2.c: Likewise.
53256 * elf/tst-tls10.c: Likewise.
53257 * elf/tst-tls10.h: Likewise.
53258 * elf/tst-tls11.c: Likewise.
53259 * elf/tst-tls12.c: Likewise.
53260 * elf/tst-tls14.c: Likewise.
53261 * elf/tst-tlsmod11.c: Likewise.
53262 * elf/tst-tlsmod12.c: Likewise.
53263 * elf/tst-tlsmod13.c: Likewise.
53264 * elf/tst-tlsmod13a.c: Likewise.
53265 * elf/tst-tlsmod14a.c: Likewise.
53266 * elf/tst-tlsmod15b.c: Likewise.
53267 * elf/tst-tlsmod16a.c: Likewise.
53268 * elf/tst-tlsmod16b.c: Likewise.
53269 * elf/tst-tlsmod7.c: Likewise.
53270 * elf/tst-tlsmod8.c: Likewise.
53271 * elf/tst-tlsmod9.c: Likewise.
53272 * gmon/gmon.c: Likewise.
53273 * grp/fgetgrent_r.c: Likewise.
53274 * grp/putgrent.c: Likewise.
53275 * hurd/fopenport.c: Likewise.
53276 * include/libc-symbols.h: Likewise.
53277 * include/tls.h: Likewise.
53278 * intl/gettextP.h: Likewise.
53279 * intl/loadinfo.h: Likewise.
53280 * locale/global-locale.c: Likewise.
53281 * locale/localeinfo.h: Likewise.
53282 * mach/devstream.c: Likewise.
53283 * malloc/arena.c: Likewise.
53284 * malloc/set-freeres.c: Likewise.
53285 * misc/err.c: Likewise.
53286 * misc/getttyent.c: Likewise.
53287 * misc/mntent_r.c: Likewise.
53288 * posix/getopt.c: Likewise.
53289 * posix/wordexp.c: Likewise.
53290 * pwd/fgetpwent_r.c: Likewise.
53291 * resolv/Versions: Likewise.
53292 * resolv/res_hconf.c: Likewise.
53293 * shadow/fgetspent_r.c: Likewise.
53294 * shadow/putspent.c: Likewise.
53295 * stdio-common/printf_fphex.c: Likewise.
53296 * stdio-common/tmpfile.c: Likewise.
53297 * stdlib/abort.c: Likewise.
53298 * stdlib/fmtmsg.c: Likewise.
53299 * sunrpc/auth_unix.c: Likewise.
53300 * sunrpc/clnt_perr.c: Likewise.
53301 * sunrpc/clnt_tcp.c: Likewise.
53302 * sunrpc/clnt_udp.c: Likewise.
53303 * sunrpc/clnt_unix.c: Likewise.
53304 * sunrpc/openchild.c: Likewise.
53305 * sunrpc/svc_simple.c: Likewise.
53306 * sunrpc/svc_tcp.c: Likewise.
53307 * sunrpc/svc_udp.c: Likewise.
53308 * sunrpc/svc_unix.c: Likewise.
53309 * sunrpc/xdr.c: Likewise.
53310 * sunrpc/xdr_array.c: Likewise.
53311 * sunrpc/xdr_rec.c: Likewise.
53312 * sunrpc/xdr_ref.c: Likewise.
53313 * sunrpc/xdr_stdio.c: Likewise.
53315 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53317 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53319 2011-07-03 Andreas Jaeger <aj@suse.de>
53321 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53322 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53323 regenerate with gen-libm-tests.pl.
53325 2010-05-12 Petr Baudis <pasky@suse.cz>
53328 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53329 around j0() zero points by switching to j1().
53330 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53331 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53333 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53335 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53337 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53339 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53341 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53342 Patch in part by Pavel Roskin <proski@gnu.org>.
53345 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53347 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53348 Free memory block if necessary.
53351 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53352 be NULL. Don't lock in this case.
53354 2011-09-09 Roland McGrath <roland@hack.frob.com>
53356 * elf/elf.h (ELFOSABI_GNU): New macro.
53357 (ELFOSABI_LINUX): Define to that.
53359 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53361 * string/strncat.c (strncat): Undef the symbol in case it has been
53362 defined in bits/string.h.
53364 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53366 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53368 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53371 2011-08-17 Andreas Jaeger <aj@suse.de>
53373 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53375 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53376 Ian Lance Taylor <iant@google.com>
53378 * math/libm-test.inc (lround_test): New testcase.
53379 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53381 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53383 * Makefile: Remove support for automatic cvs check-ins.
53384 * Makerules: Likewise.
53385 * config.make.in: Likewise.
53386 * configure.in: Likewise.
53387 * intl/Makefile: Likewise.
53388 * locale/Makefile: Likewise.
53389 * po/Makefile: Likewise.
53390 * posix/Makefile: Likewise.
53391 * sysdeps/gnu/Makefile: Likewise.
53392 * sysdeps/mach/hurd/Makefile: Likewise.
53393 * sysdeps/sparc/sparc32/Makefile: Likewise.
53396 * posix/Makefile (bug-regex32-ENV): Define.
53397 Patch by John Stanley <jpsinthemix@verizon.net>.
53399 * misc/Makefile (headers): Add bits/select2.h.
53400 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53401 * misc/bits/select2.h: New file.
53402 * include/bits/select2.h: New file.
53403 * debug/Makefile (routines): Add fdelt_chk.
53404 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53405 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53407 * debug/fdelt_chk.c: New file.
53409 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53410 * wcsmbs/test-wmemcmp.c: Likewise.
53411 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53412 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53414 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53416 * string/Makefile (strop-tests): Add memcmp.
53417 * string/test-wmemcmp.c: New file.
53418 * string/test-memcmp.c: Add wmemcmp support.
53420 2011-09-08 Roland McGrath <roland@hack.frob.com>
53423 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53426 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53427 garbage value in a __mach_port_mod_refs call in the cases of the
53428 task-self and thread-self ports.
53430 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53432 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53434 2011-09-08 Andreas Schwab <schwab@redhat.com>
53436 * elf/dl-load.c (lose): Check for non-null L.
53438 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53440 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53442 * elf/dl-libc.c (dlerror_run): Pass back error code from
53446 * elf/dl-load.c (lose): Free l_origin if it is valid.
53448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53450 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53451 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53452 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53453 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53454 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53455 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53457 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53459 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53460 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53461 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53462 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53463 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53464 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53465 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53466 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53467 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53468 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53470 2011-08-15 Alan Modra <amodra@gmail.com>
53473 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53474 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53475 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53476 ppc_mcount to static-only-routines.
53477 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53479 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53480 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53482 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53484 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53485 for finite and infinity parameters.
53487 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53489 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53490 and add nop instructions for throughput optimization.
53491 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53493 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53495 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53496 aligned copy for power7 with vector-scalar instructions.
53497 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53499 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53504 2011-09-07 Andreas Schwab <schwab@redhat.com>
53507 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53510 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53512 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53513 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53514 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53515 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53518 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53520 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53521 Forgot to demangle the pointer.
53523 * sysdeps/i386/sysdep.h: Define atom_text_section.
53524 * sysdeps/x86_64/sysdep.h: Likewise.
53525 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53526 section with atom_text_section.
53527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53528 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53529 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53531 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53533 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53534 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53535 already be defined. Change to take two parameters and don't assign
53536 result to variable. Adjust all users.
53537 Define INTERNAL_GETTIME if not already defined.
53538 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53541 HAVE_CLOCK_GETTIME_VSYSCALL.
53542 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53545 gettimeofday vsyscall, just use time.
53547 2011-09-06 Andreas Schwab <schwab@redhat.com>
53549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53552 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53554 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53558 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53559 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53560 syscall if possible.
53562 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53564 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53565 e_ident. Don't pass to find_mapsXX.
53566 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53568 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53571 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53572 * sysdeps/x86_64/multiarch/strchr.S: Update.
53573 Check bit_slow_BSF bit.
53574 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53575 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53576 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53578 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53581 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53583 (tryshell): Define.
53584 (__spawni): Change last parameter to be flag. Test
53585 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53586 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53587 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53588 * posix/spawni.c: Likewise.
53589 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53590 * posix/spawnp.c: Likewise. Change normal version to use
53591 SPAWN_XFLAGS_USE_PATH.
53592 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53593 SPAWN_XFLAGS_TRY_SHELL.
53596 * posix/glob.h: Remove gcc 1.x support.
53599 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53601 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53604 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53606 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53607 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53608 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53609 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53610 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53611 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53613 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53615 * sysdeps/x86_64/wcscmp.S: New file.
53617 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53618 wcscmp-c wcscmp-sse2
53619 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53620 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53621 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53622 * wcsmbs/wcscmp.c: Allow renaming.
53624 2011-09-05 David S. Miller <davem@davemloft.net>
53626 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53627 stack slot, rather than the struct return pointer slot.
53628 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53629 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53631 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53633 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53635 * po/ja.po: Update from translation team.
53638 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53639 kernel in 64-bit binaries.
53641 2011-09-01 David S. Miller <davem@davemloft.net>
53643 * elf/elf.h (HWCAP_SPARC_*): Move to..
53644 * sysdeps/sparc/sysdep.h: this new file and add new values.
53645 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53646 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53647 _DL_HWCAP_COUNT to 24.
53648 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53650 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53651 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53652 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53654 instead of magic constants.
53655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53657 2011-08-31 David S. Miller <davem@davemloft.net>
53659 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53661 Reimplement to do errno handling inline.
53662 (SYSCALL_ERROR_HANDLER): New macro.
53663 (__SYSCALL_STRING): Do not do errno handling in asm.
53664 (__CLONE_SYSCALL_STRING): Delete.
53665 (__INTERNAL_SYSCALL_STRING): Delete.
53666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53667 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53668 (PSEUDO): Reimplement to do errno handling inline.
53669 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53670 (SYSCALL_ERROR_HANDLER): New macro.
53671 (__SYSCALL_STRING): Do not do errno handling in asm.
53672 (__CLONE_SYSCALL_STRING): Delete.
53673 (__INTERNAL_SYSCALL_STRING): Delete.
53674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53675 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53677 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53678 (inline_syscall*): Add 'err' argument.
53679 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53680 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53681 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53682 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53684 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53685 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53687 2011-08-30 Andreas Schwab <schwab@redhat.com>
53689 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53691 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53693 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53696 2011-08-24 David S. Miller <davem@davemloft.net>
53698 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53700 2011-08-24 Andreas Schwab <schwab@redhat.com>
53702 * elf/Makefile: Add rules to build and run unload8 test.
53703 * elf/unload8.c: New file.
53704 * elf/unload8mod1.c: New file.
53705 * elf/unload8mod1x.c: New file.
53706 * elf/unload8mod2.c: New file.
53707 * elf/unload8mod3.c: New file.
53709 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53712 2011-08-23 David S. Miller <davem@davemloft.net>
53714 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53715 subtract stack bias.
53716 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53717 %sp not %fp in calculations.
53718 (_JMPBUF_UNWINDS_ADJ): Likewise.
53720 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53721 (aio_suspend): Call it to force an exception region around the
53722 AIO_MISC_WAIT() invocation.
53724 2011-08-23 Andreas Schwab <schwab@redhat.com>
53726 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53729 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53731 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53733 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53734 and <dl-machine.h>.
53735 (Elf64_FuncDesc): Remove.
53737 2011-08-22 David S. Miller <davem@davemloft.net>
53739 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53740 sigaltstack check, add missing cfi directives.
53741 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53742 missing cfi directives, and sigaltstack handling.
53744 2011-08-16 Andreas Schwab <schwab@redhat.com>
53747 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53748 object is seen twice.
53749 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53751 * elf/Makefile (distribute): Add tst-initorder2.c.
53752 (tests): Add tst-initorder2.
53753 (modules-names): Add tst-initorder2a tst-initorder2b
53754 tst-initorder2c tst-initorder2d. Add rules to build them.
53755 ($(objpfx)tst-initorder2.out): New rule.
53756 * elf/tst-initorder2.c: New file.
53757 * elf/tst-initorder2.exp: New file.
53759 2011-08-22 Andreas Schwab <schwab@redhat.com>
53761 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53763 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53764 dependencies back to end of function.
53766 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53767 $(elfobjdir)/ld.so.
53769 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53772 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53774 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53775 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53776 of __vdso_gettimeofday.
53777 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53778 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53780 (_libc_vdso_platform_setup): Remove initialization of
53781 __vdso_gettimeofday and __vdso_time.
53783 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53785 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53786 and fgetc_unlocked.
53787 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53790 * elf/dl-open.c (add_to_global): Report additions to the global scope
53791 for LD_DEBUG=scopes.
53792 (dl_open_worker): Also print scope of newly loaded dependencies.
53793 (_dl_show_scope): Indicate if there is no scope.
53796 * stdio-common/Makefile (tests): Add bug24.
53797 * stdio-common/bug24.c: New file.
53799 2011-08-19 Andreas Jaeger <aj@suse.de>
53802 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53803 non-existant file when using close-on-exec mode.
53805 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53808 the very first instruction.
53810 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53811 the CFI state in the end.
53812 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53813 inclusion of dl-trampoline.h.
53814 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53816 2011-08-19 Andreas Schwab <schwab@redhat.com>
53818 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53819 expectations for long double.
53821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53822 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53824 2011-08-14 David S. Miller <davem@davemloft.net>
53826 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53827 artificual limit depends upon the system page size.
53829 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53831 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53832 * resolv/Makefile: Define CFLAGS-libresolv.
53834 2011-08-17 Andreas Schwab <schwab@redhat.com>
53836 * nss/makedb.c (compute_tables): Make variables used in nested
53839 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53841 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53842 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53843 if buffer was too small.
53845 * elf/pldd.c (main): Attach to all threads in the process.
53846 Rewrite /proc handling to use *at functions.
53848 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53850 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53851 specifies first scope to show.
53852 (dl_open_worker): Update callers. Move printing scope of new
53853 object to before the relocation.
53854 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53855 * sysdeps/generic/ldsodefs.h: Update declaration.
53857 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53858 string for the scope number.
53860 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53862 * nscd/servicescache.c (cache_addserv): Make sure written is always
53865 2011-08-14 Roland McGrath <roland@hack.frob.com>
53867 * sysdeps/i386/i486/bits/atomic.h
53868 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53869 statement expression, so as to suppress "set but not used" warning.
53870 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53872 * string/strncat.c (STRNCAT): Use prototype definition.
53874 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53875 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53877 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53878 (localedef-modules): Add localedef.
53879 (locale-modules): Add locale.
53881 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53882 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53883 to avoid a warning.
53885 2011-08-14 David S. Miller <davem@davemloft.net>
53887 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53888 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53890 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53892 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53893 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53894 * elf/rtld.c (dl_main): Set l_name of vDSO.
53895 Call _dl_show_scope when DL_DEBUG_SCOPES.
53896 (process_dl_debug): Recognize scopes flag and also set it for all.
53897 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53898 Declare _dl_show_scope.
53900 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53901 (do_dlopen): Pass caller_dlopen to dl_open.
53902 (__libc_dlopen_mode): Initialize caller_dlopen.
53904 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53905 of libc. Make tolower call locale-independent. Optimize a bit by
53906 using isdigit instead of isalnum.
53907 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53909 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53911 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53912 was a dependency or dynamically loaded.
53914 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53916 * intl/l10nflist.c: Allow architecture-specific pop function.
53917 * sysdeps/x86_64/l10nflist.c: New file.
53919 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53922 2011-08-10 Andreas Schwab <schwab@redhat.com>
53924 * include/dirent.h: Add libc_hidden_proto for scandirat and
53925 scandirat64. Don't declare __scandirat64.
53926 * dirent/scandirat.c: Add libc_hidden_def.
53927 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53928 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53930 2011-08-10 David S. Miller <davem@davemloft.net>
53932 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53934 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53935 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53936 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53938 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53940 * Versions.def [libc]: Add GLIBC_2.15.
53941 * dirent/Makefile (routines): Add scandirat and scandirat64.
53942 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53944 * dirent/dirent.h: Declare scandirat and scandirat64.
53945 * dirent/scandirat.c: New file.
53946 * dirent/scandirat64.c: New file.
53947 * sysdeps/wordsize-64/scandirat.c: New file.
53948 * sysdeps/wordsize-64/scandirat64.c: New file.
53949 * dirent/opendir.c: Define opendirat.
53950 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53952 * dirent/scandir64.c: Adjust for scandir.c change.
53953 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53954 __scandirat64, and __scandir_cancel_handler.
53955 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53956 additional parameter and use openat instead of open (outside of ld.so).
53957 Add new __opendir as wrapper around __opendirat.
53958 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53959 here without requiring old scandirat implementation.
53961 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53963 * dirent/scandir.c (cancel_handler): Renamed to
53964 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53965 defined. Adjust users.
53966 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53967 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53969 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53971 * string/test-string.h (IMPL): Use __STRING to expand name and then
53974 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53977 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53979 * string/Makefile: Update.
53980 (strop-tests): Append strncat.
53981 * string/test-wcscmp.c: New file.
53982 New comprehensive test for wcscmp.
53983 * string/test-strcmp.c: Update.
53984 (WIDE): New define.
53986 2011-07-22 Andreas Schwab <schwab@redhat.com>
53988 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53991 2011-07-26 Andreas Schwab <schwab@redhat.com>
53993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53994 encoding to ACE if AI_IDN.
53996 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53999 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54001 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54003 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54004 Fix overflow bug in strncat.
54005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54007 * string/test-strncat.c: Update.
54008 Add new tests for checking overflow bugs.
54010 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54013 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54014 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54015 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54016 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54017 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54018 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54019 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54020 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54023 (USE_AS_STRCAT): Define.
54024 Add strcat and strncat support.
54025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54027 2011-07-25 Andreas Schwab <schwab@redhat.com>
54029 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54030 __n bigger than INT_MAX+1.
54031 (__strncmp_g): Likewise.
54033 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54035 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54036 * libio/stido.h: Likewise.
54038 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54043 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54044 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54045 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54046 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54050 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54055 (_dl_x86_64_save_sse): Likewise.
54057 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54059 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54061 (_dl_x86_64_save_sse): Likewise.
54063 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54065 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54067 2011-07-21 Andreas Schwab <schwab@redhat.com>
54069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54071 (_dl_x86_64_save_sse): Use correct AVX check.
54073 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54075 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54076 bug in strncpy/strncat.
54077 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54079 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54081 * string/tester.c (test_strcat): Add tests for different alignments
54082 of source and destination.
54083 (test_strncat): Likewise.
54085 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54088 * posix/glob.c (glob): Check passed in values before using them in
54089 expressions to avoid some overflows.
54090 (glob_in_dir): Likewise.
54093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54094 check for AVX enablement so that we don't crash with old kernels and
54096 * elf/tst-audit4.c: Add same checks here.
54097 * elf/tst-audit6.c: Likewise.
54099 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54101 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54103 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54105 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54107 * po/cs.po: Update from translation team.
54108 * po/bg.po: Likewise.
54110 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54112 * misc/sys/cdefs.h: Add support for const attribute.
54113 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54114 to gnu_dev_{major,minor,makedev} functions.
54116 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54118 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54120 2011-07-20 Andreas Schwab <schwab@redhat.com>
54122 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54125 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54127 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54128 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54129 register in order to avoid conflicts with the soft frame pointer
54130 being held in r11 when necessary.
54131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54132 (INTERNAL_VSYSCALL_NCS): Likewise.
54134 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54136 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54137 * elf/dl-fini.c (_dl_fini): Adjust caller.
54138 * elf/dl-close.c (_dl_close_worker): Likewise.
54139 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54141 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54143 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54144 "aux_cache->nlibs < 0".
54146 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54147 in the reload-count case.
54149 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54152 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54153 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54154 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54155 * sysdeps/x86_64/multiarch/strcat.S: New file.
54156 * sysdeps/x86_64/multiarch/strncat.S: New file.
54157 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54158 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54159 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54160 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54161 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54162 (USE_AS_STRCAT): Define.
54163 Add strcat and strncat support.
54164 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54165 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54166 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54167 * string/strncat.c: Update.
54168 (USE_AS_STRNCAT): Define.
54169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54170 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54172 * sysdeps/x86_64/multiarch/init-arch.h
54173 (bit_Prefer_PMINUB_for_stringop): New.
54174 (index_Prefer_PMINUB_for_stringop): Likewise.
54175 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54176 bit_Prefer_PMINUB_for_stringop.
54178 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54180 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54182 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54183 of casting of buffer.
54184 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54185 buffer32 and buffer64.
54186 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54187 writes instead of casting of buffer.
54188 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54190 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54193 2011-07-19 Andreas Schwab <schwab@redhat.com>
54195 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54197 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54199 * nscd/nscd.c (termination_handler): Don't do anything for a database
54200 if it has not yet been initialized.
54202 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54204 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54206 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54208 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54210 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54212 * po/nl.po: Update from translation team.
54213 * po/sv.po: Likewise.
54215 2011-07-16 Roland McGrath <roland@hack.frob.com>
54217 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54218 now disallowed by GCC.
54220 * configure.in (use-default-link): Default to yes if a test -shared
54221 link meets our qualifications.
54222 * configure: Regenerated.
54224 * config.make.in (output-format): New variable.
54225 * configure.in: Check for ld --print-output-format support.
54226 * configure: Regenerated.
54227 * Makerules ($(common-objpfx)format.lds)
54228 [$(output-format) != unknown]: Just use $(output-format),
54229 instead of the linker-script munging.
54231 2011-07-14 Roland McGrath <roland@hack.frob.com>
54233 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54234 of $(common-objpfx)shlib.lds.
54235 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54237 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54238 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54240 * configure.in (-z relro check): Adjust test code to add a large
54241 writable data section after it.
54242 * configure: Regenerated.
54244 2011-07-11 Roland McGrath <roland@hack.frob.com>
54246 * configure.in (-z relro check): Fix test code to make the variable
54248 * configure: Regenerated.
54250 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54252 * nscd/nscd.h (struct traced_file): Define.
54253 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54254 elements. Add traced_files.
54255 (inotify_fd): Declare.
54256 (register_traced_file): Declare.
54257 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54258 (inotify_fd): Export.
54259 (resolv_conf_descr): Remove.
54260 (nscd_init): Move inotify descriptor creation to main.
54261 Don't register files for notification here.
54262 (register_traced_file): New function.
54263 (invalidate_cache): Don't use reset_res to determine whether to call
54264 res_init, go through the list of registered files.
54265 (main_loop_poll): The inotify descriptors are now stored in the
54266 structures for the traced files.
54267 (main_loop_epoll): Likewise
54268 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54269 to __nss_disable_nscd.
54270 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54271 for a database anymore. Check the records for all the registered
54273 * nss/Makefile (libnss_files-routines): Add files-init.
54274 (libnss_db-routines): Add db-init.
54275 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54276 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54277 * nss/nss_db/db-init.c: New file.
54278 * nss/nss_files/files-init.c: New file.
54279 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54280 __nss_lookup_function.
54281 (__nss_lookup_function): Call nss_load_library.
54282 (nss_load_all_libraries): New function.
54283 (__nss_disable_nscd): Take parameter with callback function for files
54284 to register. Set is_nscd. Load all the DSOs for the NSS modules
54285 used for the cached services.
54286 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54287 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54288 options for features to all the files in nscd.
54290 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54292 2011-07-10 Roland McGrath <roland@hack.frob.com>
54294 * csu/elf-init.c (__libc_csu_init): Comment typo.
54296 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54298 * po/pl.po: Update from translation team.
54299 * po/ja.po: Likewise.
54300 * po/ru.po: Likewise.
54301 * po/ko.po: Likewise.
54302 * po/fr.po: Likewise.
54304 2011-07-09 Roland McGrath <roland@hack.frob.com>
54306 * configure.in (.ctors/.dtors header and trailer check):
54307 Use an empirical test on a built program.
54308 * configure: Regenerated.
54310 * configure.in (-z relro check): Use an empirical test on a built DSO.
54311 Detect, but do not require, on ia64.
54312 * configure: Regenerated.
54314 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54315 Update tests that use readelf to use $READELF instead.
54316 * configure: Regenerated.
54318 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54320 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54321 if the result is not used.
54323 2011-07-05 Andreas Jaeger <aj@suse.de>
54326 * stdlib/tst-strtod.c: Add testcase.
54328 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54330 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54331 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54332 The latter has a higher limit. Take additional parameter to pass to
54334 (__pathconf): Pass file to __statfs_link_max.
54335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54337 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54341 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54342 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54344 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54345 (__statfs_filesize_max): Likewise.
54346 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54348 2011-07-05 Andreas Jaeger <aj@suse.de>
54350 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54352 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54354 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54356 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54359 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54361 * Makefile (strop-tests): Add strncat.
54362 * string/test-strncat.c: New file.
54364 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54366 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54368 2011-06-21 Andreas Jaeger <aj@suse.de>
54370 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54371 Copy rule from iconvdata/Makefile.
54373 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54376 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54377 but no long options are defined, just return 'W'.
54379 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54382 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54384 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54386 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54388 (innetgr): Likewise.
54390 2011-07-05 Roland McGrath <roland@hack.frob.com>
54392 * config.make.in (install_root): Default to $(DESTDIR).
54394 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54396 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54398 2011-07-02 Roland McGrath <roland@hack.frob.com>
54400 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54402 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54403 containing directory rather than embedding absolute directory names.
54405 * scripts/check-local-headers.sh: Rewritten using awk.
54406 Match by word, not by line. Print error messages for matches.
54407 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54409 * Makerules [shlib-lds-flags empty]:
54410 ($(common-objpfx)libc_pic.opts): New target.
54411 ($(common-objpfx)libc_pic.os.clean): New target.
54412 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54414 * config.make.in (OBJCOPY): New variable.
54415 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54416 * configure: Regenerated.
54418 * config.make.in (use-default-link): New variable.
54419 * configure.in (use_default_link): Grok --with-default-link to set it.
54420 * configure: Regenerated.
54421 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54422 (shlib-lds, shlib-lds-flags): Define to empty.
54424 * Makerules (shlib-lds): New variable.
54425 (shlib-lds-flags): New variable.
54426 (build-shlib, build-moduile, build-module-asneeded): Use it.
54427 ($(common-objpfx)libc.so): Use $(shlib-lds).
54428 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54429 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54431 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54432 DT_FLAGS/DT_FLAGS_1 with zero flags.
54434 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54435 linker script munging.
54437 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54439 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54441 * crypt/sha512.c (sha512_process_block): Perform total addition using
54442 128-bit if possible.
54443 (__sha512_finish_ctx): Likewise.
54444 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54446 * crypt/sha256.c (SWAP64): Define.
54447 (sha256_process_block): Perform total addition using 64-bit if
54449 (__sha256_finish_ctx): Likewise.
54451 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54453 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54455 * nscd/hstcache.c (cache_addhst): Likewise.
54456 * nscd/grpcache.c (cache_addgr): Likewise.
54457 * nscd/aicache.c (addhstaiX): Likewise
54458 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54460 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54462 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54463 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54464 * nscd/hstcache.c (cache_addhst): Likewise.
54465 * nscd/grpcache.c (cache_addgr): Likewise.
54466 * nscd/aicache.c (addhstaiX): Likewise
54468 2011-07-01 Andreas Schwab <schwab@redhat.com>
54470 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54471 domain only when needed.
54473 2011-06-30 Andreas Schwab <schwab@redhat.com>
54475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54476 is always restored.
54478 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54480 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54481 are re-adding the entry.
54482 * nscd/servicescache.c (cache_addserv): Likewise.
54484 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54486 * sysdeps/generic/dl-irel.h: fix protection against multiple
54488 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54490 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54493 * malloc/memusage.sh: Fix quoting in message.
54494 * debug/xtrace.sh: Likewise.
54496 * configure.in: Remove support for --experimental-malloc option, make
54498 * config.make.in: Likewise.
54499 * malloc/Makefile: Likewise.
54501 2011-06-27 Andreas Schwab <schwab@redhat.com>
54503 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54504 two-byte characters.
54506 2011-06-27 Roland McGrath <roland@hack.frob.com>
54508 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54509 AC_CACHE_CHECK invocation.
54510 * configure: Regenerated.
54512 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54514 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54517 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54518 bit from old_res_options.
54520 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54522 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54523 value type for setfct.
54525 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54528 __gettimeofday instead of gettimeofday.
54530 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54532 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54534 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54536 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54541 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54544 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54545 strcpy-sse2-unaligned strncpy-sse2-unaligned
54546 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54547 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54548 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54549 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54550 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54551 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54553 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54554 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54555 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54556 (STRCPY): Support SSE2 and SSSE3 versions.
54558 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54562 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54563 kernels which artificially limit size of requests.
54565 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54568 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54569 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54570 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54571 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54572 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54573 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54574 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54575 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54577 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54578 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54579 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54580 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54581 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54583 Enable unaligned load optimization for Intel Core i3, i5 and i7
54585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54587 (index_Fast_Unaligned_Load): Define.
54588 (HAS_FAST_UNALIGNED_LOAD): Define.
54590 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54592 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54594 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54598 until it is clear that the information is realy needed.
54599 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54601 2011-06-22 Andreas Schwab <schwab@redhat.com>
54603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54605 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54608 /sys/devices/system/cpu/online if it is usable.
54610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54611 reading the information from the /proc filesystem to once a second.
54613 2011-06-21 Andreas Jaeger <aj@suse.de>
54615 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54616 NULL after inclusion of kernel headers.
54618 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54620 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54621 calls to internal_setent.
54624 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54625 addresses using gethostbyname4_r ignore IPv4 addresses.
54627 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54628 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54630 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54632 2011-06-20 David S. Miller <davem@davemloft.net>
54634 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54636 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54638 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54639 (elf_irel): Use it.
54640 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54641 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54642 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54643 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54644 * sysdeps/x86_64/dl-irel.h: Likewise.
54646 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54647 * elf/dl-sym.c: Likewise.
54649 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54651 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54652 need to dereference resplen2.
54654 2011-06-14 Andreas Schwab <schwab@redhat.com>
54656 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54658 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54660 * Makeconfig: Define vardbdir and inst_vardbdir.
54661 * nss/Makefile: Add rules to install db-Makefile.
54663 * nss/nss_db/db-XXX.c: Cleanup.
54665 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54666 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54668 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54669 * nss/makedb.c: Implement -g option to specify that value strings
54670 are generated and should not be added to table iterated over for
54672 * nss/nss_db/db-initgroups.c: New file.
54674 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54677 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54678 (internal_getgrouplist): Adjust to name change.
54679 Update use_initgroups_entry if this is not the first call.
54680 * nss/databases.def: Add initgroups entry.
54682 * nss/makedb.c (compute_tables): Check result of multiple hash table
54683 sizes to minimize maximum chain length.
54685 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54687 * Versions.def: Add entry for libnss_db.
54688 * shlib-versions: Likewise.
54689 * nss/Makefile: Add rules to build libnss_db.
54690 * nss/Versions: Add libnss_db information. Organize libnss_files
54692 * nss/db-Makefile: Add gshadow support. Change rules for the new
54693 makedb progra. Some minor improvements to generate smaller files.
54694 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54696 * nss/makedb.c: ...here.
54697 Improve database format to be smaller and require less memory at
54699 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54701 * nss/nss_db/db-netgrp.c: Likewise.
54702 * nss/nss_db/db-open.c: Likewise.
54703 * nss/nss_files/flies-XXX.x: Adjust comments.
54704 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54705 * nss/nss_files/files-grp.c: Likewise.
54706 * nss/nss_files/files-hosts.c: Likewise.
54707 * nss/nss_files/files-network.c: Likewise.
54708 * nss/nss_files/files-proto.c: Likewise.
54709 * nss/nss_files/files-pwd.c: Likewise.
54710 * nss/nss_files/files-rpc.c: Likewise.
54711 * nss/nss_files/files-service.c: Likewise.
54712 * nss/nss_files/files-sgrp.c: Likewise.
54713 * nss/nss_files/files-spwd.c: Likewise.
54714 * nss/nss_db/db-alias.c: Removed.
54715 * nss/nss_db/dummy-db.h: Removed.
54717 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54719 * nss/makedb.c: Rewritten to not use database library.
54720 * nss/Makefile: Update to build new makedb program.
54722 2011-06-14 Andreas Jaeger <aj@suse.de>
54724 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54725 memset declaration.
54727 2011-06-10 Andreas Schwab <schwab@redhat.com>
54729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54732 2011-06-10 Roland McGrath <roland@hack.frob.com>
54734 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54735 * elf/Makefile ($(objpfx)ld.so): Likewise.
54737 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54738 Don't list ld.so twice in dependencies.
54740 * posix/bug-regex31.c: Include <stdlib.h>.
54742 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54744 * nis/nss_compat/compat-spwd.c
54745 (getspent_next_nss_netgr): Remove unused variable.
54746 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54748 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54749 nonmembers" output to use the right array.
54751 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54753 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54755 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54756 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54757 * catgets/gencat.c (read_input_file): Likewise.
54758 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54760 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54761 variable definition inside #if's controlling its use.
54763 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54765 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54767 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54769 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54772 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54774 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54775 * configure: Regenerated.
54777 * Makerules: Revert last change.
54778 * elf/Makefile: Likewise.
54780 2011-06-09 Roland McGrath <roland@hack.frob.com>
54782 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54783 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54784 (reloc-link): Likewise.
54786 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54788 * elf/Makefile: Add rules to build pldd.
54789 * elf/pldd.c: New file.
54790 * elf/pldd-xx.c: New file.
54792 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54794 * version.h: Update for 2.15 development version.
54796 2011-06-07 David S. Miller <davem@davemloft.net>
54798 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54801 elf_machine_lazy_rel): Likewise.
54802 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54804 elf_machine_lazy_rel): Likewise.
54805 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54806 dl_hwcap via passed in argument.
54807 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54810 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54812 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54814 2011-06-06 Roland McGrath <roland@hack.frob.com>
54817 * manual/fdl-1.1.texi: New file, verbatim from:
54818 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54819 * manual/lgpl-2.1.texi: New file, verbatim from:
54820 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54821 * manual/Makefile (licenses): New variable, list those new file names.
54823 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54825 * manual/fdl.texi: File removed.
54826 * manual/lesser.texi: File removed.
54827 * manual/libc.texinfo (Copying, Documentation License):
54828 Use new @include file names, put @appendix directive before @include.
54830 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54833 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54834 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54835 (mq_open): Add __NTH.
54837 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54840 Assume Intel Core i3/i5/i7 processor if AVX is available.
54842 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54844 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54847 2011-05-31 Andreas Schwab <schwab@redhat.com>
54849 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54850 memory. Use alloca_account. Fix memory leak when retrying.
54852 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54854 * version.h (RELEASE): Bump for 2.14 release.
54855 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54857 * config.make.in (RANLIB): Remove entry.
54859 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54861 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54862 (libc.pot): Work around missing support for .ksh extension in xgettext.
54865 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54866 if both request failed.
54867 (send_dg): In case of server errors clear resplen or *resplen2.
54870 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54871 when there are multiple maps.
54872 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54873 (_dl_fini): Remove test here.
54875 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54877 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54880 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54881 bit from old_res_options.
54882 (gaih_inet): Likewise.
54885 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54888 * resolv/res_init.c (res_setoptions): Make the code more compact.
54891 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54895 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54897 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54900 * malloc/malloc.h: Declare malloc hook variables as volatile.
54902 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54906 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54907 raise in the comment.
54908 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54909 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54910 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54912 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54915 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54916 grow the buffers more if it already has to be sufficient.
54917 (build_wcs_upper_buffer): Likewise.
54918 * posix/regexec.c (check_matching): Likewise.
54919 (clean_state_log_if_needed): Likewise.
54920 (extend_buffers): Don't enlarge buffers beyond size of the input
54922 Patches mostly by Emil Wojak <emil@wojak.eu>.
54923 * posix/bug-regex32.c: New file.
54924 * posix/Makefile (tests): Add bug-regex32.
54926 * locale/findlocale.c (_nl_find_locale): Return right away if
54927 _nl_explode_name failed.
54928 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54930 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54932 * debug/xtrace.sh: Unify messages.
54933 * malloc/memusage.sh: Likewise.
54936 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54937 time symbol from vDSO. Substitute with vsyscall if not available.
54938 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54941 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54942 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54943 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54944 Add sendmmsg and internal_sendmmsg.
54945 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54946 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54947 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54949 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54950 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54953 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54956 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54957 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54959 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54963 * iconvdata/Makefile (tests): Add bug-iconv9.
54964 * iconvdata/bug-iconv9.c: New file.
54966 2011-05-27 Andreas Schwab <schwab@redhat.com>
54969 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54971 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54974 (struct user_regs_struct): Change intcs field back to cs.
54976 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54978 * po/ja.po: Update from translation team.
54980 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54983 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54984 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54986 2011-05-20 Andreas Schwab <schwab@redhat.com>
54988 * stdlib/longlong.h: Update from GCC.
54990 2011-05-23 Andreas Schwab <schwab@redhat.com>
54992 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54994 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54995 Add parameter name.
54996 (__sysconf): Pass it down.
54998 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55001 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55004 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55005 add in in __libc_use_alloca calls. Adjust callers.
55006 (glob): Use malloc in some situations.
55008 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55009 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55012 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55014 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55015 and CLOCK_BOOTTIME_ALARM.
55018 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55021 * string/_strerror.c (__strerror_r): Print negative errors as signed
55025 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55026 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55027 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55029 * configure.in: Fix typo in redirection and correct removal of test
55030 files in two cases.
55033 * locale/setlocale.c (new_composite_name): Fix test to check for
55034 identical name of all categories.
55037 * libio/filedoalloc.c (local_isatty): New function.
55038 (_IO_file_doallocate): Use local_isatty.
55039 * stdio-common/perror.c (perror): In case a new stream is used
55040 forward the stream error.
55041 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55044 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55049 * include/alloca.h (extend_alloca_account): Define.
55052 * posix/regex.h: Fix comments with documentation of user-accessible
55053 fields after compilation and describe correct free'ing of pattern
55054 after re_compile_pattern.
55055 Patch by Reuben Thomas <rrt@sc3d.org>.
55057 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55059 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55060 and -mno-altivec to prevent the compiler from using Altivec and/or
55061 VSX instructions when the corresponding registers are not available.
55063 2011-05-19 Andreas Schwab <schwab@redhat.com>
55065 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55067 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55069 * libio/freopen.c (freopen): Use __dup2, not dup2.
55070 * libio/freopen64.c (freopen64): Likewise.
55072 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55075 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55076 * math/Makefile (tests): Add test-powl.
55077 (CFLAGS-test-powl.c): Define.
55078 * math/test-powl.c: New file.
55080 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55082 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55084 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55087 * iconvdata/gb18030.c: Update to GB18020-2005.
55089 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55091 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55092 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55093 Patch by Aharon Robbins <arnold@skeeve.com>.
55096 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55100 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55101 through underflows.
55104 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55105 point to strings before performing equality test for error_one_per_line
55109 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55112 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55113 (struct user_fpregs_struct): Avoid __uint*_t types.
55116 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55117 symbol info. Use it instead of calling _dl_addr locally.
55118 (lock_and_info): New function.
55119 (tr_freehook): Call lock_and_info and pass symbol info as additional
55120 parameter to tr_where.
55121 (tr_mallochook): Likewise.
55122 (tr_reallochook): Likewise.
55123 (tr_memalignhook): Likewise.
55125 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55126 used and couldn't be at all thread-safe.
55128 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55130 * libio/freopen.c (freopen): Don't close old file descriptor
55131 before the new one is opened. Instead dup the new file descriptor
55132 to the old one after the new stream is created.
55133 * libio/freopen64.c (freopen64): Likewise.
55134 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55135 * libio/fileops.c (_IO_new_file_close_it): Handle new
55136 _IO_FLAGS2_NOCLOSE flag.
55137 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55138 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55139 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55140 _IO_FLAGS2_NOCLOSE flag.
55141 * include/unistd.h: Add hidden_proto for dup3.
55142 Define __have_dup3.
55143 * io/dup3.c: Define hidden symbol.
55144 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55147 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55148 when an incomplete long option is used.
55149 * posix/tst-getopt_long1.c: New file.
55150 * posix/Makefile (tests): Add tst-getopt_long1.
55153 * scripts/config.guess: Update from autoconf-2.68.
55154 * scripts/config.sub: Likewise.
55157 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55159 (has_cpuclock): ...this. New function.
55160 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55161 macro here based on has_cpuclock code.
55164 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55165 First byte (not low byte) is now always NUL.
55166 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55169 Use non-cancelable interfaces.
55172 * locale/iso-639.def: Add entry for Sorani.
55175 * include/stdlib.h: Move include protection to the right place.
55176 Define abort_msg_s. Declare __abort_msg with it.
55177 * stdlib/abort.c (__abort_msg): Adjust type.
55178 * assert/assert.c (__assert_fail_base): New function. Majority
55179 of code from __assert_fail. Allocate memory for __abort_msg with
55181 (__assert_fail): Now call __assert_fail_base.
55182 * assert/assert-perr.c: Remove bulk of implementation. Use
55183 __assert_fail_base.
55184 * include/assert.hL Declare __assert_fail_base.
55185 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55187 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55189 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55193 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55194 until all modules are registered in the DTV.
55195 * elf/Makefile: Add rules to build and run tst-tls19.
55196 * elf/tst-tls19.c: New file.
55197 * elf/tst-tls19mod1.c: New file.
55198 * elf/tst-tls19mod2.c: New file.
55199 * elf/tst-tls19mod3.c: New file.
55200 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55203 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55207 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55208 two-byte sequence errors.
55209 * iconvdata/Makefile (tests): Add bug-iconv8.
55210 * iconvdata/bug-iconv8.c: New file.
55213 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55216 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55219 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55220 (dummy_getcfa): New function.
55221 (init): Get _Unwind_GetCFA address, use dummy if not found.
55222 (backtrace_helper): In recursion check, also check whether CFA changes.
55223 (__backtrace): Completely initialize arg.
55225 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55226 storing incomplete byte sequence in state object. Avoid testing for
55227 guaranteed too small input if we know there is enough data available.
55229 2011-05-11 Andreas Schwab <schwab@redhat.com>
55231 * Makeconfig (+link-pie): Indent.
55232 * Rules (binaries-pie): Define if $(have-fpie) and
55234 (binaries-shared): Also filter out $(binaries-pie).
55235 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55236 * nscd/Makefile (others-pie): Add nscd.
55237 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55238 ($(objpfx)nscd): Remove command override.
55239 * login/Makefile (others-pie): Add pt_chown.
55240 ($(objpfx)pt_chown): Remove command override.
55241 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55242 remove command overrides.
55244 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55246 * libio/tst_putwc.c: Fix error messages.
55249 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55250 currently writing and seek to current position when not.
55251 * libio/Makefile (tests): Add bug-fclose1.
55252 * libio/bug-fclose1.c: New file.
55254 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55257 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55258 don't set DF_1_NODELETE here.
55259 (do_lookup_x): When entering new entry test for copy relocation
55260 and if necessary set DF_1_NODELETE flag.
55261 * elf/tst-unique4.cc: New file.
55262 * elf/tst-unique4.h: New file.
55263 * elf/tst-unique4lib.cc: New file.
55264 * elf/Makefile: Add rules to build and run tst-unique4.
55265 Patch by Piotr Bury <pbury@goahead.com>.
55267 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55270 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55273 * misc/mntent_r.c (addmntent): Flush the stream after the output
55276 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55277 (is_trusted_path_normalize): Skip initial colon. Append slash
55278 to empty buffer. Duplicate is_trusted_path code but allow
55279 constructed patch to be prefix.
55280 (is_dst): Allow $ORIGIN followed by /.
55281 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55282 Correct testing of result of is_trusted_path_normalize
55283 (decompose_rpath): Fix warning.
55285 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55288 * grp/initgroups.c (internal_getgrouplist): When we found the service
55289 list through the initgroups entry in nsswitch.conf do not always
55290 continue on a successful lookup. Don't always use the
55291 __nss_group_database value if it is set.
55292 * nss/nsswitch.conf (initgroups): Change action for successful db
55293 lookup to continue for compatibility.
55295 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55298 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55300 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55302 * iconvdata/tst-tables.sh: Likewise.
55303 * iconvdata/cp770.c: New file.
55304 * iconvdata/cp771.c: New file.
55305 * iconvdata/cp772.c: New file.
55306 * iconvdata/cp773.c: New file.
55307 * iconvdata/cp774.c: New file.
55308 * iconvdata/testdata/CP770: New file.
55309 * iconvdata/testdata/CP770..UTF8: New file.
55310 * iconvdata/testdata/CP771: New file.
55311 * iconvdata/testdata/CP771..UTF8: New file.
55312 * iconvdata/testdata/CP772: New file.
55313 * iconvdata/testdata/CP772..UTF8: New file.
55314 * iconvdata/testdata/CP773: New file.
55315 * iconvdata/testdata/CP773..UTF8: New file.
55316 * iconvdata/testdata/CP774: New file.
55317 * iconvdata/testdata/CP774..UTF8: New file.
55319 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55321 * iconvdata/gen-8bit-gap.sh: Likewise.
55322 * iconvdata/gen-8bit.sh: Likewise.
55324 * locale/iso-639.def: Add ary entry.
55327 * locale/C-translit.h.in: Add U20A1 transliteration.
55330 * locale/iso-639.def: Add wae entry.
55331 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55334 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55338 * locale/C-translit.h.in: Add entry for U20B9.
55339 Patch by pravin.d.s@gmail.com.
55341 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55344 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55345 ENAMETOOLONG use generic getcwd.
55346 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55347 in rtld. Use *stat64.
55348 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55349 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55350 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55351 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55352 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55353 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55354 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55355 __fstatat64 macros.
55356 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55357 * dirent/rewinddir.c: Add libc_hidden_def.
55358 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55359 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55361 * include/dirent.h (__alloc_dir): Add flags parameter.
55362 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55363 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55365 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55366 from fdopendir if O_CLOEXEC is already set.
55368 2011-03-15 Alan Modra <amodra@gmail.com>
55370 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55371 l_tls_firstbyte_offset non-zero. Save padding offset in
55372 l_tls_firstbyte_offset for later use.
55373 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55374 freeing static tls block.
55376 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55378 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55379 where #ifdef was intended. The intent is to prevent ARG_MAX from
55380 being defined by the kernel headers.
55382 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55385 * resolv/resolv.h: Define RES_NOTLDQUERY.
55386 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55387 no-tld-query and set RES_NOTLDQUERY.
55388 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55389 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55390 modern BIND to search name as TLD unless forbidden.
55392 2011-05-07 Petr Baudis <pasky@suse.cz>
55393 Ulrich Drepper <drepper@gmail.com>
55396 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55397 (is_trusted_path): ...to here.
55398 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55399 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55400 using is_trusted_path_normalize() in setuid scripts.
55402 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55404 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55405 __BEGIN/__END_DECLS.
55407 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55410 NSS_STATUS_NOTFOUND if no record was found.
55412 2011-05-05 Andreas Schwab <schwab@redhat.com>
55414 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55415 (headers-not-in-tirpc): Remove rpc/netdb.h
55416 * resolv/netdb.h: Revert last change.
55418 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55420 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55421 circular dependency between libgcc.a and libc.a.
55423 2011-05-05 Andreas Schwab <schwab@redhat.com>
55425 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55426 * nis/Makefile: Don't install rpcsvc/*.
55427 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55428 instead of <rpc/types.h>.
55429 (MAXHOSTNAMELEN): Define.
55431 2011-05-03 Andreas Schwab <schwab@redhat.com>
55433 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55435 2011-04-28 Maciej Babinski <mbabinski@google.com>
55438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55439 gethostbyname4_r when IPv6 results are possible.
55441 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55444 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55445 _PC_PIPE_BUF handling.
55447 2011-04-30 Bruno Haible <bruno@clisp.org>
55450 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55451 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55453 * inet/getnameinfo.c (getnameinfo): Likewise.
55455 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55457 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55458 to groups setting in database lookup.
55459 * nss/nsswitch.conf: Add initgroups entry.
55461 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55464 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55466 Patch by Eric Blake <eblake@redhat.com>.
55468 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55470 * sunrpc/Makefile (need-export-routines): Add svc_run.
55471 (routines): Remove svc_run.
55472 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55473 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55474 * sunrpc/svc_run.c (svc_run): Likewise.
55475 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55477 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55480 problem in reallocation in last patch.
55482 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55484 * sunrpc/Makefile: Move inclusion of Rules.
55486 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55488 * nss/nss_files/files-initgroups.c: New file.
55489 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55490 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55491 _nss_files_initgroups_dyn.
55493 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55495 * elf/elf.h (R_ARM_IRELATIVE): Define.
55497 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55499 * po/ru.po: Update from translation team.
55501 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55503 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55506 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55509 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55510 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55511 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55513 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55515 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55517 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55519 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55520 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55523 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55526 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55528 * stdlib/bug-getcontext.c: New file.
55529 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55531 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55533 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55534 instructions into .machine "z9-109".
55535 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55536 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55538 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55540 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55541 between environment variables and auxiliary vector.
55543 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55545 * Makefile: Add rules to build linkobj/libc.so.
55546 * include/libc-symbols.h: Define libc_hidden_nolink.
55547 * include/rpc/auth.h: Mark functions which are to be hidden.
55548 * include/rpc/auth_des.h: Likewise.
55549 * include/rpc/auth_unix.h: Likewise.
55550 * include/rpc/clnt.h: Likewise.
55551 * include/rpc/des_crypt.h: Likewise.
55552 * include/rpc/key_prot.h: Likewise.
55553 * include/rpc/pmap_clnt.h: Likewise.
55554 * include/rpc/pmap_prot.h: Likewise.
55555 * include/rpc/pmap_rmt.h: Likewise.
55556 * include/rpc/rpc_msg.h: Likewise.
55557 * include/rpc/svc.h: Likewise.
55558 * include/rpc/svc_auth.h: Likewise.
55559 * include/rpc/xdr.h: Likewise.
55560 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55561 * nss/Makefile: Likewise.
55562 * sunrpc/Makefile: Don't install headers. Build library with normal
55563 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55564 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55565 for the compat linking library. Remove use of INTDEF/INTUSE.
55566 * sunrpc/auth_none.c: Likewise.
55567 * sunrpc/auth_unix.c: Likewise.
55568 * sunrpc/authdes_prot.c: Likewise.
55569 * sunrpc/authuxprot.c: Likewise.
55570 * sunrpc/clnt_gen.c: Likewise.
55571 * sunrpc/clnt_perr.c: Likewise.
55572 * sunrpc/clnt_raw.c: Likewise.
55573 * sunrpc/clnt_simp.c: Likewise.
55574 * sunrpc/clnt_tcp.c: Likewise.
55575 * sunrpc/clnt_udp.c: Likewise.
55576 * sunrpc/clnt_unix.c: Likewise.
55577 * sunrpc/des_crypt.c: Likewise.
55578 * sunrpc/des_soft.c: Likewise.
55579 * sunrpc/get_myaddr.c: Likewise.
55580 * sunrpc/key_call.c: Likewise.
55581 * sunrpc/key_prot.c: Likewise.
55582 * sunrpc/netname.c: Likewise.
55583 * sunrpc/pm_getmaps.c: Likewise.
55584 * sunrpc/pm_getport.c: Likewise.
55585 * sunrpc/pmap_clnt.c: Likewise.
55586 * sunrpc/pmap_prot.c: Likewise.
55587 * sunrpc/pmap_prot2.c: Likewise.
55588 * sunrpc/pmap_rmt.c: Likewise.
55589 * sunrpc/publickey.c: Likewise.
55590 * sunrpc/rpc_cmsg.c: Likewise.
55591 * sunrpc/rpc_common.c: Likewise.
55592 * sunrpc/rpc_dtable.c: Likewise.
55593 * sunrpc/rpc_prot.c: Likewise.
55594 * sunrpc/rpc_thread.c: Likewise.
55595 * sunrpc/rtime.c: Likewise.
55596 * sunrpc/svc.c: Likewise.
55597 * sunrpc/svc_auth.c: Likewise.
55598 * sunrpc/svc_authux.c: Likewise.
55599 * sunrpc/svc_raw.c: Likewise.
55600 * sunrpc/svc_run.c: Likewise.
55601 * sunrpc/svc_simple.c: Likewise.
55602 * sunrpc/svc_tcp.c: Likewise.
55603 * sunrpc/svc_udp.c: Likewise.
55604 * sunrpc/svc_unix.c: Likewise.
55605 * sunrpc/svcauth_des.c: Likewise.
55606 * sunrpc/xcrypt.c: Likewise.
55607 * sunrpc/xdr.c: Likewise.
55608 * sunrpc/xdr_array.c: Likewise.
55609 * sunrpc/xdr_float.c: Likewise.
55610 * sunrpc/xdr_intXX_t.c: Likewise.
55611 * sunrpc/xdr_mem.c: Likewise.
55612 * sunrpc/xdr_rec.c: Likewise.
55613 * sunrpc/xdr_ref.c: Likewise.
55614 * sunrpc/xdr_sizeof.c: Likewise.
55615 * sunrpc/xdr_stdio.c: Likewise.
55617 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55620 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55621 * sysdeps/ia64/dl-tls.h: Likewise.
55622 * sysdeps/powerpc/dl-tls.h: Likewise.
55623 * sysdeps/s390/dl-tls.h: Likewise.
55624 * sysdeps/sh/dl-tls.h: Likewise.
55625 * sysdeps/sparc/dl-tls.h: Likewise.
55626 * sysdeps/x86_64/dl-tls.h: Likewise.
55627 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55629 2011-03-14 Andreas Schwab <schwab@redhat.com>
55631 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55632 rpath element also skip the following colon.
55633 (expand_dynamic_string_token): Add is_path parameter and pass
55634 down to DL_DST_REQUIRED and _dl_dst_substitute.
55635 (decompose_rpath): Call expand_dynamic_string_token with
55636 non-zero is_path. Ignore empty rpaths.
55637 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55640 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55645 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55648 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55649 Patch by Filipe David Manana <fdmanana@apache.org>.
55651 2011-04-07 Andreas Schwab <schwab@redhat.com>
55653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55654 Maintain aligned stack.
55655 (CHECK_RSP): Remove unused macro.
55657 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55659 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55660 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55662 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55664 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55666 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55668 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55671 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55672 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55673 * sysdeps/x86_64/memmove.c: New file.
55674 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55675 (memcpy): Renamed to ...
55676 (__new_memcpy): This.
55677 (memcpy): Provide GLIBC_2_14 memcpy.
55678 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55679 (memcpy): Provide GLIBC_2_2_5 memcpy.
55681 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55684 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55686 2011-03-30 Andreas Schwab <schwab@redhat.com>
55688 * misc/syncfs.c: New file.
55689 * misc/Makefile (routines): Add syncfs.
55690 * posix/unistd.h: Declare syncfs.
55691 * sysdeps/unix/syscalls.list: Add syncfs.
55693 2011-04-01 Andreas Schwab <schwab@redhat.com>
55695 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55697 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55698 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55700 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55702 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55705 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55708 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55709 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55713 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55715 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55716 sync_file_range.c with -fexceptions.
55717 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55718 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55719 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55720 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55721 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55722 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55724 sync_file_range as cancellation point
55725 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55726 now a wrapper around __call_sync_file_range with cancellation handling.
55727 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55728 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55729 function name to __call_sync_file_range.
55730 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55731 Add call_sync_file_range.
55733 2011-04-01 Andreas Schwab <schwab@redhat.com>
55735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55738 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55740 * iconv/iconv.h: Fix typo in comment.
55741 * io/fcntl.h: Likewise.
55742 * libio/stdio.h: Likewise.
55743 * posix/spawn.h: Likewise.
55744 * posix/unistd.h: Likewise.
55745 * stdlib/stdlib.h: Likewise.
55746 * time/time.h: Likewise.
55747 * wcsmbs/wchar.h: Likewise.
55749 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55750 open_by_handle): Add.
55751 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55752 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55753 Augment a few comments.
55754 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55756 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55759 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55762 * io/fcntl.h (AT_EMPTY_PATH): Define.
55764 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55766 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55767 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55768 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55770 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55771 * Versions.def: Add GLIBC_2.14.
55772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55775 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55777 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55779 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55781 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55784 * string/test-strncmp.c (do_page_test): New function.
55785 (check2): Likewise.
55786 (test_main): Call check2.
55787 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55789 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55792 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55793 Handle cache information in CPU leaf 4.
55794 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55796 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55799 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55800 character representation.
55801 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55803 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55805 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55806 END(__isnan) to END(__isnanf) to match function entry point/label
55807 EALIGN(__isnanf,...).
55809 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55811 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55813 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55816 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55817 copy from the symbol referenced in the relocation to initialize the
55819 Patch by Piotr Bury <pbury@goahead.com>.
55820 * elf/Makefile: Add rules to build and tst-unique3.
55821 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55822 * elf/tst-unique3.cc: New file.
55823 * elf/tst-unique3.h: New file.
55824 * elf/tst-unique3lib.cc: New file.
55825 * elf/tst-unique3lib2.cc: New file.
55827 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55829 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55831 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55832 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55835 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55837 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55838 to-be-loaded object along a path to loader is ld.so.
55840 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55841 Ulrich Drepper <drepper@gmail.com>
55843 * sysdeps/x86_64/memset.S: After aligning destination, code
55844 branches to different locations depending on the value of
55845 misalignment, when multiarch is enabled. Fix this.
55847 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55849 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55850 Set _x86_64_preferred_memory_instruction for AMD processsors.
55851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55852 Set bit_Prefer_SSE_for_memop for AMD processors.
55854 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55856 * libio/fmemopen.c (fmemopen): Optimize a bit.
55858 2011-03-03 Andreas Schwab <schwab@redhat.com>
55860 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55862 2011-03-03 Roland McGrath <roland@redhat.com>
55864 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55866 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55868 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55869 __bzero_ultra1 instead of __memset_ultra1.
55871 2011-02-23 Andreas Schwab <schwab@redhat.com>
55872 Ulrich Drepper <drepper@gmail.com>
55875 * include/link.h (struct link_map): Add l_orig_initfini.
55876 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55877 returning unsuccessfully.
55878 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55879 close of a file loaded at startup, restore the original l_initfini
55881 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55882 list, store the pointer.
55883 * elf/Makefile ($(objpfx)noload-mem): New rule.
55884 (noload-ENV): Define.
55885 (tests): Add $(objpfx)noload-mem.
55886 * elf/noload.c: Include <memcheck.h>.
55887 (main): Call mtrace. Close all opened handles.
55889 2011-02-17 Andreas Schwab <schwab@redhat.com>
55892 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55893 dependencies are missing.
55895 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55897 Fix __if_freereq crash: Unlike the generic version which uses free,
55899 * sysdeps/mach/hurd/ifreq.h: New file.
55901 2011-01-27 Petr Baudis <pasky@suse.cz>
55902 Ulrich Drepper <drepper@gmail.com>
55905 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55906 to extend_alloca().
55907 * stdio-common/bug23.c: New file.
55908 * stdio-common/Makefile (tests): Add bug23.
55910 2010-09-28 Andreas Schwab <schwab@redhat.com>
55911 Ulrich Drepper <drepper@gmail.com>
55914 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55915 before performing relro protection. At old place add assertion
55916 to make sure nothing changed.
55918 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55919 Glauber de Oliveira Costa <glommer@gmail.com>
55921 * elf/elf.h: Add new ARM TLS relocs.
55923 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55926 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55928 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55930 * sysdeps/wordsize-64/tst-writev.c: New file.
55932 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55934 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55935 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55936 insns in _dl_start to prevent a TOC reference before relocs are
55939 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55942 * Makeconfig: Remove RANLIB definition.
55943 * Makerules: Don't use RANLIB.
55944 * aclocal.m4: Remove ranlib test.
55945 * configure.in: No need to check for ranlib.
55946 * elf/rtld-Rules: Don't use RANLIB.
55948 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55950 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55952 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55953 inclusion protection macro.
55955 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55956 SIGRTMIN and SIGRTMAX and print information in that case only when
55957 SIGRTMIN is defined.
55959 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55961 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55962 arginfo fn returning -1.
55964 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55965 and thousands string is zero terminated.
55967 2011-02-03 Andreas Schwab <schwab@redhat.com>
55969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55970 sysdeps/unix/sysv/linux/bits/socket.h.
55972 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55974 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55975 (__CPU_COUNT): Remove old macros.
55976 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55977 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55978 (__CPU_ALLOC, __CPU_FREE): Add macros.
55979 (__sched_cpualloc, __sched_cpufree): Add declarations.
55981 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55983 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55984 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55985 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55986 (readdhstai): Return value of addhstaiX call.
55987 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55988 (addgrbyX): Return value returned by cache_addgr.
55989 (readdgrbyname): Return value returned by addgrbyX.
55990 (readdgrbygid): Likewise.
55991 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55992 (addpwbyX): Return value returned by cache_addpw.
55993 (readdpwbyname): Return value returned by addhstbyX.
55994 (readdpwbyuid): Likewise.
55995 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55996 (addservbyX): Return value returned by cache_addserv.
55997 (readdservbyname): Return value returned by addservbyX:
55998 (readdservbyport): Likewise.
55999 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56000 (addhstbyX): Return value returned by cache_addhst.
56001 (readdhstbyname): Return value returned by addhstbyX.
56002 (readdhstbyaddr): Likewise.
56003 (readdhstbynamev6): Likewise.
56004 (readdhstbyaddrv6): Likewise.
56005 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56006 (readdinitgroups): Return value returned by addinitgroupsX.
56007 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56008 (prune_cache): Keep track of timeout value of re-added entries.
56009 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56010 * nscd/nscd.h: Adjust prototypes of readd* functions.
56012 2011-02-04 Roland McGrath <roland@redhat.com>
56014 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56015 (nis_stats): Likewise.
56016 * nis/nis_modify.c (nis_modify): Likewise.
56017 * nis/nis_remove.c (nis_remove): Likewise.
56018 * nis/nis_add.c (nis_add): Likewise.
56020 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56022 * posix/fnmatch_loop.c: Add some consts.
56024 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56026 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56029 * config.make.in (config-cflags-novzeroupper): Define.
56030 * configure.in: Substitute libc_cv_cc_novzeroupper.
56031 * elf/Makefile (AVX-CFLAGS): Define.
56032 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56033 (CFLAGS-tst-auditmod4a.c): Likewise.
56034 (CFLAGS-tst-auditmod4b.c): Likewise.
56035 (CFLAGS-tst-auditmod6b.c): Likewise.
56036 (CFLAGS-tst-auditmod6c.c): Likewise.
56037 (CFLAGS-tst-auditmod7b.c): Likewise.
56038 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56040 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56042 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56043 function to the callback.
56044 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56046 2011-02-02 Andreas Schwab <schwab@redhat.com>
56048 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56051 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56054 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56056 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56058 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56061 * elf/Makefile: Add rules to build and run new test.
56062 * elf/tst-initorder.c: New file.
56063 * elf/tst-initorder.exp: New file.
56064 * elf/tst-initordera1.c: New file.
56065 * elf/tst-initordera2.c: New file.
56066 * elf/tst-initordera3.c: New file.
56067 * elf/tst-initordera4.c: New file.
56068 * elf/tst-initorderb1.c: New file.
56069 * elf/tst-initorderb2.c: New file.
56070 * elf/tst-order-a1.c: New file.
56071 * elf/tst-order-a2.c: New file.
56072 * elf/tst-order-a3.c: New file.
56073 * elf/tst-order-a4.c: New file.
56074 * elf/tst-order-b1.c: New file.
56075 * elf/tst-order-b2.c: New file.
56076 * elf/tst-order-main.c: New file.
56077 New test case by George Gensure <werkt0@gmail.com>.
56079 2010-10-01 Andreas Schwab <schwab@redhat.com>
56081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56082 decoding ACE if AI_CANONIDN.
56084 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56086 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56088 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56090 * version.h (RELEASE): Bump for 2.13 release.
56091 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56093 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56095 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56097 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56098 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56099 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56100 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56101 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56102 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56104 * posix/getconf.c: Update copyright year.
56105 * catgets/gencat.c: Likewise.
56106 * csu/version.c: Likewise.
56107 * debug/catchsegv.sh: Likewise.
56108 * debug/xtrace.sh: Likewise.
56109 * elf/ldconfig.c: Likewise.
56110 * elf/ldd.bash.in: Likewise.
56111 * elf/sprof.c (print_version): Likewise.
56112 * iconv/iconv_prog.c: Likewise.
56113 * iconv/iconvconfig.c: Likewise.
56114 * locale/programs/locale.c: Likewise.
56115 * locale/programs/localedef.c: Likewise.
56116 * malloc/memusage.sh: Likewise.
56117 * malloc/mtrace.pl: Likewise.
56118 * nscd/nscd.c (print_version): Likewise.
56119 * nss/getent.c: Likewise.
56121 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56122 PF_CAIF, and PF_ALG.
56123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56125 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56127 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56128 (modules-names): Use them.
56129 (ifunc-test-modules, ifunc-pie-tests): Define.
56130 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56131 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56132 (test-extras): Likewise.
56133 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56134 $(compile-command.c).
56135 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56136 (all-built-dso): Define.
56137 (check-textrel.out, check-execstack.out): Depend on it.
56139 * configure.in: Don't override --enable-multi-arch.
56141 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56144 * nscd/hstcache.c (tryagain): Define.
56145 (cache_addhst): Return tryagain not notfound for temporary errors.
56146 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56149 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56152 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56153 to make the syscall.
56154 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56157 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56158 and fall back to matching as normal character if the string ends before
56159 the matching ']' is found. This is what POSIX requires.
56160 * posix/testfnm.c: Adjust test result.
56161 * posix/globtest.sh: Adjust test result. Add new test.
56162 * posix/tst-fnmatch.input: Likewise.
56163 * posix/tst-fnmatch2.c: Add new test.
56165 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56167 * elf/Makefile (check-execstack): Revert last change. Depend on
56169 (check-execstack.h): New target.
56170 (generated): Add check-execstack.h.
56171 * elf/check-execstack.c: Include "check-execstack.h".
56172 (main): Revert last change.
56173 (handle_file): Return zero if GNU_STACK is absent and
56174 DEFAULT_STACK_PERMS doesn't include PF_X.
56176 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56178 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56179 in child fails because the descriptor is already closed.
56180 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56181 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56182 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56185 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56189 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56190 temporary buffer used to handle multi lookups locally.
56191 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56193 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56195 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56198 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56200 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56201 alignment for SSE2.
56203 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56206 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56207 characters. When rounding increased number of integer digits recompute
56209 * stdio-common/tst-grouping.c: New file.
56210 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56212 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56214 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56215 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56217 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56219 * bits/select.h: Likewise.
56221 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56223 * po/ja.po: Update from translation team.
56225 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56228 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56229 implementation just like for lxstat, fxstatat, et al.
56231 2010-12-27 Jim Meyering <meyering@redhat.com>
56234 * posix/regexec.c (build_trtable): Return failure indication upon
56235 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56237 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56240 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56241 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56242 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56243 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56246 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56249 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56250 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56252 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56254 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56255 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56256 script has SORT_BY_INIT_PRIORITY.
56257 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56258 NO_CTORS_DTORS_SECTIONS is defined.
56259 * elf/soinit.c: Likewise.
56260 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56261 NO_CTORS_DTORS_SECTIONS is defined.
56262 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56263 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56264 * sysdeps/sh/init-first.c: Likewise.
56265 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56267 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56269 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56270 always use the slow path.
56272 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56274 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56275 similar rule which adds the sysdep directories to the header search in
56276 order to pick up the correct platform stackinfo.h.
56277 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56278 perform test if it is, otherwise return successfully without testing.
56279 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56280 DEFAULT_STACK_PERMS define in stackinfo.h.
56281 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56282 defined in stackinfo.h.
56283 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56284 DEFAULT_STACK_PERMS defined in stackinfo.h.
56285 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56286 * sysdeps/ia64/stackinfo.h: Likewise.
56287 * sysdeps/s390/stackinfo.h: Likewise.
56288 * sysdeps/sh/stackinfo.h: Likewise.
56289 * sysdeps/sparc/stackinfo.h: Likewise.
56290 * sysdeps/x86_64/stackinfo.h: Likewise.
56291 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56292 PF_X for powerpc64. Retain PF_X for powerpc32.
56294 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56296 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56298 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56299 GETDENTS_64BIT_ALIGNED.
56301 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56303 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56305 2010-12-10 Andreas Schwab <schwab@redhat.com>
56307 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56310 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56311 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56313 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56314 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56316 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56319 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56322 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56324 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56326 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56328 * po/it.po: Update from translation team.
56330 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56335 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56337 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56339 2010-11-24 Andreas Schwab <schwab@redhat.com>
56341 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56343 (gaih_getanswer_slice): Likewise.
56345 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56349 2010-05-31 Petr Baudis <pasky@suse.cz>
56352 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56353 silently even in the chroot mode.
56355 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56357 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56358 last patch a bit. Pretty printing
56360 2010-05-31 Petr Baudis <pasky@suse.cz>
56363 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56364 initialization of skip_initgroups_dyn.
56366 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56368 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56371 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56373 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56375 2010-11-11 Andreas Schwab <schwab@redhat.com>
56377 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56378 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56379 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56380 ($(objpfx)tst-fnmatch-mem): New rule.
56381 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56382 * posix/tst-fnmatch.c (main): Call mtrace.
56384 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56387 Support Intel processor model 6 and model 0x2c.
56389 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56391 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56394 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56397 * string/test-strncasecmp.c (check_result): New function.
56398 (do_one_test): Use it.
56399 (check1): New function.
56400 (test_main): Use it.
56401 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56402 Support strcasecmp and strncasecmp.
56404 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56407 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56408 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56410 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56412 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56416 * sysdeps/x86_64/multiarch/bzero.S: New file.
56417 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56418 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56419 * sysdeps/x86_64/multiarch/memset.S: New file.
56420 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56422 Set bit_Prefer_SSE_for_memop for Intel processors.
56423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56425 (index_Prefer_SSE_for_memop): Define.
56426 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56428 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56430 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56431 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56433 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56436 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56437 (__x86_64_raw_data_cache_size_half): Likewise.
56438 (__x86_64_raw_shared_cache_size): Likewise.
56439 (__x86_64_raw_shared_cache_size_half): Likewise.
56441 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56442 (__x86_64_raw_data_cache_size_half): Likewise.
56443 (__x86_64_raw_shared_cache_size): Likewise.
56444 (__x86_64_raw_shared_cache_size_half): Likewise.
56445 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56446 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56447 and __x86_64_raw_shared_cache_size_half. Round
56448 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56449 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56450 to multiple of 256 bytes.
56452 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56455 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56456 of inacessible symlinks. Verify result of symlink before returning it.
56457 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56458 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56460 2010-10-28 Erich Ritz <erichritz@gmail.com>
56462 * math/math.h (isinf): Fix typo in comment.
56464 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56466 * po/da.po: Update from translation team.
56468 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56470 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56471 is added to the list.
56473 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56474 Ulrich Drepper <drepper@gmail.com>
56476 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56477 the global list here. Move code to...
56478 (_dl_add_to_namespace_list): ...here. New function.
56479 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56480 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56481 * elf/dl-load.c (lose): Don't remove the element from the list.
56482 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56483 (_dl_map_object): Likewise.
56485 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56488 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56489 into all bytes of SSE register.
56490 Patch by Richard Li <richardpku@gmail.com>.
56492 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56495 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56498 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56500 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56501 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56502 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56503 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56508 2010-10-22 Andreas Schwab <schwab@redhat.com>
56510 * include/dlfcn.h (__RTLD_SECURE): Define.
56511 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56512 mode & __RTLD_SECURE instead.
56513 (open_path): Rename preloaded parameter to secure.
56514 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56515 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56516 * elf/dl-deps.c (openaux): Likewise.
56517 * elf/rtld.c (struct map_args): Remove is_preloaded.
56518 (map_doit): Don't use it.
56519 (dl_main): Likewise.
56520 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56521 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56523 2010-09-09 Andreas Schwab <schwab@redhat.com>
56525 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56526 (sysd-rules-targets): Remove duplicates.
56527 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56528 rtld-%.$o dependency.
56530 2010-10-18 Andreas Schwab <schwab@redhat.com>
56532 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56533 _dl_map_object do it.
56535 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56537 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56538 fast fma builtins, define the macros in the C99 standard.
56539 (FP_FAST_FMAF): Likewise.
56540 (FP_FAST_FMAL): Likewise.
56541 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56543 * bits/mathdef.h: Update copyright year.
56544 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56546 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56548 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56549 builtins, define the macros in the C99 standard.
56550 (FP_FAST_FMAF): Likewise.
56551 (FP_FAST_FMAL): Likewise.
56552 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56554 (FP_FAST_FMAF): Likewise.
56556 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56559 * math/libm-test.inc (fma_test): Some new testcases.
56560 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56561 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56562 y and infinite z. Do multiplication by C already in long double.
56563 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56565 y and infinite z. Do bitwise or of inexact bit into u.d.
56566 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56567 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56568 * sysdeps/i386/fpu/s_fma.S: Removed.
56569 * sysdeps/i386/fpu/s_fmal.S: Removed.
56571 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56574 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56576 computation is not scheduled after fetestexcept. Fix value
56577 of minimum denormal long double.
56579 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56582 * math/libm-test.inc (fma_test): Add some more tests.
56583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56586 2010-10-15 Andreas Schwab <schwab@redhat.com>
56588 * scripts/data/localplt-s390-linux-gnu.data: New file.
56589 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56591 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56594 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56595 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56597 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56599 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56601 if one of x and y is very large and the other is subnormal.
56602 * sysdeps/s390/fpu/s_fmaf.c: New file.
56603 * sysdeps/s390/fpu/s_fma.c: New file.
56604 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56605 * sysdeps/powerpc/fpu/s_fma.S: New file.
56606 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56607 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56608 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56610 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56613 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56615 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56616 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56617 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56618 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56619 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56620 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56621 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56623 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56626 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56627 * posix/bug-regex31.input: Add test case.
56629 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56631 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56632 * posix/bug-regex31.input: New file.
56635 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56636 (parse_sub_exp): Fix last change, use postorder.
56638 * posix/bug-regex31.c: New file.
56639 * posix/Makefile: Add rules to build and run bug-regex31.
56641 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56644 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56647 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56648 to have entries in sys_siglist.
56651 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56654 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56657 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56658 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56659 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56660 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56662 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56663 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56664 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56665 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56666 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56667 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56668 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56669 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56670 * math/ftestexcept.c (fetestexcept): Likewise.
56671 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56672 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56673 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56674 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56675 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56676 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56677 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56679 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56682 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56685 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56687 * string/bug-strstr1.c: New file.
56688 * string/Makefile: Add rules to build and run bug-strstr1.
56690 2010-10-05 Eric Blake <eblake@redhat.com>
56693 * string/str-two-way.h (two_way_long_needle): Always clear memory
56694 when skipping input due to the shift table.
56696 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56699 * malloc/mcheck.c: Handle large requests.
56702 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56703 for strncmp and strncasecmp.
56704 * string/stratcliff.c: Add tests for strcmp and strncmp.
56705 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56707 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56709 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56712 2010-09-30 Andreas Jaeger <aj@suse.de>
56714 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56715 (CGROUP_SUPER_MAGIC): Define.
56716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56717 Handle btrfs and cgroup file systems.
56718 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56721 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56723 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56724 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56726 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56729 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56730 trying to locate the ELF header.
56732 2010-09-27 Andreas Schwab <schwab@redhat.com>
56735 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56736 Mask out sign-bit copies when constructing f_fsid.
56738 2010-09-24 Petr Baudis <pasky@suse.cz>
56740 * debug/stack_chk_fail_local.c: Add missing licence exception.
56741 * debug/warning-nop.c: Likewise.
56743 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56745 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56746 implementing getdents64 using getdents syscall, set d_type if
56747 __ASSUME_GETDENTS32_D_TYPE.
56749 2010-09-16 Andreas Schwab <schwab@redhat.com>
56751 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56752 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56754 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56757 * posix/unistd.h: Undo change of feature selection for ftruncate from
56760 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56762 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56765 2010-09-20 Andreas Schwab <schwab@redhat.com>
56767 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56771 2010-09-14 Andreas Schwab <schwab@redhat.com>
56773 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56774 variables after CHECK_SP call.
56775 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56777 2010-09-13 Andreas Schwab <schwab@redhat.com>
56778 Ulrich Drepper <drepper@redhat.com>
56780 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56781 re-relocationg ld.so.
56782 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56783 _dl_init_paths call.
56784 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56787 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56789 * resolv/res_init.c (__res_vinit): Count the default server we added.
56791 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56792 Ulrich Drepper <drepper@redhat.com>
56795 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56796 (____longjmp_chk): Use %ebx for saving value across system call.
56799 2010-09-06 Andreas Schwab <schwab@redhat.com>
56801 * manual/Makefile: Don't mix pattern rules with normal rules.
56803 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56805 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56807 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56808 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56809 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56810 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56814 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56817 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56818 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56820 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56822 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56823 * sysdeps/x86_64/addmul_1.S: Likewise.
56824 * sysdeps/x86_64/lshift.S: Likewise.
56825 * sysdeps/x86_64/mul_1.S: Likewise.
56826 * sysdeps/x86_64/rshift.S: Likewise.
56827 * sysdeps/x86_64/sub_n.S: Likewise.
56828 * sysdeps/x86_64/submul_1.S: Likewise.
56830 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56832 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56833 Define __sched_param instead of SCHED_* and sched_param when
56834 <bits/sched.h> is included with __need_schedparam defined.
56835 * bits/sched.h [__need_schedparam]
56836 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56837 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56838 (__defined_schedparam): Define to 1.
56839 (__sched_param): New structure, identical to sched_param.
56840 (__need_schedparam): Undefine.
56842 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56844 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56845 (epoll_create1): Declare.
56847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56849 2010-08-31 Andreas Schwab <schwab@redhat.com>
56852 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56853 shifting retval into place.
56855 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56857 * nis/rpcsvc/nis.h: Update copyright notice.
56858 * nis/rpcsvc/nis.x: Likewise.
56859 * nis/rpcsvc/nis_callback.h: Likewise.
56860 * nis/rpcsvc/nis_callback.x: Likewise.
56861 * nis/rpcsvc/nis_object.x: Likewise.
56862 * nis/rpcsvc/nis_tags.h: Likewise.
56863 * nis/rpcsvc/yp.h: Likewise.
56864 * nis/rpcsvc/yp.x: Likewise.
56865 * nis/rpcsvc/ypupd.h: Likewise.
56866 * nis/yp_xdr.c: Likewise.
56867 * nis/ypupdate_xdr.c: Likewise.
56869 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56870 mainly the body of pmap_getport. Add parameters to specify timeouts.
56871 (pmap_getport): Use __libc_rpc_getport.
56872 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56873 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56874 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56876 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56881 2010-08-27 Roland McGrath <roland@redhat.com>
56883 * sysdeps/i386/i686/multiarch/Makefile
56884 (CFLAGS-varshift.c): New variable.
56886 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56888 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56889 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56891 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56893 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56895 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56897 * sysdeps/x86_64/strlen.S: Unroll the loop.
56898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56899 strlen-sse2 strlen-sse2-bsf.
56900 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56901 __strlen_no_bsf if bit_Slow_BSF is set.
56902 (__strlen_sse42): Removed.
56903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56904 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56906 2010-08-25 Roland McGrath <roland@redhat.com>
56908 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56909 * sysdeps/x86_64/multiarch/varshift.c: New file.
56910 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56911 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56912 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56913 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56915 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56918 strlen-sse2 strlen-sse2-bsf.
56919 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56920 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56921 (__strlen_sse2): Removed.
56922 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56923 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56925 bit_Slow_BSF for Atom.
56926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56927 (index_Slow_BSF): Define.
56928 (HAS_SLOW_BSF): Define.
56930 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56933 * resolv/res_init.c (__res_vinit): When no server address at all
56934 is given default to loopback.
56936 2010-08-24 Roland McGrath <roland@redhat.com>
56938 * configure.in: Remove config-name.h generation.
56939 * configure: Regenerated.
56940 * config-name.in: File removed.
56941 * scripts/config-uname.sh: New file.
56942 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56943 ($(objdir)config-name.h): New target.
56945 * sunrpc/rpc_parse.h: Avoid nested comment.
56947 2010-08-24 Richard Henderson <rth@redhat.com>
56948 Ulrich Drepper <drepper@redhat.com>
56949 H.J. Lu <hongjiu.lu@intel.com>
56951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56953 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56954 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56955 _mm_alignr_epi8 with _mm_loadu_si128.
56956 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56957 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56958 (__m128i_shift_right): Removed.
56959 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56960 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56961 * sysdeps/x86_64/multiarch/varshift.h: New file.
56962 * sysdeps/x86_64/multiarch/varshift.S: New file.
56964 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56966 * configure.in: Move assembler checks to before sysdep dir checking.
56968 2010-08-20 Petr Baudis <pasky@suse.cz>
56970 * LICENSES: Sync the sunrpc license.
56972 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56974 * sunrpc/auth_des.c: Update copyright notice once again.
56975 * sunrpc/auth_none.c: Likewise.
56976 * sunrpc/auth_unix.c: Likewise.
56977 * sunrpc/authdes_prot.c: Likewise.
56978 * sunrpc/authuxprot.c: Likewise.
56979 * sunrpc/bindrsvprt.c: Likewise.
56980 * sunrpc/clnt_gen.c: Likewise.
56981 * sunrpc/clnt_perr.c: Likewise.
56982 * sunrpc/clnt_raw.c: Likewise.
56983 * sunrpc/clnt_simp.c: Likewise.
56984 * sunrpc/clnt_tcp.c: Likewise.
56985 * sunrpc/clnt_udp.c: Likewise.
56986 * sunrpc/clnt_unix.c: Likewise.
56987 * sunrpc/des_crypt.c: Likewise.
56988 * sunrpc/des_soft.c: Likewise.
56989 * sunrpc/get_myaddr.c: Likewise.
56990 * sunrpc/getrpcport.c: Likewise.
56991 * sunrpc/key_call.c: Likewise.
56992 * sunrpc/key_prot.c: Likewise.
56993 * sunrpc/openchild.c: Likewise.
56994 * sunrpc/pm_getmaps.c: Likewise.
56995 * sunrpc/pm_getport.c: Likewise.
56996 * sunrpc/pmap_clnt.c: Likewise.
56997 * sunrpc/pmap_prot.c: Likewise.
56998 * sunrpc/pmap_prot2.c: Likewise.
56999 * sunrpc/pmap_rmt.c: Likewise.
57000 * sunrpc/rpc/auth.h: Likewise.
57001 * sunrpc/rpc/auth_unix.h: Likewise.
57002 * sunrpc/rpc/clnt.h: Likewise.
57003 * sunrpc/rpc/des_crypt.h: Likewise.
57004 * sunrpc/rpc/key_prot.h: Likewise.
57005 * sunrpc/rpc/netdb.h: Likewise.
57006 * sunrpc/rpc/pmap_clnt.h: Likewise.
57007 * sunrpc/rpc/pmap_prot.h: Likewise.
57008 * sunrpc/rpc/pmap_rmt.h: Likewise.
57009 * sunrpc/rpc/rpc.h: Likewise.
57010 * sunrpc/rpc/rpc_des.h: Likewise.
57011 * sunrpc/rpc/rpc_msg.h: Likewise.
57012 * sunrpc/rpc/svc.h: Likewise.
57013 * sunrpc/rpc/svc_auth.h: Likewise.
57014 * sunrpc/rpc/types.h: Likewise.
57015 * sunrpc/rpc/xdr.h: Likewise.
57016 * sunrpc/rpc_clntout.c: Likewise.
57017 * sunrpc/rpc_cmsg.c: Likewise.
57018 * sunrpc/rpc_common.c: Likewise.
57019 * sunrpc/rpc_cout.c: Likewise.
57020 * sunrpc/rpc_dtable.c: Likewise.
57021 * sunrpc/rpc_hout.c: Likewise.
57022 * sunrpc/rpc_main.c: Likewise.
57023 * sunrpc/rpc_parse.c: Likewise.
57024 * sunrpc/rpc_parse.h: Likewise.
57025 * sunrpc/rpc_prot.c: Likewise.
57026 * sunrpc/rpc_sample.c: Likewise.
57027 * sunrpc/rpc_scan.c: Likewise.
57028 * sunrpc/rpc_scan.h: Likewise.
57029 * sunrpc/rpc_svcout.c: Likewise.
57030 * sunrpc/rpc_tblout.c: Likewise.
57031 * sunrpc/rpc_util.c: Likewise.
57032 * sunrpc/rpc_util.h: Likewise.
57033 * sunrpc/rpcinfo.c: Likewise.
57034 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57035 * sunrpc/rpcsvc/key_prot.x: Likewise.
57036 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57037 * sunrpc/rpcsvc/mount.x: Likewise.
57038 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57039 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57040 * sunrpc/rpcsvc/rex.x: Likewise.
57041 * sunrpc/rpcsvc/rstat.x: Likewise.
57042 * sunrpc/rpcsvc/rusers.x: Likewise.
57043 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57044 * sunrpc/rpcsvc/spray.x: Likewise.
57045 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57046 * sunrpc/rtime.c: Likewise.
57047 * sunrpc/svc.c: Likewise.
57048 * sunrpc/svc_auth.c: Likewise.
57049 * sunrpc/svc_authux.c: Likewise.
57050 * sunrpc/svc_raw.c: Likewise.
57051 * sunrpc/svc_run.c: Likewise.
57052 * sunrpc/svc_simple.c: Likewise.
57053 * sunrpc/svc_tcp.c: Likewise.
57054 * sunrpc/svc_udp.c: Likewise.
57055 * sunrpc/svc_unix.c: Likewise.
57056 * sunrpc/svcauth_des.c: Likewise.
57057 * sunrpc/xcrypt.c: Likewise.
57058 * sunrpc/xdr.c: Likewise.
57059 * sunrpc/xdr_array.c: Likewise.
57060 * sunrpc/xdr_float.c: Likewise.
57061 * sunrpc/xdr_mem.c: Likewise.
57062 * sunrpc/xdr_rec.c: Likewise.
57063 * sunrpc/xdr_ref.c: Likewise.
57064 * sunrpc/xdr_sizeof.c: Likewise.
57065 * sunrpc/xdr_stdio.c: Likewise.
57067 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57070 2010-08-19 Andreas Schwab <schwab@redhat.com>
57072 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57074 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57076 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57077 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57078 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57079 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57080 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57081 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57082 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57083 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57084 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57085 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57086 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57087 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57088 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57089 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57091 2010-07-26 Anton Blanchard <anton@samba.org>
57093 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57094 * malloc/arena.c (heap_trim): Likewise.
57096 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57098 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57100 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57101 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57103 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57105 * sysdeps/i386/elf/Makefile: New file.
57107 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57109 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57110 from fanotify_init.
57111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57112 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57114 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57116 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57118 * sysdeps/multiarch/strcmp.S: Likewise.
57120 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57122 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57123 strncase_l-nonascii.
57124 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57125 Add strncase_l-ssse3.
57126 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57127 * sysdeps/x86_64/strcmp.S: Likewise.
57128 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57129 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57130 * sysdeps/x86_64/strncase.S: New file.
57131 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57132 * sysdeps/x86_64/strncase_l.S: New file.
57133 * string/Makefile (strop-tests): Add strncasecmp.
57134 * string/test-strncasecmp.c: New file.
57136 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57139 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57140 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57142 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57144 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57146 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57148 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57150 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57152 2010-05-01 Alan Modra <amodra@gmail.com>
57154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57155 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57156 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57157 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57158 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57159 tidying. Don't tail-call __sigjmp_save for static lib.
57160 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57162 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57163 (CALL_MCOUNT): Add eh info, and nop after bl.
57164 (TAIL_CALL_SYSCALL_ERROR): New macro.
57165 (PSEUDO_RET): Use it.
57166 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57167 Correct save location of integer regs and cr.
57168 (_dl_profile_resolve): Correct cr save location. Delete nops
57169 after bl when SHARED. Reduce cfi size a little by better
57170 placement of cfi directives.
57171 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57172 make a stack frame. Instead use parm save area as a temp.
57173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57174 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57176 Don't make a stack frame for parent, use parm save area.
57177 Increase child stack frame to 112 bytes. Don't save unused reg,
57178 and adjust reg usage. Set up cfi on error recovery and
57179 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57181 (__makecontext): Add dummy nop after jump to exit.
57182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57183 Use correct parm save area and cr save, reduce stack frame.
57184 Correct cfi for possible PSEUDO_RET frame setup.
57185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57186 Branch to local label emitted by PSEUDO_RET rather than
57189 2010-08-12 Andreas Schwab <schwab@redhat.com>
57192 * locale/programs/locale.c (print_assignment): New function.
57193 (show_locale_vars): Use it.
57195 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57197 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57199 (struct statfs64): Likewise.
57200 (_STATFS_F_FLAGS): Define.
57201 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57202 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57203 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57204 (ST_VALID): Define locally.
57205 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57206 __statvfs_getflags, use the provided value.
57207 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57208 __ASSUME_STATFS_F_FLAGS.
57210 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57212 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57213 Add sys/fanotify.h.
57214 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57215 fanotify_mask for GLIBC_2.13.
57216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57217 fanotify_init and fanotify_mark.
57218 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57219 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57221 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57223 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57224 prlimit64 for GLIBC_2.13.
57225 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57227 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57230 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57231 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57232 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57235 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57238 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57239 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57241 * nss/Makefile: Add rules to build and run tst-nss-test1.
57242 * shlib-versions: Add entry for libnss_test1.
57243 * nss/nss_test1.c: New file.
57244 * nss/tst-nss-test1.c: New file.
57246 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57247 (__nss_configure_lookup): Set appropriate entry in
57248 __nss_configure_lookup to true.
57249 * nss/nsswitch.h: Define enum with indeces of databases in
57250 databases and __nss_database_custom arrays. Declare
57251 __nss_database_custom.
57252 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57253 to avoid using nscd when custom rules are installed.
57254 * nss/getXXbyYY_r.c: Likewise.
57255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57257 * nss/nss_files/files-parse.c: Whitespace fixes.
57259 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57262 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57263 * posix/fnmatch_loop.c: Likewise.
57265 2010-07-17 Andi Kleen <ak@linux.intel.com>
57267 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57268 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57269 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57270 * Versions.def [GLIBC_2.13]: Add.
57272 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57274 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57275 Also fail if tpwd after pwuid call is NULL.
57277 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57279 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57280 when converting to ms.
57282 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57284 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57285 EOPNOTSUPP errors with ENOTTY.
57286 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57287 EOPNOTSUPP errors with ENOTTY.
57289 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57291 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57292 Add strcasecmp_l-ssse3.
57293 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57295 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57296 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57297 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57299 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57301 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57303 * string/Makefile (strop-tests): Add strcasecmp.
57304 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57305 strcasecmp_l-nonascii.
57306 (gen-as-const-headers): Add locale-defines.sym.
57307 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57308 * sysdeps/x86_64/strcasecmp.S: New file.
57309 * sysdeps/x86_64/strcasecmp_l.S: New file.
57310 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57311 * sysdeps/x86_64/locale-defines.sym: New file.
57312 * string/test-strcasecmp.c: New file.
57314 * string/test-strcasestr.c: Test both ends of the range of characters.
57315 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57317 2010-07-29 Roland McGrath <roland@redhat.com>
57320 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57322 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57324 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57327 2010-07-27 Andreas Schwab <schwab@redhat.com>
57329 * manual/memory.texi (Malloc Tunable Parameters): Document
57332 2010-07-26 Roland McGrath <roland@redhat.com>
57335 * configure.in (-fgnu89-inline check): Set and substitute
57336 gnu89_inline, not libc_cv_gnu89_inline.
57337 * configure: Regenerated.
57338 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57340 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57342 * string/test-strnlen.c: New file.
57343 * string/Makefile (strop-tests): Add strnlen.
57344 * string/tester.c (test_strnlen): Add a few more test cases.
57345 * string/tst-strlen.c: Better error reporting.
57347 * sysdeps/x86_64/strnlen.S: New file.
57349 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57351 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57352 lower-latency instructions.
57354 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57356 * string/test-strcasestr.c: New file.
57357 * string/test-strstr.c: New file.
57358 * string/Makefile (strop-tests): Add strstr and strcasestr.
57359 * string/str-two-way.h: Don't undefine MAX.
57360 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57362 2010-07-21 Andreas Schwab <schwab@redhat.com>
57364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57365 strcasestr-nonascii.
57366 (CFLAGS-strcasestr-nonascii.c): Define.
57367 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57369 Remove unused attribute.
57371 2010-07-20 Roland McGrath <roland@redhat.com>
57373 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57374 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57375 ld.so.cache was broken. With it, there is no way to disable dsocaps
57376 like LD_HWCAP_MASK can disable hwcaps.
57378 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57380 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57382 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57384 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57385 call in strcasestr.
57386 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57387 __strcasestr_sse42_nonascii.
57388 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57389 strcasestr-nonascii.c.
57390 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57392 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57394 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57395 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57396 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57397 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57399 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57401 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57404 2010-07-06 Andreas Schwab <schwab@redhat.com>
57407 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57410 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57412 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57413 _PC_PIPE_BUF using F_GETPIPE_SZ.
57415 2010-07-05 Roland McGrath <roland@redhat.com>
57417 * manual/arith.texi (Rounding Functions): Fix rint description
57418 implicit in round description.
57420 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57422 * elf/Makefile: Fix linking for a few tests to make recent linker
57425 2010-06-30 Andreas Schwab <schwab@redhat.com>
57427 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57428 $(common-objpfx)libc_nonshared.a.
57430 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57432 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57433 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57434 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57435 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57436 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57437 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57438 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57439 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57454 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57455 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57456 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57457 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57458 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57459 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57460 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57461 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57462 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57463 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57464 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57465 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57481 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57483 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57484 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57485 * string/memmove.c (memmove): Renamed to ...
57486 (MEMMOVE): ...this. Default to memmove.
57487 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57488 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57491 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57492 mempcpy-ssse3-back memmove-ssse3-back.
57493 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57494 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57495 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57496 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57497 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57498 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57499 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57500 * sysdeps/x86_64/multiarch/memmove.c: New file.
57501 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57502 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57503 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57504 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57505 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57506 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57508 (index_Fast_Copy_Backward): Define.
57509 (HAS_ARCH_FEATURE): Define.
57510 (HAS_FAST_REP_STRING): Define.
57511 (HAS_FAST_COPY_BACKWARD): Define.
57513 2010-06-21 Andreas Schwab <schwab@redhat.com>
57515 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57516 Restore proper fallback handling.
57518 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57521 * posix/group_member.c (__group_member): Correct checking loop.
57523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57524 OOM in getpwuid_r correctly. Return error number when the caller
57525 should return, otherwise -1.
57526 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57527 call returning > 0 value.
57528 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57530 2010-06-07 Andreas Schwab <schwab@redhat.com>
57532 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57533 libc_nonshared.a from targets in modules-names.
57535 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57537 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57540 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57542 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57543 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57544 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57547 2010-06-02 Andreas Schwab <schwab@redhat.com>
57549 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57551 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57553 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57555 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57556 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57559 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57560 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57562 2010-06-14 Roland McGrath <roland@redhat.com>
57564 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57566 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57568 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57569 __REDIRECT followed by __THROW.
57570 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57571 * posix/getopt.h (getopt): Likewise.
57573 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57575 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57576 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57577 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57579 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57580 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57582 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57584 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57586 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57590 Properly check family and model.
57592 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57594 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57596 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57598 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57600 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57602 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57605 2010-05-19 Andreas Schwab <schwab@redhat.com>
57607 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57610 2010-05-21 Andreas Schwab <schwab@redhat.com>
57612 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57613 and internal_recvmmsg.
57614 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57615 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57616 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57617 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57619 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57620 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57621 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57623 2010-05-20 Andreas Schwab <schwab@redhat.com>
57625 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57627 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57629 POWER7 optimizations.
57630 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57631 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57633 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57635 * version.h: Update for 2.13 development version.
57637 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57639 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57640 exceptions. Return 0.
57642 2010-05-07 Roland McGrath <roland@redhat.com>
57644 * elf/ldconfig.c (main): Add a const.
57646 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57648 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57649 (args_options): Add no-idn option.
57650 (ahosts_keys_int): Add idn_flags to ai_flags.
57651 (parse_option): Handle 'i' option to clear idn_flags.
57653 * malloc/malloc.c (_int_free): Possible race in the most recently
57654 added check. Only act on the data if no current modification
57657 See ChangeLog.17 for earlier changes.